spec
Skill9 starsChanged 8 months agoMITView on GitHub
Create a feature implementation spec at docs/specs/NNN_<feature>.md (prefix mirrors the roadmap phase) — scope, approach, affected files, verification. Use when the user says 'spec out feature X', 'write the implementation plan for Y', 'turn this idea into a spec', 'document how we'll build this', or needs a doc the /feature skill can execute from later.
96 other projects use a version of this.
Adopted by
Most recently taken up by
- garrytan/gstacktheir own version, first seen Oct 7, 2026
- MagicJosh/rastheir own version, first seen Oct 6, 2026
- morodomi/dev-crewtheir own version, first seen Oct 5, 2026
- heymegabyte/agent-skillstheir own version, first seen Oct 5, 2026
- flavien-ia/hypervibe-harnesstheir own version, first seen Oct 4, 2026
- MicTx/spec-harnesstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use tickets, make-pdf and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
toveruxSkilltickets
Break a spec, plan, or the current conversation into tracer-bullet tickets, each declaring its blocking edges.
Also in 3 projects that use this
chloropineSkillmake-pdf
Turn any markdown file into a publication-quality PDF. Proper 1in margins, intelligent page breaks, page numbers, cover pages, running headers, curly quotes and em dashes, clickable TOC, diagonal DRAFT watermark. Not a draft artifact — a finished artifact. Use when asked to "make a PDF", "export to PDF", "turn this markdown into a PDF", or "generate a document". (cgstack) Voice triggers (speech-to-text aliases): "make this a pdf", "make it a pdf", "export to pdf", "turn this into a pdf", "turn this markdown into a pdf", "generate a pdf", "make a pdf from", "pdf this markdown".
Also in 3 projects that use this
anombyte93Skilldiscover
Phase 1 of the prd-taskmaster pipeline: brainstorm-driven discovery. Delegates to superpowers:brainstorming in Interactive Mode (one adaptive question at a time), or self-brainstorms in Autonomous Mode when no user is present. Intercepts before the brainstorming chain hands off to writing-plans — this skill owns the exit. Extracts constraints, calibrates scale (Solo / Team / Enterprise), and advances the pipeline to GENERATE.
Also in 5 projects that use this
diego-tobalinaSkillbuild-fix
Fix build and compilation errors systematically. Run when build fails.
Also in 3 projects that use this
chloropineSkillcontext-restore
Restore working context saved earlier by $context-save. Loads the most recent saved state (across all branches by default) so you can pick up where you left off — even across Conductor workspace handoffs. Use when asked to "resume", "restore context", "where was I", or "pick up where I left off". Pair with $context-save. Formerly /checkpoint resume — renamed because Codex treats /checkpoint as a native rewind alias in current environments. (cgstack)
Also in 3 projects that use this
GoogleSkillmetrics
Expertise in analyzing time-series repository health metrics, investigating root causes, and proposing proactive workflow improvements.
Also in 3 projects that use this
- +1 more from chloropine
Other versions96 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 96
- garrytan/gstack★ 143ksame name
- getsentry/sentry-react-native★ 1.8ksame name
- JuliusBrussee/cavekit★ 1.1ksame name
- kdlbs/kandev★ 899same name
- getsentry/sentry-dart★ 873same name
- codewithmukesh/dotnet-claude-kit★ 750same name
- Klerith/fernando-skills★ 281same name
- atelier-fashion/adlc-toolkit★ 171same name
- jvm-skills/jvm-skills★ 140same name
- jh941213/my-cc-harness★ 126same name
86 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- dotfiles/CLAUDE.mdCLAUDE.md
- adrSkill
- architectureSkill
- autopilotSkill
- commitSkill
- designSkill
- factorySkill
- featureSkill
- fixSkill
- issuesSkill
- new-projectSkill
- prdSkill
- prSkill
- reviewSkill
- rfcSkill
- roadmapSkill
- securitySkill
- tddSkill
- verify-designSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 9 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 79 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 5
Create a feature implementation spec for: $ARGUMENTS
- Distinctive: line 9
Every spec path starts with a zero-padded 3-digit prefix mirroring its roadmap phase number, so spec order matches roadmap order at a …
- Very specific: line 16
If this spec implements a task in docs/roadmap/NNN_<phase>.md, use that same NNN.
- Very specific: line 18
No roadmap yet → scan docs/specs/ and use max(existing) + 1.
- Distinctive: line 21
Before writing any file, state the target path and confirm it satisfies the rules above.
- Distinctive: line 25
Read what already exists before interviewing:
- Very specific: line 30
Inherited project with no docs: read README.md, explore directory structure, read key entry points, check git log --oneline -20, read …
- Distinctive: line 34
Use AskUserQuestion to nail down implementation details — precise enough that the feature can be implemented without further clarification.
- Distinctive: line 54
Every slice must leave main deployable.
- Distinctive: line 56
No slice depends on an unmerged slice.
- Distinctive: line 85
Write each sub-spec using the single-file template below.
- Distinctive: line 87
Single-file specs: add the same metadata as a short block near the top:
- Very specific: line 153
No architecture doc? → "Define system structure with /architecture"
- Very specific: line 154
No TDD? → "Define testing and dev workflow with /tdd"
- Very specific: line 155
No threat model and there are security concerns?
“Common” is measured: kept by at least 6 in 10 of the 79 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create a feature implementation spec for: $ARGUMENTS
Spec Numbering & Path
Every spec path starts with a zero-padded 3-digit prefix mirroring its roadmap phase number, so spec order matches roadmap order at a glance.
- Single spec:
docs/specs/NNN_<slug>.md - Sliced spec:
docs/specs/NNN_<slug>/containingREADME.md(index) andMMM_<slice>.mdfiles. The directory-vs-file distinction is how sliced specs are identified — theNNNprefix stays on the directory, never moves to the children. - Separator between prefix and slug is
_; within the slug, words are joined by-(e.g.,003_atlassian-integration.md, neveratlassian_integration.mdand never without the prefix).
Picking NNN:
- If this spec implements a task in
docs/roadmap/NNN_<phase>.md, use that sameNNN. Check the roadmap file before picking. - Multiple specs in one phase → disambiguate with letter suffixes
NNN.A_<name>.md,NNN.B_<name>.md, in task order. A lone spec in a phase has no suffix. - No roadmap yet → scan
docs/specs/and usemax(existing) + 1. Don't renumber later when a roadmap is added. - Never renumber an existing spec — commits, PRs, and issues reference specs by path.
Before writing any file, state the target path and confirm it satisfies the rules above.
Context Gathering
Read what already exists before interviewing:
- Existing docs:
docs/PRD.mdordocs/prd/,docs/ARCHITECTURE.md,docs/TECHNICAL_DESIGN_DOCUMENT.md,docs/THREAT_MODEL.md,README.md,CLAUDE.md. - Roadmap and specs directory: list
docs/roadmap/anddocs/specs/to pick the correctNNNper the rules above. - Existing spec for this feature — if the user is revising, don't start from scratch.
- Inherited project with no docs: read
README.md, explore directory structure, read key entry points, checkgit log --oneline -20, readpackage.json/Cargo.toml/pyproject.toml/ equivalent. Summarize what you learned to the user before the interview — "Here's what I understand about this project so far: ..."
Interview
Use AskUserQuestion to nail down implementation details — precise enough that the feature can be implemented without further clarification.
- What exactly changes? — Which components, APIs, data models are affected?
- API contract — Exact endpoints, request/response shapes, error codes, status codes
- Data model — Schema changes, migrations, new fields, new tables/collections
- Edge cases — Invalid input? Dependencies down? Missing data? Concurrent requests?
- Security — Auth requirements on new endpoints? Input validation rules? Data exposure risks?
- Verification — How do we prove this works? Concrete test cases with inputs and expected outputs.
- Dependencies — Does this depend on other work? Does other work depend on this?
Build on existing architecture, TDD, and security docs if they exist — reference them, don't repeat them.
Slice (trunk-based)
Estimate implementation size in source lines only — tests are written in full regardless and never count toward the budget. Per the global Trunk-Based Workflow (root CLAUDE.md), each PR targets ≤200 non-test lines.
- ≤200 lines: one spec, one PR. Single file at
docs/specs/NNN_<slug>.md. - >200 lines: slice into N independently mergeable vertical slices, each ≤200 lines, under
docs/specs/NNN_<slug>/.
Slicing rules:
- Every slice must leave
maindeployable. If a slice adds user-visible behavior that isn't ready to ship, name a feature flag (default off) in its spec. - Slice vertically (DB → API → UI for one capability), not horizontally. Vertical slices ship value; horizontal slices pile up un-shippable intermediate state.
- No slice depends on an unmerged slice. If B truly needs A merged first, mark the dependency and don't start B until A is merged.
- Each slice = its own branch, its own PR, deleted after merge. Branch naming:
<type>/<slice-slug>before/issuesruns,<type>/<issue-number>-<slice-slug>after (e.g.,feat/42-jira-sync).
Trunk metadata fields (used in both the Slices table and single-file specs):
- Type — conventional-commit prefix (
feat,fix,refactor,chore,test,docs,perf,security). Drives the branch prefix and thetype:*label on GitHub. - Flag — exact flag name (default off), or
noneif the slice ships user-ready. - Depends on (sliced only) — other slice numbers that must merge first;
—if independent. - Complexity —
low/med/high.highis a smell that the slice should be re-sliced; if you keep it, include a## Slicingsection explaining why one PR is still defensible. - Issue —
—until/issuesfills it with#<number>, which then unlocks the issue-numbered branch name.
Sliced index (docs/specs/NNN_<slug>/README.md) — the Slices table is the source of truth for /issues:
# Feature: [Name]
## Problem
[One paragraph — shared context for all slices.]
## Slices
| # | Slice | Type | Flag | Depends on | Complexity | Issue | Status |
|---|-------|------|------|------------|------------|-------|--------|
| 001 | [slice-name](001_slice-name.md) | feat | `none` or `flag_name` | — | low/med/high | — | Not started |
| 002 | [slice-name](002_slice-name.md) | feat | `flag_name` | 001 | low/med/high | — | Not started |
## Rollout
[When each flag flips on, who owns the decision, what verifies the rollout.]Write each sub-spec using the single-file template below.
Single-file specs add the same metadata as a short block near the top:
## Trunk Metadata
- **Type:** feat
- **Flag:** `none` or `flag_name`
- **Complexity:** low/med/high
- **Issue:** — (filled by `/issues`)
- **Branch (post-/issues):** `<type>/<issue-number>-<slug>`Write
Single (≤200 line) spec or sub-spec:
# Feature: [Name]
## Problem
[What problem does this solve? Who is affected?]
## Solution
[High-level approach. What changes and why.]
## Technical Design
### API Changes
[Endpoints, request/response shapes, error codes]
### Data Model
[Schema changes, migrations needed]
### Architecture
[Which components change. How they interact. Reference ARCHITECTURE.md if it exists.]
## Security Considerations
[Auth requirements, input validation, data exposure risks. Reference THREAT_MODEL.md if it exists.]
## Feature Flag
[Flag name and default state, or `None — slice is user-ready on merge`.]
## Verification Criteria
### Unit Tests
- [ ] [function/module]: [input] → [expected output]
- [ ] [validation]: [invalid input] → [expected error]
- [ ] [edge case]: [boundary condition] → [expected behavior]
### Integration Tests
- [ ] [API endpoint]: [request] → [response + status code]
- [ ] [database operation]: [action] → [expected state]
- [ ] [service interaction]: [call] → [expected result]
### E2E Tests (if applicable)
- [ ] [user flow]: [steps] → [expected outcome]
*Adapt the layers to what the feature touches. A pure logic change may only need unit tests. An API feature needs unit + integration. A critical user-facing flow needs all three. Reference the Testing Strategy in `docs/TECHNICAL_DESIGN_DOCUMENT.md` if it exists.*
## Out of Scope
[What this does NOT include]After Writing
- Present the spec to the user for review. Iterate until they're satisfied.
- Suggest next steps based on what exists:
- No architecture doc? → "Define system structure with
/architecture" - No TDD? → "Define testing and dev workflow with
/tdd" - No threat model and there are security concerns? → "Consider
/security" - Spec approved? → "File GitHub issues with
/issues docs/specs/NNN_<name>.md(or/issues docs/specs/NNN_<name>/README.mdfor a sliced spec). This populates theIssuecolumn and unlocks<type>/<issue-number>-<slug>branch naming." - Issues filed? → "Ready for
/feature docs/specs/NNN_<name>.md(single) or/feature docs/specs/NNN_<name>/MMM_<slice>.md(one slice at a time)."
- No architecture doc? → "Define system structure with
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

