Skip to content
Back to skills

Spec Plan

ASecurity

Write plan.md for a clarified spec — architecture per layer, data model, contracts, test strategy, risks. Use between spec-clarify and spec-tasks.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 24, 2026
developmentapisecurity

Works with

  • api

Security analysis

A100/100

Scanned November 24, 2026

npx -y skills add Facta-Dev/ai-coding-playbook --skill spec-plan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Spec Plan?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Spec Plan
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/facta-dev-spec-plan/badge)](https://www.skillsdirectory.com/skills/facta-dev-spec-plan)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: spec-plan
description: Write plan.md for a clarified spec — architecture per layer, data model, contracts, test strategy, risks. Use between spec-clarify and spec-tasks.
when_to_use: ["plan the spec", "/spec-plan", "design specs/<slug> before implementation"]
argument-hint: <slug>
disable-model-invocation: true
---

# Plan a spec

Resolve the template: `specs/_templates/plan.md`, then
`~/.claude/templates/sdd/plan.md`.

## Procedure

1. Read `specs/<slug>/spec.md` and `clarify.md`. Require `status: clarified`;
   otherwise stop and tell the user to run `/spec-clarify`.
2. Read the surrounding code that the change touches before designing — the
   plan must reuse existing patterns, not invent parallel ones.
3. Write `specs/<slug>/plan.md` from the template:
   - architecture per layer (domain / application / adapters);
   - ports and adapters the change needs;
   - data model plus expand/contract migration steps;
   - contract changes and backward compatibility;
   - test strategy matrix: every AC mapped to a level and a test path;
   - rollout and feature flags;
   - risks and mitigations;
   - constitution check with a justification for every deviation.
4. Set `status: planned` in the spec only when every AC has a planned level.

## Constitution gate

- Plan respects the project's architecture, security, API/URL conventions,
  test strategy, and compliance mapping.
- Deviations are listed with reasons, not silently allowed.

## Never

- Do not write code or create task files here; that is `/spec-tasks`.
- Do not plan around a requirement you had to reinterpret — change the spec.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.