thanh-kit 2.5.4 → 2.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/package.json +1 -1
  2. package/templates/command-archive/ask.md +56 -0
  3. package/templates/command-archive/ck-help.md +129 -0
  4. package/templates/command-archive/coding-level.md +48 -0
  5. package/templates/command-archive/docs/init.md +38 -0
  6. package/templates/command-archive/docs/summarize.md +22 -0
  7. package/templates/command-archive/docs/update.md +76 -0
  8. package/templates/command-archive/journal.md +18 -0
  9. package/templates/command-archive/kanban.md +99 -0
  10. package/templates/command-archive/plan/archive.md +57 -0
  11. package/templates/command-archive/plan/red-team.md +200 -0
  12. package/templates/command-archive/plan/validate.md +188 -0
  13. package/templates/command-archive/preview.md +283 -0
  14. package/templates/command-archive/review/codebase/parallel.md +122 -0
  15. package/templates/command-archive/review/codebase.md +49 -0
  16. package/templates/command-archive/test/ui.md +92 -0
  17. package/templates/command-archive/test.md +8 -0
  18. package/templates/command-archive/use-mcp.md +38 -0
  19. package/templates/command-archive/watzup.md +8 -0
  20. package/templates/command-archive/worktree.md +109 -0
  21. package/templates/hooks/.logs/hook-log.jsonl +31 -0
  22. package/templates/settings.local.json +13 -0
  23. package/templates/skills/agent-browser/SKILL.md +1 -1
  24. package/templates/skills/ai-artist/SKILL.md +1 -1
  25. package/templates/skills/ai-multimodal/SKILL.md +1 -1
  26. package/templates/skills/ask/SKILL.md +1 -1
  27. package/templates/skills/backend-development/SKILL.md +1 -1
  28. package/templates/skills/better-auth/SKILL.md +1 -1
  29. package/templates/skills/bootstrap/SKILL.md +1 -1
  30. package/templates/skills/brainstorm/SKILL.md +1 -1
  31. package/templates/skills/chrome-devtools/SKILL.md +1 -1
  32. package/templates/skills/ck-help/SKILL.md +1 -1
  33. package/templates/skills/code-review/SKILL.md +1 -1
  34. package/templates/skills/coding-level/SKILL.md +1 -1
  35. package/templates/skills/context-engineering/SKILL.md +1 -1
  36. package/templates/skills/cook/SKILL.md +1 -1
  37. package/templates/skills/copywriting/SKILL.md +1 -1
  38. package/templates/skills/databases/SKILL.md +1 -1
  39. package/templates/skills/debug/SKILL.md +1 -1
  40. package/templates/skills/devops/SKILL.md +1 -1
  41. package/templates/skills/docs/SKILL.md +1 -1
  42. package/templates/skills/docs-seeker/SKILL.md +1 -1
  43. package/templates/skills/document-skills/docx/SKILL.md +1 -1
  44. package/templates/skills/document-skills/pdf/SKILL.md +1 -1
  45. package/templates/skills/document-skills/pptx/SKILL.md +1 -1
  46. package/templates/skills/document-skills/xlsx/SKILL.md +1 -1
  47. package/templates/skills/find-skills/SKILL.md +1 -1
  48. package/templates/skills/fix/SKILL.md +1 -1
  49. package/templates/skills/frontend-design/SKILL.md +1 -1
  50. package/templates/skills/frontend-development/SKILL.md +1 -1
  51. package/templates/skills/git/SKILL.md +1 -1
  52. package/templates/skills/gkg/SKILL.md +1 -1
  53. package/templates/skills/google-adk-python/SKILL.md +1 -1
  54. package/templates/skills/journal/SKILL.md +1 -1
  55. package/templates/skills/kanban/SKILL.md +1 -1
  56. package/templates/skills/markdown-novel-viewer/SKILL.md +1 -1
  57. package/templates/skills/mcp-builder/SKILL.md +1 -1
  58. package/templates/skills/mcp-management/SKILL.md +1 -1
  59. package/templates/skills/media-processing/SKILL.md +1 -1
  60. package/templates/skills/mermaidjs-v11/SKILL.md +1 -1
  61. package/templates/skills/mintlify/SKILL.md +1 -1
  62. package/templates/skills/mobile-development/SKILL.md +1 -1
  63. package/templates/skills/payment-integration/SKILL.md +1 -1
  64. package/templates/skills/plan/SKILL.md +1 -1
  65. package/templates/skills/plans-kanban/SKILL.md +1 -1
  66. package/templates/skills/preview/SKILL.md +1 -1
  67. package/templates/skills/problem-solving/SKILL.md +1 -1
  68. package/templates/skills/project-management/SKILL.md +1 -1
  69. package/templates/skills/react-best-practices/SKILL.md +1 -1
  70. package/templates/skills/remotion/SKILL.md +1 -1
  71. package/templates/skills/repomix/SKILL.md +1 -1
  72. package/templates/skills/research/SKILL.md +1 -1
  73. package/templates/skills/scout/SKILL.md +1 -1
  74. package/templates/skills/sequential-thinking/SKILL.md +1 -1
  75. package/templates/skills/shader/SKILL.md +1 -1
  76. package/templates/skills/shopify/SKILL.md +1 -1
  77. package/templates/skills/skill-creator/SKILL.md +1 -1
  78. package/templates/skills/tanstack/SKILL.md +1 -1
  79. package/templates/skills/team/SKILL.md +1 -1
  80. package/templates/skills/template-skill/SKILL.md +1 -1
  81. package/templates/skills/test/SKILL.md +1 -1
  82. package/templates/skills/threejs/SKILL.md +1 -1
  83. package/templates/skills/ui-styling/SKILL.md +1 -1
  84. package/templates/skills/ui-ux-pro-max/SKILL.md +1 -1
  85. package/templates/skills/use-mcp/SKILL.md +1 -1
  86. package/templates/skills/watzup/SKILL.md +1 -1
  87. package/templates/skills/web-design-guidelines/SKILL.md +1 -1
  88. package/templates/skills/web-frameworks/SKILL.md +2 -2
  89. package/templates/skills/web-testing/SKILL.md +1 -1
  90. package/templates/skills/worktree/SKILL.md +1 -1
  91. package/templates/commands/bootstrap/auto/fast.md +0 -111
  92. package/templates/commands/bootstrap/auto/parallel.md +0 -66
  93. package/templates/commands/bootstrap/auto.md +0 -115
  94. package/templates/commands/bootstrap.md +0 -137
  95. package/templates/commands/code/auto.md +0 -203
  96. package/templates/commands/code/no-test.md +0 -174
  97. package/templates/commands/code/parallel.md +0 -100
  98. package/templates/commands/code.md +0 -205
  99. package/templates/commands/content/cro.md +0 -43
  100. package/templates/commands/content/enhance.md +0 -14
  101. package/templates/commands/content/fast.md +0 -13
  102. package/templates/commands/content/good.md +0 -16
  103. package/templates/commands/cook/auto/fast.md +0 -26
  104. package/templates/commands/cook/auto/parallel.md +0 -49
  105. package/templates/commands/cook/auto.md +0 -15
  106. package/templates/commands/cook.md +0 -105
  107. package/templates/commands/debug.md +0 -13
  108. package/templates/commands/design/3d.md +0 -83
  109. package/templates/commands/design/describe.md +0 -23
  110. package/templates/commands/design/fast.md +0 -31
  111. package/templates/commands/design/good.md +0 -35
  112. package/templates/commands/design/screenshot.md +0 -34
  113. package/templates/commands/design/video.md +0 -34
  114. package/templates/commands/fix/ci.md +0 -17
  115. package/templates/commands/fix/fast.md +0 -19
  116. package/templates/commands/fix/hard.md +0 -39
  117. package/templates/commands/fix/logs.md +0 -26
  118. package/templates/commands/fix/parallel.md +0 -54
  119. package/templates/commands/fix/test.md +0 -20
  120. package/templates/commands/fix/types.md +0 -9
  121. package/templates/commands/fix/ui.md +0 -48
  122. package/templates/commands/fix.md +0 -43
  123. package/templates/commands/plan/ci.md +0 -33
  124. package/templates/commands/plan/cro.md +0 -69
  125. package/templates/commands/plan/fast.md +0 -82
  126. package/templates/commands/plan/hard.md +0 -108
  127. package/templates/commands/plan/parallel.md +0 -145
  128. package/templates/commands/plan/two.md +0 -45
  129. package/templates/commands/plan.md +0 -30
  130. package/templates/commands/scout/ext.md +0 -39
  131. package/templates/commands/scout.md +0 -28
  132. package/templates/commands/skill/add.md +0 -36
  133. package/templates/commands/skill/create.md +0 -29
  134. package/templates/commands/skill/fix-logs.md +0 -22
  135. package/templates/commands/skill/optimize/auto.md +0 -25
  136. package/templates/commands/skill/optimize.md +0 -34
  137. package/templates/commands/skill/update.md +0 -36
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thanh-kit",
3
- "version": "2.5.4",
3
+ "version": "2.5.6",
4
4
  "description": "CLI tool to scaffold AI agent projects with pre-configured kits (Claude, OpenCode, Codex)",
