phase-skills
CLAUDE.md0 starsChanged 3 months agoMITView on GitHub
This file provides guidance to any agent working in this repository. It is mirrored byte-for-byte as CLAUDE.md, AGENTS.md, and AGENT.md, so Claude Code and ChatGPT/Codex receive identical rules. After editing this guide, copy it to the other two. This is an authoring workspace for the "phase" series of Claude Code skills — not an application. The deliverables are SKILL.md files meant to be dropped into the .claude/skills/ directory of any project so Claude runs a consistent, phase-driven development workflow. There…
In this repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- phase-adoptSkill
- phase-amendSkill
- phase-auditSkill
- phase-decomposeSkill
- phase-loopSkill
- phase-project-initSkill
- phase-recapSkill
- phase-trackerSkill
- phase-adoptSkill
- phase-amendSkill
- phase-auditSkill
- phase-decomposeSkill
- phase-loopSkill
- phase-project-initSkill
- phase-recapSkill
- phase-trackerSkill
- phase-adoptSkill
- phase-amendSkill
- phase-auditSkill
- phase-decomposeSkill
- phase-loopSkill
- phase-project-initSkill
- phase-recapSkill
- phase-trackerSkill
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 91
Keep all skills in sync when you change shared conventions, and keep every skill consistent with the same phase-number grammar, …
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to any agent working in this repository. It is
mirrored byte-for-byte as CLAUDE.md, AGENTS.md, and AGENT.md, so Claude
Code and ChatGPT/Codex receive identical rules. After editing this guide, copy
it to the other two.
What this repository is
This is an authoring workspace for the "phase" series of Claude Code skills — not an application. The deliverables are SKILL.md files meant to be dropped into the .claude/skills/ directory of any project so Claude runs a consistent, phase-driven development workflow. There is no build, test, or run step; the work is editing markdown.
The skills must stay project-agnostic and self-contained — each one should read clearly on its own, with no assumptions baked in about any particular codebase. When editing, prefer generic illustrative examples over references to a specific project, language, or framework.
Canonical conventions — read these first
These three files are the source of truth for terminology and formatting across every phase skill. When a skill's wording disagrees with them, they win; when you add or edit a skill, conform to them.
TERMINOLOGY.md— the glossary. Defines the Major / Minor / Patch hierarchy, the capitalization rule (always capitalize them as phase nouns), "start/close the phase" meaning the whole process, the knowledge-bundle terms (Knowledge bundle, Concept, Evidence, Relationship), and the scoped phase recap rules (a recap reports the prior phases within the current phase's scope).templates/recap_template.md— the formatphase-recapuses to produce a scoped recap report.templates/response_templates.md— the eight labeled response modes (Plan Confirmation, Development Approval, Phase Done, Fix, Outside Question, Tangent, Loop Progress, Phase Recap), each opening with a header banner so the user always knows the current mode.phase_project.md— the portable workflow charter: a self-sufficient markdown block meant to be pasted into any project's agent guide (CLAUDE.md/AGENTS.md, fresh or existing) to integrate the workflow.phase-project-initandphase-adoptinstall it as the guide's "Phase Workflow" section, reading it from the shipped asset copyphase-project-init/assets/phase_project.md— the root file never reaches an installed project, so the asset must stay byte-identical to it (validate_repo.pyenforces this; re-copy after any charter edit). Keep it in sync with the above when conventions change.
Repository contents
Seven skills, each a directory with a SKILL.md:
phase-tracker/SKILL.md— generates the per-phasephase_<NUM>_plan.md(before code) andphase_<NUM>_log.md(after code) underdevelopment/phase_log/, and maintainsphase_index.md. The producer of phase state. Owns the response banners 🟦 Plan Confirmation, 🟩 Development Approval, 🏁 Phase Done, 🔧 Fix.phase-recap/SKILL.md— a context-loading skill (writes nothing). Two modes: ambient (silent state-load) and scoped (prints a 🧭 recap report of the phases preceding the current one, within scope). The consumer of phase state.phase-project-init/SKILL.md— bootstraps a fresh/empty project: thedevelopment/knowledge bundle, the templates, conventions, and — only if the user says yes when asked — git. Git is optional across the workflow: init must ask rather than assume, a no-git project skips the branch/worktree/commit/PR steps of the cycle, and adding git later is a documented one-step upgrade. Carries its installable payload underphase-project-init/assets/— thedevelopment/bundle, the portable charter (phase_project.md), and the PR template (.github/); anything an install step needs must live there, because the repo-root docs never ship with the skills.phase-adopt/SKILL.md— the existing-repo counterpart to init: retrofits the workflow into a project that already has code/history, via a docs-lane PR (no bootstrap commit), with optional git-history backfill.phase-decompose/SKILL.md— turns a large goal into theMAJOR.0.0umbrella roadmap, applying a chunk-quality bar (tiny/testable, dependency-ordered, risk-tagged, numbering room left). Feedsphase-loop.phase-loop/SKILL.md— the orchestrator. Drives a whole effort to completion by looping the phase cycle against the umbrella roadmap, using/loopto self-pace. Resumes half-finished efforts (Mode B). Owns the 🔁 Loop Progress banner.phase-audit/SKILL.md— checks integrity of the phase log + git state (orphan plans, broken index links, stale design-doc sync, dangling worktrees), reports via the 🩺 banner, fixes safe drift via a docs-lane PR. Read-only by default; the only skill that reads git for its own sake.
Plus one maintenance skill that is not shipped into other projects — it operates on this repo only:
Every shipped skill is mirrored byte-for-byte, whole-directory, into two places — including phase-amend and all init assets: .agents/skills/<name>/ (the ChatGPT/Codex export) and .claude/skills/<name>/ (the copies this repository's own agent runtime loads, so working here exercises the current skills). Edit the root copy, then refresh both mirrors mechanically — never hand-edit one side. scripts/validate_repo.py proves all three trees and the three agent guides are byte-identical, and runs in CI on every pull request:
python3 scripts/validate_repo.pyphase-amend/SKILL.md— applies a change to a shared phase convention consistently across its whole sync surface (canonical docs, every embedded skill copy, the template assets, the charter,CLAUDE.md, and the memory), verifies no drift remains, and overrides the installed.claude/skills/copies. Use it whenever a change touches a shared rule rather than one skill's private wording — the duplication that keeps skills self-contained is exactly what makes hand-editing drift.
Public packaging (for GitHub / skill directories such as SkillsMP, which auto-index repos by their SKILL.md files and claude-skills / claude-code-skill topics): README.md (the public face — includes a condensed numbering diagram, banner list, and install instructions), LICENSE (MIT), and .claude-plugin/ (plugin.json + marketplace.json, exposing the seven shipped skills as the phase-workflow plugin — phase-amend is deliberately excluded). The README duplicates convention summaries, so treat it as part of phase-amend's sync surface; keep the plugin manifests' skill lists in step if skills are added or renamed.
revere_portal_CLAUDE.md is a reference artifact only, kept for context: a complete CLAUDE.md from a real project that used these skills. It is not part of any shipped skill and is not authoritative for the generalized skills. Do not edit it, and do not copy its project-specific details into the skills.
Skill architecture (the big picture)
At the core, phase-tracker and phase-recap are two halves of one loop and must stay mutually consistent — editing one usually forces a matching edit in the other. The other skills build on the same conventions:
- phase-tracker writes the artifacts (
phase_<NUM>_plan.md,phase_<NUM>_log.md,phase_index.md); phase-recap reads them. Conventions defined in one are relied on by the other. Two that recur and must agree across both files:phase_index.mdis chronological (append at the bottom = newest), not numeric. Both skills state this; a high phase number can sit above a lower one logged later.- Phase-number grammar. Uniform three-digit
MAJOR.MINOR.PATCH, numeric dotted form only (9.4.1, never9.4.1A).MAJOR.MINOR= one branch / one worktree / one PR (a feature);MAJOR.MINOR.PATCHiterations are commits on that feature's branch. MAJOR = milestone, MINOR = feature, PATCH = iteration/fix. development/is a knowledge bundle. Everything inside it is a Concept with YAML front matter; phase records also end with one## OKF relationshipsfooter. Evidence (audits, triage, scratch notes) lives outside it. The OKF format is not packaged separately — no schema file, no validator script ships with the skills; the templates carry the shape and the agent upholds it.phase-trackerauthors conforming records,phase-auditchecks them by reading (check 11),phase-recapreads the front matter instead of parsing prose, and init/adopt install the payload.- Phases are always appendable (see
TERMINOLOGY.md→ Core principle, and thephases-always-appendablememory). A Major is never sealed; related future work is numbered near its theme, not pushed to a distant number. There is deliberately no milestone/closeout step.phase-auditmust not flag late additions to old themes as drift;phase-decomposemust leave numbering room.
- The "phase cycle" is the core unit of work: new worktree + branch + phase plan → implement → phase log + commit → PR (or branch stack); in a no-git project the cycle drops its git steps and is plan → implement → log + index. phase-tracker describes this pipeline end to end; the term "phase cycle" is used consistently across the phase skills. phase-tracker also notes an optional model-switch convention at the plan/implement boundary (stronger reasoning for planning, a faster model for implementation) — a text reminder only, since Claude cannot switch its own model.
- The skills are self-contained. They do not defer to a project's CLAUDE.md for rules (git discipline, testing, worktrees) — those rules are stated inside
phase-trackeritself, so the workflow holds even in a fresh project with no CLAUDE.md.
How the skills fit together
Lifecycle, with the shared state being development/phase_log/:
setup: phase-project-init (empty repo) | phase-adopt (existing repo)
plan: phase-decompose → umbrella MAJOR.0.0 roadmap
run: phase-loop (big effort, loops the cycle) | phase-tracker (single effort)
└ each cycle: phase-recap (read) → phase-tracker (plan→implement→log→commit→PR)
health: phase-audit (verify the log + git state anytime)- Producers/consumers of phase state:
phase-trackerwrites plan/log/index;phase-recapandphase-auditread them;phase-decomposewrites the umbrella;phase-loopcalls recap + tracker in a loop. init/adopt create the structure they all use. - Three skills write into
development/phase_log/(tracker, decompose, and audit's fixes); the rest read. In a git-tracked project, all writes except init's one bootstrap commit go through a branch + PR; in a project that declined git, they are plain file writes.
Versioning
The suite ships one version for all eight skills; there are no independent per-skill versions. VERSIONING.md is canonical. The essentials:
- The suite version is SemVer and is separate from phase numbers, which happen to share the
MAJOR.MINOR.PATCHshape. A phase number is never a version, and the suite version never appears in a phase plan, log, or index. - MAJOR breaks a convention that existing
development/bundles depend on (front matter, numbering grammar, the record shape the templates define); MINOR adds backward-compatible capability; PATCH changes no convention. When a change is arguably MINOR or MAJOR, choose MAJOR. - The version lives in exactly four places, which must agree:
.claude-plugin/plugin.json,.claude-plugin/marketplace.json, everySKILL.mdfrontmatter, and the newest release heading inCHANGELOG.md.scripts/validate_repo.pyenforces this. - Record every notable change under
CHANGELOG.md'sUnreleasedheading as you make it, not at release time. - Tags are annotated, prefixed
v, and cut only from a commit reachable frommainafter the release PR merges. Never tag an unmerged branch tip.
Working conventions for editing these skills
- Each skill is a single
SKILL.mdwith YAML frontmatter (name,version,description). Thedescriptionis the trigger contract — it is how Claude decides to invoke the skill, so it must enumerate the situations and trigger phrases precisely. Theversionis the shared suite version, identical in every skill (see Versioning below). - Keep all skills in sync when you change shared conventions, and keep every skill consistent with the same phase-number grammar, capitalization (Major/Minor/Patch), chronological index ordering, response banners, and "phase cycle" terminology.
- Reference paths the skill establishes (
development/phase_log/, the templates) generically; don't tie examples to a specific domain, language, or test runner. - Duplication note: the canonical conventions live at root (
TERMINOLOGY.md,templates/). Each skill embeds the conventions it needs inline so it stays self-contained when dropped into a project alone;phase-project-init/assets/carries copies of the phase-log templates it installs. When you change a convention at root, update the embedded copies in the skills and assets to match.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

