Skip to content
Back to skills

Plan

ASecurity

Turn a feature idea into specs/<feature>.md with numbered acceptance criteria and a tier — the record the plan and TDD gates read. Use for "spec X", "draft a spec", "plan the feature", or before non-trivial work. Only the curator approves a plan.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 24, 2026
ai-agentsgonodeperformance

Security analysis

A100/100

Scanned November 24, 2026

npx -y skills add NeamulMorshed/The-Monkey-Brain --skill plan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Plan?

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

Security grade badge for Plan
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neamulmorshed-plan/badge)](https://www.skillsdirectory.com/skills/neamulmorshed-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
---
description: Turn a feature idea into specs/<feature>.md with numbered acceptance criteria and a tier — the record the plan and TDD gates read. Use for "spec X", "draft a spec", "plan the feature", or before non-trivial work. Only the curator approves a plan.
argument-hint: "<feature>"
effort: high
---

# /brain:plan — a spec the gates can read

Numbered acceptance criteria, a tier, and a truthful approval field — that is what turns
"plan" from advice into enforcement (instance manual §4–§5).

## Steps

1. **Gather context:** `wiki/index.md` → related research / concept / decision pages.
   **Research comes first:** a `feature` or `architecture` spec with no `wiki/research/`
   page to cite **must run `/brain:research` first** — unless the curator said to skip it
   in this conversation ("skip research", "just build it"), in which case record the skip
   and their words in the spec's Notes. `quick` tier is exempt; research on a two-hour fix
   is waste.
2. **Draft `specs/<kebab-feature>.md`** from `templates/spec.md`:
   - **Problem / Goals / Non-goals** in curator language.
   - **Acceptance criteria** — numbered `AC-1, AC-2…`, each observable and testable;
     they are the contract `/brain:build` works and `/brain:review` verifies.
   - **Test plan** — how each AC will be proven.
   - **Motion specs** (animation, transitions, scroll effects): the test plan names a **visual**
     check (recording or screenshots per state), a **performance** check (compositor-only
     properties, no dropped frames in a trace) and `prefers-reduced-motion` behaviour. Motion-only
     source is hard to unit-test, so the spec may use `tdd: false` (the curator's opt-out) when
     one AC requires a `review-animations` pass (web-motion pack) and its findings filed.
   - **Tier** (manual §5) with one line of rationale: `quick` (<2h, advisory only) ·
     `feature` (TDD gate on) · `architecture` (hard plan gate + TDD gate).
   - **Markdown only.** The spec file *is* the plan — don't also publish it as a web page
     or artifact unless the curator asks. The gates, `/brain:build` and `/brain:review`
     read the Markdown; a page is a second copy that drifts.
   - **Size it with the code graph** before settling the tier:
     `node "${CLAUDE_SKILL_DIR}/../../hooks/scripts/graph.js" radius <files, dirs or keywords the feature touches>`.
     It walks everything that imports those files (2 hops) and suggests a tier and model.
     Use its suggestion unless you have a reason not to, and paste its "touches … score"
     line into the spec's Notes as the rationale. A wide radius means `architecture`, which
     arms the plan gate.
   - **Scope the gates** — fill the spec's `scope:` list with the files and directories
     from the radius output (project-relative globs, e.g. `src/auth/**`,
     `plugin/hooks/scripts/guards.js`). The plan and TDD gates then consult this spec
     only for writes inside that scope, so a second open spec isn't blocked by this one.
     A write no open spec claims is still checked against every open spec.
3. **Review with the curator.** Walk the ACs and the tier together; adjust until they
   agree this is the feature they meant.
4. **Approval — curator-owned, never self-set:**
   - `architecture`: source writes stay blocked until the spec carries
     `plan_approved: true`. Set that field **only after the curator explicitly approves
     in conversation** — quoting their approval in the log entry is good practice.
   - `feature` / `quick`: verbal agreement suffices; leave `plan_approved: false`.
5. **Workstream record:** create or update `projects/<workstream>.md`
   (template `project-status.md`): tier, `phase: plan`, link to the spec.
6. **Bookkeeping:** append `wiki/log.md` `## [YYYY-MM-DD] plan | <feature>`, offer
   commit `plan: <feature>`. Then offer `/brain:build <spec>`.

**Done when:** the spec exists with numbered ACs + test plan + tier, the curator has
seen it, the approval state is recorded truthfully, and log + commit are done.

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 ai-agents →

Comments

Loading comments…

Newsletter

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