agentleFS
funky-eyesfunky-eyes/best-copilot/skills/target-spec-bootstrap/SKILL.md

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.

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
  1. Distinctive:

    Create target-local spec routing and templates.

    line 8
  2. Distinctive:

    Write into the target repository, never into the installed plugin package or plugin cache.

    line 14
  3. Distinctive:

    Create missing files only.

    line 15
  4. Distinctive:

    Do not copy this plugin repository's active specs, memory, or workflow examples into the target repository.

    line 16
  5. Distinctive:

    Use specs for MEDIUM/LARGE requirements, design, tasks, acceptance checks, ADRs, progress ledger, and closeout evidence.

    line 17
  6. Distinctive:

    When shell access is available and a MEDIUM/LARGE feature is about to leave spec/design review, run:

    line 31
  7. Very specific:

    If an existing active tasks.md lacks progress tracking, do not rewrite its task definitions.

    line 49
  8. Very specific:

    Read existing spec/INDEX.md and templates when present.

    line 54
  9. Very specific:

    Create absent files from references/templates.md.

    line 55
  10. Distinctive:

    Verify required paths and return created, preserved, repaired, and missing files.

    line 58
  11. Very specific:

    If invoked because spec/ was missing and required files still do not exist, return BLOCKED target_spec_bootstrap_incomplete with missing …

    line 66

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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, and tasks.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.md when persistent recovery is needed.

Files To Create

  • spec/INDEX.md
  • spec/templates/requirements-template.md
  • spec/templates/design-template.md
  • spec/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.md and design.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

  1. Determine the target repository root from init evidence or PM packet.
  2. Read existing spec/INDEX.md and templates when present.
  3. Create absent files from references/templates.md.
  4. Preserve active specs and project-specific templates.
  5. Repair missing progress-ledger guidance only when it can be appended without overwriting local content.
  6. Verify required paths and return created, preserved, repaired, and missing files.

Verification

  • Confirm spec/INDEX.md and missing templates exist in the target repository.
  • Confirm existing active specs were preserved.
  • Confirm tasks-template.md includes ## Progress Ledger and 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, return BLOCKED target_spec_bootstrap_incomplete with missing paths. Do not let the caller continue the substantive task as if initialization succeeded.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.