AGENT SKILL

prepare-plan

Plan one user task in Cursor Plan mode through memory-backed interviews, confirmed language and design, OKRs, an implementation plan, and a module mockup. Record the workflow in .ai/plans/NNN-short-description/plan.md. Use only when the user invokes prepare-plan or /prepare-plan. Does not implement.

License 许可
MIT
最近更新
2026-10-22
Stars
★ 0
Forks
0

01 前言 Front Matter

name
prepare-plan
description
Plan one user task in Cursor Plan mode through memory-backed interviews, confirmed language and design, OKRs, an implementation plan, and a module mockup. Record the workflow in .ai/plans/NNN-short-description/plan.md. Use only when the user invokes prepare-plan or /prepare-plan. Does not implement.
disable-model-invocation
true

02 资源文件 14

03 SKILL.md 正文

Prepare plan

Plan one task in Cursor Plan mode. Do not implement, scaffold, or commit. Reply in the user's language. Keep identifiers and skill names unchanged. Only the main agent writes plan.md, wayfinder.md, and design-mockup.md inside one active .ai/plans/NNN-short-description/ folder. Implementation is a separate request via implement-prepared-plan.

Execution order

Resolve links relative to this skill folder. Load references and supporting skills at their phase, not all at startup. The sequence below governs conflicts about ordering in supporting skills. Never pass a gate on an unconfirmed assumption.

Phase Main agent Delegated work Exit condition
0. Enter planning Read runtime, then skill routing. Read using-superpowers; enter or verify Plan mode. None before Plan mode. Plan mode active; rejection stops the workflow.
1. Create record Read plan file and delegation. Create the next free plan folder and log the raw task. None before the record exists. Absolute plan path and current input ID established.
2. Gather evidence Follow memory search. Merge compact results into the input log. Graph orientation first; then connected-memory search and repository facts in parallel when useful. Current evidence collected; unavailable sources distinguished from no hits.
3. Settle decisions Follow interview and language rules: scope/reuse → approach and Language → OKR → Design. Ask, log, and wait at each approval. Read-only fact lookups for open questions. Language, OKR, and Design confirmed; decision frontier empty.
4. Draft tasks Read writing-plans; freeze approved interfaces and constraints. Integrate drafts under Implementation plan in plan.md. Task drafting, parallel only for independent groups with settled boundaries. Complete integrated draft matching the approved decisions.
5. Validate plan Run writing-plans self-review and reconcile findings. Plan checks: coverage and feasibility on the same frozen draft, in parallel. Completion gate in completion passes.
6. Mock up modules Read codebase-design and DESIGN-IT-TWICE.md; compare alternatives and write design-mockup.md. Interface alternatives in parallel; optional available Grok second opinion. Mockup agrees with approved plan; any changed decision reapproved.
7. Final review Present plan.md and design-mockup.md; ask for final changes. None unless a requested change needs new evidence. User finishes planning; no automatic implementation or mode change.

Every new user input

Log it before replying. Run phase 2 before the next interview question; reuse valid repository facts and only refresh facts affected by the input. Resume the earliest affected phase instead of restarting or opening another plan folder. An input changing an approved decision invalidates dependent drafts/checks: reconfirm that decision and repeat only the affected downstream work.

Context discipline

The main chat holds the phase, open decisions, evidence paths, and short results. Delegate independent read-only lookups, drafts, and checks under the delegation contract. Keep user questions, approvals, orchestration, and final artifact writes in the main agent. agents/ contains explicitly loaded prompt templates; these are not registered Cursor subagents. agents/openai.yaml is optional metadata for other hosts; Cursor's explicit-only policy is in this file's frontmatter.

04 同仓库更多 Skills

MaximHarder
MaximHarder/VideoSplitterPy

wayfinder

Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.

★ 0
MaximHarder
MaximHarder/VideoSplitterPy

using-git-worktrees

Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback

★ 0
MaximHarder
MaximHarder/VideoSplitterPy

refactor-plan

Create a concrete plan before starting a multi-file refactor. Use when the user asks to plan, sequence, scope, or safely execute a refactor across multiple files; always investigate first, output the plan, and wait for confirmation before making code changes.

★ 0
MaximHarder
MaximHarder/VideoSplitterPy

python-pro

Use when building Python 3.11+ applications requiring type safety, async programming, or robust error handling. Generates type-annotated Python code, configures mypy in strict mode, writes pytest test suites with fixtures and mocking, and validates code with black and ruff. Invoke for type hints, async/await patterns, dataclasses, dependency injection, logging configuration, and structured error handling.

★ 0
MaximHarder
MaximHarder/VideoSplitterPy

ponytail

Lazy senior dev mode: the smallest change that fully solves the task, and a reply a busy human understands in one read. Use on any coding task (writing, fixing, refactoring, reviewing, choosing dependencies) and when the user says "ponytail", "be lazy", "simplest solution", "yagni", or complains about over-engineering or bloat. Levels: lite, full (default), ultra.

★ 0
MaximHarder
MaximHarder/VideoSplitterPy

ponytail-review

Quality review of a change: is the logic right, is it safe, does it hold under real load, is risky code tested, is it fast enough, and is every line needed. Reads the connected code, not only the diff. Each finding is explained in plain English. Use for "review this", "code review", "review the last commit", "review my PR", "is this over-engineered", /ponytail-review.

★ 0