@slycode/slycode 0.1.0 → 0.1.2

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 (115) hide show
  1. package/dist/web/.next/BUILD_ID +1 -1
  2. package/dist/web/.next/build-manifest.json +2 -2
  3. package/dist/web/.next/server/app/_global-error.html +2 -2
  4. package/dist/web/.next/server/app/_global-error.rsc +1 -1
  5. package/dist/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  6. package/dist/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  7. package/dist/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  8. package/dist/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  9. package/dist/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  10. package/dist/web/.next/server/app/_not-found.html +1 -1
  11. package/dist/web/.next/server/app/_not-found.rsc +1 -1
  12. package/dist/web/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  13. package/dist/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  14. package/dist/web/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  15. package/dist/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  16. package/dist/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  17. package/dist/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  18. package/dist/web/.next/server/chunks/[root-of-the-server]__09aec55a._.js +1 -1
  19. package/dist/web/.next/server/chunks/[root-of-the-server]__198f01e0._.js +1 -1
  20. package/dist/web/.next/server/chunks/[root-of-the-server]__2b639eab._.js +1 -1
  21. package/dist/web/.next/server/chunks/[root-of-the-server]__3b9d3e43._.js +1 -1
  22. package/dist/web/.next/server/chunks/[root-of-the-server]__3f239285._.js +1 -1
  23. package/dist/web/.next/server/chunks/[root-of-the-server]__4244617a._.js +1 -1
  24. package/dist/web/.next/server/chunks/[root-of-the-server]__46b023d4._.js +1 -1
  25. package/dist/web/.next/server/chunks/[root-of-the-server]__4c7995bf._.js +1 -1
  26. package/dist/web/.next/server/chunks/[root-of-the-server]__4d0d3464._.js +1 -1
  27. package/dist/web/.next/server/chunks/[root-of-the-server]__543058c2._.js +1 -1
  28. package/dist/web/.next/server/chunks/[root-of-the-server]__6d330d40._.js +1 -1
  29. package/dist/web/.next/server/chunks/[root-of-the-server]__884d73e4._.js +1 -1
  30. package/dist/web/.next/server/chunks/[root-of-the-server]__9058a007._.js +1 -1
  31. package/dist/web/.next/server/chunks/[root-of-the-server]__933e6077._.js +1 -1
  32. package/dist/web/.next/server/chunks/[root-of-the-server]__949bb248._.js +1 -1
  33. package/dist/web/.next/server/chunks/[root-of-the-server]__949d814c._.js +1 -1
  34. package/dist/web/.next/server/chunks/[root-of-the-server]__aa814a86._.js +1 -1
  35. package/dist/web/.next/server/chunks/[root-of-the-server]__ad64e04f._.js +1 -1
  36. package/dist/web/.next/server/chunks/[root-of-the-server]__b90bbd70._.js +1 -1
  37. package/dist/web/.next/server/chunks/[root-of-the-server]__baa99257._.js +1 -1
  38. package/dist/web/.next/server/chunks/[root-of-the-server]__bbb4b3ac._.js +1 -1
  39. package/dist/web/.next/server/chunks/[root-of-the-server]__bc55c42a._.js +1 -1
  40. package/dist/web/.next/server/chunks/[root-of-the-server]__bf286c26._.js +1 -1
  41. package/dist/web/.next/server/chunks/[root-of-the-server]__ce429522._.js +1 -1
  42. package/dist/web/.next/server/chunks/[root-of-the-server]__d38c7a96._.js +1 -1
  43. package/dist/web/.next/server/chunks/[root-of-the-server]__e88a19d2._.js +1 -1
  44. package/dist/web/.next/server/chunks/[root-of-the-server]__e9b0e744._.js +1 -1
  45. package/dist/web/.next/server/chunks/[root-of-the-server]__f1fe18e6._.js +1 -1
  46. package/dist/web/.next/server/chunks/[root-of-the-server]__f59af2bc._.js +1 -1
  47. package/dist/web/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_ffc6c790.js +1 -1
  48. package/dist/web/.next/server/pages/404.html +1 -1
  49. package/dist/web/.next/server/pages/500.html +2 -2
  50. package/dist/web/src/app/api/git-status/route.ts +1 -0
  51. package/dist/web/src/app/api/projects/analyze/route.ts +1 -0
  52. package/dist/web/src/app/api/projects/route.ts +1 -0
  53. package/dist/web/src/app/api/transcribe/route.ts +1 -1
  54. package/dist/web/src/app/api/version-check/route.ts +3 -2
  55. package/dist/web/src/lib/paths.ts +1 -1
  56. package/lib/cli/doctor.d.ts.map +1 -1
  57. package/lib/cli/doctor.js +2 -1
  58. package/lib/cli/doctor.js.map +1 -1
  59. package/lib/cli/service.js +3 -3
  60. package/lib/cli/service.js.map +1 -1
  61. package/lib/cli/start.d.ts.map +1 -1
  62. package/lib/cli/start.js +3 -2
  63. package/lib/cli/start.js.map +1 -1
  64. package/lib/cli/stop.d.ts.map +1 -1
  65. package/lib/cli/stop.js +6 -4
  66. package/lib/cli/stop.js.map +1 -1
  67. package/lib/cli/update.d.ts.map +1 -1
  68. package/lib/cli/update.js +11 -8
  69. package/lib/cli/update.js.map +1 -1
  70. package/lib/cli/workspace.js +1 -1
  71. package/lib/cli/workspace.js.map +1 -1
  72. package/lib/platform/service-macos.js +1 -1
  73. package/lib/platform/service-macos.js.map +1 -1
  74. package/lib/platform/service-windows.js +1 -1
  75. package/lib/platform/service-windows.js.map +1 -1
  76. package/lib/platform/symlinks.js +1 -1
  77. package/lib/platform/symlinks.js.map +1 -1
  78. package/package.json +1 -1
  79. package/templates/kanban-seed.json +1 -1
  80. package/templates/tutorial-project/.agents/skills/checkpoint/SKILL.md +43 -0
  81. package/templates/tutorial-project/.agents/skills/context-priming/SKILL.md +152 -0
  82. package/templates/tutorial-project/.agents/skills/context-priming/references/area-index.md +101 -0
  83. package/templates/tutorial-project/.agents/skills/context-priming/references/areas/claude-actions.md +120 -0
  84. package/templates/tutorial-project/.agents/skills/context-priming/references/areas/messaging.md +177 -0
  85. package/templates/tutorial-project/.agents/skills/context-priming/references/areas/scripts-deployment.md +138 -0
  86. package/templates/tutorial-project/.agents/skills/context-priming/references/areas/skills.md +135 -0
  87. package/templates/tutorial-project/.agents/skills/context-priming/references/areas/terminal-bridge.md +232 -0
  88. package/templates/tutorial-project/.agents/skills/context-priming/references/areas/web-frontend.md +252 -0
  89. package/templates/tutorial-project/.agents/skills/context-priming/references/maintenance.md +128 -0
  90. package/templates/tutorial-project/.agents/skills/design/SKILL.md +141 -0
  91. package/templates/tutorial-project/.agents/skills/feature/SKILL.md +159 -0
  92. package/templates/tutorial-project/.agents/skills/implement/SKILL.md +132 -0
  93. package/templates/tutorial-project/.agents/skills/kanban/SKILL.md +264 -0
  94. package/templates/tutorial-project/.claude/skills/checkpoint/SKILL.md +43 -0
  95. package/templates/tutorial-project/.claude/skills/context-priming/SKILL.md +152 -0
  96. package/templates/tutorial-project/.claude/skills/context-priming/references/area-index.md +101 -0
  97. package/templates/tutorial-project/.claude/skills/context-priming/references/areas/claude-actions.md +120 -0
  98. package/templates/tutorial-project/.claude/skills/context-priming/references/areas/messaging.md +177 -0
  99. package/templates/tutorial-project/.claude/skills/context-priming/references/areas/scripts-deployment.md +138 -0
  100. package/templates/tutorial-project/.claude/skills/context-priming/references/areas/skills.md +135 -0
  101. package/templates/tutorial-project/.claude/skills/context-priming/references/areas/terminal-bridge.md +232 -0
  102. package/templates/tutorial-project/.claude/skills/context-priming/references/areas/web-frontend.md +252 -0
  103. package/templates/tutorial-project/.claude/skills/context-priming/references/maintenance.md +128 -0
  104. package/templates/tutorial-project/.claude/skills/design/SKILL.md +141 -0
  105. package/templates/tutorial-project/.claude/skills/feature/SKILL.md +159 -0
  106. package/templates/tutorial-project/.claude/skills/implement/SKILL.md +132 -0
  107. package/templates/tutorial-project/.claude/skills/kanban/SKILL.md +264 -0
  108. package/templates/tutorial-project/CLAUDE.md +16 -0
  109. package/templates/tutorial-project/documentation/designs/example_welcome_dashboard.md +38 -0
  110. package/templates/tutorial-project/documentation/events.json +1 -0
  111. package/templates/tutorial-project/documentation/features/example_in_card_deliverable_feature.md +31 -0
  112. package/templates/tutorial-project/documentation/kanban.json +385 -0
  113. /package/dist/web/.next/static/{ALUsM8gaUuQnX2hccTsJd → 4GrOHGHgp_-wfmjYR4P3O}/_buildManifest.js +0 -0
  114. /package/dist/web/.next/static/{ALUsM8gaUuQnX2hccTsJd → 4GrOHGHgp_-wfmjYR4P3O}/_clientMiddlewareManifest.json +0 -0
  115. /package/dist/web/.next/static/{ALUsM8gaUuQnX2hccTsJd → 4GrOHGHgp_-wfmjYR4P3O}/_ssgManifest.js +0 -0
