Skip to content
Back to skills

Plan Feature

ASecurity

Turn a ticket into an approved plan before any code is written. Use when starting any non-trivial feature, bug fix or refactor, or when the user says "plan", "spec", or gives a ticket ID. Writes docs/specs/<ticket>.md and stops for human approval.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
ai-agentsgo

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add hanygheit/ai-agent-on-call --skill plan-feature --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Plan Feature?

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

Security grade badge for Plan Feature
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hanygheit-plan-feature/badge)](https://www.skillsdirectory.com/skills/hanygheit-plan-feature)

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-feature
description: Turn a ticket into an approved plan before any code is written. Use when starting any non-trivial feature, bug fix or refactor, or when the user says "plan", "spec", or gives a ticket ID. Writes docs/specs/<ticket>.md and stops for human approval.
---

# Plan a feature (Rules 02 + 03: outcome, plan, approval — then code)

You are writing a plan, not code. Do **not** edit source files in this skill.

## Steps

1. **Get the outcome.** If the request is only a command ("add retries"), ask for
   the goal, non-goals, constraints and acceptance test before planning. One short
   question at a time.
2. **Read before you plan.**
   - `AGENTS.md` (team rules) and any relevant `docs/adr/*.md`
   - `docs/runbooks/` if the change touches production behaviour
   - Search for every caller of the code you will change.
3. **Write the plan** to `docs/specs/<TICKET>.md` using `docs/specs/_TEMPLATE.md`.
   Keep it short: outcome, approach, files to touch, tests, rollback, open questions.
4. **Size check.** If the plan touches more than ~3 files or ~200 lines, propose
   splitting it into smaller tickets instead.
5. **Stop.** End with:
   `Plan written to docs/specs/<TICKET>.md — waiting for your approval before changing any code.`
   List open questions explicitly. Never answer your own open questions by guessing.

## After approval (only when the human says so)

- Work on branch `agent/<ticket>-<slug>` (never `main`), ideally in its own worktree.
- Implement exactly the approved plan. If scope grows, stop and update the plan first.
- Tests with every change. Open a **draft PR** that links 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.

Comments

Loading comments…