Skip to content
Agentmart
Submit a tool

ag-generate-plan

Create or update implementation plans in the repo's SIMPLE, COMPLEX, or PHASE PROGRAM format.

Skill by ngxccc

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ngxccc-ag-generate-plan

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Create or update implementation plans in the repo's SIMPLE, COMPLEX, or PHASE PROGRAM format. Use when turning an idea, PRD, or approved direction into saved plan artifacts.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/ag-generate-plan

What's inside

Skill name
ag-generate-plan
Description
Create or update implementation plans in the repo's SIMPLE, COMPLEX, or PHASE PROGRAM format. Use when turning an idea, PRD, or approved direction into saved plan artifacts.
License
MIT
Instructions
68 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (16)

  • SKILL.md
  • example-complex-prd.md · references/
  • example-simple-prd.md · references/
  • generate-plan.md · references/
  • fail.md · scripts/fixtures/validate-phase-stub/
  • pass.md · scripts/fixtures/validate-phase-stub/
  • fail.md · scripts/fixtures/validate-umbrella-artifact/
  • pass.md · scripts/fixtures/validate-umbrella-artifact/
  • update-roadmap.mjs · scripts/
  • validate-harness-artifacts.mjs · scripts/
  • validate-phase-stub.mjs · scripts/
  • validate-plan-artifact.mjs · scripts/
  • validate-umbrella-artifact.mjs · scripts/
  • phase-loop-workflow-template.js · templates/
  • phase-stub-template.md · templates/
  • umbrella-plan-template.md · templates/

SKILL.md (first lines)

# Generate Plan & Phase Program (`ag-generate-plan`)

## When to Apply

Use this skill when turning ideas, PRDs, or approved directions into authoritative implementation plan artifacts for the project.

This skill is the canonical plan artifact contract for the repository, supporting three complexity classifications:

1. **SIMPLE**: Single-session feature (8-15 steps, 1 plan artifact).
2. **COMPLEX**: Multi-phase project within 1 plan file.

## How to Use

Refer to the workflow instructions and command references detailed below.

---

## Workflow

1. Read `references/generate-plan.md` for the single-plan contract.
2. Run `date +%d-%m-%y` before choosing the filename.
3. Classify complexity: `SIMPLE`, `COMPLEX`, or `PHASE PROGRAM`.
4. Save plans inside task subfolders:
   - Single plan: `process/general-plans/active/{slug}_{date}/{slug}_PLAN_{date}.md` (or `process/features/{feature}/active/{slug}_{date}/{slug}_PLAN_{date}.md`).
   - Phase Program: `process/features/{feature}/active/{program-slug}_{date}/{program-slug}-umbrella_PLAN_{date}.md` for umbrella plan, and `phase-NN-{slug}_PLAN_{date}.md` for per-phase stubs.
5. Per **task-folder artefact colocation**, every artifact (plan, spec, reports, references) lives FLAT inside the task folder.
6. Validate generated artifacts:
   - Single plan: `node .claude/skills/ag-generate-plan/scripts/validate-plan-artifact.mjs <plan-path>`
   - Umbrella plan: `node .claude/skills/ag-generate-plan/scripts/validate-umbrella-artifact.mjs <umbrella-path>`
   - Phase stub: `node .claude/skills/ag-generate-plan/scripts/validate-phase-stub.mjs <stub-path>`

---

## Phase Program Kickoff Procedure (3+ Phases)

When `PHASE PROGRAM` is detected (3 or more dependent phases):

1. **Invoke `ag-agent-strategy-compare`**: For each phase, run strategy evaluation before drafting.
2. **Read Template Files**:
   - `.claude/skills/ag-generate-plan/templates/umbrella-plan-template.md`
   - `.claude/skills/ag-generate-plan/templates/phase-stub-template.md`
3. **Emit Kickoff Recommendation**: Present feature folder, umbrella plan name, phase list, and immediate next action. Stop for user approval.
4. **Create Artifacts**:
   - Create task folder: `process/features/{feature}/active/{program-slug}_{date}/`
   - Create umbrella plan: `{program-slug}-umbrella_PLAN_{date}.md`
   - Create phase plan stubs: `phase-NN-{slug}_PLAN_{date}.md`
5. **Emit Compressed Session-Goal Block**: Print copy-pasteable `/goal` block (≤4000 chars) in chat.

---

## Required Plan Sections

For new or newly touched direct `*_PLAN_*.md` files, include all required sections:

- `Touchpoints`
- `Public Contracts`
- `Blast Radius`
- `Verification Evidence` (table: `| Gate / Scenario | Strategy | Proves SPEC criterion |`)
- `Test Infra Improvement Notes`
- `Resume and Execution Handoff`
- `Validate Contract` (placeholder for `ag-validate-agent`)

## References

- [process/context/all-context.md](process/context/all-context.md)
- [process/development-protocols/phase-programs.md](process/development-protocols/phase-programs.md)

From ngxccc/agent-skills-kit, MIT.

More from ngxccc/agent-skills-kit

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Aug 2, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ngxccc

Cite this page

ag-generate-plan skill. Agent Mart. https://agentmart.dev/skills/ngxccc-ag-generate-plan (last updated 2026-10-24)