AgentSkillsCN

find-current-phase

根据当前状态,找到处于活跃状态的阶段目录。在需要定位具体待处理阶段时使用此方法。

SKILL.md
--- frontmatter
name: find-current-phase
description: Find the active phase directory based on status. Use when you need to locate which phase to work on.
user-invocable: false

Current Phase Status

How to Check

Run this command to see all phases and their status:

bash
if [ -d .ushabti/phases ] && [ "$(ls -A .ushabti/phases 2>/dev/null)" ]; then
  for dir in .ushabti/phases/*/; do
    name=$(basename "$dir")
    phase_status=$(grep "^  status:" "$dir/progress.yaml" 2>/dev/null | awk '{print $2}')
    echo "$name: $phase_status"
  done
else
  echo "No phases exist yet"
fi

Status Reference

StatusAgentMeaning
plannedBuilderReady to start implementation
buildingBuilderImplementation in progress or fixes requested
reviewOverseerReady for review
completePhase is green, no work needed

Agent Guidance

Builder: Work on phases with status: building or status: planned. If multiple exist, work on the lowest-numbered one first.

Overseer: Review phases with status: review. If none exist, no phase is ready for review.