AGENT SKILL

implement-prepared-plan

Implement an existing prepare-plan plan.md with preparation, explicit start and workspace authorization, bounded task delegation, evidence-backed checks, and final review. Preserve existing dirty work; use atomic commits and a non-squash merge when a temporary branch is approved. Use only when explicitly invoked. Does not push or open pull requests.

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

01 前言 Front Matter

name
implement-prepared-plan
description
Implement an existing prepare-plan plan.md with preparation, explicit start and workspace authorization, bounded task delegation, evidence-backed checks, and final review. Preserve existing dirty work; use atomic commits and a non-squash merge when a temporary branch is approved. Use only when explicitly invoked. Does not push or open pull requests.
disable-model-invocation
true

02 资源文件 18

03 SKILL.md 正文

Implement a prepared plan

plan.md is the source. Do not redesign it or start another plan folder. Reply in the user's language. No product code, branch, or worktree creation before the authorization gate. Never push, open a PR, squash, or discard user work. The main agent owns approvals, plan artifacts, scheduling, and Git mutations. Implementers may edit only assigned product files in the agreed workspace.

Execution order

Resolve links relative to this skill folder. Read references and supporting skills only when their phase needs them. This order and its ownership rules resolve conflicting sequencing in supporting skills.

Phase Main agent Delegated work Exit condition
0. Resolve source Read runtime, plan records, and Git contract. Locate the existing plan and record repository, branch, start SHA, and dirty baseline. None needed for known paths. Source exists; plan status and approval gaps known; baseline recorded.
1. Prepare tasks Read preparation, delegation, and skill routing. Save checklist and tasks in the existing folder. Breakdown; then clarification. Graph-first fact lookups for unknowns. Revised tasks, checklist, and context written by parent.
2. Analyze Apply task analysis to the clarified snapshot. Integrate scope-preserving fixes; investigate and write plan.refactored.md. Task analysis. Independent graph-oriented code facts may run beside coverage analysis. Material conflicts resolved; refactor analysis saved; adoption remains optional; no product code.
3. Authorize Follow start and suggestions. Resolve suggestions, start approval, and temporary-branch preference; reuse prior explicit answers. Read-only fact clarification as needed. Start and branch choice explicit; alternate source adopted only if expressly requested.
4. Establish workspace Follow Git contract, then load project rules and applicable execution skills. Bounded baseline checks if independent. Agreed workspace and baseline verified; no silent switch to another branch strategy.
5. Implement Follow execution; schedule dependency-ready tasks with exclusive files. Implementer; independent check after each completed slice. Each slice has evidence-backed acceptance and authorized serial commit, or remains uncommitted by choice.
6. Review Follow verification. Refresh end SHA and review snapshot; resolve gaps without restarting approvals. Review: Standards and Spec in parallel; focused read-only bug investigation as applicable. All checklist items done or explicitly out of scope; final review gaps resolved.
7. Integrate Follow Git contract only after final gate passes. Merge without squash if approved; safely remove owned temporary resources. None; Git integration is serial parent work. Work integrated or safely retained with a precise blocker report; no push.

Context and revisions

Keep only phase, open decisions, task IDs, ownership, evidence pointers, and short results in the main chat. Use delegation for bounded briefs and parallelism. New scope invalidates affected tasks/checks; clarify and resume their earliest affected phase. Do not repeat unchanged start/branch consent. agents/ contains prompt templates explicitly read for Cursor Task calls, not registered custom subagents. agents/openai.yaml is optional metadata for other hosts; Cursor's explicit-only setting remains 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

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.

★ 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