一键导入
gk-execute
Execute Markdown-based implementation plans by parsing, executing tasks, and updating status.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute Markdown-based implementation plans by parsing, executing tasks, and updating status.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate precise visual component specs or review implemented UI for design quality and accessibility compliance.
Validate framework compliance across all agents and skills.
Generate agent and skill files following Gemini Kit templates. Use when creating a new skill or /gk-* command. Use for building agent definitions or extending Gemini Kit.
Audit UI components for WCAG 2.2 AA compliance and generate actionable accessibility fixes
Setup product analytics integration and define event tracking schemas for user behavior measurement
Analyze code or system structure and report findings on complexity, dependencies, and risks.
| name | gk-execute |
| agent | developer |
| version | 2.0.0 |
| tier | core |
| description | Execute Markdown-based implementation plans by parsing, executing tasks, and updating status. |
read_file — read plan.md and phase files; read source files before implementing taskswrite_file — implement code changes and update task status in plan filesrun_shell_command — run build/test/lint commands to verify task completionlist_directory — explore project structure when context is unclear/gk-executedeveloper| Flag | Mode | Description |
|---|---|---|
--dry-run | dry-run | Parse and simulate execution without modifying any files. |
--verbose | verbose | Provide detailed logs and intermediate states during execution. |
references/plan-format.md — Guide on Markdown plan structure and status icons.Senior Execution Engineer & Plan Orchestrator
Systematically process and execute tasks from a Markdown implementation plan while maintaining real-time status updates.
{
"plan_path": "string (required) — Path to the Markdown plan file",
"task_id": "string (optional, default: next) — Specific task description to execute",
"dry_run": "boolean (optional, default: false) — If true, only parse and report without executing"
}
Before starting, write skill state to enable hook context injection:
{
"skill": "gk-execute",
"session_id": "<current-session-id>",
"timestamp": "<ISO-timestamp>"
}
Write to: .gemini/.skill-state.json
The BeforeAgent hook will inject the active plan path and pending phases — do NOT scan plans/ manually.
run_shell_command to verify each task before marking complete| Error | Cause | Recovery |
|---|---|---|
| BLOCKED | plan_path missing or file not found | Ask user to provide the plan file path |
| BLOCKED | No pending tasks in plan | Report completion status; do not fabricate tasks |
| FAILED | Build/test fails after implementation | Update task to status: failed; report error; do NOT mark as complete |
| FAILED | Task scope unclear | Read full plan context; ask user to clarify if still ambiguous |
[x].scripts/parse_plan.js to identify tasks and scripts/update_status.js for updates to ensure consistency."confidence": "low" when evidence or execution results are ambiguous.Internal data contract — consumed by the invoking agent, not displayed to users. Agent formats user-facing output per
04_output.md.
{
"status": "completed | failed | blocked",
"format": "json",
"result": {
"report_path": "string (optional) — Path to the execution report",
"current_task": "string — The description of the task processed",
"progress": "object — { total, completed, percentage }",
"next_task": "string (optional) — The next task in the queue"
},
"summary": "one sentence describing the execution result",
"confidence": "high | medium | low"
}
Example (completed):
{
"status": "completed",
"format": "json",
"result": {
"report_path": "reports/gk-execute/260427-1430-report.md",
"current_task": "Implement POST /users endpoint with Zod validation",
"progress": { "total": 8, "completed": 3, "percentage": 37 },
"next_task": "Add rate limiting middleware to auth routes"
},
"summary": "Task 3/8 completed: POST /users endpoint implemented and tests pass.",
"confidence": "high"
}
<required_verification>
node .gemini/skills/gk-execute/scripts/parse_plan.js <plan_path>currentTask/gk-review --post-implement on modified files; block if plan_alignment: missing or critical security findingnode .gemini/skills/gk-execute/scripts/update_status.js <plan_path> "<task>" "x" ONLY after steps 3 and 4 passreports/gk-execute/ per Rule 05_6
NEVER mark a task [x] without passing verification (step 3) AND review (step 4).
</required_verification>