spec
Skill0 starsChanged 6 months agoMITView on GitHub
Query specs, discover gaps, and trace change impact
We split this skill into the rules it gives an agent
30 rules. 0 are common, 18 are distinctive, and 12 are very specific to this project.
0
Common
Most of the 130 edited versions we read keep these.
18
Distinctive
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Check that .spec/ exists. If not:
- Very specific: line 22
Read .spec/CLAUDE.md for the domain taxonomy and registry.
- Distinctive: line 34
No specific requirement ID referenced, no change proposed
- Distinctive: line 43
If ambiguous, use AskUserQuestion with these options:
- Very specific: line 53
Search every spec file in .spec/domains/ for requirements matching the user's query:
- Distinctive: line 86
After showing matches, check for gaps:
- Distinctive: line 93
Use AskUserQuestion with these options:
- Very specific: line 109
If "explore": search the codebase for the concept, present what the implementation does, and offer /spec-extract with auto-discovered …
- Distinctive: line 113
If "extract": invoke the spec-extract prompt with the discovered type.
- Very specific: line 115
If "create": invoke /spec-author with the area as the feature description.
- Distinctive: line 120
After presenting results, offer:
- Distinctive: line 131
If the user provides a requirement ID, transition to Change Mode with that requirement as the target.
- Distinctive: line 145
If the user described a change without a specific ID ("add validation for negative offsets"), search for the relevant spec area first …
- Distinctive: line 150
Read the target spec file.
- Distinctive: line 165
Before analyzing impact, check if the proposed change contradicts any existing requirement:
- Very specific: line 168
Run the contradiction check from spec-resolve.sh against all specs in the registry
- Very specific: line 170
Check if any spec's requires references the target requirement
- Distinctive: line 171
Check if any spec has requirements that assume the behavior being changed
- Very specific: line 193
Search test files for covers: R<N> or Finding: F-R<round>.<spec>.R<N> comments matching the target requirement
- Distinctive: line 195
Search test method names that reference the requirement's construct
- Distinctive: line 201
Search for the behavioral pattern described in the requirement (e.g., "long arithmetic" → search for int casts of offset variables)
- Distinctive: line 257
Update the requirement in the spec file
- Very specific: line 258
Run spec-validate.sh to verify the spec is still valid
- Very specific: line 259
Check for conflicts via spec-resolve.sh
- Distinctive: line 260
If conflicts found: present resolution options (same as resolve-spec-conflict prompt — keep change + update conflicting spec, revert, …
- Very specific: line 263
After spec is clean: offer to start /feature-plan scoped to the change
- Very specific: line 267
Write the impact report to .feature/_spec-changes/<req-id>-impact.md with full details.
- Distinctive: line 304
Never modify a spec without showing the conflict check results first
- Distinctive: line 305
Never skip the conflict check — even for "obvious" changes
- Distinctive: line 306
Always show the impact before applying a change
“Common” is measured: kept by at least 6 in 10 of the 130 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 "<question or proposed change>"
Single entry point for spec queries, gap discovery, and change impact
analysis. Mirrors /kb — natural language input, the skill determines
what you need.
Pre-flight
Check that .spec/ exists. If not:
No specs found. Run /setup-vallorcine first, then /spec-author to create specs.Stop.
Read .spec/CLAUDE.md for the domain taxonomy and registry.
Step 0 — Classify the intent
Parse the user's input to determine the mode:
Discovery mode — the user is asking about existing requirements:
- "what covers file sizes?"
- "which specs mention SSTable?"
- "do we have requirements for thread safety?"
- No specific requirement ID referenced, no change proposed
Change mode — the user is proposing or exploring a change:
- "what if R31 uses long instead of int?"
- "what would break if we removed the 2GB limit?"
- "I want to add validation for negative offsets"
- References a specific requirement ID, or uses change language ("what if", "change", "remove", "add", "update")
If ambiguous, use AskUserQuestion with these options:
Find requirements (discovery)(description: "Search for existing requirements about this area")Explore a change (impact analysis)(description: "See what would break or need updating if something changed")
Discovery Mode
D1. Search all specs
Search every spec file in .spec/domains/ for requirements matching
the user's query:
- Extract 3-5 keywords from the query
- For each spec file, scan all requirement lines (R
<N>.) for keyword matches - Also scan design narratives and category headings for contextual matches
- Rank results by relevance: exact keyword match > partial match > contextual match
D2. Present results
Group matching requirements by spec:
── Spec Discovery ─────────────────────────────
Query: "<user's question>"
F02 (block-compression) — 3 matching requirements:
R27. Writer must use long arithmetic for compression map sizes
R31. All file offsets must be stored and computed as long values
R40. Eager reader must reject SSTables with data region > Integer.MAX_VALUE
F08 (streaming-block-decompression) — 1 matching requirement:
R15. Block offsets must not be narrowed to int during lazy reads
No matching requirements found in: F01, F03, F04, F05, F06, F07, F09, F10, F11
───────────────────────────────────────────────D3. Surface gaps
After showing matches, check for gaps:
No specs match at all:
No spec requirements cover this area. This may be a spec gap.Use AskUserQuestion with these options:
Explore(description: "Search the codebase to see if this behavior exists without a spec")Create(description: "Start authoring a spec for this area via /spec-author")Done(description: "Just wanted to check — no action needed")
Partial coverage (some specs mention it but no spec owns it):
This area is referenced by <N> specs but no spec fully defines it.
<Type/concept> appears in requirements from <specs> but has no
dedicated spec.
extract — I'll extract a spec from the implementation and
cross-reference against all consuming specs
done — noted, will address laterIf "explore": search the codebase for the concept, present what the
implementation does, and offer /spec-extract with auto-discovered
source files.
If "extract": invoke the spec-extract prompt with the discovered type.
If "create": invoke /spec-author with the area as the feature
description.
D4. Offer change exploration
After presenting results, offer:
Want to explore changing any of these requirements?
Type a requirement ID (e.g. R31) to see the impact of changing it.
Type done to finish.Note: Use AskUserQuestion with options for "Done" and "Other" (description: "Type a requirement ID to explore its change impact"). If the user selects "Other", wait for them to provide the requirement ID as free text.
If the user provides a requirement ID, transition to Change Mode with that requirement as the target.
Change Mode
C1. Identify the target requirement
From the user's input, identify:
- Which spec contains the requirement (search if not specified)
- Which requirement ID (R
<N>) - What change is proposed (modify, remove, add new)
If the user described a change without a specific ID ("add validation for negative offsets"), search for the relevant spec area first (Discovery D1-D2), then ask which requirement to modify or whether to add a new one.
Read the target spec file. Display the current requirement:
── Current requirement ────────────────────────
Spec: F02 (block-compression)
R31. All file offsets must be stored and computed as long values,
not narrowed to int. Int narrowing silently truncates values
above Integer.MAX_VALUE.
What change do you want to make?
(describe the change, or type the new requirement text)C2. Conflict check (MANDATORY)
Before analyzing impact, check if the proposed change contradicts any existing requirement:
- Run the contradiction check from
spec-resolve.shagainst all specs in the registry - Check if any spec's
requiresreferences the target requirement - Check if any spec has requirements that assume the behavior being changed
If conflicts found:
⚠ This change would conflict with existing requirements:
F08.R15 assumes block offsets are long (depends on F02.R31)
F01.R5 references encoding offsets that may be affected
These conflicts must be resolved alongside the change.Use AskUserQuestion with these options:
Continue(description: "Proceed with impact analysis — conflicts will be included")Stop(description: "Reconsider the change before analyzing further")
C3. Trace downstream impact
For the proposed change, trace four dimensions:
Tests:
- Search test files for
covers: R<N>orFinding: F-R<round>.<spec>.R<N>comments matching the target requirement - Search test method names that reference the requirement's construct
- List each affected test with its file path and what it asserts
Implementations:
- From the spec's domain, identify source files that implement the requirement's behavior
- Search for the behavioral pattern described in the requirement (e.g., "long arithmetic" → search for int casts of offset variables)
- List each affected source file with the specific lines
Dependent specs:
- Which specs
requirethe target spec? - Which specs reference the same construct/concept in their requirements?
- For each: which of their requirements depend on the behavior being changed?
Contradictions:
- From C2: any requirements that directly conflict
- Any requirements that would become redundant after the change
- Any requirements that would need tightening after the change
C4. Present impact report
── Change Impact ──────────────────────────────
Proposed: <description of change>
Target: <spec ID>.<requirement ID>
Tests affected (<N>):
<TestClass>.<method> — asserts <what> (covers: R31)
<TestClass>.<method> — asserts <what> (covers: R31)
Source files affected (<N>):
<path>:<lines> — <what needs to change>
<path>:<lines> — <what needs to change>
Dependent specs (<N>):
F08.R15 — assumes long offsets, needs review
F01.R5 — references encoding offsets, may need update
Conflicts (<N>):
<spec>.<req> — <contradiction description>
Estimated scope: <small | medium | large>
───────────────────────────────────────────────C5. Offer next steps
What would you like to do?
apply — update the spec requirement now and start a work plan
for the affected tests and implementations
save — save this impact report to review later
(.feature/_spec-changes/<req-id>-impact.md)
plan — generate a scoped work plan for this change
(routes to /feature-plan with the impact as context)
done — just exploring, no action neededIf "apply":
- Update the requirement in the spec file
- Run
spec-validate.shto verify the spec is still valid - Check for conflicts via
spec-resolve.sh - If conflicts found: present resolution options (same as resolve-spec-conflict prompt — keep change + update conflicting spec, revert, split, defer)
- After spec is clean: offer to start
/feature-planscoped to the change
If "save":
Write the impact report to .feature/_spec-changes/<req-id>-impact.md
with full details. Display the path. The user can pick it up later.
If "plan":
Invoke /feature-plan with context:
- The changed requirement as the primary input
- The impact report's affected tests and source files as scope
- The dependent specs as constraints This produces a scoped work plan — only the delta from the change, not a full feature plan.
If "done": End the session.
Seamless transitions
The user should never hit a dead end. Every output offers a natural next step:
- Discovery → "want to explore a change?" → Change Mode
- Discovery → "no specs cover this" → extract or author
- Change Mode → "want to apply?" → spec update + work plan
- Change Mode → "save for later" → impact file
- Change Mode → conflicts found → resolution flow
- Any gap found → routes to the right command
The user can also chain queries without restarting:
After any result, the user can type another question or requirement ID
to continue exploring. Only "done" ends the session.Hard constraints
- Never modify a spec without showing the conflict check results first
- Never skip the conflict check — even for "obvious" changes
- Always show the impact before applying a change
- Discovery results must include gap analysis, not just matches
- Save the impact report when the user asks — don't lose the analysis
Other versions151 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 151
- garrytan/gstack★ 139ksame name
- getsentry/sentry-react-native★ 1.8ksame name
- JuliusBrussee/cavekit★ 1.1ksame name
- kdlbs/kandev★ 1ksame name
- getsentry/sentry-dart★ 877same name
- poshan0126/dotclaude★ 871same name
- SparkDevNetwork/Rock★ 692same name
- hyperlink-academy/leaflet★ 525same name
- strands-agents/box★ 490same name
- menkesu/awesome-pm-skills★ 441same name
141 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.
Used alongsideProjects with it also use backprop, ios-clean 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.
JuliusBrusseeSkillbackprop
Bug → spec protocol. When a bug is found or a test fails, trace the cause, decide whether a new §V invariant would catch recurrence, append to §B. This is the one non-obvious thing SDD does that plan-then-execute doesn't. Triggers on test failure, bug report, post-mortem, or explicit user ask.
Also in 4 projects that use this
Saqlain-811Skillios-clean
Remove the DebugBridge SPM package and all #if DEBUG wiring from an iOS app. (gstack)
Also in 5 projects that use this
Saqlain-811Skillios-fix
Autonomous iOS bug fixer. (gstack)
Also in 5 projects that use this
bastosSkillios-design-review
Review iOS app UI/UX design quality using Apple's design principles and the Liquid Glass-era design language from WWDC25/26. Use when asked for a design review, UX critique, visual design assessment, or evaluation of an app's interface quality, design intent, alignment with the new Apple design system, or usability. Triggers: "design review", "UX review", "visual design critique", "review the UI", "does this design work", "evaluate this interface", "design feedback", "Liquid Glass review".
Also in 5 projects that use this
ShreyRaviSkillbenchmark-models
Cross-model benchmark for gstack skills. Runs the same prompt through Claude, GPT (via Codex CLI), and Gemini side-by-side — compares latency, tokens, cost, and optionally quality via LLM judge. Answers "which model is actually best for this skill?" with data instead of vibes. Separate from /benchmark, which measures web page performance. Use when: "benchmark models", "compare models", "which model is best for X", "cross-model comparison", "model shootout". (gstack) Voice triggers (speech-to-text aliases): "compare models", "model shootout", "which model is best".
Also in 5 projects that use this
ShreyRaviSkillplan-tune
Self-tuning question sensitivity + developer psychographic for gstack (v1: observational). Review which AskUserQuestion prompts fire across gstack skills, set per-question preferences (never-ask / always-ask / ask-only-for-one-way), inspect the dual-track profile (what you declared vs what your behavior suggests), and enable/disable question tuning. Conversational interface — no CLI syntax required.
Also in 6 projects that use this
- +3 more from Saqlain-811
- +3 more from ShreyRavi
In this repository45 other files it gives its agents.
- decisions/CLAUDE.mdCLAUDE.md
- kb/CLAUDE.mdCLAUDE.md
- spec/CLAUDE.mdCLAUDE.md
- work/CLAUDE.mdCLAUDE.md
- script-devSkill
- architectSkill
- auditSkill
- capabilitiesSkill
- curateSkill
- decisionsSkill
- feature-cleanupSkill
- feature-completeSkill
- feature-coordinateSkill
- feature-domainsSkill
- feature-hardenSkill
- feature-implementSkill
- feature-planSkill
- feature-prSkill
- feature-quickSkill
- feature-refactorSkill
- feature-resumeSkill
- feature-retroSkill
- featureSkill
- feature-testSkill
- kbSkill
- project-contextSkill
- researchSkill
- setup-vallorcineSkill
- spec-authorSkill
- spec-backfillSkill
- spec-initSkill
- spec-resolveSkill
- spec-splitSkill
- spec-verifySkill
- spec-writeSkill
- uninstall-vallorcineSkill
- upgrade-vallorcineSkill
- vallorcine-helpSkill
- work-decomposeSkill
- work-planSkill
- work-resumeSkill
- work-runSkill
- workSkill
- work-startSkill
- work-statusSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

