Agent skill
find-next-phase-number
Determine the next sequential phase ID for creating a new phase. Use when planning a new phase.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/find-next-phase-number
SKILL.md
Next Phase Number
How to Find Next ID
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
Phase Numbering Convention
- Phase IDs are 4-digit, zero-padded integers:
0001,0002,0003, ... - Combined with a slug:
0001-initial-setup,0002-add-auth, ...
Creating the Directory
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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?