alessioscarfone/aine-copilot-plugins/mini-sdd-guide
Claude Code and agent skill by alessioscarfone/aine-copilot-plugins
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Autonomous knowledge base for the mini-SDD framework. Always read this skill when working on a mini-SDD project or when any message mentions mini-SDD, mini-sdd-context, mini-sdd-spec, mini-sdd-plan, mini-sdd-implement, mini-sdd-init-config, context.md, spec.yaml, plan.md, ARTIFACT_MAIN_FOLDER, SPECS_SUBFOLDER, hooks config, or spec-driven development. Do not use for creating context files, writing specs, planning, or implementing features — those have their own skills.
Install
npx vskill@latest install alessioscarfone/aine-copilot-plugins/mini-sdd-guideSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as alessioscarfone/aine-copilot-plugins/mini-sdd-guide.
This file is the complete reference for the mini-SDD framework. Read it in full whenever a mini-SDD topic arises. Do not create or modify any project files based on this skill alone.
What mini-SDD is
mini-SDD is a lightweight spec-driven development framework for GitHub Copilot. It enforces one rule: specs before code.
| Skill | Command | Purpose | |
|---|---|---|---|
| Project Context | /mini-sdd-context | Capture the project foundation; update when architecture changes | |
| Feature Spec | /mini-sdd-spec | Define a requirement contract (spec.yaml) | |
| Implementation Plan | /mini-sdd-plan | Turn a spec into an ordered, testable task plan (plan.md) | |
| Implement | /mini-sdd-implement | Execute the task plan for a spec | |
| Hook Config | /mini-sdd-init-config | Configure custom pre/post hooks for any workflow step |
The mini-sdd agent orchestrates these skills — it reads project state and routes the user to the correct next action.
Workflow
Step 1 — Context: Inspects the codebase (README, manifests, CI, source dirs), asks targeted questions for gaps, writes ./{ARTIFACT_MAIN_FOLDER}/context.md. Re-run after architectural changes.
Step 2 — Spec: Asks clarifying questions (feature, user, functional requirements, cross-cutting constraints, tech notes), infers dependencies from existing specs, writes spec.yaml (acai feature.yaml format — feature + components + constraints). Sets feature.status: draft.
Step 3 — Plan: Reads spec.yaml, breaks its requirements into ordered, testable tasks following the task rules, writes plan.md. Advances the spec to status: ready.
Step 4 — Implement: Reads tasks from plan.md one by one, marks checkboxes, updates feature.status (in-progress → done). On completion: unlocks dependent specs, fills development_notes in spec.yaml.
File structure
Variables (resolved at build time from config.json):
| Variable | Default | Meaning | |
|---|---|---|---|
{ARTIFACT_MAIN_FOLDER} | mini-sdd | Root folder for all mini-SDD artifacts | |
{SPECS_SUBFOLDER} | specs | Subfolder for spec folders inside ARTIFACT_MAIN_FOLDER |
`spec.yaml` structure (the file begins with feature and may contain components and constraints):
A requirement is referenced by its ACID: <feature-name>.<GROUP_KEY>.<ID> (e.g. my-feature.LOGIN.1-1).
Spec lifecycle
Status values
| Status | Set by | Meaning | |
|---|---|---|---|
draft | mini-sdd-spec | Spec contract written, no implementation plan yet | |
ready | mini-sdd-plan | Plan generated; spec is ready to implement | |
in-progress | mini-sdd-implement | Implementation has started | |
done | mini-sdd-implement | Implementation is complete |
Dependency rules
requires:lists spec names that must reachdonebefore this spec is implementable.- Dependencies are inferred automatically by
mini-sdd-spec; the user is asked only when the relationship is ambiguous. - A spec with unmet
requiresentries cannot be implemented even ifstatusisready. - When a spec reaches
done,mini-sdd-implementremoves it from therequires:field of every spec that listed it and re-evaluates which specs are now unblocked.
Task format (in plan.md)
Task rules: Maximum 2 nesting levels. Every task references a requirement by its ACID: _(<GROUP_KEY>.<ID>)_. Parent tasks with sub-tasks are group headers — mark done only when all sub-tasks are checked. Coding tasks only — no deployment, docs, or manual testing.
Skill behaviors
/mini-sdd-context
- If
context.mdexists → summarises it, asks: update or overwrite? - Creation: runs codebase reconnaissance (README, manifests, CI, source dirs), asks up to 5 targeted questions in one message, fills and writes
context.md. - Update: reads current file, applies only confirmed changes, refreshes
Last updated. - Reads
hooks.context.prebefore entry andhooks.context.postafter completion.
/mini-sdd-spec
- Reads
context.mdfor background. Derives a dash-case spec name. Checks for an existing spec and asks to update or create new if found. - Creation: single clarification message (feature description, user, functional requirements, cross-cutting constraints, technical notes). Infers
requires:from existing specs. Writesspec.yaml(feature+components+constraints) and setsfeature.status: draft. Hands off to/mini-sdd-plan. - Update: edits
spec.yamlrequirements, refreshesfeature.updated, and resetsfeature.status: draftso the plan can be regenerated. Never touchesplan.md. - Reads
hooks.spec.prebefore entry andhooks.spec.postafter completion.
/mini-sdd-plan
- Reads
context.mdand the selected spec'sspec.yaml. If no spec name given, listsdraftspecs (and specs whose plan is out of date) and asks the user to choose. - Creation: breaks the spec requirements into ordered tasks (per the task rules), tags each task with the requirement ACID, presents them for confirmation, writes
plan.md, and advances the spec tofeature.status: ready. - Update: regenerates or appends tasks to an existing
plan.md(preserving history when appending), then re-confirmsstatus: ready. - Never modifies the requirements in
spec.yaml— only itsfeature.statusandfeature.updatedfields. - Reads
hooks.plan.prebefore entry andhooks.plan.postafter completion.
/mini-sdd-implement
- Reads
context.mdfor architecture context. If no spec name given, listsready(unblocked) andin-progressspecs and asks the user to choose. - Execute: sets status to
in-progress; for each unchecked task: announces it, implements the code, marks- [ ]→- [x], updatesupdateddate. Pauses on unclear tasks or discovered issues. - Resume: when
statusisin-progress, finds first unchecked task, shows progress (N/M done), asks for confirmation. - Completion: marks satisfied requirements, sets
feature.status: done, removes the spec fromrequires:of dependent specs (unlocking them), fillsdevelopment_notesinspec.yaml(files changed, follow-ups), shows a summary. - Reads
hooks.implement.prebefore entry andhooks.implement.postafter completion.
/mini-sdd-init-config
- If
./{ARTIFACT_MAIN_FOLDER}/mini-sdd.config.ymlexists → shows configured hooks, asks: update or reset? - Runs the hook interview: all eight events in one message, pre-filled with current values.
- Writes (or overwrites) the config; shows the final file content. Never writes empty hook lists.
Hook system
Hooks inject plain-text instructions before or after any skill's workflow. No shell scripts — the AI executes them as instructions.
Supported events:
| Step | Pre hook key | Post hook key | |
|---|---|---|---|
| context | hooks.context.pre | hooks.context.post | |
| spec | hooks.spec.pre | hooks.spec.post | |
| plan | hooks.plan.pre | hooks.plan.post | |
| implement | hooks.implement.pre | hooks.implement.post |
Execution: pre-hooks run before the skill's entry point; post-hooks run after the full workflow. Each instruction is announced: "⚙️ Pre-hook: <instruction>". If a hook is ambiguous or cannot be executed, skip it without blocking the main workflow.
Config format (./{ARTIFACT_MAIN_FOLDER}/mini-sdd.config.yml):
Hook writing rules: imperative sentences; one atomic action per item; pre hooks are non-destructive; omit empty events entirely.
Assessing project state
When determining the current state of a mini-SDD project or deciding what to do next:
- Check whether
./{ARTIFACT_MAIN_FOLDER}/context.mdexists. If missing, the first action is always/mini-sdd-context. - Scan
./{ARTIFACT_MAIN_FOLDER}/{SPECS_SUBFOLDER}/for spec folders. For each, read thespec.yamlfeatureblock to getstatusandrequires. Classify:
in-progressspecs — highest priority to resumedraftspecs — spec written but no plan yet; next action is/mini-sdd-planreadyspecs where allrequiresentries aredone— implementable nextreadyspecs with unmetrequires— blocked, not yet implementabledonespecs — complete
- Check whether
./{ARTIFACT_MAIN_FOLDER}/mini-sdd.config.ymlexists.
Decision table:
| Situation | Recommended action | |
|---|---|---|
context.md missing | /mini-sdd-context | |
| No specs exist | /mini-sdd-spec <feature-name> | |
A spec is draft (no plan) | /mini-sdd-plan <spec-name> | |
A spec is in-progress | /mini-sdd-implement <spec-name> to resume | |
Unblocked ready specs exist | /mini-sdd-implement <spec-name> | |
All specs done, nothing in-progress | /mini-sdd-spec <next-feature> | |
| Hooks not configured and user wants customisation | /mini-sdd-init-config |
State summary format (use when reporting state to the user):
{SKILL_ASSETS_NOTICE}
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/mini-sdd/skills/mini-sdd-guide/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 3
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
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/aine-copilot-plugins/mini-sdd-guide)