git clone https://github.com/duc01226/EasyPlatform
T=$(mktemp -d) && git clone --depth=1 https://github.com/duc01226/EasyPlatform "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/kanban" ~/.claude/skills/duc01226-easyplatform-kanban && rm -rf "$T"
.claude/skills/kanban/SKILL.md<!-- SYNC:critical-thinking-mindset -->[IMPORTANT] Use
to break ALL work into small tasks BEFORE starting — including tasks for each file read. This prevents context loss from long files. For simple tasks, AI MUST ATTENTION ask user whether to skip.TaskCreate
<!-- /SYNC:critical-thinking-mindset --> <!-- SYNC:ai-mistake-prevention -->Critical Thinking Mindset — Apply critical thinking, sequential thinking. Every claim needs traced proof, confidence >80% to act. Anti-hallucination: Never present guess as fact — cite sources for every claim, admit uncertainty freely, self-check output for errors, cross-reference independently, stay skeptical of own confidence — certainty without evidence root of all hallucination.
<!-- /SYNC:ai-mistake-prevention -->AI Mistake Prevention — Failure modes to avoid on every task:
- Check downstream references before deleting. Deleting components causes documentation and code staleness cascades. Map all referencing files before removal.
- Verify AI-generated content against actual code. AI hallucinates APIs, class names, and method signatures. Always grep to confirm existence before documenting or referencing.
- Trace full dependency chain after edits. Changing a definition misses downstream variables and consumers derived from it. Always trace the full chain.
- Trace ALL code paths when verifying correctness. Confirming code exists is not confirming it executes. Always trace early exits, error branches, and conditional skips — not just happy path.
- When debugging, ask "whose responsibility?" before fixing. Trace whether bug is in caller (wrong data) or callee (wrong handling). Fix at responsible layer — never patch symptom site.
- Assume existing values are intentional — ask WHY before changing. Before changing any constant, limit, flag, or pattern: read comments, check git blame, examine surrounding code.
- Verify ALL affected outputs, not just the first. Changes touching multiple stacks require verifying EVERY output. One green check is not all green checks.
- Holistic-first debugging — resist nearest-attention trap. When investigating any failure, list EVERY precondition first (config, env vars, DB names, endpoints, DI registrations, data preconditions), then verify each against evidence before forming any code-layer hypothesis.
- Surgical changes — apply the diff test. Bug fix: every changed line must trace directly to the bug. Don't restyle or improve adjacent code. Enhancement task: implement improvements AND announce them explicitly.
- Surface ambiguity before coding — don't pick silently. If request has multiple interpretations, present each with effort estimate and ask. Never assume all-records, file-based, or more complex path.
Quick Summary
Goal: Launch a visual plans dashboard with progress tracking, phase status, and timeline visualization.
Workflow:
- Invoke —
or/kanban
to view,/kanban plans/
to stop/kanban --stop - Start Server — Run
as background task withserver.cjsrun_in_background: true - Report URL — Parse JSON output and display full URL (including query string) to user
Key Rules:
- Always run server as Claude Code background task (visible in
)/tasks - Never truncate URL to just host:port; display full path + query string
- Set
to prevent premature terminationtimeout: 300000
Be skeptical. Apply critical thinking, sequential thinking. Every claim needs traced proof, confidence percentages (Idea should be more than 80%).
Plans dashboard with progress tracking and timeline visualization.
Usage
- View dashboard for ./plans directory/kanban
- View dashboard for specific directory/kanban plans/
- Stop running server/kanban --stop
Features
- Plan cards with progress bars
- Phase status breakdown (completed, in-progress, pending)
- Timeline/Gantt visualization
- Activity heatmap
- Issue and branch links
Execution
IMPORTANT: Run server as Claude Code background task using
run_in_background: true with the Bash tool. This makes the server visible in /tasks and manageable via KillShell.
Check if this script is located in the current workspace or in
$HOME/.claude/skills/plans-kanban directory:
- If in current workspace:
=$SKILL_DIR_PATH./.claude/skills/plans-kanban/ - If in home directory:
=$SKILL_DIR_PATH$HOME/.claude/skills/plans-kanban/
Stop Server
If
--stop flag is provided:
node $SKILL_DIR_PATH/scripts/server.cjs --stop
Start Server
Otherwise, run the kanban server as CC background task with
--foreground flag (keeps process alive for CC task management):
# Determine plans directory INPUT_DIR="{{dir}}" PLANS_DIR="${INPUT_DIR:-./plans}" # Start kanban dashboard node $SKILL_DIR_PATH/scripts/server.cjs \ --dir "$PLANS_DIR" \ --host 0.0.0.0 \ --open \ --foreground
Critical: When calling the Bash tool:
- Set
to run as CC background taskrun_in_background: true - Set
(5 minutes) to prevent premature terminationtimeout: 300000 - Parse JSON output and report URL to user
Example Bash tool call:
{ "command": "node .claude/skills/plans-kanban/scripts/server.cjs --dir \"./plans\" --host 0.0.0.0 --open --foreground", "run_in_background": true, "timeout": 300000, "description": "Start kanban server in background" }
After starting, parse the JSON output (e.g.,
{"success":true,"url":"http://localhost:3500/kanban?dir=...","networkUrl":"http://192.168.1.x:3500/kanban?dir=..."}) and report:
- Local URL for browser access
- Network URL for remote device access (if available)
- Inform user that server is now running as CC background task (visible in
)/tasks
CRITICAL: MUST ATTENTION display the FULL URL including path and query string. NEVER truncate to just
host:port. The full URL is required for direct access.
Future Plans
The
/kanban command will evolve into VibeKanban-inspired AI agent orchestration:
Phase 1 (Current - MVP)
- ✅ Task board with progress tracking
- ✅ Visual representation of plans/tasks
- ✅ Click to view plan details
Phase 2 (Worktree Integration)
- Create tasks → spawn git worktrees
- Assign agents to tasks
- Track agent progress per worktree
Phase 3 (Full Orchestration)
- Parallel agent execution monitoring
- Code diff/review interface
- PR creation workflow
- Agent output streaming
- Conflict detection
Track progress: https://github.com/claudekit/claudekit-engineer/issues/189
Closing Reminders
- IMPORTANT MUST ATTENTION break work into small todo tasks using
BEFORE startingTaskCreate - IMPORTANT MUST ATTENTION search codebase for 3+ similar patterns before creating new code
- IMPORTANT MUST ATTENTION cite
evidence for every claim (confidence >80% to act)file:line - IMPORTANT MUST ATTENTION add a final review todo task to verify work quality <!-- SYNC:critical-thinking-mindset:reminder -->
- MUST ATTENTION apply critical thinking — every claim needs traced proof, confidence >80% to act. Anti-hallucination: never present guess as fact. <!-- /SYNC:critical-thinking-mindset:reminder --> <!-- SYNC:ai-mistake-prevention:reminder -->
- MUST ATTENTION apply AI mistake prevention — holistic-first debugging, fix at responsible layer, surface ambiguity before coding, re-read files after compaction. <!-- /SYNC:ai-mistake-prevention:reminder -->