execute-phase-gated-task
Skill34 starsChanged 9 days agoMITView on GitHub
Execute a complex, multi-phase project from a detailed specification with checkpoint validation, strategic commit boundaries, and status tracking. Use when a task requires sequential batches with acceptance criteria (build/lint/visual gates), specifications cite exact file paths, and work spans multiple phases that must not be mixed in commits.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Hive-Academy/ptah-extensionword for word, first seen Nov 3, 2026
Other versions1 project uses a version of this.
Word for word · 1
- Hive-Academy/ptah-extension★ 34100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository23 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- agent-lanesSkill
- angular-3d-scene-crafterSkill
- angular-frontend-patternsSkill
- angular-gsap-animation-crafterSkill
- ddd-architectureSkill
- frontend-designSkill
- humanize-librarySkill
- nestjs-backend-patternsSkill
- nestjs-deploymentSkill
- nx-workspace-architectSkill
- orchestrationSkill
- ptah-surface-authoringSkill
- resilient-nestjs-patternsSkill
- saas-platform-patternsSkill
- saas-workspace-initializerSkill
- session-handoffSkill
- skill-creatorSkill
- technical-content-writerSkill
- tribunalSkill
- ui-ux-designerSkill
- webhook-architectureSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
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
- Distinctive: line 10
Verify current state matches specification baseline: Check git branch name, HEAD commit, and git status --short.
- Distinctive: line 16
Implement the batch in the specified order: Create new files and edit existing files exactly as the plan prescribes.
- Very specific: line 20
Identify unrelated changes: Run git status --short and git diff --stat to list modified files.
- Distinctive: line 28
Specification is authoritative: Every field name, type signature, file path, and constraint in the plan is exact.
- Distinctive: line 30
Batch boundaries respect dependency graph: Do not reorder or combine batches unless the plan allows.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
Steps
- Read the implementation plan and the batch you are executing. Locate and read: implementation plan (phase breakdown, file manifest, constraints) and the current batch's entry. Open context/decisions, task description and reference docs (design specs, content, examples) only when the batch cites them. Note the phase/batch order and any dependency graph.
- Verify current state matches specification baseline. Check git branch name, HEAD commit, and
git status --short. Confirm you're on the intended branch and worktree is clean or only contains the expected in-flight changes. If unrelated files are staged/modified, note them for exclusion from later commits. - Understand the batch structure. From the plan, identify: (a) phase/batch ID and scope, (b) exact file paths and changes (new files to create, existing files to edit, line-specific changes), (c) acceptance criteria (build gate, lint, grep verification, visual inspection, test results), (d) status (PENDING/IMPLEMENTED/COMPLETE), (e) recommended executor if delegating.
- Survey the source files mentioned in the batch before writing. Use absolute paths. Start with
ptah_ast_analyze/ptah_context_enrich_filefor structure and signatures; read a file in full only when you will edit it. For files you'll edit, scan for style (naming, error handling, comment density, async patterns) to match surrounding code. For reference files (specs, existing sections), extract the actual patterns and selectors from a targeted read, not the whole file. - Implement the batch in the specified order. Create new files and edit existing files exactly as the plan prescribes. Make additive changes only — extend signatures with optional params, add new fields to types, create new methods. Do not refactor unrelated code.
- Validate after the batch. Run all verification commands the plan specifies (e.g.,
npx nx build <app>,npx nx lint <app>, grep checks for guard patterns, visual inspection of rendered output or video frames), scoped with-pto the projects the batch changed — never workspace-wide — with the output tailed or filtered to the summary and failures. Document the results from that one run; do not re-run a suite just to re-read its output. If validation fails, diagnose and fix before proceeding. - Identify unrelated changes. Run
git status --shortandgit diff --statto list modified files. Filter to ONLY the batch-intended files (use explicit paths, never-Aor.). If unrelated files appear, note them for stashing or separate commits. - Commit by logical grouping. Stage ONLY the batch files:
git add <file1> <file2> .... Usegit statusafter staging to verify nothing unexpected is included. Write a conventional commit message (e.g.,feat(module): description) referencing what was implemented (not which files). Do NOT use--no-verifyto bypass hooks; diagnose and fix instead. - Update status tracking. In the task-tracking file (e.g.,
tasks.md), mark the batch status PENDING → IMPLEMENTED → COMPLETE. Assign the next batch per the dependency graph and note its executor and scope.
Gotchas
- Specification is authoritative: Every field name, type signature, file path, and constraint in the plan is exact. Do not simplify, refactor, or re-architect. Adapt to real code drift only, and document the adaptation.
- Unrelated working-tree pollution: A dirty worktree with files from other tasks is a trap for accidental inclusion. Always inspect
git statusbefore staging and use explicit file paths, never-A. - Batch boundaries respect dependency graph: Do not reorder or combine batches unless the plan allows. A logically "later" task may be gated on an earlier batch; respect that ordering.
- Validation gates are hard: Build/lint/test failures block progression. Do not skip; diagnose and fix the root cause, then re-run — the same scoped
-pcommand with tailed output, once per fix, not to re-read output you already have. - Visual verification is mandatory for rendering/UI changes: Linting and typecheck prove syntax, not correctness. Extract frames, screenshots, or build artifacts to verify the fix is visually present.
- Commit per batch, not per file: Group all related files in one batch into one commit. Do not split a batch into multiple commits unless the plan explicitly says so.
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.

