liteagents 3.0.0 → 3.5.0
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/CHANGELOG.md +122 -1
- package/README.md +113 -169
- package/installer/cli.js +4 -2
- package/package.json +4 -3
- package/packages/ampcode/AGENT.md +10 -18
- package/packages/ampcode/agents/code-developer.md +11 -17
- package/packages/ampcode/agents/orchestrator.md +1 -1
- package/packages/ampcode/agents/quality-assurance.md +3 -1
- package/packages/ampcode/{commands/brainstorming.md → skills/brainstorming/SKILL.md} +2 -3
- package/packages/ampcode/{commands/branch-review.md → skills/branch-review/SKILL.md} +13 -13
- package/packages/{claude/commands/docs-builder.md → ampcode/skills/docs-builder/SKILL.md} +1 -1
- package/packages/ampcode/{commands/live-canvas.md → skills/live-canvas/SKILL.md} +8 -4
- package/packages/ampcode/{commands/refactor.md → skills/refactor/SKILL.md} +49 -7
- package/packages/ampcode/{commands/release.md → skills/release/SKILL.md} +4 -4
- package/packages/{claude/commands → ampcode/skills}/remember/AGENT_RULES.md +44 -84
- package/packages/ampcode/{commands/remember.md → skills/remember/SKILL.md} +11 -6
- package/packages/ampcode/{commands → skills}/remember/friction.cjs +0 -0
- package/packages/ampcode/{commands → skills}/remember/stub-check.cjs +28 -19
- package/packages/ampcode/{commands → skills}/remember/sync-rules.cjs +28 -19
- package/packages/{claude/commands → ampcode/skills}/remember/version-check.cjs +1 -1
- package/packages/ampcode/skills/root-cause/SKILL.md +220 -0
- package/packages/ampcode/{commands/trace-back → skills/root-cause}/find-polluter.sh +0 -0
- package/packages/{claude/commands/security.md → ampcode/skills/security/SKILL.md} +1 -1
- package/packages/{claude/commands/ship.md → ampcode/skills/ship/SKILL.md} +1 -1
- package/packages/ampcode/skills/skill-creator/LICENSE.txt +202 -0
- package/packages/ampcode/{commands/skill-creator.md → skills/skill-creator/SKILL.md} +1 -2
- package/packages/ampcode/{commands → skills}/skill-creator/scripts/init_skill.py +0 -0
- package/packages/ampcode/{commands → skills}/skill-creator/scripts/package_skill.py +0 -0
- package/packages/ampcode/{commands → skills}/skill-creator/scripts/quick_validate.py +0 -0
- package/packages/ampcode/{commands/stash.md → skills/stash/SKILL.md} +2 -1
- package/packages/{claude/commands/test-generate.md → ampcode/skills/test-generate/SKILL.md} +2 -2
- package/packages/ampcode/variants.json +2 -2
- package/packages/claude/CLAUDE.md +10 -17
- package/packages/claude/agents/code-developer.md +11 -17
- package/packages/claude/agents/orchestrator.md +2 -3
- package/packages/claude/agents/quality-assurance.md +3 -1
- package/packages/claude/skills/brainstorming/SKILL.md +1 -2
- package/packages/claude/{commands/branch-review.md → skills/branch-review/SKILL.md} +1 -1
- package/packages/{ampcode/commands/docs-builder.md → claude/skills/docs-builder/SKILL.md} +7 -7
- package/packages/claude/skills/live-canvas/SKILL.md +5 -1
- package/packages/claude/{commands/refactor.md → skills/refactor/SKILL.md} +45 -3
- package/packages/claude/{commands/release.md → skills/release/SKILL.md} +1 -1
- package/packages/{ampcode/commands → claude/skills}/remember/AGENT_RULES.md +38 -78
- package/packages/claude/{commands/remember.md → skills/remember/SKILL.md} +11 -6
- package/packages/claude/{commands → skills}/remember/friction.cjs +0 -0
- package/packages/claude/{commands → skills}/remember/stub-check.cjs +28 -19
- package/packages/claude/{commands → skills}/remember/sync-rules.cjs +28 -19
- package/packages/{ampcode/commands → claude/skills}/remember/version-check.cjs +3 -3
- package/packages/claude/skills/root-cause/SKILL.md +220 -0
- package/packages/{ampcode/commands/security.md → claude/skills/security/SKILL.md} +2 -2
- package/packages/{ampcode/commands/ship.md → claude/skills/ship/SKILL.md} +2 -2
- package/packages/claude/skills/skill-creator/SKILL.md +1 -2
- package/packages/claude/{commands/stash.md → skills/stash/SKILL.md} +2 -1
- package/packages/{ampcode/commands/test-generate.md → claude/skills/test-generate/SKILL.md} +3 -3
- package/packages/claude/variants.json +1 -2
- package/packages/droid/AGENTS.md +10 -15
- package/packages/droid/commands/brainstorming.md +1 -4
- package/packages/droid/commands/branch-review.md +11 -14
- package/packages/droid/commands/docs-builder.md +0 -3
- package/packages/droid/commands/live-canvas.md +7 -5
- package/packages/droid/commands/refactor.md +47 -8
- package/packages/droid/commands/release.md +2 -5
- package/packages/droid/commands/remember/AGENT_RULES.md +38 -78
- package/packages/droid/commands/remember/stub-check.cjs +28 -19
- package/packages/droid/commands/remember/sync-rules.cjs +28 -19
- package/packages/droid/commands/remember/version-check.cjs +1 -1
- package/packages/droid/commands/remember.md +6 -4
- package/packages/droid/commands/root-cause.md +218 -0
- package/packages/droid/commands/security.md +0 -3
- package/packages/droid/commands/ship.md +0 -3
- package/packages/droid/commands/skill-creator/LICENSE.txt +202 -0
- package/packages/droid/commands/skill-creator.md +0 -4
- package/packages/droid/commands/stash.md +0 -2
- package/packages/droid/commands/test-generate.md +1 -4
- package/packages/droid/droids/1-create-prd.md +6 -2
- package/packages/droid/droids/2-generate-tasks.md +1 -2
- package/packages/droid/droids/3-process-task-list.md +1 -2
- package/packages/droid/droids/code-developer.md +12 -19
- package/packages/droid/droids/feature-planner.md +1 -2
- package/packages/droid/droids/market-researcher.md +1 -2
- package/packages/droid/droids/orchestrator.md +1 -2
- package/packages/droid/droids/quality-assurance.md +4 -3
- package/packages/droid/droids/system-architect.md +1 -2
- package/packages/droid/droids/ui-designer.md +1 -2
- package/packages/opencode/AGENTS.md +10 -15
- package/packages/opencode/agent/code-developer.md +11 -17
- package/packages/opencode/agent/quality-assurance.md +3 -1
- package/packages/opencode/command/brainstorming.md +1 -4
- package/packages/opencode/command/branch-review.md +11 -15
- package/packages/opencode/command/docs-builder.md +0 -4
- package/packages/opencode/command/live-canvas.md +7 -5
- package/packages/opencode/command/refactor.md +47 -9
- package/packages/opencode/command/release.md +2 -5
- package/packages/opencode/command/remember/AGENT_RULES.md +38 -78
- package/packages/opencode/command/remember/stub-check.cjs +28 -19
- package/packages/opencode/command/remember/sync-rules.cjs +28 -19
- package/packages/opencode/command/remember/version-check.cjs +1 -1
- package/packages/opencode/command/remember.md +6 -4
- package/packages/opencode/command/root-cause.md +218 -0
- package/packages/opencode/command/security.md +0 -4
- package/packages/opencode/command/ship.md +0 -3
- package/packages/opencode/command/skill-creator/LICENSE.txt +202 -0
- package/packages/opencode/command/skill-creator.md +0 -4
- package/packages/opencode/command/stash.md +0 -3
- package/packages/opencode/command/test-generate.md +1 -5
- package/packages/opencode/opencode.jsonc +4 -24
- package/packages/subagentic-manual.md +147 -314
- package/packages/ampcode/commands/debug-method.md +0 -297
- package/packages/ampcode/commands/live-canvas/README.md +0 -264
- package/packages/ampcode/commands/optimize.md +0 -61
- package/packages/ampcode/commands/tdd-flow.md +0 -390
- package/packages/ampcode/commands/test-traps/example.ts +0 -158
- package/packages/ampcode/commands/test-traps.md +0 -378
- package/packages/ampcode/commands/trace-back.md +0 -176
- package/packages/ampcode/commands/verify-done.md +0 -152
- package/packages/claude/commands/optimize.md +0 -61
- package/packages/claude/plugins/live-canvas-marketplace/plugins/live-canvas-channel/README.md +0 -89
- package/packages/claude/skills/debug-method/CREATION-LOG.md +0 -119
- package/packages/claude/skills/debug-method/SKILL.md +0 -296
- package/packages/claude/skills/debug-method/test-academic.md +0 -14
- package/packages/claude/skills/debug-method/test-pressure-1.md +0 -58
- package/packages/claude/skills/debug-method/test-pressure-2.md +0 -68
- package/packages/claude/skills/debug-method/test-pressure-3.md +0 -69
- package/packages/claude/skills/live-canvas/README.md +0 -269
- package/packages/claude/skills/tdd-flow/SKILL.md +0 -392
- package/packages/claude/skills/test-traps/SKILL.md +0 -378
- package/packages/claude/skills/test-traps/example.ts +0 -158
- package/packages/claude/skills/trace-back/SKILL.md +0 -176
- package/packages/claude/skills/verify-done/SKILL.md +0 -152
- package/packages/droid/commands/debug-method.md +0 -297
- package/packages/droid/commands/live-canvas/README.md +0 -264
- package/packages/droid/commands/optimize.md +0 -61
- package/packages/droid/commands/tdd-flow.md +0 -390
- package/packages/droid/commands/test-traps/example.ts +0 -158
- package/packages/droid/commands/test-traps.md +0 -378
- package/packages/droid/commands/trace-back.md +0 -176
- package/packages/droid/commands/verify-done.md +0 -152
- package/packages/opencode/command/debug-method.md +0 -297
- package/packages/opencode/command/live-canvas/README.md +0 -264
- package/packages/opencode/command/optimize.md +0 -61
- package/packages/opencode/command/tdd-flow.md +0 -390
- package/packages/opencode/command/test-traps/example.ts +0 -158
- package/packages/opencode/command/test-traps.md +0 -378
- package/packages/opencode/command/trace-back.md +0 -176
- package/packages/opencode/command/verify-done.md +0 -152
- /package/packages/ampcode/{commands → skills}/docs-builder/docs-builder.cjs +0 -0
- /package/packages/ampcode/{commands → skills}/live-canvas/DESIGN_PRINCIPLES.md +0 -0
- /package/packages/ampcode/{commands → skills}/live-canvas/dev/post-variants.html +0 -0
- /package/packages/ampcode/{commands → skills}/live-canvas/templates/lab-banner.html +0 -0
- /package/packages/ampcode/{commands → skills}/live-canvas/templates/overlay-vanilla.js +0 -0
- /package/packages/claude/{commands → skills}/docs-builder/docs-builder.cjs +0 -0
- /package/packages/claude/skills/{trace-back → root-cause}/find-polluter.sh +0 -0
- /package/packages/droid/commands/{trace-back → root-cause}/find-polluter.sh +0 -0
- /package/packages/opencode/command/{trace-back → root-cause}/find-polluter.sh +0 -0
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Use when any test fails, bug appears, or behaviour surprises you, before proposing a fix - find the cause and prove it, by reading real evidence, tracing bad values back to their origin, comparing against a working case, and testing one hypothesis at a time
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Root Cause
|
|
6
|
+
|
|
7
|
+
**Find the cause before you change any code.**
|
|
8
|
+
|
|
9
|
+
## The Law
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
NO FIX WITHOUT A CAUSE YOU CAN POINT AT
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
A fix at the place the error *appeared* is a symptom fix. It is a failure even when
|
|
16
|
+
the symptom goes away, because the real cause is still there and will surface
|
|
17
|
+
somewhere else, later, with less context.
|
|
18
|
+
|
|
19
|
+
You cannot propose a fix until Phase 1 is done.
|
|
20
|
+
|
|
21
|
+
## When to Use
|
|
22
|
+
|
|
23
|
+
Any technical issue: a failing test, a production bug, unexpected behaviour, a
|
|
24
|
+
performance problem, a broken build, an integration that will not talk.
|
|
25
|
+
|
|
26
|
+
**Especially when it feels like overkill:**
|
|
27
|
+
- Under time pressure — emergencies are exactly when guessing is most tempting and most expensive
|
|
28
|
+
- "Just one quick fix" looks obvious
|
|
29
|
+
- You have already tried a fix and it did not work
|
|
30
|
+
- You do not fully understand the issue
|
|
31
|
+
|
|
32
|
+
Simple bugs have root causes too, and finding one takes minutes. Guess-and-check
|
|
33
|
+
takes hours and leaves damage behind.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Phase 1 — Gather Evidence
|
|
38
|
+
|
|
39
|
+
Do all of this **before** forming any opinion about the fix.
|
|
40
|
+
|
|
41
|
+
### 1. Read the error completely
|
|
42
|
+
|
|
43
|
+
Do not skim past it. Read the whole message, the whole stack trace, every warning
|
|
44
|
+
above it. Note line numbers, file paths, error codes. The answer is often written
|
|
45
|
+
there in full.
|
|
46
|
+
|
|
47
|
+
### 2. Reproduce it consistently
|
|
48
|
+
|
|
49
|
+
Can you trigger it on demand? What are the exact steps? Does it happen every time?
|
|
50
|
+
|
|
51
|
+
If it is not reproducible, gather more data. Do not start guessing — an
|
|
52
|
+
intermittent bug you cannot trigger is a bug you cannot prove you fixed.
|
|
53
|
+
|
|
54
|
+
### 3. Check what changed
|
|
55
|
+
|
|
56
|
+
Recent commits, the working diff, new dependencies, config edits, environment
|
|
57
|
+
differences between the place it works and the place it does not.
|
|
58
|
+
|
|
59
|
+
Be careful here: the most recent change is the most *available* suspect, not the
|
|
60
|
+
most likely one. Recency is a lead to test, never a conclusion.
|
|
61
|
+
|
|
62
|
+
### 4. Instrument the boundaries (multi-component systems)
|
|
63
|
+
|
|
64
|
+
When the path crosses components — CI → build → sign, API → service → database,
|
|
65
|
+
workflow → script → tool — do not reason about where it breaks. Measure it.
|
|
66
|
+
|
|
67
|
+
For each boundary, log what goes **in** and what comes **out**, and confirm
|
|
68
|
+
configuration and environment actually propagated across it.
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
echo "=== layer 1: is the secret present in the workflow? ==="
|
|
72
|
+
echo "IDENTITY: ${IDENTITY:+SET}${IDENTITY:-UNSET}"
|
|
73
|
+
|
|
74
|
+
echo "=== layer 2: did it survive into the build script? ==="
|
|
75
|
+
env | grep IDENTITY || echo "IDENTITY not in environment"
|
|
76
|
+
|
|
77
|
+
echo "=== layer 3: what does the tool actually see? ==="
|
|
78
|
+
security find-identity -v
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Run it **once** to find which boundary fails, then investigate only that
|
|
82
|
+
component. This turns "somewhere in the pipeline" into a named layer.
|
|
83
|
+
|
|
84
|
+
### 5. Trace the bad value back to where it was born
|
|
85
|
+
|
|
86
|
+
When the error surfaces deep in the call stack, the place it exploded is almost
|
|
87
|
+
never the place it went wrong. Walk backwards.
|
|
88
|
+
|
|
89
|
+
**The chain:**
|
|
90
|
+
|
|
91
|
+
1. **Observe the symptom** — `git init` ran in the source directory
|
|
92
|
+
2. **Find the immediate cause** — the code that directly did it:
|
|
93
|
+
`execFileAsync('git', ['init'], { cwd: projectDir })`
|
|
94
|
+
3. **Ask what called this, and with what value** — `projectDir` was `''`, and an
|
|
95
|
+
empty `cwd` silently resolves to the process's own directory
|
|
96
|
+
4. **Keep going up** — who passed the empty string? and who gave it to *them*?
|
|
97
|
+
5. **Stop at the origin** — the point where a correct value first became wrong
|
|
98
|
+
|
|
99
|
+
Fix it **there**. Then, if the value is dangerous, validate it at each layer on
|
|
100
|
+
the way down as well, so the same mistake cannot recur through a different path.
|
|
101
|
+
|
|
102
|
+
**When you cannot trace it by reading, instrument it:**
|
|
103
|
+
|
|
104
|
+
```typescript
|
|
105
|
+
async function gitInit(directory: string) {
|
|
106
|
+
console.error('DEBUG git init:', {
|
|
107
|
+
directory,
|
|
108
|
+
cwd: process.cwd(),
|
|
109
|
+
stack: new Error().stack,
|
|
110
|
+
});
|
|
111
|
+
await execFileAsync('git', ['init'], { cwd: directory });
|
|
112
|
+
}
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
- Capture the **stack**, not just the value — it names the caller you are looking for
|
|
116
|
+
- Log **before** the dangerous operation, not in its failure handler
|
|
117
|
+
- Include surrounding context: the directory, the working directory, relevant environment
|
|
118
|
+
- In tests, write to standard error directly; a project logger may be suppressed
|
|
119
|
+
|
|
120
|
+
**When something pollutes a test run but you cannot tell which test:** bisect.
|
|
121
|
+
Run the tests one at a time and stop at the first one that leaves the mess behind.
|
|
122
|
+
`find-polluter.sh` in this skill's directory does exactly that.
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## Phase 2 — Compare Against Something That Works
|
|
127
|
+
|
|
128
|
+
You are looking for a difference, and the fastest way to see one is a side-by-side.
|
|
129
|
+
|
|
130
|
+
- **Find a working example** — similar code in the same codebase that behaves correctly
|
|
131
|
+
- **Read the reference completely** if you are following a pattern. Every line. Skimming a
|
|
132
|
+
reference and adapting "the idea" is how half-understood patterns ship
|
|
133
|
+
- **List every difference**, however small. Do not filter by "that can't matter" — that
|
|
134
|
+
judgement is exactly what you do not have yet
|
|
135
|
+
- **Check the dependencies**: what config, what environment, what other components does
|
|
136
|
+
the working one have that the broken one does not?
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## Phase 3 — One Hypothesis, One Variable
|
|
141
|
+
|
|
142
|
+
- **State it in writing:** "I think X is the cause, because Y." Specific, not vague.
|
|
143
|
+
- **Test it with the smallest possible change.** One variable. A controlled test that
|
|
144
|
+
isolates your suspect beats a plausible story about the most recent commit.
|
|
145
|
+
- **Read the result honestly.** Confirmed → Phase 4. Not confirmed → form a *new*
|
|
146
|
+
hypothesis. Never stack a second fix on top of an unconfirmed first one.
|
|
147
|
+
- **Say when you do not know.** "I don't understand why X happens" is a real state and a
|
|
148
|
+
useful thing to report. Pretending to know produces confident wrong fixes.
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## Phase 4 — Fix at the Source
|
|
153
|
+
|
|
154
|
+
### 1. Write the failing test first
|
|
155
|
+
|
|
156
|
+
The simplest reproduction you can manage — an automated test if there is a suite, a
|
|
157
|
+
throwaway script if there is not.
|
|
158
|
+
|
|
159
|
+
**Run it against the unfixed code and watch it fail, for the reason you expect.** A
|
|
160
|
+
test written after the fix, or one that passes both before and after, proves nothing.
|
|
161
|
+
This is the step that converts your hypothesis into evidence.
|
|
162
|
+
|
|
163
|
+
### 2. Make one change
|
|
164
|
+
|
|
165
|
+
Fix the cause you identified. One change. No "while I'm here" improvements, no bundled
|
|
166
|
+
refactoring — those make it impossible to tell what actually worked.
|
|
167
|
+
|
|
168
|
+
### 3. Verify
|
|
169
|
+
|
|
170
|
+
Does the new test pass? Does the rest of the suite still pass? Is the original symptom
|
|
171
|
+
actually gone — checked, not assumed?
|
|
172
|
+
|
|
173
|
+
### 4. If the fix did not work, stop and count
|
|
174
|
+
|
|
175
|
+
Under three attempts: return to Phase 1 with what you just learned. The failed attempt
|
|
176
|
+
is evidence.
|
|
177
|
+
|
|
178
|
+
**Three or more failed fixes means you have the wrong model of the problem.** Do not
|
|
179
|
+
attempt a fourth. The pattern to watch for: each fix uncovers a new problem somewhere
|
|
180
|
+
else, or each one needs "just a bit of refactoring" to land.
|
|
181
|
+
|
|
182
|
+
That is an architecture question, not a hypothesis question. Stop and raise it.
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
## Red Flags — Stop and Return to Phase 1
|
|
187
|
+
|
|
188
|
+
- "Quick fix now, investigate later"
|
|
189
|
+
- "Just try changing X and see"
|
|
190
|
+
- Several changes at once, then run the tests
|
|
191
|
+
- "Skip the test, I'll check it by hand"
|
|
192
|
+
- "It's probably X" — probably is not a cause
|
|
193
|
+
- "I don't fully understand this, but this might work"
|
|
194
|
+
- Listing fixes before tracing where the bad value came from
|
|
195
|
+
- "One more attempt" when two have already failed
|
|
196
|
+
- Each fix revealing a new problem somewhere else
|
|
197
|
+
|
|
198
|
+
## Quick Reference
|
|
199
|
+
|
|
200
|
+
| Phase | You do | Done when |
|
|
201
|
+
|---|---|---|
|
|
202
|
+
| **1. Evidence** | Read the error, reproduce, check changes, instrument boundaries, trace the value back | You can say what happened and where it started |
|
|
203
|
+
| **2. Compare** | Find a working case, read it fully, list every difference | You know what is different |
|
|
204
|
+
| **3. Hypothesis** | State one cause, test one variable | Confirmed, or you have a new hypothesis |
|
|
205
|
+
| **4. Fix** | Failing test first, one change, verify | The test that failed now passes, and nothing else broke |
|
|
206
|
+
|
|
207
|
+
## When There Really Is No Root Cause
|
|
208
|
+
|
|
209
|
+
It happens — a genuine race, an upstream bug, a hardware fault. But roughly nineteen
|
|
210
|
+
times in twenty, "no root cause" means the investigation stopped early.
|
|
211
|
+
|
|
212
|
+
Before you conclude it: can you reproduce it? Did you instrument every boundary? Did
|
|
213
|
+
you trace the value to its origin, or only to the last function you recognised?
|
|
214
|
+
|
|
215
|
+
## Related
|
|
216
|
+
|
|
217
|
+
- **AGENT_RULES.md → Testing Standards** — what makes the Phase 4 test a real one
|
|
218
|
+
- **`/test-generate`** — build out the suite once the cause is fixed
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: security
|
|
3
2
|
description: Security audit — recurring six, injection, auth, trust boundaries
|
|
4
|
-
usage: /security
|
|
5
3
|
argument-hint: [file, directory, or leave empty for full scan]
|
|
6
|
-
allowed-tools: Read, Grep, Glob, Bash(git log *), Bash(git grep *), Bash(rg *)
|
|
7
4
|
---
|
|
8
5
|
Audit $ARGUMENTS for security vulnerabilities. **Reports, never edits** — it
|
|
9
6
|
verifies every claim, then hands the findings to whoever asked.
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: ship
|
|
3
2
|
description: Mechanical pre-deploy gate — tests, build, tree state
|
|
4
|
-
usage: /ship
|
|
5
|
-
allowed-tools: Read, Grep, Glob, Bash(git *), Bash(npm *), Bash(pnpm *), Bash(yarn *), Bash(pytest *), Bash(python *), Bash(go *), Bash(cargo *), Bash(make *)
|
|
6
3
|
---
|
|
7
4
|
Mechanical pre-deploy / pre-merge gate. Every item here is answerable by
|
|
8
5
|
**running a command** and reading its exit code — no code judgment. Code
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: skill-creator
|
|
3
2
|
description: Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
|
|
4
|
-
usage: /skill-creator <skill-type> <skill-description>
|
|
5
|
-
auto_trigger: false
|
|
6
|
-
license: Complete terms in LICENSE.txt
|
|
7
3
|
---
|
|
8
4
|
|
|
9
5
|
# Skill Creator
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: test-generate
|
|
3
2
|
description: Generate and run tests [file]
|
|
4
|
-
usage: /test-generate <file>
|
|
5
3
|
argument-hint: [file or symbol to test]
|
|
6
|
-
allowed-tools: Read, Edit, Write, Grep, Glob, Bash(npm test *), Bash(npx jest *), Bash(npx vitest *), Bash(pnpm test *), Bash(yarn test *), Bash(pytest *), Bash(python *), Bash(go test *), Bash(cargo test *), Bash(make test *)
|
|
7
4
|
---
|
|
8
5
|
Generate tests for $ARGUMENTS, then run them. This is a generate → run →
|
|
9
6
|
verify loop, not just file generation.
|
|
@@ -28,7 +25,7 @@ Match existing patterns:
|
|
|
28
25
|
or new test-runner config.
|
|
29
26
|
- Do **not** add test-only public methods or exports to production code to
|
|
30
27
|
make a test possible — if the test wants a hook the prod code doesn't
|
|
31
|
-
expose, stop and ask
|
|
28
|
+
expose, stop and ask.
|
|
32
29
|
|
|
33
30
|
## 3. Run
|
|
34
31
|
Execute the project's real test command, scoped to just the new tests
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: 1-create-prd
|
|
3
|
-
description: Create PRDs through structured discovery
|
|
4
|
-
when_to_use: Define Scope - use to clearly outline what needs to be built with a Product Requirement Document (PRD)
|
|
3
|
+
description: Create PRDs through structured discovery. Define Scope - use to clearly outline what needs to be built with a Product Requirement Document (PRD)
|
|
5
4
|
model: inherit
|
|
6
5
|
tools: ["Read", "LS", "Grep", "Glob", "Create", "Edit", "MultiEdit", "ApplyPatch", "Execute", "WebSearch", "FetchUrl", "mcp"]
|
|
7
6
|
---
|
|
@@ -168,3 +167,8 @@ B) Proceed to task generation
|
|
|
168
167
|
- [ ] Asked essential questions (max 2 rounds, max 10 total)?
|
|
169
168
|
- [ ] Waited for user answers (didn't assume)?
|
|
170
169
|
- [ ] Remaining unknowns moved to Open Questions?
|
|
170
|
+
- [ ] PRD focuses on what/why, not how?
|
|
171
|
+
- [ ] Requirements specific and actionable?
|
|
172
|
+
- [ ] Removed redundancy and bloat?
|
|
173
|
+
- [ ] Noted constraints without expanding into architecture?
|
|
174
|
+
- [ ] Non-goals stated (min 2-3)?
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: 2-generate-tasks
|
|
3
|
-
description: Convert PRDs into development task lists
|
|
4
|
-
when_to_use: Detailed Planning - use to break down the PRD into a granular, actionable task list
|
|
3
|
+
description: Convert PRDs into development task lists. Detailed Planning - use to break down the PRD into a granular, actionable task list
|
|
5
4
|
model: inherit
|
|
6
5
|
tools: ["Read", "LS", "Grep", "Glob", "Create", "Edit", "MultiEdit", "ApplyPatch", "Execute", "WebSearch", "FetchUrl", "mcp"]
|
|
7
6
|
---
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: 3-process-task-list
|
|
3
|
-
description: Execute task lists with sequential commits
|
|
4
|
-
when_to_use: Iterative Implementation - use to guide the AI to tackle one task at a time, allowing you to review and approve each change
|
|
3
|
+
description: Execute task lists with sequential commits. Iterative Implementation - use to guide the AI to tackle one task at a time, allowing you to review and approve each change
|
|
5
4
|
model: inherit
|
|
6
5
|
tools: ["Read", "LS", "Grep", "Glob", "Create", "Edit", "MultiEdit", "ApplyPatch", "Execute", "WebSearch", "FetchUrl", "mcp"]
|
|
7
6
|
---
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: code-developer
|
|
3
|
-
description: Implement code, debug, refactor, optimize
|
|
4
|
-
when_to_use: Use for code implementation, debugging, refactoring, optimization, and development best practices
|
|
3
|
+
description: Implement code, debug, refactor, optimize. Use for code implementation, debugging, refactoring, optimization, and development best practices
|
|
5
4
|
model: inherit
|
|
6
5
|
tools: ["Read", "LS", "Grep", "Glob", "Create", "Edit", "MultiEdit", "ApplyPatch", "Execute", "WebSearch", "FetchUrl", "mcp"]
|
|
7
6
|
---
|
|
@@ -37,29 +36,26 @@ digraph CodeDeveloper {
|
|
|
37
36
|
work_type [label="Work type?", shape=diamond];
|
|
38
37
|
|
|
39
38
|
// Context discovery (conditional)
|
|
40
|
-
needs_context [label="Debug
|
|
39
|
+
needs_context [label="Debug or\nrefactor?", shape=diamond];
|
|
41
40
|
context_discovery [label="Context Discovery\n(search related code,\ndeps, usages)", fillcolor=lightyellow];
|
|
42
41
|
|
|
43
42
|
// Debug path
|
|
44
|
-
use_debug [label="Use /
|
|
43
|
+
use_debug [label="Use /root-cause"];
|
|
45
44
|
|
|
46
45
|
// Refactor path
|
|
47
46
|
use_refactor [label="Use /refactor"];
|
|
48
47
|
|
|
49
|
-
// Optimize path
|
|
50
|
-
use_optimize [label="Use /optimize"];
|
|
51
|
-
|
|
52
48
|
// Implement path
|
|
53
49
|
implement [label="Implement changes"];
|
|
54
50
|
|
|
55
51
|
// Conditional testing
|
|
56
52
|
tdd_needed [label="TDD specified\nor tests needed?", shape=diamond];
|
|
57
|
-
use_tdd [label="Use /
|
|
53
|
+
use_tdd [label="Use /test-generate"];
|
|
58
54
|
|
|
59
55
|
// Validation
|
|
60
56
|
run_validations [label="Run validations\n(lint, build, tests)"];
|
|
61
57
|
validations_pass [label="Pass?", shape=diamond];
|
|
62
|
-
fix_issues [label="Fix issues\n(use /
|
|
58
|
+
fix_issues [label="Fix issues\n(use /root-cause if needed)"];
|
|
63
59
|
failure_count [label="3+ failures?", shape=diamond];
|
|
64
60
|
|
|
65
61
|
// Security check
|
|
@@ -76,7 +72,7 @@ digraph CodeDeveloper {
|
|
|
76
72
|
|
|
77
73
|
// Review and complete
|
|
78
74
|
code_review [label="Run /branch-review"];
|
|
79
|
-
verification [label="Run
|
|
75
|
+
verification [label="Run the proof", fillcolor=orange];
|
|
80
76
|
|
|
81
77
|
// Story-specific
|
|
82
78
|
update_story [label="Update story\n(checkbox, changelog)"];
|
|
@@ -100,12 +96,10 @@ digraph CodeDeveloper {
|
|
|
100
96
|
|
|
101
97
|
work_type -> use_debug [label="debug"];
|
|
102
98
|
work_type -> use_refactor [label="refactor"];
|
|
103
|
-
work_type -> use_optimize [label="optimize"];
|
|
104
99
|
work_type -> implement [label="implement"];
|
|
105
100
|
|
|
106
101
|
use_debug -> implement;
|
|
107
102
|
use_refactor -> implement;
|
|
108
|
-
use_optimize -> implement;
|
|
109
103
|
|
|
110
104
|
implement -> tdd_needed;
|
|
111
105
|
tdd_needed -> use_tdd [label="YES"];
|
|
@@ -184,14 +178,13 @@ All require `*` prefix. Invocation commands in table above. Additional:
|
|
|
184
178
|
|
|
185
179
|
| Situation | Delegate To |
|
|
186
180
|
|-----------|-------------|
|
|
187
|
-
| Bug encountered | `/
|
|
188
|
-
| Error deep in stack | `/
|
|
189
|
-
| Refactoring code | `/refactor` |
|
|
190
|
-
| Need tests (when required) | `/test-generate`
|
|
191
|
-
| Writing any test |
|
|
192
|
-
| Before completion |
|
|
181
|
+
| Bug encountered | `/root-cause` |
|
|
182
|
+
| Error deep in stack | `/root-cause` (Phase 1, step 5) |
|
|
183
|
+
| Refactoring code, or a perf problem | `/refactor` (its perf pass is on by default) |
|
|
184
|
+
| Need tests (when required) | `/test-generate` |
|
|
185
|
+
| Writing any test | AGENT_RULES.md → Testing Standards |
|
|
186
|
+
| Before completion | Run the proof and read its output |
|
|
193
187
|
| After code changes | `/security` |
|
|
194
188
|
| Task complete / general review | `/branch-review` (reviews the branch + full security audit, verifies claims, reports findings — never fixes) |
|
|
195
|
-
| Performance issues | `/optimize` |
|
|
196
189
|
|
|
197
190
|
You are an autonomous implementation specialist. Execute with precision, delegate appropriately, and communicate clearly when you need guidance or encounter blockers.
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: feature-planner
|
|
3
|
-
description: Epics, user stories, prioritization, backlog management
|
|
4
|
-
when_to_use: Use for creating epics and user stories, prioritization, backlog navigation, story refinement, and sprint planning
|
|
3
|
+
description: Epics, user stories, prioritization, backlog management. Use for creating epics and user stories, prioritization, backlog navigation, story refinement, and sprint planning
|
|
5
4
|
model: inherit
|
|
6
5
|
tools: ["Read", "LS", "Grep", "Glob", "Create", "Edit", "MultiEdit", "ApplyPatch", "Execute", "WebSearch", "FetchUrl", "mcp"]
|
|
7
6
|
---
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: market-researcher
|
|
3
|
-
description: Research markets, analyze competitors, brainstorm
|
|
4
|
-
when_to_use: Use for market research, brainstorming, competitive analysis, project briefs, and initial project discovery
|
|
3
|
+
description: Research markets, analyze competitors, brainstorm. Use for market research, brainstorming, competitive analysis, project briefs, and initial project discovery
|
|
5
4
|
model: inherit
|
|
6
5
|
tools: ["Read", "LS", "Grep", "Glob", "Create", "Edit", "MultiEdit", "ApplyPatch", "Execute", "WebSearch", "FetchUrl", "mcp"]
|
|
7
6
|
---
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: orchestrator
|
|
3
|
-
description: Route to agents, execute workflows, discover resources
|
|
4
|
-
when_to_use: Use for workflow coordination, multi-agent tasks, role switching, and when unsure which specialist to consult
|
|
3
|
+
description: Route to agents, execute workflows, discover resources. Use for workflow coordination, multi-agent tasks, role switching, and when unsure which specialist to consult
|
|
5
4
|
model: inherit
|
|
6
5
|
tools: ["Read", "LS", "Grep", "Glob", "Create", "Edit", "MultiEdit", "ApplyPatch", "Execute", "WebSearch", "FetchUrl", "mcp"]
|
|
7
6
|
---
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: quality-assurance
|
|
3
|
-
description: Code quality validation, test architecture, security review
|
|
4
|
-
when_to_use: Use for code review, test coverage analysis, security scanning, quality gate decisions, and improvement recommendations
|
|
3
|
+
description: Code quality validation, test architecture, security review. Use for code review, test coverage analysis, security scanning, quality gate decisions, and improvement recommendations
|
|
5
4
|
model: inherit
|
|
6
5
|
tools: ["Read", "LS", "Grep", "Glob", "Create", "Edit", "MultiEdit", "ApplyPatch", "Execute", "WebSearch", "FetchUrl", "mcp"]
|
|
7
6
|
---
|
|
@@ -59,13 +58,15 @@ digraph QualityAssurance {
|
|
|
59
58
|
|
|
60
59
|
Before any analysis, read (if exists):
|
|
61
60
|
- `AGENTS.md` - Project instructions, patterns, conventions
|
|
61
|
+
<!-- mirror:literal:start — names every tool's config file on purpose -->
|
|
62
62
|
- `AGENT.md` / `AGENTS.md` - Agent configurations
|
|
63
|
+
<!-- mirror:literal:end -->
|
|
63
64
|
- `README.md` - Project overview
|
|
64
65
|
- Test config files (`jest.config`, `pytest.ini`, etc.)
|
|
65
66
|
|
|
66
67
|
## Slash Commands Available
|
|
67
68
|
|
|
68
|
-
Use these during analysis: `/branch-review`, `/security
|
|
69
|
+
Use these during analysis: `/branch-review`, `/security`
|
|
69
70
|
|
|
70
71
|
## Analysis Areas
|
|
71
72
|
|