用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/diegosouzapw/awesome-omni-skill --skill d-plan-fix命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Token-efficient tracking for AI orchestration. CLI-first for status updates (~50 tokens), agent fallback for complex ops (~1KB). Use when: updating task status, querying blockers, creating progress files, validating phases.
AshAi extension guidelines for integrating AI capabilities with Ash Framework. Use when implementing vectorization/embeddings, exposing Ash actions as LLM tools, creating prompt-backed actions, or setting up MCP servers. Covers semantic search, LangChain integration, and structured outputs.
This skill should be used when solving hard questions, complex architectural problems, or debugging issues that benefit from GPT-5 Pro or GPT-5.1 thinking models with large file context. Use when standard Claude analysis needs deeper reasoning or extended context windows.
基于 SOC 职业分类
正在显示 SKILL.md
| name | d-plan-fix |
| description | Create execution plan to fix root cause. Creates ./.gtd/debug/current/FIX_PLAN.md |
| argument-hint | [--force] |
| disable-model-invocation | true |
Core responsibilities:
Flow: Load Root Cause → Plan → Verify → Write
**Flags:**--force — Regenerate plan even if FIX_PLAN.md existsRequired files:
./.gtd/debug/current/ROOT_CAUSE.md — Must existOutput:
./.gtd/debug/current/FIX_PLAN.md
<standards_and_constraints>
The plan must address the root cause identified, not just mask the symptom.
Each plan: 2-3 tasks max. No exceptions.
| Type | Check | Action |
|---|---|---|
| Breaking Change | API/interface changes? | Document in plan |
| Regression | What else uses this code path? | Add regression test task |
| Performance | Hot path affected? | Add verification criterion |
| Data | State/schema changes? | Add migration task |
<design_principles>
Mantra: "Optimize for Evolution, not just Implementation."
<task_types> Automation-first rule: If agent CAN do it, agent MUST do it. Checkpoints are for verification AFTER automation.
| Type | Use For | Autonomy |
|---|---|---|
auto | Everything agent can do independently | Fully autonomous |
checkpoint:human-verify | Visual/functional verification | Pauses for user |
checkpoint:decision | Implementation choices | Pauses for user |
</task_types>
</standards_and_constraints>
Bash:
if ! test -f "./.gtd/debug/current/ROOT_CAUSE.md"; then
echo "Error: No root cause found. Run /d-verify first."
exit 1
fi
Bash:
test -f "./.gtd/debug/current/FIX_PLAN.md"
If exists AND --force NOT set:
Read ./.gtd/debug/current/ROOT_CAUSE.md.
Extract:
Display:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
GTD:DEBUG ► PLANNING FIX
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Load ROOT_CAUSE.md and affected source files. Use root cause findings to inform design constraints defined in <design_principles>.
<task_types>.Write to ./.gtd/debug/current/FIX_PLAN.md using this template:
---
created: { date }
root_cause: { brief one-liner }
---
# Fix Plan
## Objective
{What this fix delivers and why}
## Context
- ./.gtd/debug/current/ROOT_CAUSE.md
- {affected source files}
## Architecture Constraints
- **Single Source:** {Where is the authoritative data?}
- **Invariants:** {What must ALWAYS be true?}
- **Resilience:** {How do we handle failures?}
- **Testability:** {What needs to be injected/mocked?}
## Tasks
<task id="1" type="auto">
<name>{Task name}</name>
<files>{exact file paths}</files>
<action>
{Specific implementation instructions}
- What to do
- What to avoid and WHY
</action>
<done>{How we know this task is complete}</done>
</task>
<task id="2" type="auto">
...
</task>
## Success Criteria
- [ ] Original symptom no longer occurs
- [ ] {Additional measurable outcome}
- [ ] No regressions (existing tests pass)
## Rollback Plan
{How to undo changes if something goes wrong}
Check:
<prohibitions>If issues found: Fix before writing.
<offer_next>
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
GTD:DEBUG ► FIX PLANNED ✓
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Fix plan written to ./.gtd/debug/current/FIX_PLAN.md
{X} tasks defined
| Task | Name |
|------|------|
| 1 | {name} |
| 2 | {name} |
─────────────────────────────────────────────────────
▶ Next Up
/d-execute — execute the fix plan
─────────────────────────────────────────────────────
</offer_next>
<forced_stop> STOP. The workflow is complete. Do NOT automatically run the next command. Wait for the user. </forced_stop>