cc-dev-template 0.1.50 → 0.1.52

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 (38) hide show
  1. package/bin/install.js +30 -6
  2. package/package.json +1 -1
  3. package/src/skills/claude-md/SKILL.md +8 -43
  4. package/src/skills/claude-md/references/audit.md +33 -85
  5. package/src/skills/claude-md/references/create.md +2 -2
  6. package/src/skills/claude-md/references/modify.md +52 -0
  7. package/src/skills/initialize-project/SKILL.md +17 -68
  8. package/src/skills/initialize-project/templates/CLAUDE.md.template +10 -0
  9. package/src/skills/initialize-project/templates/CURRENT_WORK.md.template +13 -0
  10. package/src/skills/initialize-project/templates/INDEX.md.template +7 -0
  11. package/src/skills/prompting/SKILL.md +9 -116
  12. package/src/skills/prompting/references/create.md +59 -0
  13. package/src/skills/prompting/references/principles.md +60 -0
  14. package/src/skills/prompting/references/review.md +78 -0
  15. package/src/skills/research/SKILL.md +14 -0
  16. package/src/skills/research/references/step-1-check-existing.md +25 -0
  17. package/src/skills/research/references/step-2-conduct-research.md +63 -0
  18. package/src/skills/spec-interview/SKILL.md +4 -26
  19. package/src/skills/spec-interview/references/step-1-opening.md +21 -0
  20. package/src/skills/spec-interview/references/step-2-deep-dive.md +77 -0
  21. package/src/skills/spec-interview/references/step-3-research-needs.md +44 -0
  22. package/src/skills/spec-interview/references/step-4-finalize.md +19 -0
  23. package/src/skills/spec-review/SKILL.md +12 -14
  24. package/src/skills/spec-to-tasks/SKILL.md +3 -85
  25. package/src/skills/spec-to-tasks/references/step-1-identify-spec.md +30 -0
  26. package/src/skills/spec-to-tasks/references/step-2-explore.md +25 -0
  27. package/src/skills/spec-to-tasks/references/step-3-generate.md +31 -0
  28. package/src/skills/spec-to-tasks/templates/tasks.yaml +25 -0
  29. package/src/mcp-servers/qa-server/README.md +0 -122
  30. package/src/mcp-servers/qa-server/package-lock.json +0 -2015
  31. package/src/mcp-servers/qa-server/package.json +0 -28
  32. package/src/mcp-servers/qa-server/src/index.ts +0 -220
  33. package/src/mcp-servers/qa-server/tsconfig.json +0 -17
  34. package/src/skills/spec-interview/references/interview-guide.md +0 -123
  35. package/src/skills/youtube-to-notes/SKILL.md +0 -11
  36. package/src/skills/youtube-to-notes/references/step-1-setup.md +0 -15
  37. package/src/skills/youtube-to-notes/references/step-2-download-transcribe.md +0 -13
  38. package/src/skills/youtube-to-notes/references/step-3-create-documents.md +0 -31
