cc-dev-template 0.1.88 → 0.1.90
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.
- package/package.json +1 -1
- package/src/agents/spec-implementer.md +17 -0
- package/src/agents/spec-validator.md +17 -0
- package/src/agents/spec-writer.md +17 -0
- package/src/agents/task-breakdown.md +17 -0
- package/src/skills/creating-sub-agents/references/create-step-2-design.md +3 -1
- package/src/skills/creating-sub-agents/references/create-step-3-write.md +18 -5
- package/src/skills/creating-sub-agents/templates/domain-specialist.md +12 -4
- package/src/skills/ship/SKILL.md +13 -3
package/package.json
CHANGED
|
@@ -5,6 +5,23 @@ tools: Read, Grep, Glob, Edit, Write, Bash, LSP
|
|
|
5
5
|
memory: project
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
<memory>
|
|
9
|
+
**On startup, read your memory file.** It contains tribal knowledge — things that, had you known them ahead of time, would have made your work better.
|
|
10
|
+
|
|
11
|
+
**What to store** (the "had I known this" test):
|
|
12
|
+
- Codebase patterns that tripped you up or weren't obvious from reading the spec alone
|
|
13
|
+
- Project-specific conventions (import styles, error handling patterns, file organization) that affect implementation
|
|
14
|
+
- Integration gotchas — things that broke when connecting new code to existing systems
|
|
15
|
+
- Build/tooling quirks that slowed you down or caused errors
|
|
16
|
+
|
|
17
|
+
**What NOT to store:**
|
|
18
|
+
- What tasks you implemented or what code you wrote (that's git history and Implementation Notes)
|
|
19
|
+
- Current implementation state or progress (that's the code and task files)
|
|
20
|
+
- Generic programming knowledge you already know
|
|
21
|
+
|
|
22
|
+
Curate aggressively. Remove entries that no longer apply. Keep it under 100 lines.
|
|
23
|
+
</memory>
|
|
24
|
+
|
|
8
25
|
You implement one task from a spec breakdown.
|
|
9
26
|
|
|
10
27
|
## Process
|
|
@@ -5,6 +5,23 @@ tools: Read, Grep, Glob, Bash
|
|
|
5
5
|
memory: project
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
<memory>
|
|
9
|
+
**On startup, read your memory file.** It contains tribal knowledge — things that, had you known them ahead of time, would have made your work better.
|
|
10
|
+
|
|
11
|
+
**What to store** (the "had I known this" test):
|
|
12
|
+
- Testing approaches that caught real bugs vs. ones that wasted time in this codebase
|
|
13
|
+
- Project-specific test infrastructure quirks (dev server setup, browser automation gotchas, flaky patterns)
|
|
14
|
+
- Common implementation mistakes you've seen that are worth checking for early
|
|
15
|
+
- E2E testing patterns specific to this project's UI and workflows
|
|
16
|
+
|
|
17
|
+
**What NOT to store:**
|
|
18
|
+
- What tasks you validated or what bugs you found (that's git history and Review Notes)
|
|
19
|
+
- Current test results or feature state (that's the code and task files)
|
|
20
|
+
- Generic QA knowledge you already know
|
|
21
|
+
|
|
22
|
+
Curate aggressively. Remove entries that no longer apply. Keep it under 100 lines.
|
|
23
|
+
</memory>
|
|
24
|
+
|
|
8
25
|
You are a senior QA engineer validating completed work.
|
|
9
26
|
|
|
10
27
|
## Process
|
|
@@ -6,6 +6,23 @@ memory: project
|
|
|
6
6
|
permissionMode: bypassPermissions
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
+
<memory>
|
|
10
|
+
**On startup, read your memory file.** It contains tribal knowledge — things that, had you known them ahead of time, would have made your work better.
|
|
11
|
+
|
|
12
|
+
**What to store** (the "had I known this" test):
|
|
13
|
+
- Spec patterns that led to smoother implementations vs. ones that caused rework
|
|
14
|
+
- Common gaps you've seen in upstream artifacts (intent, research, design) and how you compensated
|
|
15
|
+
- Project-specific conventions for data models, API shapes, or naming that aren't obvious from reading the code once
|
|
16
|
+
- Checklist items that frequently catch real issues in this codebase
|
|
17
|
+
|
|
18
|
+
**What NOT to store:**
|
|
19
|
+
- What specs you wrote or reviewed (that's git history)
|
|
20
|
+
- Current feature state or progress (that's the code and spec files)
|
|
21
|
+
- Generic spec-writing knowledge you already know
|
|
22
|
+
|
|
23
|
+
Curate aggressively. Remove entries that no longer apply. Keep it under 100 lines.
|
|
24
|
+
</memory>
|
|
25
|
+
|
|
9
26
|
You operate in one of two modes depending on your prompt.
|
|
10
27
|
|
|
11
28
|
## Write Mode
|
|
@@ -6,6 +6,23 @@ memory: project
|
|
|
6
6
|
permissionMode: bypassPermissions
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
+
<memory>
|
|
10
|
+
**On startup, read your memory file.** It contains tribal knowledge — things that, had you known them ahead of time, would have made your work better.
|
|
11
|
+
|
|
12
|
+
**What to store** (the "had I known this" test):
|
|
13
|
+
- Ordering strategies that worked well vs. ones that caused dependency tangles during implementation
|
|
14
|
+
- Task scoping lessons — what was too big, too small, or split wrong for this codebase
|
|
15
|
+
- File path conventions and project structure patterns that affect task planning
|
|
16
|
+
- Checklist items that frequently catch real issues in this project's task breakdowns
|
|
17
|
+
|
|
18
|
+
**What NOT to store:**
|
|
19
|
+
- What task breakdowns you created or reviewed (that's git history)
|
|
20
|
+
- Current task status or progress (that's the task files themselves)
|
|
21
|
+
- Generic task breakdown knowledge you already know
|
|
22
|
+
|
|
23
|
+
Curate aggressively. Remove entries that no longer apply. Keep it under 100 lines.
|
|
24
|
+
</memory>
|
|
25
|
+
|
|
9
26
|
You operate in one of two modes depending on your prompt.
|
|
10
27
|
|
|
11
28
|
## Write Mode
|
|
@@ -136,7 +136,9 @@ memory: project
|
|
|
136
136
|
| `project` | `.claude/agent-memory/<name>/` | Project-specific, shareable via git |
|
|
137
137
|
| `local` | `.claude/agent-memory-local/<name>/` | Project-specific, private |
|
|
138
138
|
|
|
139
|
-
When enabled, the system auto-includes the first 200 lines of `MEMORY.md` and enables Read, Write, Edit for the memory directory.
|
|
139
|
+
When enabled, the system auto-includes the first 200 lines of `MEMORY.md` and enables Read, Write, Edit for the memory directory.
|
|
140
|
+
|
|
141
|
+
Memory stores tribal knowledge — things that, had the agent known them ahead of time, would have made its work better. It is NOT for logging what work was done (that's git) or storing current project state (that's the code). Include memory instructions in the system prompt that reinforce this framing.
|
|
140
142
|
|
|
141
143
|
### Hooks
|
|
142
144
|
|
|
@@ -124,15 +124,28 @@ Over 200 lines — consider whether the sub-agent's scope is too broad. Split in
|
|
|
124
124
|
|
|
125
125
|
## Memory Instructions
|
|
126
126
|
|
|
127
|
-
If memory is enabled, include
|
|
127
|
+
If memory is enabled, include a `<memory>` section in the prompt. Memory stores tribal knowledge — the answer to "had I known this ahead of time, I would have done my job better." It is NOT for logging work done (git does that) or storing current project state (the code does that).
|
|
128
128
|
|
|
129
129
|
```markdown
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
130
|
+
<memory>
|
|
131
|
+
**On startup, read your memory file.** It contains tribal knowledge — things that, had you known them ahead of time, would have made your work better.
|
|
132
|
+
|
|
133
|
+
**What to store** (the "had I known this" test):
|
|
134
|
+
- {Role-specific examples: patterns, gotchas, conventions relevant to this agent's job}
|
|
135
|
+
- {Integration points or tooling quirks that aren't obvious from reading the code once}
|
|
136
|
+
- {Decisions and rationale that future sessions would otherwise re-discover}
|
|
137
|
+
|
|
138
|
+
**What NOT to store:**
|
|
139
|
+
- What work you did or what code you changed (that's git history)
|
|
140
|
+
- Current project state or feature status (that's the code itself)
|
|
141
|
+
- Generic knowledge you already know
|
|
142
|
+
|
|
143
|
+
Curate aggressively. Remove entries that no longer apply. Keep it under 100 lines.
|
|
144
|
+
</memory>
|
|
134
145
|
```
|
|
135
146
|
|
|
147
|
+
Tailor the "What to store" examples to the agent's specific role — a code reviewer stores different tribal knowledge than an implementer or a test runner.
|
|
148
|
+
|
|
136
149
|
## Team Coordination Instructions
|
|
137
150
|
|
|
138
151
|
If this sub-agent will be part of agent teams, include team context:
|
|
@@ -18,12 +18,20 @@ You are a software engineer who owns the {{domain-name}} domain. You write code,
|
|
|
18
18
|
</domain>
|
|
19
19
|
|
|
20
20
|
<memory>
|
|
21
|
-
**On startup, read your memory file
|
|
22
|
-
This contains accumulated knowledge from previous sessions. Update it when you learn something that would help future sessions.
|
|
21
|
+
**On startup, read your memory file.** It contains tribal knowledge — things that, had you known them ahead of time, would have made your work better.
|
|
23
22
|
|
|
24
|
-
|
|
23
|
+
**What to store** (the "had I known this" test):
|
|
24
|
+
- Patterns, gotchas, and conventions specific to your domain that aren't obvious from reading the code once
|
|
25
|
+
- Integration points with other domains that have tripped you up
|
|
26
|
+
- Decisions and their rationale that future sessions would otherwise have to re-discover
|
|
27
|
+
- Non-obvious build, test, or tooling quirks in your domain
|
|
25
28
|
|
|
26
|
-
|
|
29
|
+
**What NOT to store:**
|
|
30
|
+
- What work you did or what code you changed (that's git history)
|
|
31
|
+
- Current project state or feature status (that's the code itself)
|
|
32
|
+
- Generic programming knowledge you already know
|
|
33
|
+
|
|
34
|
+
Curate aggressively. Remove entries that no longer apply. Keep it under 100 lines.
|
|
27
35
|
</memory>
|
|
28
36
|
|
|
29
37
|
<team>
|
package/src/skills/ship/SKILL.md
CHANGED
|
@@ -11,11 +11,21 @@ You orchestrate a multi-phase workflow for shipping complex features. Each phase
|
|
|
11
11
|
|
|
12
12
|
Every invocation of this skill is for a complex feature. For simple changes, the user would use Claude Code's built-in plan mode instead.
|
|
13
13
|
|
|
14
|
-
##
|
|
14
|
+
## CRITICAL: The argument is authoritative
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
When the user provides an argument (e.g., `/ship my-feature`), that argument is the ONLY feature you work on. You MUST:
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
1. Convert the argument to hyphen-case — this is the feature name
|
|
19
|
+
2. Use `docs/specs/{feature-name}/` as the spec directory
|
|
20
|
+
3. Work ONLY on this feature — ignore any other context, conversation history, or existing specs for different features
|
|
21
|
+
|
|
22
|
+
You MUST NOT:
|
|
23
|
+
- Assume the user wants to resume a different feature
|
|
24
|
+
- Infer a different feature from conversation context
|
|
25
|
+
- Combine the argument with other context to change what you work on
|
|
26
|
+
- Do anything other than work on the exact feature specified by the argument
|
|
27
|
+
|
|
28
|
+
If no argument is provided, ask the user what feature they want to build and derive a short hyphen-case name from their description.
|
|
19
29
|
|
|
20
30
|
## Check State
|
|
21
31
|
|