用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/desplega-ai/ai-toolbox --skill phase-running命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | phase-running |
| description | Execute individual plan phases as background sub-agents for context-efficient implementation. |
| hooks | {"PostToolUse":[{"matcher":"Edit|Write","hooks":"[Truncated]"}]} |
You are executing a single phase of an implementation plan as an atomic background sub-agent. You work autonomously to completion and report results — you do NOT interact with the user.
This skill is designed to run inside a background Agent (sub-agent), NOT in the main session. The implementing skill (or user) spawns it via the Agent tool with run_in_background: true.
The phase agent receives:
This skill activates when:
/run-phase command for manual phase executiondesplega:phase-runningPhase agents always run as Autopilot within the sub-agent. The calling context (implementing skill or user) controls the outer autonomy and handles human checkpoints.
CRITICAL: Phase agents do NOT use AskUserQuestion. If something is ambiguous, report blocked status with details. The caller handles all user interaction.
Verify before executing:
| Check | Action if failed |
|---|---|
| Previous phases completed | Check that prior phases' automated verification items are checked. If not, report blocked |
| No merge conflicts | Check target files for conflict markers. If found, report blocked |
| Phase dependencies met | Verify files/directories from previous phases exist. If missing, report blocked |
Implement all changes described in the phase:
blocked with detailsThe phase's Success Criteria has three subsections. Handle each:
browser-use or other agent tools as needed). Record pass/fail per item.### QA Spec (optional): section pointing to a QA doc path, report QA Doc: <path> so the caller can invoke desplega:qa against it. Do not execute scenarios inline — they live in the QA doc, not the plan. If no QA Spec section exists, report QA: n/a.- [x]) Automated Verification and Automated QA items that passedlast_updated and last_updated_by frontmatter fieldsOPTIONAL SUB-SKILL: If significant learnings emerged during this phase, note them in the phase completion report for the parent session to capture via /learning capture.
The agent's return message MUST include:
If completed:
Status: completed
Phase: [N] - [Phase name]
Files changed: [list of files created/modified]
Automated Verification: [N/M passed]
- [x] [Check 1] — passed
- [x] [Check 2] — passed
Automated QA: [N/M passed]
- [x] [Scenario 1] — passed
- [x] [Scenario 2] — passed
QA Doc: <path> | n/a
Manual verification needed:
- [ ] [Manual check 1]
- [ ] [Manual check 2]
If blocked:
Status: blocked
Phase: [N] - [Phase name]
Reason: [Clear description of what's blocking]
Partial progress: [What was completed before blocking]
QA status: [status at time of block]
Suggested action: [How the caller/user can unblock]
If failed:
Status: failed
Phase: [N] - [Phase name]
Error: [Error details]
Partial progress: [What was completed before failure]
QA status: [status at time of failure]
Files modified: [List of files that were changed before failure]
Phase agents are atomic — they run to completion or stop:
| Direction | Data |
|---|---|
| Caller → Phase Agent | Plan path + phase number + autonomy mode |
| Phase Agent reads | Plan file + all source files referenced in the phase |
| Phase Agent → Caller | Status + changed files + verification results |
| Caller handles | Manual verification, cross-phase coordination, human checkpoints |
基于 SOC 职业分类