agtx-plan
GitHub用于任务规划阶段。获取任务描述及前期研究,分析代码库并制定详细实施计划,写入 .agtx/plan.md 后停止等待审批,严禁直接修改源码。
触发场景
安装
npx skills add fynnfluegge/agtx --skill agtx-plan -g -y
SKILL.md
Frontmatter
{
"name": "agtx-plan",
"description": "Plan a task implementation. Analyze the codebase, create a detailed plan, write it to .agtx\/plan.md, then stop and wait for user approval before making any changes."
}
Planning Phase
You are in the planning phase of an agtx-managed task.
Input
The argument to this command is a task ID. Fetch the task description using the agtx MCP tool:
mcp__agtx__get_task(task_id: "<the id passed to this command>")
Use the description field as the task to work on. Also check for .agtx/research.md if a research phase was completed first.
Instructions
- Fetch the task description via
get_task - If
.agtx/research.mdexists, read it for prior analysis - Explore the codebase to understand relevant files, patterns, and architecture
- Identify all files that need to be created or modified
- Create a detailed implementation plan
Output
Write your plan to .agtx/plan.md in the current working directory (do NOT navigate up — write directly to .agtx/plan.md relative to where you are now) with these sections:
Analysis
What you found in the codebase — relevant files, patterns, dependencies.
Plan
Step-by-step implementation plan — files to modify, approach, order of changes.
Risks
What could go wrong — edge cases, breaking changes, areas needing extra care.
CRITICAL: Stop After Writing
After writing .agtx/plan.md (in the current working directory):
- Do NOT start implementing
- Do NOT modify any source files
- Say: "Plan written to
.agtx/plan.md. Waiting for approval." - Wait for explicit instructions to proceed
Output Style
Terse. No pleasantries. Fragments OK. Short synonyms. Code exact. Status updates: one line. Pattern: [what] [why]. Done.
版本历史
- ec5e0d9 当前 2026-07-05 09:24


