Skip to content
Back to skills

Code Plan

ASecurity

Design a feature before writing code. Spawns planner + skeptic subagents that read the Memory Bank, argue, and write a plan to swarm-report/. Use BEFORE code-build, for any feature touching 2+ files or with unclear scope. Skip for typos and one-line fixes.

  • 6 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 6, 2026
ai-agentscode-review

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 10, 2026

npx -y skills add alexeyshishin/as-skill --skill code-plan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Plan?

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

Security grade badge for Code Plan
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alexeyshishin-code-plan/badge)](https://www.skillsdirectory.com/skills/alexeyshishin-code-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: code-plan
description: Design a feature before writing code. Spawns planner + skeptic subagents that read the Memory Bank, argue, and write a plan to swarm-report/. Use BEFORE code-build, for any feature touching 2+ files or with unclear scope. Skip for typos and one-line fixes.
---

# Skill: code-plan

You are the ORCHESTRATOR. You do not design the plan yourself — you run two subagents
and merge their output. No code edits here.

## Invocation
run the code-plan skill with `"<one-sentence feature>"`

## Steps

1. **Slugify** the feature → `<slug>` (kebab-case, short).
2. **Read context yourself** (cheap, keeps subagents focused): `.memory-bank/index.md`
   if it exists. If it does not, tell the user: "No Memory Bank found — plan will rest
   only on your description." and continue.
3. **Spawn 2 subagents in parallel** — follow `references/delegation.md` for the host you
   run on (Claude: one message, two `Task` calls). Prefix EACH prompt with:
   > Answer TERSE: terse, drop filler, keep all technical substance.

   - **planner** — "Read `<absolute path of references/agents/code-planner.md>` and follow it exactly. Feature: <verbatim>."
   - **skeptic** — "Read `<absolute path of references/agents/code-skeptic.md>` and follow it exactly. Feature: <verbatim>."

   (Sharper, slightly pricier variant: run planner first, then pass its YAML into the
   skeptic prompt so it critiques the concrete plan. One extra round-trip. Use it when
   the feature is risky.)
4. **Merge** (orchestrator only): take the planner's plan, apply the skeptic's HIGH/MED
   fixes, and list anything unresolved under **Blockers**.
5. **Write** `swarm-report/<slug>-plan.md`:
   ```
   # Plan: <feature>   (slug: <slug>)
   ## TL;DR
   ## Acceptance criteria  — observable "done" conditions; code-review checks these
   ## Plan                 — merged steps + affected files + tests
   ## Blockers             — skeptic HIGH not yet resolved (human decides)
   ## Out of scope
   ## Assumptions
   spawn_mode: parallel|sequential|inline
   ```
6. **Report to user**: TL;DR + any Blockers. If Blockers exist, ask the user to resolve
   them before running code-build.
   Include `spawn_mode`.

Files in this skill

  • README.md1.6 KB
  • SKILL.md2 KB

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.