skills/create-phase-files/SKILL.md
Create a phase directory with all required files in one call. Use instead of separate mkdir + Write calls when creating a new phase.
npx skillsauth add adamrdrew/ushabti create-phase-filesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Creates the phase directory and writes all phase files (phase.md, steps.md, progress.yaml, review.md) from a single stdin input with section delimiters.
python3 ${CLAUDE_PLUGIN_ROOT}/skills/create-phase-files/create-phase-files.py <phase-dir> <<'PHASE_CONTENT'
===PHASE===
<phase.md content>
===STEPS===
<steps.md content>
===PROGRESS===
<progress.yaml content>
===REVIEW===
<review.md scaffold>
PHASE_CONTENT
phase-dir: Path for the new phase directory (e.g., .ushabti/phases/0005-my-phase)===PHASE===, ===STEPS===, ===PROGRESS===, ===REVIEW=== delimiters===PHASE=== -> phase.md===STEPS=== -> steps.md===PROGRESS=== -> progress.yaml===REVIEW=== -> review.md (scaffold for Overseer)python3 ${CLAUDE_PLUGIN_ROOT}/skills/create-phase-files/create-phase-files.py .ushabti/phases/0010-add-auth <<'PHASE_CONTENT'
===PHASE===
# Phase 0010: Add Auth
card: add-auth
## Intent
Add authentication to the API.
## Scope
**In scope**: JWT token validation, middleware
**Out of scope**: OAuth providers
## Constraints
- L09: Sandi Metz principles
## Acceptance criteria
- All protected endpoints require valid JWT
- Invalid tokens return 401
## Risks / notes
None identified.
===STEPS===
# Steps
## S001: Create auth middleware
**Intent:** Validate JWT tokens on protected routes.
**Work:**
- Create middleware function
- Verify token signature and expiry
- Attach user context to request
**Done when:** Middleware rejects invalid tokens with 401.
===PROGRESS===
phase:
id: 0010
slug: add-auth
title: Add Auth
status: planned
steps:
- id: S001
title: Create auth middleware
implemented: false
reviewed: false
notes: ""
touched: []
===REVIEW===
# Review: Phase 0010 — Add Auth
*Awaiting review.*
PHASE_CONTENT
This replaces mkdir + 3-4 separate Write calls with a single Bash invocation.
data-ai
Set the status field in a phase's progress.yaml. Use instead of manual Edit calls when transitioning phase status.
development
Query the status of a phase. Returns structured status information for external consumers.
data-ai
Mark a step as implemented in progress.yaml with notes and touched files. Use after completing each step instead of manual Edit calls.
testing
# List Cards Scan and list all Hieroglyphs-compatible cards in `.ushabti/cards/`, with optional filtering by status or other criteria. ## When to Use Use this skill when: - You need to see all available work items - Looking for cards in a specific state (e.g., only `todo` cards) - Determining which cards to plan next - Checking card priorities and types ## Card Location Cards are stored in: ``` .ushabti/cards/{slug}/card.md ``` Each card is a directory containing a `card.md` file with YAML