alessioscarfone/barespec/spec-plan
Claude Code and agent skill by alessioscarfone/barespec
- community
Checking that the SKILL.md file is still in the repository.
Generate or update the implementation plan for an existing spec — read spec.yaml and break it into an ordered, testable task checklist. Use when creating a plan from a spec, generating tasks, planning how to implement a feature, or refreshing a plan after the spec changed. Do not use for writing the spec itself (use spec-create) or implementing code (use spec-implement).
Install
npx vskill@latest install alessioscarfone/barespec/spec-planSKILL.md
The same SKILL.md was published earlier as alessioscarfone/barespec/spec-plan.
Generate or update the implementation plan (plan.md) for a spec in ./barespec/specs/.
The plan reads the spec.yaml contract and breaks it into concrete, ordered, testable tasks. It is the bridge between the spec (what to build) and spec-implement (which executes the tasks).
Note: This skill never modifiesspec.yamlrequirements — it only reads them and advances the spec'sstatus. The spec contract is owned byspec-create.
Hook execution
Check ./barespec/barespec.config.yml for hooks.plan.pre and hooks.plan.post entries. Run pre-hooks before the Entry point; run post-hooks after the full workflow completes. See references/hooks.md for the full execution rules.
Entry point
- Read
./barespec/context.mdif it exists — use it as background for tech stack, architecture, and conventions. - Determine which spec to plan:
2.1 If a spec name is provided in the input (e.g., /spec-plan user-authentication), use it. 2.2 If no name is provided, scan spec folders in ./barespec/specs/ and read each spec.yaml feature block.
- Present specs whose
feature.statusisdraft(spec written, no plan yet) and any whose spec was updated after their plan:
> <spec-name> → status <status> and ask the user to choose which one to plan.
- If no specs exist, inform the user:
> "No specs found in ./barespec/specs/. Use /spec-create to create one first."
- Once a spec is selected, output:
> "Selected spec: <spec-name>"
- Read
./barespec/specs/<spec-name>/spec.yaml: thefeatureblock (status,requires,created,updated,name) and full content (components,constraints, and extensions). - Check whether
plan.mdalready exists in the spec folder:
- No `plan.md` → proceed to Creation flow.
- `plan.md` exists → show a brief summary and ask:
> "A plan already exists for <spec-name>. Do you want to regenerate it (replace) or append new tasks (keep history)?"
- Regenerate / Append → proceed to Update flow.
Creation flow
- Read the spec content:
feature.description,componentsrequirements,constraints, non-goals, prerequisites, technical notes. - Break the spec into tasks following the rules in references/task-rules.md. Tag every task with the ACID(s) it satisfies, e.g.
_(LOGIN.1)_(the<GROUP_KEY>.<ID>form; the full ACID is<spec-name>.<GROUP_KEY>.<ID>). - If the spec carries
open_questions, they are external blockers the user already agreed to defer. Show them and ask whether they are now unblocked: if yes, send the user to/spec-createto fold the answer into the spec; if no, plan around the blocker. Do not re-run the requirement interview here. - Write
plan.mddirectly usingassets/plan.template.mdas the base, filling all the sections. Write to./barespec/specs/<spec-name>/plan.md. Do not ask for confirmation before writing — the user can request adjustments afterwards. - Advance the spec: in the
featureblock setstatus: readyandupdated: YYYY-MM-DD. Do not change any requirement content. - Confirm to the user:
> "✅ Created <spec-name>/plan.md with N tasks and set <spec-name>/spec.yaml to status: ready." > "📋 Tasks:" > 1. \<task 1\> > 2. \<task 2\> > "Let me know if you'd like any adjustments. Next: run /spec-implement <spec-name> to execute the plan." > "Run /spec-visualize <spec-name> to review the spec and plan visually."
Update flow
Use this when a plan.md already exists for the spec.
- Read the current
plan.mdand the (possibly updated)spec.yaml. - Re-read the spec content and break it into tasks following references/task-rules.md.
- Decide based on the user's choice in the Entry point:
- Regenerate → replace the task list with a fresh breakdown derived from the current spec.
- Append → append a new dated section to the existing
plan.mdusingassets/plan.template.mdas the base. Do not remove existing tasks — preserve the history of previous implementations.
- Write
plan.mddirectly. Do not ask for confirmation before writing — the user can request adjustments afterwards. - Advance the spec: in the
featureblock setstatus: readyandupdated: YYYY-MM-DD. - Confirm:
> "✅ Updated <spec-name>/plan.md (N tasks) and set <spec-name>/spec.yaml to status: ready. Let me know if you'd like any adjustments." > "Run /spec-visualize <spec-name> to review the spec and plan visually."
Task Rules
See references/task-rules.md for the full format, numbering, and content guidelines.
Status lifecycle
This skill advances a spec from draft → ready once a plan exists. It never sets in-progress or done (owned by spec-implement). Whether a ready spec is currently implementable is derived from requires: — if any dependency is not done, implementation must wait.
Output rules
- Asset path resolution: Any
assets/,scripts/, orreferences/paths in this skill are relative to the directory where this SKILL.md is installed — not the user's workspace. Derive the full absolute path from the path where this skill was loaded from. - One plan per spec, located alongside
spec.yamlin the spec folder. - Coding tasks only — no deployment, documentation, or manual testing tasks.
- Every requirement (
componentsandconstraints) must be covered by at least one task, tagged with its ACID_(<GROUP_KEY>.<ID>)_. - Keep tasks small and ordered so dependencies are satisfied bottom-up.
- Do not modify the requirements in
spec.yaml— only itsfeature.statusandfeature.updatedfields.
Error handling
- No spec selected / not found: List available specs and ask the user to choose, or tell them to run
/spec-createfirst. - Spec has no content to plan: If
spec.yamlhas no requirements or only placeholders, ask the user to complete it with/spec-createbefore planning. - Open questions in the spec:
open_questionsrecords deferred external blockers, not missing requirements. Ask whether the blocker has lifted; if it has, hand off to/spec-createbefore planning the affected tasks. If it has not, plan the unblocked tasks and note the blocked ones in the plan. - Plan folder not writable / path missing: Create the spec folder if it does not exist before writing.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/spec-plan/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/alessioscarfone/barespec/spec-plan)