spec
Skill8 starsChanged 10 months agoApache-2.0View on GitHub
Write and maintain spec-first artifacts (service specs, API contracts via OpenAPI/protobuf/WebSocket schemas, ADRs, task lists, quickstarts). Use when creating specs/*.md, apps/*/spec/ bundles, or contracts/ docs, especially before major behavior changes or multi-agent collaboration. NOT for implementation task breakdown without spec artifacts (use plan); NOT for choosing system or code patterns (use architecture or design).
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 repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- architectureSkill
- archobsSkill
- debugSkill
- designSkill
- finishSkill
- forecastSkill
- intelSkill
- observabilitySkill
- planSkill
- platformSkill
- resilienceSkill
- reviewSkill
- securitySkill
- testingSkill
- typescriptSkill
- workflowSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. 0 are common, 16 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 79 edited versions we read keep these.
16
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 11
Create a stable “source of truth” for agents and humans: write specs with testable acceptance criteria and keep them aligned with …
- Distinctive: line 23
Use one (or both) of these:
- Very specific: line 38
Significant trade-off or migration decision: write a decision record (specs/decisions/NNN-<topic>.md).
- Very specific: line 39
New or changed service behavior: write/update the service spec bundle (apps/<service>/spec/).
- Very specific: line 41
Task breakdown for implementation: update tasks.md in the spec bundle (or specs/tasks.md for repo-level backlog).
- Distinctive: line 42
Minor behavior tweak within existing contracts: update acceptance scenarios in the existing spec.
- Very specific: line 66
Ensure spec contracts honor existing cluster boundaries.
- Very specific: line 70
If archobs artifacts are missing: run archobs report or note as a gap.
- Distinctive: line 83
Write the objective function up front:
- Distinctive: line 97
Add non-functional requirements (NFRs) that matter:
- Distinctive: line 100
Add a compact decision table:
- Very specific: line 108
If probe output already exists from an earlier Define-stage skill in this flow (including workflow orchestration), refine it instead of …
- Distinctive: line 109
Add a measurement ladder:
- Distinctive: line 115
keep tasks small and orderable
- Distinctive: line 118
if implementation forces a change in behavior, update specs first
- Distinctive: line 119
keep quickstarts and contracts current
- Distinctive: line 123
When context or time is constrained, these are the load-bearing steps:
- Distinctive: line 136
Keep contracts stable; prefer additive changes and version explicitly when you can’t.
- Distinctive: line 137
Write down non-goals to stop scope creep.
- Distinctive: line 139
No metric without a named decision and review ritual.
- Distinctive: line 140
If a design cannot be measured cheaply enough to guide weekly decisions, treat that as a constraint and simplify.
- Distinctive: line 161
When using this skill, return:
“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
Spec (Spec-Driven Development)
Overview
Create a stable “source of truth” for agents and humans: write specs with testable acceptance criteria and keep them aligned with implementation.
This skill treats specs as operational tooling: they prevent scope drift, enforce invariants, and make AI iteration converge.
Core Idea
- Specs define what must be true (contracts, scenarios, invariants, NFRs), not “how we coded it”.
- Plans/tasks define how we’ll get there (phases, work breakdown, acceptance per task).
- Code + tests are the proof.
Where Specs Live (Opinionated)
Use one (or both) of these:
- System specs:
specs/*.mdfor cross-service rules and shared constraints (auth, observability, eventing, product scope). - Decision records:
specs/decisions/*.mdfor significant choices (trade-offs, migrations, taxonomy, compatibility). - Service spec bundle:
apps/<service>/spec/for service-local truth:spec.md: requirements and acceptance scenarioscontracts/: OpenAPI/proto/WS message contractsdata-model.md: domain entities + storage boundariesplan.md: phases and wiring/structuretasks.md: checklist-style backlog with acceptance criteriaquickstart.md: how to run/verify the service in dev
Chooser (What Spec Artifact To Write)
- Cross-service rule or shared constraint (auth, observability, eventing, product scope): write/update a system spec (
specs/NNN-<topic>.md). - Significant trade-off or migration decision: write a decision record (
specs/decisions/NNN-<topic>.md). - New or changed service behavior: write/update the service spec bundle (
apps/<service>/spec/). - API/contract change (new endpoint, changed schema, new event): update contracts (
contracts/: OpenAPI/proto/WS docs) in the spec bundle. - Task breakdown for implementation: update
tasks.mdin the spec bundle (orspecs/tasks.mdfor repo-level backlog). - Minor behavior tweak within existing contracts: update acceptance scenarios in the existing spec; no new artifacts needed.
Inputs / Outputs
Inputs: Plan output — objective function, scope (optional); archobs JSON — cluster boundaries, risk scores; forecast lifecycle data (if pinning external dependency contract).
Outputs: Spec artifacts (service spec, API contracts, ADRs, task lists). Consumed by testing (acceptance scenarios as test sources), plan (task breakdown), finish (intent artifact check).
Clarifying Questions
- Is this change scoped to one service or does it cross service boundaries?
- Does it change externally visible behavior (API shapes, error codes, event schemas, auth rules)?
- Are there existing specs/contracts that should be updated vs creating new ones?
- Who are the consumers of this contract (other services, clients, external partners)?
- Is backward compatibility required, or can we make breaking changes?
Workflow
Load archobs data (before spec writing begins):
archobs show clusters --format json archobs show risks --format jsonUse in spec writing:
- Ensure spec contracts honor existing cluster boundaries. If the spec introduces a new boundary that cuts across a cluster with
cohesion > 0.60, flag the conflict — the spec is fighting natural structure. - Files with
risk > 0.5in the spec's scope warrant stricter acceptance criteria and testing requirements. - Clusters with
leakage > 0.20that the spec touches may need explicit boundary contracts (interface types, Facade).
If archobs artifacts are missing: run
archobs reportor note as a gap. Do not block spec writing on archobs — the spec can be amended when data becomes available.- Ensure spec contracts honor existing cluster boundaries. If the spec introduces a new boundary that cuts across a cluster with
0b. Versioning guidance from forecast (conditional — run when the spec pins an external dependency contract such as an API version, SDK, or protocol):
intel forecast # lifecycle phase for the dependencyDecision mapping: See Lifecycle Decision Mapping — Spec: Versioning Strategy for lifecycle phase → versioning strategy table.
- Decide the scope:
- One service? write/update the service spec bundle.
- Cross-service or product-wide? write/update a system spec.
- Write the objective function up front:
- goal, constraints, anti-goals
- boundary (in/out) and time horizon
- Externalize the system sketch:
- actors + incentives
- key flows (work/data/risk)
- top constraints/bottlenecks
- Write acceptance-first:
- user story + “independent test”
- acceptance scenarios (Given/When/Then)
- edge cases and invariants (“constitution requirements”)
- Lock down contracts:
- HTTP/gRPC schemas, message types, error codes, idempotency keys
- versioning rules and backward compatibility expectations
- Add non-functional requirements (NFRs) that matter:
- latency budgets, concurrency, durability, audit, privacy
- observability and resilience requirements (trace/log/metrics, timeouts/retries/idempotency)
- Add a compact decision table:
- options considered (include baseline/no-change)
- what is optimized vs knowingly worsened
- kill criteria / reversal trigger
- Stress-test the decision (if 2+ viable approaches exist; skip for single viable approach):
- Assumptions: What are facts vs assumptions? Which assumption is least certain — how will we validate it? Cross-reference with archobs data from step 0 and versioning guidance from step 0b (if applicable). (attach to decision table)
- Second-Order Effects: What happens next week / next quarter / next year? What new load, toil, coupling, or failure mode does this create? If this fails in 6-12 months, what likely caused failure? Cross-reference with archobs data from step 0 and versioning guidance from step 0b (if applicable). (attach to decision table)
- Opportunity Cost: What are we saying "no" to? Are we favoring this due to sunk cost, familiarity, or novelty? (attach to decision table)
- If probe output already exists from an earlier Define-stage skill in this flow (including
workfloworchestration), refine it instead of re-running.
- Add a measurement ladder:
- decision being measured
- leading indicators (early signal)
- lagging outcomes (business/ops)
- instrumentation sources + review ritual (owner/cadence/action trigger)
- Break it into tasks with acceptance:
- keep tasks small and orderable
- each task has an observable acceptance check
- Implement and keep docs honest:
- if implementation forces a change in behavior, update specs first
- keep quickstarts and contracts current
Minimum viable execution
When context or time is constrained, these are the load-bearing steps:
- Decide scope (step 1) — one service vs cross-service.
- Write acceptance scenarios (step 4) — Given/When/Then with edge cases and invariants.
- Lock down contracts (step 5) — HTTP/gRPC schemas, error codes, versioning rules.
- Break into tasks with acceptance (step 10) — each task must be verifiable.
Steps that can be cut under pressure: system sketch (step 3), NFRs (step 6), decision table (step 7), measurement ladder (step 9).
Guardrails
- “No spec, no change”: don’t implement major behavior without updating the spec surface.
- Don’t hide requirements in code; put them in
spec.mdwhere agents can find them. - Keep contracts stable; prefer additive changes and version explicitly when you can’t.
- Write down non-goals to stop scope creep.
- For non-trivial decisions, record opportunity cost explicitly to avoid accidental scope drift.
- No metric without a named decision and review ritual.
- If a design cannot be measured cheaply enough to guide weekly decisions, treat that as a constraint and simplify.
Common failure modes
- Writes the spec after implementation — the spec becomes documentation of what was built, not a source of truth that guides what to build.
- Over-specifies implementation details instead of boundary contracts — specs should define what must be true (response shapes, error codes, invariants), not how to code it.
- Doesn't version contracts when making breaking changes — consumers break silently because the contract didn't signal the incompatibility.
- Spec doesn't match actual code — spec drift accumulates when implementation changes aren't reflected back to specs.
References
- Templates:
references/templates.md - Spec quality checklist:
references/checklists.md - Structured-thinking probes + templates:
../references/(checklists for inline probes, templates for escalation) - Architecture choices:
architecture - In-process pattern choices:
design - Typed boundaries/errors/lifetimes:
typescript - Consumer-visible tests:
testing
Output Template
When using this skill, return:
- Scope + objective: boundary, constraints, anti-goals.
- Artifacts created/updated: exact spec files (and contracts/ADRs when relevant).
- Decision summary: options considered, selected option, trade-offs, kill criteria, and assumptions (facts vs assumptions, opportunity costs).
- Measurement ladder: leading + lagging indicators, owner/cadence/action trigger.
- Verification plan: concrete checks/commands that prove acceptance scenarios and failure expectations.
- Next implementation tasks: ordered checklist with observable acceptance per task.
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.

