一键导入
find-next-phase-number
Determine the next sequential phase ID for creating a new phase. Use when planning a new phase.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Determine the next sequential phase ID for creating a new phase. Use when planning a new phase.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Bootstrap phase context for Builder. Provides current phase, next step, and full phase file contents.
Bootstrap phase context for Overseer. Provides phase under review with full file contents and card metadata.
Approve a phase — sets status to complete, marks all steps reviewed, updates linked card. Use when declaring a phase green.
Create a phase directory with all required files in one call. Use instead of separate mkdir + Write calls when creating a new phase.
Kick a phase back to building — sets status and adds new step entries to progress.yaml. Use when requesting fixes from Builder.
Mark a step as implemented in progress.yaml with notes and touched files. Use after completing each step instead of manual Edit calls.
| name | find-next-phase-number |
| description | Determine the next sequential phase ID for creating a new phase. Use when planning a new phase. |
| user-invocable | true |
Run this command to determine the next available phase number:
current=$(ls -1 .ushabti/phases/ 2>/dev/null | sed 's/-.*//' | sort -n | tail -1)
if [ -z "$current" ]; then
echo "0001 (first phase)"
else
printf "%04d (after %s)\n" $((10#$current + 1)) "$current"
fi
0001, 0002, 0003, ...0001-initial-setup, 0002-add-auth, ...Once you have the next number and a slug:
mkdir -p .ushabti/phases/NNNN-your-slug
Replace NNNN with the next ID and your-slug with a short, lowercase, hyphenated description.