alessioscarfone/barespec/spec-plan

Claude Code and agent skill by alessioscarfone/barespec

Trust tier 2
  • community
LLM review pending
Source check pending

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-plan

SKILL.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 modifies spec.yaml requirements — it only reads them and advances the spec's status. The spec contract is owned by spec-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

  1. Read ./barespec/context.md if it exists — use it as background for tech stack, architecture, and conventions.
  2. 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.status is draft (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."

  1. Once a spec is selected, output:

> "Selected spec: <spec-name>"

  1. Read ./barespec/specs/<spec-name>/spec.yaml: the feature block (status, requires, created, updated, name) and full content (components, constraints, and extensions).
  2. Check whether plan.md already 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

  1. Read the spec content: feature.description, components requirements, constraints, non-goals, prerequisites, technical notes.
  2. 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>).
  3. 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-create to fold the answer into the spec; if no, plan around the blocker. Do not re-run the requirement interview here.
  4. Write plan.md directly using assets/plan.template.md as 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.
  5. Advance the spec: in the feature block set status: ready and updated: YYYY-MM-DD. Do not change any requirement content.
  6. 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.

  1. Read the current plan.md and the (possibly updated) spec.yaml.
  2. Re-read the spec content and break it into tasks following references/task-rules.md.
  3. 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.md using assets/plan.template.md as the base. Do not remove existing tasks — preserve the history of previous implementations.
  1. Write plan.md directly. Do not ask for confirmation before writing — the user can request adjustments afterwards.
  2. Advance the spec: in the feature block set status: ready and updated: YYYY-MM-DD.
  3. 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/, or references/ 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.yaml in the spec folder.
  • Coding tasks only — no deployment, documentation, or manual testing tasks.
  • Every requirement (components and constraints) 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 its feature.status and feature.updated fields.

Error handling

  • No spec selected / not found: List available specs and ask the user to choose, or tell them to run /spec-create first.
  • Spec has no content to plan: If spec.yaml has no requirements or only placeholders, ask the user to complete it with /spec-create before planning.
  • Open questions in the spec: open_questions records deferred external blockers, not missing requirements. Ask whether the blocker has lifted; if it has, hand off to /spec-create before 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/alessioscarfone/barespec/spec-plan/badge)](https://verified-skill.com/skills/alessioscarfone/barespec/spec-plan)

Something wrong with this skill or its page? Tell us.