plan-feature

plan-feature is a command for Cursor from phuoctrung-ppt/ai-sdlc-workflow. It costs 24 tokens per session (459 once invoked), scanned A, original, MIT.

A planning command for designing a software feature before implementation. It produces an architecture decision record, API and data plans, assigned tasks, acceptance criteria, and project-configuration updates.

In plain words
What is it for?
Use it to explore the codebase, compare design options, plan database changes and shared contracts, assign work to agents, and document architecture decisions.
Why use it?
It turns a broad feature request into an ordered implementation plan with ownership, dependencies, migration needs, and known risks.

Command for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/phuoctrung-ppt/ai-sdlc-workflow/plan-feature
Clone the repo
git clone --depth 1 https://github.com/phuoctrung-ppt/ai-sdlc-workflow

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for plan-feature

README.md
[![agentmods](https://agentmods.dev/badge/commands/phuoctrung-ppt/ai-sdlc-workflow/plan-feature.svg)](https://agentmods.dev/commands/phuoctrung-ppt/ai-sdlc-workflow/plan-feature)
Your own site
<a href="https://agentmods.dev/commands/phuoctrung-ppt/ai-sdlc-workflow/plan-feature"><img src="https://agentmods.dev/badge/commands/phuoctrung-ppt/ai-sdlc-workflow/plan-feature.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 459 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00024 $0.00459
Opus 5 $0.00012 $0.00230
Sonnet 5 $0.00005 $0.00092
Haiku 4.5 $0.00002 $0.00046

Measured 3d ago against content hash 71252d51d5ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

plan-feature scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/commands/plan-feature.md · 31 lines

What it actually says

Act as Architect Planner (.cursor/agents/architect-planner.md).

Feature: {feature_description}

  1. Run context-builder: python3 .cursor/context/context-builder.py --phase plan --task "{feature_description}" --agent architect-planner --handoff docs/plans/.active-plan
  2. Phase 0 BRAINSTORM (HARD-GATE): explore codebase, propose 2–3 options, wait for approval — do not write the plan file yet
  3. Read .memory/architecture.md and AGENTS.md §2–§3 for stack and structure
  4. Explore codebase for related modules
  5. Write plan to docs/plans/YYYY-MM-DD-{slug}.md using the architect-planner template (include Domain Config Sync section)
  6. Include:
    • Acceptance criteria
    • Database migration needs
    • Shared type/contract definitions (schema tool from AGENTS.md §2)
    • File list with owner agents
    • Task table with agent assignments and dependencies
    • Security / compliance notes from AGENTS.md §6
    • Risks and scope boundaries
  7. Phase 1.5 SYNC DOMAIN CONFIG (before workers):
    • ADR → docs/adr/NNNN-short-title.md when architecture/stack/pattern decisions changed
    • Create/update living overview → docs/architecture.md
    • Update AGENTS.md sections that changed (§2 stack, §3 structure, §4 tenancy, §5 roster/scopes, §6+ rules)
    • Update .cursor/config/worker-scopes.json / protected-paths.json if scopes or protected areas changed (orchestrator approval for scope expansion)
    • Point docs/plans/.active-plan at this plan
    • Record N/A + reason in the plan for any skipped sync item
  8. Wait for orchestrator approval of plan + sync diffs before dispatching any workers (use @scaffold-agent first if new module shells are required)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 31 lines · 24 tokens per session scan A 71252d51d5ba

Subscribe to this mod's changes

plan-feature is a command published in the GitHub repository phuoctrung-ppt/ai-sdlc-workflow (2 stars, last pushed 18d ago), licensed MIT. It adds 24 tokens to every session and 459 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.