@@ -0,0 +1,31 @@
1
+ # Step 3: Generate Task Manifest
2
+
3
+ Create the task manifest based on the spec and codebase exploration.
4
+
5
+ ## Task Principles
6
+
7
+ **Atomic**: Each task is a single, focused change — one model, one endpoint, one component, or one test file. A task should take an AI agent one focused session to complete.
8
+
9
+ **Ordered**: Sequence tasks so each can be completed without blocking. Tasks with no dependencies can share the same `depends_on` value to signal parallel execution.
10
+
11
+ **Concrete file paths**: Use the file paths discovered in Step 2. Every task specifies which files it touches.
12
+
13
+ **Declarative**: Tasks describe WHAT to implement, not HOW. Implementation details live in the spec.
14
+
15
+ ## Generate the Manifest
16
+
17
+ Write to `docs/specs/<name>/tasks.yaml` using the template in `templates/tasks.yaml`.
18
+
19
+ Derive tasks from the spec:
20
+ - Break each requirement or feature section into atomic units
21
+ - Sequence by dependency (data layer, then business logic, then API, then integration)
22
+ - Reference specific spec sections in task descriptions where helpful
23
+
24
+ ## Review with User
25
+
26
+ Present:
27
+ 1. Number of tasks and estimated scope
28
+ 2. Task titles in dependency order
29
+ 3. Offer to show full YAML or proceed to implementation
30
+
31
+ Save the manifest to `docs/specs/<name>/tasks.yaml`.
@@ -0,0 +1,25 @@
1
+ spec: <name>
2
+ spec_path: docs/specs/<name>/spec.md
3
+ generated: <ISO timestamp>
4
+
5
+ tasks:
6
+ - id: T001
7
+ title: <Short descriptive title>
8
+ description: |
9
+ <What to implement>
10
+ <Reference to spec section if applicable>
11
+ files:
12
+ - <path/to/file.ts>
13
+ depends_on: []
14
+ acceptance: |
15
+ <How to verify this task is complete>
16
+
17
+ - id: T002
18
+ title: <Next task>
19
+ description: |
20
+ <What to implement>
21
+ files:
22
+ - <path/to/file.ts>
23
+ depends_on: [T001]
24
+ acceptance: |
25
+ <Verification criteria>
@@ -1,122 +0,0 @@
1
- # QA Server
2
-
3
- MCP server that spawns a Claude sub-agent for frontend visual inspection.
4
-
5
- ## Problem
6
-
7
- Playwright MCP adds ~20k tokens to context just from tool definitions, even when browser inspection isn't needed. This wastes context in long sessions.
8
-
9
- ## Solution
10
-
11
- This server exposes a single `inspect_frontend` tool (~500 tokens) that spawns a sub-agent with full browser capabilities on-demand.
12
-
13
- ```
14
- Main Conversation (~500 tokens)
15
-
16
- └── mcp__qa__inspect_frontend
17
-
18
- └── Sub-agent with @playwright/mcp (full browser control)
19
-
20
- └── Returns QA report
21
- ```
22
-
23
- **Note:** No system Chrome installation is required. Playwright automatically downloads and manages its own Chromium browser.
24
-
25
- ## Installation
26
-
27
- ```bash
28
- cd src/mcp-servers/qa-server
29
- npm install
30
- npm run build
31
- ```
32
-
33
- Then add to Claude Code:
34
-
35
- ```bash
36
- claude mcp add qa node /path/to/qa-server/dist/index.js
37
- ```
38
-
39
- Or in `~/.claude.json`:
40
-
41
- ```json
42
- {
43
- "mcpServers": {
44
- "qa": {
45
- "type": "stdio",
46
- "command": "node",
47
- "args": ["/path/to/qa-server/dist/index.js"]
48
- }
49
- }
50
- }
51
- ```
52
-
53
- ## After Setup
54
-
55
- Remove Playwright MCP from your main config to save tokens (if previously added):
56
-
57
- ```bash
58
- claude mcp remove playwright
59
- ```
60
-
61
- ## Usage
62
-
63
- From Claude Code conversation:
64
-
65
- ```
66
- Inspect http://localhost:3000 and verify the login form works
67
- ```
68
-
69
- Claude will call `mcp__qa__inspect_frontend` with:
70
- - url: "http://localhost:3000"
71
- - task: "verify the login form works"
72
-
73
- The sub-agent will:
74
- 1. Navigate to the URL
75
- 2. Take screenshots
76
- 3. Check console errors
77
- 4. Perform the task (click, fill forms, etc.)
78
- 5. Return a structured QA report
79
-
80
- ## Tool Definition
81
-
82
- ```typescript
83
- {
84
- name: "inspect_frontend",
85
- description: "Spawn a QA sub-agent to visually inspect a frontend...",
86
- inputSchema: {
87
- type: "object",
88
- properties: {
89
- url: { type: "string", description: "URL to inspect" },
90
- task: { type: "string", description: "What to inspect or test" }
91
- },
92
- required: ["url", "task"]
93
- }
94
- }
95
- ```
96
-
97
- ## Sub-agent Capabilities
98
-
99
- The spawned sub-agent uses Opus (best visual understanding) and has access to Playwright MCP tools:
100
-
101
- - **Navigation**: browser_navigate, browser_tab_new, browser_tab_list, browser_tab_select, browser_wait_for
102
- - **Inspection**: browser_screenshot, browser_snapshot, browser_console_messages
103
- - **Interaction**: browser_click, browser_type, browser_hover, browser_press_key, browser_handle_dialog
104
-
105
- ## Token Savings
106
-
107
- | Before | After |
108
- |--------|-------|
109
- | ~20k tokens (26 browser tools always loaded) | ~500 tokens (1 tool) |
110
-
111
- ## Development
112
-
113
- ```bash
114
- # Run in development mode
115
- npm run dev
116
-
117
- # Build for production
118
- npm run build
119
-
120
- # Run production build
121
- npm start
122
- ```