用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Dicklesworthstone/pi_agent_rust --skill when-stuck命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | when-stuck |
| description | Dispatch to right technique when you hit a wall |
| version | 1.0.0 |
| author | Ariff |
| when_to_use | When progress stops - identify stuck type and apply matching technique |
You're stuck when:
| Stuck Type | Symptoms | Technique |
|---|---|---|
| Don't understand | Requirements unclear | → Ask user for clarification |
| Can't find code | No idea where logic lives | → Semantic search, file patterns |
| Bug won't die | Fix doesn't work | → Root cause tracing |
| Tests keep failing | Can't get green | → Defense in depth, fresh look |
| Scope creep | Task keeps growing | → Scope boundary check |
| Missing context | Need info I don't have | → Read more files, ask user |
| Wrong approach | This path won't work | → Brainstorm alternatives |
| Overwhelmed | Too complex | → Break into smaller pieces |
| Going in circles | Same ground repeatedly | → Fresh agent via subagent |
STOP trying to guess
ASK: "I'm unclear on [specific thing]. Could you clarify [specific question]?"
WAIT for response before proceeding
1. Semantic search with concept terms
2. Grep for unique strings
3. File pattern matching
4. Read likely files
5. List directories to discover structure
1. Document exact symptom
2. Trace backward: where does bad value come from?
3. Keep tracing until you find ORIGIN
4. Fix at origin, not symptoms
1. Stop. Step back.
2. Re-read test expectation
3. Re-read actual behavior
4. Check: is test right or is code right?
5. Check: is environment consistent?
1. Re-read original request
2. List what you've done vs. what was asked
3. Identify scope drift
4. Either: refocus OR ask user if expansion wanted
1. What specific info do you need?
2. Where might it be? (files, user knowledge, docs)
3. Ask/search for that specific info
4. Don't proceed without it
1. What other approaches exist?
2. List 3-4 alternatives
3. Evaluate each briefly
4. Pick most promising, try it
5. If that fails, try next
1. What's the smallest possible piece?
2. Do JUST that piece
3. Verify it works
4. What's next smallest piece?
5. Repeat until done
Signal: Same ground covered 3+ times
Action: Use subagent for specific subtask
Pass: Clear scope, success criteria
Return: Just the result, not the journey
❌ Brute Force
Trying same thing harder won't work
If it failed twice, it needs a different approach
❌ Hoping
"Maybe this time..." → No
Stop. Diagnose. Change approach.
❌ Hiding
Not admitting you're stuck wastes time
Say: "I'm stuck on X. Here's what I've tried..."
After applying technique:
Pairs well with:
assumption-checker → Often stuck because of wrong assumptionintent-clarifier → Often stuck because of unclear intentbrainstorming → For generating alternativesroot-cause-tracing → For debugging stuck