target-spec-bootstrap
Skill12 starsChanged 6 months agoApache-2.0View on GitHub
Create the target repository's local spec skeleton and reusable requirements/design/tasks templates. Use from repo-init-scan during first substantial plugin use, or from spec-writing flows when `spec/INDEX.md` or `spec/templates` is missing. Do not overwrite active project specs.
In this repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- brainstormingSkill
- change-verificationSkill
- context-packet-fastpathSkill
- core-workflow-contractSkill
- developer-workflowSkill
- development-branch-closeoutSkill
- dispatching-parallel-agentsSkill
- evolution-loopSkill
- executing-plansSkill
- frontend-designer-workflowSkill
- frontend-design-guardrailsSkill
- quality-assurance-workflowSkill
- repo-init-gateSkill
- repo-init-manual-fallbackSkill
- repo-init-officialSkill
- repo-init-scanSkill
- root-cause-fixer-workflowSkill
- root-cause-investigationSkill
- search-fastpathSkill
- security-reviewer-workflowSkill
- senior-project-expertSkill
- senior-project-expert-workflowSkill
- spec-execution-fastpathSkill
- specification-writer-workflowSkill
- spec-review-gauntletSkill
- structured-reviewSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- target-instructions-bootstrapSkill
- target-memory-bootstrapSkill
- td-java-coding-guidelinesSkill
- td-python-coding-guidelinesSkill
- technical-architect-workflowSkill
- test-driven-developmentSkill
- verification-before-completionSkill
- web-experience-auditSkill
- workspace-isolationSkill
- writing-plansSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 7 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Create target-local spec routing and templates.
- Distinctive: line 14
Write into the target repository, never into the installed plugin package or plugin cache.
- Distinctive: line 15
Create missing files only.
- Distinctive: line 16
Do not copy this plugin repository's active specs, memory, or workflow examples into the target repository.
- Distinctive: line 17
Use specs for MEDIUM/LARGE requirements, design, tasks, acceptance checks, ADRs, progress ledger, and closeout evidence.
- Distinctive: line 31
When shell access is available and a MEDIUM/LARGE feature is about to leave spec/design review, run:
- Very specific: line 49
If an existing active tasks.md lacks progress tracking, do not rewrite its task definitions.
- Very specific: line 54
Read existing spec/INDEX.md and templates when present.
- Very specific: line 55
Create absent files from references/templates.md.
- Distinctive: line 58
Verify required paths and return created, preserved, repaired, and missing files.
- Very specific: line 66
If invoked because spec/ was missing and required files still do not exist, return BLOCKED target_spec_bootstrap_incomplete with missing …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Target Spec Bootstrap
Create target-local spec routing and templates. Specs are delivery artifacts for requirements, design, task acceptance, traceability, and task progress.
Load references/templates.md for exact file contents.
Boundary
- Write into the target repository, never into the installed plugin package or plugin cache.
- Create missing files only. Do not overwrite active specs or project-specific templates.
- Do not copy this plugin repository's active specs, memory, or workflow examples into the target repository.
- Use specs for MEDIUM/LARGE requirements, design, tasks, acceptance checks, ADRs, progress ledger, and closeout evidence.
- A MEDIUM/LARGE feature spec is a Spec Bundle directory containing
requirements.md,design.md, andtasks.md. - Single-file SDD/design/plan artifacts are evidence only and must be split before implementation planning or execution.
- Link active specs to
memories/repo/current-workstreams.mdwhen persistent recovery is needed.
Files To Create
spec/INDEX.mdspec/templates/requirements-template.mdspec/templates/design-template.mdspec/templates/tasks-template.md
Spec Bundle Guard
When shell access is available and a MEDIUM/LARGE feature is about to leave spec/design review, run:
<best-copilot-skills-dir>/target-spec-bootstrap/scripts/validate-spec-bundle.sh <target-root>/spec/<feature-slug>The validator is shallow: it checks the required three files and basic source links. It is not a substitute for content review.
Task Progress Requirements
tasks.md templates must include:
- source links to
requirements.mdanddesign.md ## Progress Ledger- task status values from
core-workflow-contract/references/state-persistence.md - per-task owner lane, reviewer lanes, write set, dependencies, parallel group, parallel readiness, acceptance checks, verification command, ready artifacts, and stop conditions
- closeout checklist requiring task/spec/memory agreement
If an existing active tasks.md lacks progress tracking, do not rewrite its task definitions. Add a compatible ## Progress Ledger near the top and initialize rows from visible task IDs.
Procedure
- Determine the target repository root from init evidence or PM packet.
- Read existing
spec/INDEX.mdand templates when present. - Create absent files from
references/templates.md. - Preserve active specs and project-specific templates.
- Repair missing progress-ledger guidance only when it can be appended without overwriting local content.
- Verify required paths and return created, preserved, repaired, and missing files.
Verification
- Confirm
spec/INDEX.mdand missing templates exist in the target repository. - Confirm existing active specs were preserved.
- Confirm
tasks-template.mdincludes## Progress Ledgerand memory/spec closeout rules. - Confirm generated templates contain metadata, evidence, traceability, verification, task ownership, parallel readiness, and task progress sections.
- If invoked because
spec/**was missing and required files still do not exist, returnBLOCKED target_spec_bootstrap_incompletewith missing paths. Do not let the caller continue the substantive task as if initialization succeeded.
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.

