specorator-improvement
Skill0 starsChanged 6 months agoMITView on GitHub
Improve the Specorator template itself — scripts, tooling, workflow, agents, skills, templates, docs, and operational automation — through the spec-driven contributor loop. TRIGGER when: new track, new agent, new skill, new workflow, template self-change, modifying docs/ .claude/ scripts/ templates/ AGENTS.md CLAUDE.md, or any change to Specorator itself. SKIP when: building a downstream product with the template (use orchestrate instead).
In this repository45 other files it gives its agents.
- AGENTS.mdAGENTS.md
- plugin-v2/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- plugin-v2/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/agents.mdcCursor rule
- agentic-security-reviewSkill
- arc42-baselineSkill
- caveman-commitSkill
- caveman-helpSkill
- caveman-reviewSkill
- cavemanSkill
- create-goalSkill
- design-twiceSkill
- discovery-sprintSkill
- domain-contextSkill
- github-project-setupSkill
- grillSkill
- improve-codebase-architectureSkill
- issue-breakdownSkill
- issue-draftSkill
- issue-pr-syncSkill
- new-adrSkill
- new-glossary-entrySkill
- orchestrateSkill
- portfolio-trackSkill
- product-pageSkill
- project-reviewSkill
- project-runSkill
- project-scaffoldingSkill
- quality-assuranceSkill
- quality-metricsSkill
- record-decisionSkill
- review-fixSkill
- roadmap-managementSkill
- sales-cycleSkill
- specorator-designSkill
- specorator-onboardSkill
- stock-takingSkill
- tackle-issueSkill
- tdd-cycleSkill
- token-budget-reviewSkill
- tracer-bulletSkill
- ubiquitous-languageSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use this skill when a user is actively working with Specorator and wants to improve the template itself, such as adding a quality drift …
- Distinctive: line 47
Patch all owned surfaces: Keep docs, commands, skills, scripts, generated references, examples, state files, and PR text consistent in the …
- Distinctive: line 48
Repair generated content: Run the narrow fix command for changed generated surfaces:
- Very specific: line 53
Verify: Run targeted checks while iterating, then npm run verify before push.
- Distinctive: line 54
Deliver: Commit with an imperative message that references the owning requirement, task, issue, or artifact.
- Distinctive: line 90
Add a read-only check that detects drift and emits stable diagnostics.
- Distinctive: line 91
Add a deterministic fixer only for generated or mechanical drift.
- Distinctive: line 92
Document how humans interpret and resolve non-mechanical findings.
- Distinctive: line 94
Add an operational routine only after local and PR behavior is stable.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Specorator Improvement
Use this skill when a user is actively working with Specorator and wants to improve the template itself, such as adding a quality drift review script, a CI tool, a new workflow, or updates to the Specorator method.
This skill is for the template repository. If the request is about a product being built with the template, route to orchestrate, discovery-sprint, project-scaffolding, or the active feature workflow instead.
When to invoke (trigger keywords)
Invoke this skill — ahead of any generic brainstorming or planning skill — when the work involves:
- Adding or changing a track, stage, agent, skill, slash command, or workflow rule
- Modifying
docs/,.claude/,scripts/,templates/,memory/,AGENTS.md, orCLAUDE.md - Any phrase like "new track", "new agent", "new skill", "new workflow", "update template", "change workflow", "add script", "add CI", "fix specorator", "improve the template"
Skip this skill when building a downstream product with the template. Use orchestrate, discovery-sprint, project-scaffolding, or the active feature workflow instead.
Modes
script— repository scripts, checks, fixers, generated references, diagnostics.tooling— CI, dependencies, operational agents, scheduled automation, developer tooling.workflow— lifecycle changes, tracks, slash commands, agents, skills, templates, state files, handoffs.update— classify the idea first, then apply the relevant mode rules.
Read first
AGENTS.mdmemory/constitution.md.claude/memory/MEMORY.md.codex/instructions.mdand.codex/workflows/pr-delivery.mdwhen Codex is making the change.docs/specorator.mddocs/quality-framework.md- Relevant docs under
docs/steering/,docs/scripts/,docs/workflow-overview.md, anddocs/sink.md.
Improvement loop
- Intake gate. List
inputs/non-recursively before framing. Surface every item via a singleAskUserQuestion: "I see N items ininputs/. Which are relevant for this improvement?" Improvement work often arrives as a pre-staged zip (design system, plugin pack, vendor handoff) — those are exactly the work packages this gate is for. Never auto-extract archives — extraction is a separate, explicitly approved step. Cite paths intoinputs/from the lifecycle artifact at step 2. Full contract:docs/inputs-ingestion.md. Decision: ADR-0017. - Frame the improvement. State the problem, user scenario, non-goals, and the expected artifact or automation. Example: "When an active contributor changes workflow docs, the template should detect quality drift before PR."
- Trace it. Find or create the lifecycle artifact under
specs/<feature>/that owns the change. Requirements and tasks must use stable IDs when the change is non-trivial. - Classify scope. Decide whether the change touches scripts, tooling, workflow, docs, agents, skills, templates, state/schema, product page, operational agents, or ADRs.
- Design before implementation. For workflow or tooling changes, write down affected surfaces and quality gates before editing implementation files.
- Patch all owned surfaces. Keep docs, commands, skills, scripts, generated references, examples, state files, and PR text consistent in the same branch.
- Repair generated content. Run the narrow fix command for changed generated surfaces:
npm run fix:commandsafter slash-command changes.npm run fix:script-docsafter script API doc changes.npm run fix:adr-indexafter ADR changes.npm run fixwhen multiple generated surfaces changed.
- Verify. Run targeted checks while iterating, then
npm run verifybefore push. - Deliver. Commit with an imperative message that references the owning requirement, task, issue, or artifact. Push the branch and open a PR when GitHub access is available.
Script checklist
- CLI entry lives in
scripts/<name>.ts. - Reusable logic lives in
scripts/lib/when it will be shared or tested directly. - Tests live under
tests/scripts/**/*.test.ts. - User-facing command is added to
package.json. - Read-only checks use
check:*; deterministic mutators usefix:*. - Diagnostics support human-readable output and
--jsonwhen useful. scripts/README.mdand generateddocs/scripts/stay current.npm run verifyincludes the check when drift should fail the gate.
Tooling checklist
- Trigger and authority are explicit: local, PR CI, scheduled, manual, or operational agent.
- Permissions are least-privilege and documented.
- New dependencies have a PR justification and lockfile update.
- Architecturally significant tooling has an ADR.
- Failure behavior is explicit: warn, fail verify, open issue, comment on PR, or block release.
- Rollback or disable path is documented for CI and scheduled automation.
Workflow checklist
- Workflow class is named: lifecycle stage, optional gate, pre-stage track, operational routine, project track, portfolio track, or contributor workflow.
- Owner role and handoff points are explicit.
- Persistent artifacts have templates and sink documentation.
- State transitions and skip rules are documented.
- Slash commands, skills, agents, and command inventories are consistent.
docs/specorator.mdanddocs/workflow-overview.mddescribe the new user path.- Any irreversible governance change has an ADR.
Quality drift review pattern
For ideas like "automate quality drift review," prefer this sequence:
- Add a read-only check that detects drift and emits stable diagnostics.
- Add a deterministic fixer only for generated or mechanical drift.
- Document how humans interpret and resolve non-mechanical findings.
- Wire the read-only check into
npm run verifyonce false positives are controlled. - Add an operational routine only after local and PR behavior is stable.
Stop conditions
Pause and ask the human before:
- Changing the constitution.
- Adding write, merge, deployment, or destructive automation.
- Creating a new mandatory stage or changing existing stage ownership.
- Force-pushing, deleting remote branches, or merging the PR.
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.