@@ -0,0 +1,141 @@
1
+ ---
2
+ name: design
3
+ version: 1.1.1
4
+ updated: 2026-02-22
5
+ allowed-tools: Read, Write, Edit, Bash, Glob, Grep, SlashCommand
6
+ argument-hint: "design topic (e.g., Session management system)"
7
+ description: "Start iterative requirements gathering for a design document"
8
+ ---
9
+
10
+ # Design Discovery
11
+
12
+ Start an iterative requirements-gathering session for a new design. Creates a lightweight document in `documentation/designs/` focused on exploring the problem space, not implementation details.
13
+
14
+ ## Mode: Requirements Gathering
15
+
16
+ This command sets you into **requirements mode**:
17
+ - Ask clarifying questions rather than making assumptions
18
+ - Explore alternatives and trade-offs with the user
19
+ - Focus on WHAT and WHY, not HOW
20
+ - Keep the document evolving as understanding grows
21
+ - No implementation details, no code, no file lists
22
+
23
+ ## Instructions
24
+
25
+ 1. **Create initial design doc** with the problem statement and open questions
26
+ 2. **Enter conversational mode** - engage the user to flesh out requirements
27
+ 3. **Update the doc iteratively** as decisions are made
28
+ 4. **Flag when design is ready** to become a feature spec
29
+
30
+ ## Workflow
31
+
32
+ 1. **Get current date** using bash
33
+ 2. **Create design document** in `documentation/designs/`
34
+ 3. **Name the file** as `{descriptive_name}.md` (snake_case, no date prefix)
35
+ 4. **Link design to card** - Run this command to attach the design doc to the kanban card:
36
+ ```bash
37
+ node scripts/kanban.js update <card-id> --design-ref "documentation/designs/{name}.md"
38
+ ```
39
+ **IMPORTANT:** This is a separate CLI command you must execute. Do NOT add the path to the card's description field. The `--design-ref` flag sets a dedicated field on the card that links to this design document.
40
+ 5. **Engage user** with initial clarifying questions
41
+ 6. **Update doc** as requirements solidify
42
+
43
+ ## Document Format
44
+
45
+ ```md
46
+ # Design: {topic}
47
+
48
+ **Status:** Discovery
49
+ **Created:** YYYY-MM-DD
50
+ **Last Updated:** YYYY-MM-DD
51
+
52
+ ## Problem Statement
53
+
54
+ <What problem are we solving? Why does it matter? Who is affected?>
55
+
56
+ ## Goals
57
+
58
+ <What must this solution achieve?>
59
+ 1. <goal>
60
+ 2. <goal>
61
+
62
+ ## Non-Goals
63
+
64
+ <What is explicitly out of scope?>
65
+ - <non-goal>
66
+
67
+ ## Context
68
+
69
+ <Background info, constraints, related systems>
70
+
71
+ ## Approach Options
72
+
73
+ ### Option A: <name>
74
+ <Description, pros, cons>
75
+
76
+ ### Option B: <name>
77
+ <Description, pros, cons>
78
+
79
+ ## Decisions
80
+
81
+ <Record decisions as they're made>
82
+
83
+ | Decision | Choice | Rationale |
84
+ |----------|--------|-----------|
85
+ | <topic> | <choice> | <why> |
86
+
87
+ ## Open Questions
88
+
89
+ <Questions that need answers before implementation>
90
+ - [ ] <question>
91
+ - [ ] <question>
92
+
93
+ ## Related Areas
94
+
95
+ <Context-priming areas relevant to this design>
96
+ - <area>: <why relevant>
97
+
98
+ ## Notes
99
+
100
+ <Captured thoughts, references, examples>
101
+ ```
102
+
103
+ ## Conversational Guidelines
104
+
105
+ When in design mode:
106
+
107
+ 1. **Start with questions** - Don't assume you understand the problem
108
+ - "What problem are you trying to solve?"
109
+ - "Who will use this? In what context?"
110
+ - "What constraints should I know about?"
111
+
112
+ 2. **Present options** - When there are multiple approaches
113
+ - "I see two main ways to approach this..."
114
+ - "Option A trades X for Y, Option B does the opposite..."
115
+
116
+ 3. **Capture decisions** - When the user makes a choice
117
+ - Update the Decisions table with rationale
118
+ - Remove resolved items from Open Questions
119
+
120
+ 4. **Check readiness** - When requirements feel complete
121
+ - "I think we've covered the requirements. Ready to create a feature spec?"
122
+ - If yes: "Run `/feature {design name}` to create the implementation plan"
123
+
124
+ ## Transition to Feature Spec
125
+
126
+ When the design is ready for implementation:
127
+ 1. Update Status to "Ready"
128
+ 2. Inform user to run `/feature` referencing this design
129
+ 3. The feature spec will link back via `design_ref`
130
+
131
+ ## Reporting
132
+
133
+ After creating the initial document:
134
+ - File created: `documentation/designs/{name}.md`
135
+ - Card linked: (if in card session) design_ref updated
136
+ - Status: Discovery
137
+ - Mode: Requirements gathering active
138
+ - First question: Start exploring the problem space
139
+
140
+ ## Design Topic
141
+ $ARGUMENTS
@@ -0,0 +1,159 @@
1
+ ---
2
+ name: feature
3
+ version: 1.1.1
4
+ updated: 2026-02-22
5
+ allowed-tools: Read, Write, Edit, Bash, Glob, Grep, SlashCommand
6
+ argument-hint: "feature description (e.g., Add bulk message operations)"
7
+ description: "Create a numbered feature specification following project standards"
8
+ ---
9
+
10
+ # Feature Planning
11
+
12
+ Create a new feature specification in `documentation/features/` with the next available number. The plan will follow a comprehensive feature planning format.
13
+
14
+ ## Instructions
15
+
16
+ 1. **Scan for next feature number** - Check existing features to determine next number
17
+ 2. **Check project context** - If you need more context about specific areas:
18
+ - Review relevant project documentation (if available: `/prime <area>` or CLAUDE.md)
19
+ - Identify key architectural areas the feature touches
20
+ 3. **Research the codebase** to understand existing patterns and architecture
21
+ 4. **Create comprehensive plan** following the format below
22
+ 5. **Name the file** as `{number}_{feature_name}.md` (e.g., `038_bulk_message_operations.md`)
23
+
24
+ ## Workflow
25
+
26
+ 1. **Determine next feature number**:
27
+ - List files in `documentation/features/`
28
+ - Find highest numbered feature
29
+ - Next number = highest + 1
30
+ 2. **Analyze feature requirements** from description
31
+ 3. **Check if sufficient context** is loaded for the feature
32
+ 4. **Create the plan** in `documentation/features/` directory
33
+ 5. **Link feature to card** - Run this command to attach the feature spec to the kanban card:
34
+ ```bash
35
+ node scripts/kanban.js update <card-id> --feature-ref "documentation/features/{number}_{name}.md"
36
+ ```
37
+ **IMPORTANT:** This is a separate CLI command you must execute. Do NOT add the path to the card's description field. The `--feature-ref` flag sets a dedicated field on the card that links to this feature spec.
38
+
39
+ ## Context Integration
40
+
41
+ Before creating the plan:
42
+ - Identify which project areas/modules the feature touches
43
+ - Check if sufficient context exists (project docs, CLAUDE.md, architecture files)
44
+ - If needed, suggest: "This feature involves {areas}. Consider reviewing {relevant docs} for better context."
45
+
46
+ ## Plan Format
47
+
48
+ ```md
49
+ # Feature {number}: {feature name}
50
+
51
+ **Status**: DRAFT
52
+ **Created**: YYYY-MM-DD
53
+ **Last Updated**: YYYY-MM-DD
54
+
55
+ ## Feature Description
56
+ <describe the feature in detail, including its purpose and value to users>
57
+
58
+ ## User Story
59
+ As a <type of user>
60
+ I want to <action/goal>
61
+ So that <benefit/value>
62
+
63
+ ## Problem Statement
64
+ <clearly define the specific problem or opportunity this feature addresses>
65
+
66
+ ## Solution Statement
67
+ <describe the proposed solution approach and how it solves the problem>
68
+
69
+ ## Context Areas
70
+ <note which project areas/modules are relevant to this feature>
71
+ - Required areas: [list areas like frontend, backend, api, database, etc.]
72
+ - Additional context: [reference relevant documentation or architecture files]
73
+
74
+ ## Relevant Files
75
+ Use these files to implement the feature:
76
+
77
+ <find and list the files that are relevant to the feature describe why they are relevant in bullet points. Reference patterns from CLAUDE.md and project documentation.>
78
+
79
+ ### New Files
80
+ <if any new files need to be created, list them here following project conventions>
81
+
82
+ ## Implementation Plan
83
+ ### Phase 1: Foundation
84
+ <describe the foundational work needed before implementing the main feature>
85
+
86
+ ### Phase 2: Core Implementation
87
+ <describe the main implementation work for the feature>
88
+
89
+ ### Phase 3: Integration
90
+ <describe how the feature will integrate with existing functionality>
91
+
92
+ ## Step by Step Tasks
93
+ IMPORTANT: Execute every step in order, top to bottom.
94
+
95
+ <list step by step tasks as h3 headers plus bullet points. Reference project patterns from CLAUDE.md and documentation.>
96
+
97
+ ### Task 1: <descriptive name>
98
+ - <specific actions following project conventions>
99
+ - <file modifications>
100
+
101
+ ### Task 2: <descriptive name>
102
+ - <specific actions>
103
+ - <file modifications>
104
+
105
+ ### Task N: Run Full Validation
106
+ - Execute all validation commands
107
+ - Verify feature works end-to-end
108
+ - Check for regressions
109
+
110
+ ## Testing Strategy
111
+ ### Unit Tests
112
+ <describe unit tests needed following project test standards>
113
+
114
+ ### Integration Tests
115
+ <describe integration tests needed>
116
+
117
+ ### E2E Tests
118
+ <if applicable, describe end-to-end tests>
119
+
120
+ ### Edge Cases
121
+ <list edge cases that need to be tested>
122
+
123
+ ## Acceptance Criteria
124
+ <list specific, measurable criteria that must be met for the feature to be considered complete>
125
+ - [ ] Feature works as described
126
+ - [ ] All tests pass
127
+ - [ ] No regressions introduced
128
+ - [ ] Documentation updated
129
+ - [ ] <specific criteria for this feature>
130
+
131
+ ## Validation Commands
132
+ Execute every command to validate the feature works correctly with zero regressions.
133
+
134
+ <list project-specific validation commands - examples:>
135
+ - Run test suite (e.g., `pytest`, `npm test`, `make test`)
136
+ - Run linters (e.g., `npm run lint`, `flake8`, `eslint`)
137
+ - Run type checking (e.g., `mypy`, `tsc --noEmit`)
138
+ - Build the project (e.g., `npm run build`, `make build`)
139
+ - Manual testing steps
140
+ - <specific tests for this feature>
141
+
142
+ ## Future Considerations
143
+ <optional: future enhancements or related features to consider>
144
+
145
+ ## Notes
146
+ <optionally list any additional notes, dependencies, or context that are relevant to the feature>
147
+ ```
148
+
149
+ ## Reporting
150
+
151
+ After creating the plan, report:
152
+ - File created: `documentation/features/{number}_{feature_name}.md`
153
+ - Card linked: feature_ref updated via CLI command
154
+ - Feature number: {number}
155
+ - Status: DRAFT
156
+ - Next step: Run `/implement` with the plan path when ready
157
+
158
+ ## Feature
159
+ $ARGUMENTS
@@ -0,0 +1,132 @@
1
+ ---
2
+ name: implement
3
+ version: 1.1.1
4
+ updated: 2026-02-22
5
+ allowed-tools: Read, Write, Edit, Bash, Glob, Grep, TodoWrite, Task
6
+ argument-hint: "path to chore or feature plan"
7
+ description: "Execute a chore or feature plan and handle document lifecycle"
8
+ ---
9
+
10
+ # Implement Plan
11
+
12
+ Execute the specified chore or feature plan, then handle the appropriate document lifecycle. This command follows a pattern where completed chores move to a completed directory while features remain in place with updated status.
13
+
14
+ ## Instructions
15
+
16
+ 1. **Detect document type** from the file path:
17
+ - If path contains `/chores/`: This is a chore
18
+ - If path contains `/features/`: This is a feature
19
+ 2. **Read and execute** the plan thoroughly
20
+ 3. **Handle lifecycle** based on document type (see lifecycle patterns below)
21
+ 4. **Update indexes** (if project maintains index files) and report results
22
+
23
+ **Note**: The lifecycle management pattern below is a suggested approach. Adapt to your project's documentation structure and workflow.
24
+
25
+ ## Workflow
26
+
27
+ ### Phase 1: Plan Analysis
28
+ - Read the plan document
29
+ - Identify all tasks to execute
30
+ - Note validation commands
31
+ - Check completion criteria
32
+
33
+ ### Phase 2: Implementation
34
+ - Execute tasks in order
35
+ - Run validation commands
36
+ - Verify completion criteria met
37
+ - Track all changes made
38
+
39
+ ### Phase 3: Document Lifecycle
40
+
41
+ **For Chores** (suggested pattern):
42
+ 1. Move file from `documentation/chores/` to `documentation/chores/completed/`
43
+ 2. Update status in file from ACTIVE to COMPLETED
44
+ 3. Add completion date
45
+ 4. Update project indexes (if maintained):
46
+ - Remove from active chores list
47
+ - Add to completed chores list
48
+
49
+ **For Features** (suggested pattern):
50
+ 1. Keep file in `documentation/features/` (features typically remain in place)
51
+ 2. Update status from DRAFT to FINAL (or IMPLEMENTED/COMPLETE as per project convention)
52
+ 3. Update last modified date
53
+ 4. Update feature index/README (if project maintains one)
54
+
55
+ **Note**: Adjust these lifecycle steps to match your project's documentation conventions.
56
+
57
+ ### Phase 3b: Kanban Card Update
58
+
59
+ If `scripts/kanban.js` exists, move the associated card to testing:
60
+
61
+ 1. Check if kanban CLI exists: `test -f scripts/kanban.js`
62
+ 2. If the plan references a card ID (in frontmatter or content), or if running in a card session:
63
+ - Move card to testing: `node scripts/kanban.js move <card-id> testing`
64
+ 3. This signals the work is ready for testing/review
65
+
66
+ ### Phase 4: Reporting
67
+
68
+ Generate comprehensive report including:
69
+ - Summary of work completed
70
+ - Files modified (with git diff --stat)
71
+ - Tests run and results
72
+ - Document status changes
73
+ - Index updates performed
74
+
75
+ ## Plan
76
+ $ARGUMENTS
77
+
78
+ ## Lifecycle Actions
79
+
80
+ Based on the document type detected, perform appropriate actions:
81
+
82
+ ### Chore Completion (Example)
83
+ ```bash
84
+ # Move to completed directory (if using this pattern)
85
+ mv documentation/chores/{file} documentation/chores/completed/
86
+
87
+ # Update status in document (ACTIVE → COMPLETED)
88
+ # Add completion date
89
+ # Update project indexes (if applicable)
90
+ ```
91
+
92
+ ### Feature Completion (Example)
93
+ ```bash
94
+ # Update status in document (DRAFT → FINAL/IMPLEMENTED)
95
+ # Update last modified date
96
+ # Update feature index (if project maintains one)
97
+ ```
98
+
99
+ **Adapt these actions to your project's structure and conventions.**
100
+
101
+ ## Report Format
102
+
103
+ Provide a comprehensive report following this template:
104
+
105
+ ```
106
+ ✅ Implementation Complete
107
+
108
+ **Document**: {path}
109
+ **Type**: {Chore|Feature}
110
+ **Status**: {COMPLETED|FINAL|IMPLEMENTED}
111
+
112
+ **Work Summary**:
113
+ - {task 1 completed}
114
+ - {task 2 completed}
115
+ - {validation passed}
116
+
117
+ **Files Changed**:
118
+ {git diff --stat output or summary of changes}
119
+
120
+ **Lifecycle Actions**:
121
+ - {Document moved to completed/ | Status updated to FINAL}
122
+ - {Index updates performed (if applicable)}
123
+
124
+ **Validation Results**:
125
+ - {Tests run and results}
126
+ - {Build/lint status}
127
+
128
+ **Next Steps**:
129
+ - {Any follow-up actions or recommendations}
130
+ ```
131
+
132
+ Adapt the report format to include project-specific metrics or validation results.
@@ -0,0 +1,264 @@
1
+ ---
2
+ name: kanban
3
+ version: 1.2.1
4
+ updated: 2026-02-22
5
+ description: "Manage kanban cards via CLI with commands for search, create, update, move, problem tracking, cross-agent notes, and scheduled automations"
6
+ ---
7
+
8
+ # Kanban CLI Skill
9
+
10
+ Manage kanban cards via CLI: `node scripts/kanban.js <command>`
11
+
12
+ ## Commands
13
+
14
+ | Command | Description |
15
+ |---------|-------------|
16
+ | `search` | Find cards by query, stage, type, area |
17
+ | `show` | Display full card details (NOT `view`) |
18
+ | `create` | Create a new card |
19
+ | `update` | Modify card fields |
20
+ | `move` | Move card between stages |
21
+ | `archive` | Soft delete a card |
22
+ | `checklist` | Manage checklist items |
23
+ | `problem` | Track issues on cards |
24
+ | `notes` | Manage cross-agent notes |
25
+ | `automation` | Configure and manage scheduled automations |
26
+ | `areas` | List available areas |
27
+
28
+ ## Quick Reference
29
+
30
+ ```bash
31
+ # Always start with --help if unsure
32
+ node scripts/kanban.js --help
33
+ node scripts/kanban.js <command> --help
34
+
35
+ # Search cards
36
+ node scripts/kanban.js search "query"
37
+ node scripts/kanban.js search --stage backlog
38
+ node scripts/kanban.js search --type feature
39
+
40
+ # Show card details (use 'show', NOT 'view')
41
+ node scripts/kanban.js show card-123
42
+
43
+ # Create card
44
+ node scripts/kanban.js create --title "Add feature X" --type feature --priority medium
45
+
46
+ # Update card
47
+ node scripts/kanban.js update card-123 --title "New title" --areas "web-frontend,terminal-bridge"
48
+
49
+ # Link documentation to card
50
+ node scripts/kanban.js update card-123 --design-ref "documentation/designs/foo.md"
51
+ node scripts/kanban.js update card-123 --feature-ref "documentation/features/bar.md"
52
+
53
+ # Move card
54
+ node scripts/kanban.js move card-123 design
55
+
56
+ # Archive card
57
+ node scripts/kanban.js archive card-123
58
+
59
+ # Checklist management
60
+ node scripts/kanban.js checklist card-123 list
61
+ node scripts/kanban.js checklist card-123 add "Write tests"
62
+ node scripts/kanban.js checklist card-123 toggle check-123
63
+
64
+ # Problem tracking
65
+ node scripts/kanban.js problem card-123 list
66
+ node scripts/kanban.js problem card-123 add "Bug description" --severity major
67
+ node scripts/kanban.js problem card-123 resolve prob-123
68
+ node scripts/kanban.js problem card-123 promote prob-123 --type chore
69
+
70
+ # Agent notes
71
+ node scripts/kanban.js notes card-123 list
72
+ node scripts/kanban.js notes card-123 add "Context for next agent" --agent "Claude"
73
+ node scripts/kanban.js notes card-123 search "blocker"
74
+ node scripts/kanban.js notes card-123 edit 2 "Updated note text"
75
+ node scripts/kanban.js notes card-123 delete 3
76
+ node scripts/kanban.js notes card-123 clear
77
+
78
+ # List available areas
79
+ node scripts/kanban.js areas
80
+ ```
81
+
82
+ ## Best Practices
83
+
84
+ 1. **Always `show` first**: Before any action, run `show <card-id>` to see current state including existing problems
85
+ 2. **Check existing problems**: The card may already have problems logged - review before adding duplicates
86
+ 3. **Confirm with user**: When making significant changes, show the user what you plan to do
87
+ 4. **Use areas**: When creating/updating cards, set appropriate areas for context-priming
88
+ 5. **Track progress**: Use checklists for multi-step work items
89
+ 6. **Document problems**: When issues are found during testing, add them with `problem <card-id> add "description"`
90
+
91
+ ## Cross-Agent Notes
92
+
93
+ Agent notes are a shared scratchpad on each card for passing context between agents and sessions.
94
+
95
+ **When to use notes:**
96
+ - Before starting work: `notes <card-id> list` — read what previous agents left
97
+ - After completing a session: leave context about decisions, progress, or blockers
98
+ - When hitting a blocker: document the issue so the next agent knows
99
+
100
+ **Always identify yourself with `--agent`:**
101
+ - Claude: `--agent "Claude"`
102
+ - Codex: `--agent "Codex"`
103
+ - Gemini: `--agent "Gemini"`
104
+ - Notes added from the web UI are automatically tagged as `User`
105
+
106
+ **Limits:** Max 30 notes per card, max 3000 characters per note.
107
+
108
+ ```bash
109
+ # Read notes before starting
110
+ node scripts/kanban.js notes card-123 list
111
+
112
+ # Leave context after your session
113
+ node scripts/kanban.js notes card-123 add "Completed API routes, tests passing. Frontend still needs the Notes tab wired up." --agent "Claude"
114
+
115
+ # Flag a blocker
116
+ node scripts/kanban.js notes card-123 add "Build fails on node 18 — needs --experimental flag for crypto" --agent "Codex"
117
+ ```
118
+
119
+ ## Integration with Onboard Action
120
+
121
+ When using the Onboard action on a backlog card:
122
+ 1. Analyze and refine the card details through conversation
123
+ 2. Once the user confirms the refined version, use the CLI to apply changes:
124
+ ```bash
125
+ node scripts/kanban.js update <card-id> \
126
+ --title "Refined title" \
127
+ --description "Structured description" \
128
+ --areas "area1,area2" \
129
+ --priority high
130
+ ```
131
+
132
+ ## Linking Documentation
133
+
134
+ Cards support dedicated reference fields for documentation:
135
+
136
+ | Field | Flag | Purpose |
137
+ |-------|------|---------|
138
+ | Design Doc | `--design-ref` | Link to design document |
139
+ | Feature Spec | `--feature-ref` | Link to feature specification |
140
+ | Test Doc | `--test-ref` | Link to test documentation |
141
+
142
+ ```bash
143
+ # Link design doc when moving to design stage
144
+ node scripts/kanban.js update card-123 --design-ref "documentation/designs/my-feature.md"
145
+
146
+ # Link feature spec when feature is fully specified
147
+ node scripts/kanban.js update card-123 --feature-ref "documentation/features/001_my_feature.md"
148
+
149
+ # Link test doc when test plan exists
150
+ node scripts/kanban.js update card-123 --test-ref "documentation/tests/my-feature-tests.md"
151
+ ```
152
+
153
+ These appear as dedicated fields on the card (not in description).
154
+
155
+ ## Workflow Examples
156
+
157
+ ### Refining a backlog item
158
+ ```bash
159
+ # 1. View current state
160
+ node scripts/kanban.js show card-123
161
+
162
+ # 2. Update with refined details
163
+ node scripts/kanban.js update card-123 \
164
+ --title "Implement user authentication with OAuth" \
165
+ --description "Add Google and GitHub OAuth providers..." \
166
+ --areas "backend,auth" \
167
+ --priority high
168
+
169
+ # 3. Move to design when ready
170
+ node scripts/kanban.js move card-123 design
171
+ ```
172
+
173
+ ### Creating a new task from user request
174
+ ```bash
175
+ # User says: "I need to fix the login button being too small"
176
+ node scripts/kanban.js create \
177
+ --title "Fix login button size" \
178
+ --type bug \
179
+ --priority medium \
180
+ --areas "web-frontend"
181
+ ```
182
+
183
+ ### Tracking testing progress
184
+ ```bash
185
+ # Add checklist items
186
+ node scripts/kanban.js checklist card-123 add "Unit tests pass"
187
+ node scripts/kanban.js checklist card-123 add "Integration tests pass"
188
+ node scripts/kanban.js checklist card-123 add "Manual testing complete"
189
+
190
+ # Mark as done
191
+ node scripts/kanban.js checklist card-123 toggle check-xxx
192
+
193
+ # If issues found
194
+ node scripts/kanban.js problem card-123 add "Login fails after timeout" --severity major
195
+ ```
196
+
197
+ ### Promoting problems to backlog
198
+ When a problem is too big for a quick fix and needs its own design/implementation cycle:
199
+ ```bash
200
+ # Review problems
201
+ node scripts/kanban.js problem card-123 list
202
+
203
+ # Promote a problem to a new backlog card
204
+ node scripts/kanban.js problem card-123 promote prob-xxx --type chore
205
+
206
+ # The original problem is marked resolved, new card created in backlog
207
+ # Card inherits areas from source card, references original in description
208
+ ```
209
+
210
+ ## Scheduled Automations
211
+
212
+ Cards can be toggled into automation mode — a scheduled task that fires a prompt into a terminal session at a specified time. One card = one automation.
213
+
214
+ ```bash
215
+ # Create an automation card directly
216
+ node scripts/kanban.js create --title "Nightly test run" --type chore --automation
217
+
218
+ # Toggle existing card to automation mode
219
+ node scripts/kanban.js update card-123 --automation true
220
+ node scripts/kanban.js update card-123 --automation false
221
+
222
+ # Configure automation (partial updates — only specified fields change)
223
+ node scripts/kanban.js automation card-123 configure --schedule "0 6 * * *" --prompt "Run all tests" --provider claude
224
+ node scripts/kanban.js automation card-123 configure --schedule "0 9 * * 1" # just the schedule
225
+ node scripts/kanban.js automation card-123 configure --prompt "New prompt" # just the prompt
226
+ node scripts/kanban.js automation card-123 configure --fresh-session true
227
+ node scripts/kanban.js automation card-123 configure --report-messaging true
228
+
229
+ # Enable / disable
230
+ node scripts/kanban.js automation card-123 enable
231
+ node scripts/kanban.js automation card-123 disable
232
+
233
+ # Manual trigger (calls bridge API directly)
234
+ node scripts/kanban.js automation card-123 run
235
+
236
+ # View automation status
237
+ node scripts/kanban.js automation card-123 status
238
+
239
+ # List all automation cards
240
+ node scripts/kanban.js automation list
241
+ node scripts/kanban.js automation list --tag "deploy"
242
+ ```
243
+
244
+ **Key concepts:**
245
+ - Automation cards live on a dedicated Automations screen (not in kanban lanes)
246
+ - The automation system is a "session starter" — it injects a prompt and confirms activity, nothing more
247
+ - Schedule uses cron expressions (recurring) or ISO datetime (one-shot)
248
+ - One-shot automations auto-disable after firing, config preserved
249
+ - "Report via messaging" toggle appends instructions for the agent to send results
250
+
251
+ ## Error Handling
252
+
253
+ The CLI provides clear error messages:
254
+ - `Card 'xxx' not found` - Check the card ID
255
+ - `Invalid stage` - Use: backlog, design, implementation, testing, done
256
+ - `Invalid type` - Use: feature, chore, bug
257
+ - `Invalid priority` - Use: low, medium, high, critical
258
+
259
+ ## Notes
260
+
261
+ - The CLI modifies `documentation/kanban.json` directly
262
+ - Changes are visible in the web UI on refresh
263
+ - Archived cards are hidden by default (use `--include-archived` to see them)
264
+ - All timestamps are in ISO format