5
5
  "type": "module",
6
6
  "bin": {
@@ -0,0 +1,56 @@
1
+ ---
2
+ description: ⚡ Answer technical and architectural questions.
3
+ argument-hint: [technical-question]
4
+ ---
5
+
6
+ ## Context
7
+ Technical question or architecture challenge:
8
+ <questions>$ARGUMENTS</questions>
9
+
10
+ Current development workflows, system constraints, scale requirements, and business context will be considered:
11
+ - Primary workflow: `./.claude/rules/primary-workflow.md`
12
+ - Development rules: `./.claude/rules/development-rules.md`
13
+ - Orchestration protocols: `./.claude/rules/orchestration-protocol.md`
14
+ - Documentation management: `./.claude/rules/documentation-management.md`
15
+
16
+ **Project Documentation:**
17
+ ```
18
+ ./docs
19
+ ├── project-overview-pdr.md
20
+ ├── code-standards.md
21
+ ├── codebase-summary.md
22
+ ├── design-guidelines.md
23
+ ├── deployment-guide.md
24
+ ├── system-architecture.md
25
+ └── project-roadmap.md
26
+ ```
27
+
28
+ ## Your Role
29
+ You are a Senior Systems Architect providing expert consultation and architectural guidance. You focus on high-level design, strategic decisions, and architectural patterns rather than implementation details. You orchestrate four specialized architectural advisors:
30
+ 1. **Systems Designer** – evaluates system boundaries, interfaces, and component interactions.
31
+ 2. **Technology Strategist** – recommends technology stacks, frameworks, and architectural patterns.
32
+ 3. **Scalability Consultant** – assesses performance, reliability, and growth considerations.
33
+ 4. **Risk Analyst** – identifies potential issues, trade-offs, and mitigation strategies.
34
+ You operate by the holy trinity of software engineering: **YAGNI** (You Aren't Gonna Need It), **KISS** (Keep It Simple, Stupid), and **DRY** (Don't Repeat Yourself). Every solution you propose must honor these principles.
35
+
36
+ ## Process
37
+ 1. **Problem Understanding**: Analyze the technical question and gather architectural context.
38
+ - If the architecture context doesn't contain the necessary information, use the `scout` skill to scout the codebase again.
39
+ 2. **Expert Consultation**:
40
+ - Systems Designer: Define system boundaries, data flows, and component relationships
41
+ - Technology Strategist: Evaluate technology choices, patterns, and industry best practices
42
+ - Scalability Consultant: Assess non-functional requirements and scalability implications
43
+ - Risk Analyst: Identify architectural risks, dependencies, and decision trade-offs
44
+ 3. **Architecture Synthesis**: Combine insights to provide comprehensive architectural guidance.
45
+ 4. **Strategic Validation**: Ensure recommendations align with business goals and technical constraints.
46
+
47
+ ## Output Format
48
+ **Be honest, be brutal, straight to the point, and be concise.**
49
+ 1. **Architecture Analysis** – comprehensive breakdown of the technical challenge and context.
50
+ 2. **Design Recommendations** – high-level architectural solutions with rationale and alternatives.
51
+ 3. **Technology Guidance** – strategic technology choices with pros/cons analysis.
52
+ 4. **Implementation Strategy** – phased approach and architectural decision framework.
53
+ 5. **Next Actions** – strategic next steps, proof-of-concepts, and architectural validation points.
54
+
55
+ ## Important
56
+ This command focuses on architectural consultation and strategic guidance. Do not start implementing anything.
@@ -0,0 +1,129 @@
1
+ ---
2
+ description: ClaudeKit usage guide - just type naturally
3
+ argument-hint: [category|command|task description]
4
+ ---
5
+
6
+ Think harder.
7
+ All-in-one ClaudeKit guide. Run the script and present output based on type markers.
8
+
9
+ ## Intent Validation
10
+
11
+ The script uses keyword matching with smart weighting. After getting results, **validate** against these heuristics:
12
+
13
+ | Sentence Pattern | Primary Intent | Example |
14
+ |------------------|----------------|---------|
15
+ | `[action verb] my [object]` | The action verb | "commit my changes" → git |
16
+ | `[context] [subject noun]` | The subject noun | "setup notifications" → notifications |
17
+ | `[noun] [noun]` | Last noun (topic) | "discord webhook" → notifications |
18
+
19
+ **Action verbs** (high intent when first): fix, test, commit, push, build, create, review, deploy, run, check, find, plan, refactor
20
+
21
+ **Context words** (low intent, modify subject): setup, add, start, new, my, the, configure
22
+
23
+ **Override script only if:** result clearly mismatches the sentence pattern above. Otherwise trust the algorithm.
24
+
25
+ ## Translation
26
+
27
+ **IMPORTANT: Always translate `$ARGUMENTS` to English before passing to script.**
28
+
29
+ The Python script only understands English keywords. If `$ARGUMENTS` is in another language:
30
+ 1. Translate `$ARGUMENTS` to English
31
+ 2. Pass the translated English string to the script
32
+
33
+ ## Execution
34
+
35
+ ```bash
36
+ python .claude/scripts/ck-help.py "$ARGUMENTS"
37
+ ```
38
+
39
+ ## Output Type Detection
40
+
41
+ The script outputs a type marker on the first line: `@CK_OUTPUT_TYPE:<type>`
42
+
43
+ **Read this marker and adjust your presentation accordingly:**
44
+
45
+ ### `@CK_OUTPUT_TYPE:comprehensive-docs`
46
+
47
+ Full documentation (config, schema, setup guides).
48
+
49
+ **Presentation:**
50
+ 1. Show the **COMPLETE** script output verbatim - every section, every code block
51
+ 2. **THEN ADD** helpful context:
52
+ - Real-world usage examples ("For example, if you're working on multiple projects...")
53
+ - Common gotchas and tips ("Watch out for: ...")
54
+ - Practical scenarios ("This is useful when...")
55
+ 3. End with a specific follow-up question
56
+
57
+ **Example enhancement after showing full output:**
58
+ ```
59
+ ## Additional Tips
60
+
61
+ **When to use global vs local config:**
62
+ - Use global (~/.claude/.ck.json) for personal preferences like language, issue prefix style
63
+ - Use local (./.claude/.ck.json) for project-specific paths, naming conventions
64
+
65
+ **Common setup for teams:**
66
+ Each team member sets their locale globally, but projects share local config via git.
67
+
68
+ Need help setting up a specific configuration?
69
+ ```
70
+
71
+ ### `@CK_OUTPUT_TYPE:category-guide`
72
+
73
+ Workflow guides for command categories (fix, plan, cook, etc.).
74
+
75
+ **Presentation:**
76
+ 1. Show the complete workflow and command list
77
+ 2. **ADD** practical context:
78
+ - When to use this workflow vs alternatives
79
+ - Real example: "If you encounter a bug in authentication, start with..."
80
+ - Transition tips between commands
81
+ 3. Offer to help with a specific task
82
+
83
+ ### `@CK_OUTPUT_TYPE:command-details`
84
+
85
+ Single command documentation.
86
+
87
+ **Presentation:**
88
+ 1. Show full command info from script
89
+ 2. **ADD**:
90
+ - Concrete usage example with realistic input
91
+ - When this command shines vs alternatives
92
+ - Common flags or variations
93
+ 3. Offer to run the command for them
94
+
95
+ ### `@CK_OUTPUT_TYPE:search-results`
96
+
97
+ Search matches for a keyword.
98
+
99
+ **Presentation:**
100
+ 1. Show all matches from script
101
+ 2. **HELP** user navigate:
102
+ - Group by relevance if many results
103
+ - Suggest most likely match based on context
104
+ - Offer to explain any specific command
105
+ 3. Ask what they're trying to accomplish
106
+
107
+ ### `@CK_OUTPUT_TYPE:task-recommendations`
108
+
109
+ Task-based command suggestions.
110
+
111
+ **Presentation:**
112
+ 1. Show recommended commands from script
113
+ 2. **EXPLAIN** the reasoning:
114
+ - Why these commands fit the task
115
+ - Suggested order of execution
116
+ - What each step accomplishes
117
+ 3. Offer to start with the first recommended command
118
+
119
+ ## Key Principle
120
+
121
+ **Script output = foundation. Your additions = value-add.**
122
+
123
+ Never replace or summarize the script output. Always show it fully, then enhance with your knowledge and context.
124
+
125
+ ## Important: Correct Workflows
126
+
127
+ - **`/plan` → `/cook`**: Plan first, then execute the plan
128
+ - **`/cook`**: Standalone - plans internally, no separate `/plan` needed
129
+ - **NEVER** suggest `/plan` → `/cook` (cook has its own planning)
@@ -0,0 +1,48 @@
1
+ Set your coding experience level for tailored explanations and output format.
2
+
3
+ ## Usage
4
+
5
+ `/coding-level [0-5]`
6
+
7
+ ## Levels
8
+
9
+ | Level | Name | Description |
10
+ |-------|------|-------------|
11
+ | 0 | ELI5 | Zero coding experience - analogies, no jargon, step-by-step |
12
+ | 1 | Junior | 0-2 years - concepts explained, WHY not just HOW |
13
+ | 2 | Mid-Level | 3-5 years - design patterns, system thinking |
14
+ | 3 | Senior | 5-8 years - trade-offs, business context, architecture |
15
+ | 4 | Tech Lead | 8-10 years - risk assessment, business impact, strategy |
16
+ | 5 | God Mode | Expert - default behavior, maximum efficiency (default) |
17
+
18
+ ## How It Works
19
+
20
+ 1. Set `codingLevel` in `.claude/.ck.json`
21
+ 2. Guidelines are **automatically injected** on every session start
22
+ 3. No manual activation needed - it just works!
23
+
24
+ ## Example
25
+
26
+ Set level 1 in `.claude/.ck.json`:
27
+ ```json
28
+ {
29
+ "codingLevel": 1,
30
+ ...
31
+ }
32
+ ```
33
+
34
+ Next session, Claude will automatically:
35
+ - Explain concepts and techniques clearly
36
+ - Always explain WHY, not just HOW
37
+ - Point out common mistakes
38
+ - Add "Key Takeaways" after implementations
39
+
40
+ ## Optional: Manual Output Styles
41
+
42
+ For finer control, you can also use `/output-style` with these styles:
43
+ - `coding-level-0-eli5`
44
+ - `coding-level-1-junior`
45
+ - `coding-level-2-mid`
46
+ - `coding-level-3-senior`
47
+ - `coding-level-4-lead`
48
+ - `coding-level-5-god`
@@ -0,0 +1,38 @@
1
+ ---
2
+ description: ⚡⚡⚡⚡ Analyze the codebase and create initial documentation
3
+ ---
4
+
5
+ ## Phase 1: Parallel Codebase Scouting
6
+
7
+ 1. Scan the codebase and calculate the number of files with LOC in each directory (skip credentials, cache or external modules directories, such as `.claude`, `.opencode`, `.git`, `tests`, `node_modules`, `__pycache__`, `secrets`, etc.)
8
+ 2. Target directories **that actually exist** - adapt to project structure, don't hardcode paths
9
+ 3. Activate `scout` skill to explore the code base and return detailed summary reports to the main agent
10
+ 4. Merge scout reports into context summary
11
+
12
+ ## Phase 2: Documentation Creation (docs-manager Agent)
13
+
14
+ **CRITICAL:** You MUST spawn `docs-manager` agent via Task tool with merged reports. Do not wait for user input.
15
+
16
+ Pass the gathered context to docs-manager agent to create initial documentation:
17
+ - `README.md`: Update README with initial documentation (keep it under 300 lines)
18
+ - `docs/project-overview-pdr.md`: Project overview and PDR (Product Development Requirements)
19
+ - `docs/codebase-summary.md`: Codebase summary
20
+ - `docs/code-standards.md`: Codebase structure and code standards
21
+ - `docs/system-architecture.md`: System architecture
22
+ - `docs/project-roadmap.md`: Project roadmap
23
+ - `docs/deployment-guide.md` [optional]: Deployment guide
24
+ - `docs/design-guidelines.md` [optional]: Design guidelines
25
+
26
+ Use `docs/` directory as the source of truth for documentation.
27
+
28
+ ## Phase 3: Size Check (Post-Generation)
29
+
30
+ After docs-manager completes:
31
+ 1. Run `wc -l docs/*.md 2>/dev/null | sort -rn` to check LOC
32
+ 2. Use `docs.maxLoc` from session context (default: 800)
33
+ 3. For files exceeding limit:
34
+ - Report which files exceed and by how much
35
+ - docs-manager should have already split proactively per Section 6 guidelines
36
+ - If still oversized, ask user: split now or accept as-is?
37
+
38
+ **IMPORTANT**: **Do not** start implementing.
@@ -0,0 +1,22 @@
1
+ ---
2
+ description: '⚡ Analyze the codebase and update documentation'
3
+ argument-hint: '[focused-topics] [should-scan-codebase]'
4
+ ---
5
+
6
+ Activate `scout` skill to analyze the codebase and update `docs/codebase-summary.md` and respond with a summary report.
7
+
8
+ ## Arguments:
9
+ $1: Focused topics (default: all)
10
+ $2: Should scan codebase (`Boolean`, default: `false`)
11
+
12
+ ## Focused Topics:
13
+ <focused_topics>$1</focused_topics>
14
+
15
+ ## Should Scan Codebase:
16
+ <should_scan_codebase>$2</should_scan_codebase>
17
+
18
+ ## Important:
19
+ - Use `docs/` directory as the source of truth for documentation.
20
+ - Do not scan the entire codebase unless the user explicitly requests it.
21
+
22
+ **IMPORTANT**: **Do not** start implementing.
@@ -0,0 +1,76 @@
1
+ ---
2
+ description: ⚡⚡⚡ Analyze the codebase and update documentation
3
+ ---
4
+
5
+ ## Phase 1: Parallel Codebase Scouting
6
+
7
+ 1. Scan the codebase and calculate the number of files with LOC in each directory (skip credentials, cache or external modules directories, such as `.claude`, `.opencode`, `.git`, `tests`, `node_modules`, `__pycache__`, `secrets`, etc.)
8
+ 2. Target directories **that actually exist** - adapt to project structure, don't hardcode paths
9
+ 3. Activate `scout` skill to explore the code base and return detailed summary reports to the main agent
10
+ 4. Merge scout reports into context summary
11
+
12
+ ## Phase 1.5: Parallel Documentation Reading
13
+
14
+ **You (main agent) must spawn readers** - subagents cannot spawn subagents.
15
+
16
+ 1. Count docs: `ls docs/*.md 2>/dev/null | wc -l`
17
+ 2. Get LOC: `wc -l docs/*.md 2>/dev/null | sort -rn`
18
+ 3. Strategy:
19
+ - 1-3 files: Skip parallel reading, docs-manager reads directly
20
+ - 4-6 files: Spawn 2-3 `Explore` agents
21
+ - 7+ files: Spawn 4-5 `Explore` agents (max 5)
22
+ 4. Distribute files by LOC (larger files get dedicated agent)
23
+ 5. Each agent prompt: "Read these docs, extract: purpose, key sections, areas needing update. Files: {list}"
24
+ 6. Merge results into context for docs-manager
25
+
26
+ ### Workload Distribution Example
27
+
28
+ | Agent | Files | Est. LOC |
29
+ |-------|-------|----------|
30
+ | 1 | codebase-summary.md (800) | 800 |
31
+ | 2 | system-architecture.md (400), code-standards.md (300) | 700 |
32
+ | 3 | project-overview-pdr.md (500), project-roadmap.md (200) | 700 |
33
+
34
+ ## Phase 2: Documentation Update (docs-manager Agent)
35
+
36
+ **CRITICAL:** You MUST spawn `docs-manager` agent via Task tool with merged reports and doc readings. Do not wait for user input.
37
+
38
+ Pass the gathered context to docs-manager agent to update documentation:
39
+ - `README.md`: Update README (keep it under 300 lines)
40
+ - `docs/project-overview-pdr.md`: Update project overview and PDR (Product Development Requirements)
41
+ - `docs/codebase-summary.md`: Update codebase summary
42
+ - `docs/code-standards.md`: Update codebase structure and code standards
43
+ - `docs/system-architecture.md`: Update system architecture
44
+ - `docs/project-roadmap.md`: Update project roadmap
45
+ - `docs/deployment-guide.md` [optional]: Update deployment guide
46
+ - `docs/design-guidelines.md` [optional]: Update design guidelines
47
+
48
+ ## Additional requests
49
+ <additional_requests>
50
+ $ARGUMENTS
51
+ </additional_requests>
52
+
53
+ ## Phase 3: Size Check (Post-Update)
54
+
55
+ After docs-manager completes:
56
+ 1. Run `wc -l docs/*.md 2>/dev/null | sort -rn` to check LOC
57
+ 2. Use `docs.maxLoc` from session context (default: 800)
58
+ 3. For files exceeding limit:
59
+ - Report which files exceed and by how much
60
+ - docs-manager should have already split proactively per Section 6 guidelines
61
+ - If still oversized, ask user: split now or accept as-is?
62
+
63
+ ## Phase 4: Documentation Validation (Post-Update)
64
+
65
+ Run validation to detect potential hallucinations:
66
+ 1. Run: `node .claude/scripts/validate-docs.cjs docs/`
67
+ 2. Display validation report (warnings only, non-blocking)
68
+ 3. Checks performed:
69
+ - Code references: Verify `functionName()` and `ClassName` exist in codebase
70
+ - Internal links: Verify `[text](./path.md)` links point to existing files
71
+ - Config keys: Verify `ENV_VAR` mentioned in docs exist in `.env.example`
72
+
73
+ ## Important
74
+ - Use `docs/` directory as the source of truth for documentation.
75
+
76
+ **IMPORTANT**: **Do not** start implementing.
@@ -0,0 +1,18 @@
1
+ ---
2
+ description: ⚡ Write some journal entries.
3
+ ---
4
+
5
+ ## Writing Style Detection
6
+
7
+ Before writing, check for a writing-styles directory:
8
+ 1. Check `docs/writing-styles/` — if exists, read all `.md` files inside
9
+ 2. Check `assets/writing-styles/` — if exists and step 1 not found, read all `.md` files inside
10
+ 3. If writing styles found → adopt tone, vocabulary, sentence structure, and formatting rules from those files
11
+ 4. If no writing-styles directory found → write freely in a natural, conversational tone
12
+
13
+ ## Journal Writing
14
+
15
+ Use the `journal-writer` subagent to explore the memories and recent code changes, and write journal entries.
16
+ - Concise, focused on important events, key changes, impacts, and decisions
17
+ - Apply detected writing style (if any) to the journal voice
18
+ - Keep journal entries in `docs/journal/` directory
@@ -0,0 +1,99 @@
1
+ ---
2
+ description: 'AI agent orchestration board (Coming Soon)'
3
+ arguments:
4
+ - name: dir
5
+ description: 'Plans directory (default: ./plans)'
6
+ required: false
7
+ ---
8
+
9
+ Plans dashboard with progress tracking and timeline visualization.
10
+
11
+ ## Usage
12
+
13
+ - `/kanban` - View dashboard for ./plans directory
14
+ - `/kanban plans/` - View dashboard for specific directory
15
+ - `/kanban --stop` - Stop running server
16
+
17
+ ## Features
18
+
19
+ - Plan cards with progress bars
20
+ - Phase status breakdown (completed, in-progress, pending)
21
+ - Timeline/Gantt visualization
22
+ - Activity heatmap
23
+ - Issue and branch links
24
+
25
+ ## Execution
26
+
27
+ **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`.
28
+
29
+ The skill is located at `.claude/skills/plans-kanban/`.
30
+
31
+ ### Stop Server
32
+
33
+ If `--stop` flag is provided:
34
+
35
+ ```bash
36
+ node .claude/skills/plans-kanban/scripts/server.cjs --stop
37
+ ```
38
+
39
+ ### Start Server
40
+
41
+ Otherwise, run the kanban server as CC background task with `--foreground` flag (keeps process alive for CC task management):
42
+
43
+ ```bash
44
+ # Determine plans directory
45
+ INPUT_DIR="{{dir}}"
46
+ PLANS_DIR="${INPUT_DIR:-./plans}"
47
+
48
+ # Start kanban dashboard
49
+ node .claude/skills/plans-kanban/scripts/server.cjs \
50
+ --dir "$PLANS_DIR" \
51
+ --host 0.0.0.0 \
52
+ --open \
53
+ --foreground
54
+ ```
55
+
56
+ **Critical:** When calling the Bash tool:
57
+ - Set `run_in_background: true` to run as CC background task
58
+ - Set `timeout: 300000` (5 minutes) to prevent premature termination
59
+ - Parse JSON output and report URL to user
60
+
61
+ Example Bash tool call:
62
+ ```json
63
+ {
64
+ "command": "node .claude/skills/plans-kanban/scripts/server.cjs --dir \"./plans\" --host 0.0.0.0 --open --foreground",
65
+ "run_in_background": true,
66
+ "timeout": 300000,
67
+ "description": "Start kanban server in background"
68
+ }
69
+ ```
70
+
71
+ 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:
72
+ - Local URL for browser access
73
+ - Network URL for remote device access (if available)
74
+ - Inform user that server is now running as CC background task (visible in `/tasks`)
75
+
76
+ **CRITICAL:** MUST display the FULL URL including path and query string. NEVER truncate to just `host:port`. The full URL is required for direct access.
77
+
78
+ ## Future Plans
79
+
80
+ The `/kanban` command will evolve into **VibeKanban-inspired** AI agent orchestration:
81
+
82
+ ### Phase 1 (Current - MVP)
83
+ - ✅ Task board with progress tracking
84
+ - ✅ Visual representation of plans/tasks
85
+ - ✅ Click to view plan details
86
+
87
+ ### Phase 2 (Worktree Integration)
88
+ - Create tasks → spawn git worktrees
89
+ - Assign agents to tasks
90
+ - Track agent progress per worktree
91
+
92
+ ### Phase 3 (Full Orchestration)
93
+ - Parallel agent execution monitoring
94
+ - Code diff/review interface
95
+ - PR creation workflow
96
+ - Agent output streaming
97
+ - Conflict detection
98
+
99
+ Track progress: https://github.com/claudekit/claudekit-engineer/issues/189
@@ -0,0 +1,57 @@
1
+ ---
2
+ description: Write journal entries and archive specific plans or all plans
3
+ argument-hint: [path-to-plan] (default: all plans)
4
+ ---
5
+
6
+ ## Your mission
7
+ Read and analyze the plans, then write journal entries and archive specific plans or all plans in the `plans` directory.
8
+
9
+ ## Plan Resolution
10
+ 1. If `$ARGUMENTS` provided → Use that path
11
+ 2. Else read all plans in the `plans` directory
12
+
13
+ ## Workflow
14
+
15
+ ### Step 1: Read Plan Files
16
+
17
+ Read the plan directory:
18
+ - `plan.md` - Overview and phases list
19
+ - `phase-*.md` - 20 first lines of each phase file to understand the progress and status
20
+
21
+ ### Step 2: Summarize the plans and document them with `/journal` slash command
22
+ Use `AskUserQuestion` tool to ask if user wants to document journal entries or not.
23
+ Skip this step if user selects "No".
24
+ If user selects "Yes":
25
+ - Analyze the information in previous steps.
26
+ - Use Task tool with `subagent_type="journal-writer"` in parallel to document all plans.
27
+ - Journal entries should be concise and focused on the most important events, key changes, impacts, and decisions.
28
+ - Keep journal entries in the `./docs/journals/` directory.
29
+
30
+ ### Step 3: Ask user to confirm the action before archiving these plans
31
+ Use `AskUserQuestion` tool to ask if user wants to proceed with archiving these plans, select specific plans to archive or all completed plans only.
32
+ Use `AskUserQuestion` tool to ask if user wants to delete permanently or move to the `./plans/archive` directory.
33
+
34
+ ### Step 4: Archive the plans
35
+ Start archiving the plans based on the user's choice:
36
+ - Move the plans to the `./plans/archive` directory.
37
+ - Delete the plans permanently: `rm -rf ./plans/<plan-1> ./plans/<plan-2> ...`
38
+
39
+ ### Step 5: Ask if user wants to commit the changes
40
+ Use `AskUserQuestion` tool to ask if user wants to commit the changes with these options:
41
+ - Stage and commit the changes (Use `/git cm` slash command)
42
+ - Commit and push the changes (Use `/git cp` slash command)
43
+ - Nah, I'll do it later
44
+
45
+ ## Output
46
+ After archiving the plans, provide summary:
47
+ - Number of plans archived
48
+ - Number of plans deleted permanently
49
+ - Table of plans that are archived or deleted (title, status, created date, LOC)
50
+ - Table of journal entries that are created (title, status, created date, LOC)
51
+
52
+ ## Important Notes
53
+
54
+ **IMPORTANT:** Only ask questions about genuine decision points - don't manufacture artificial choices.
55
+ **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
56
+ **IMPORTANT:** In the last summary report, list any unresolved questions at the end, if any.
57
+ **IMPORTANT:** Ensure token efficiency while maintaining high quality.