Skip to content
Back to skills

Plan

ASecurity

Write the spec for multi-session or non-trivial work as a GitHub Feature issue — acceptance criteria and named test scenarios before implementation starts, per AGENTS.md rule (c). Use when starting work that will span more than one session, when spawning an implementation (sub-)agent for anything non-trivial, or when asked to "make a plan", "write a spec", "track this work", or "open an issue".

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsgogit

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add spacingmind/smind --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/spacingmind-plan/badge)](https://www.skillsdirectory.com/skills/spacingmind-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: plan
description: Write the spec for multi-session or non-trivial work as a GitHub Feature issue — acceptance criteria and named test scenarios before implementation starts, per AGENTS.md rule (c). Use when starting work that will span more than one session, when spawning an implementation (sub-)agent for anything non-trivial, or when asked to "make a plan", "write a spec", "track this work", or "open an issue".
---

This repo follows spec-driven development: for anything beyond a trivial
change, the spec — acceptance criteria and concrete test scenarios — gets
written down *before* implementation starts, not inferred from the code
afterward. This keeps an implementing agent from writing a test that just
confirms whatever it built, and keeps a review grounded in what was asked for.

The spec lives in a **GitHub Feature issue**, not in a file in the repo.
(`docs/plans/` is retired; existing plans were moved to `docs/plans/completed/`
and keep a header naming their issue.)

## Writing the spec

1. If the work needs an architecture choice that the living docs under `docs/`
   do not already settle, stop: use the `adr` skill (a Proposals discussion)
   and wait for the Human.
2. Open the issue with the headings of the Feature form
   (`.github/ISSUE_TEMPLATE/feature_request.yml`). `gh` cannot fill a form, so
   write the body to a file and run
   `gh issue create --title "[Feature]: <title>" --body-file <file>`, with
   these sections in this order (Acceptance criteria and Test scenarios are the
   spec):
   - **Problem or use case**
   - **Proposed solution** (link the accepted Proposals discussion, if any)
   - **Acceptance criteria**: a checklist of concrete, checkable statements, not
     "handles errors well" but "returns 404 for a missing workspace id".
   - **Test scenarios**: the named cases (happy path, empty input, missing id,
     concurrent calls, cancellation, failure modes worth a regression test).
   - **Decisions for the Human**: each with your recommendation, or "None".
   - **Out of scope**
   - **Living docs to update**
3. Label it by area and set the issue type to Feature.

## While working

- Progress, findings and changed decisions go in **issue comments**, not in
  commits or files. Tick the acceptance checklist as items are confirmed.
- A sub-agent's brief is grounded in the issue's acceptance criteria and test
  scenarios (link it: `#123`), not a fresh ad-hoc restatement.
- A validation contract's `planRef` is the issue: `#123` or the full issue URL.
- The PR body says `Fixes #123` and lists, per acceptance criterion, how it was
  confirmed (which test, which manual check).
- Update, in the same PR, the living docs under `docs/` that describe the
  behaviour you changed. The docs say how the system works now; the issue says
  what this change had to achieve.

## Finishing

The merge of the PR closes the issue. Do not write a completion log anywhere;
the issue thread and the updated living docs are the record.

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.