Skip to content
Back to skills

Find Next Phase Number

ASecurity

Determine the next sequential phase ID for creating a new phase. Use when planning a new phase.

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
toolsbashgit

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill find-next-phase-number --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Find Next Phase Number?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Find Next Phase Number
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-find-next-phase-number/badge)](https://www.skillsdirectory.com/skills/majiayu000-find-next-phase-number)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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
---

# Next Phase Number

## How to Find Next ID

Run this command to determine the next available phase number:

```bash
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:
```bash
mkdir -p .ushabti/phases/NNNN-your-slug
```

Replace `NNNN` with the next ID and `your-slug` with a short, lowercase, hyphenated description.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.