autoplancommit ed10791 · v1.0.0SKILL.md · Task Breakdown
Autoplan Review Pipeline
Reads the CEO, design, DX and eng review skills from disk and runs them in sequence, auto-deciding intermediate questions with 6 decision principles.
Registers PreToolUse hooks, logs telemetry, and may send the plan to the Codex CLI for outside review.
npx skills add garrytan/gstack --skill autoplanCommand selected. Copy it manually.
- Permissions
- read-repo
- write-files
- shell
- network
- Compatible with
- Claude Code, Codex, Cursor, Copilot
- GitHub
- 138.5k
- Source
- Community · Garry Tan
- Status
- Scan passed
- License
- MIT
- Category
- Task Breakdown
- Repository
- github.com/garrytan/gstack/autoplan
Core rule
Auto-decide replaces the user's answer, not the analysis, and User Challenges that would change the user's stated direction are never auto-decided.
Execution Phases
Phase 01Intake and restore point
Back up the source plan, initialise the active plan, read CLAUDE.md, TODOS.md, git history and design docs, and detect UI and DX scope.
Phase 02Outside reviewer preflight
Check whether the Codex CLI is installed and authenticated; the Claude adversarial pass runs either way and coverage is recorded.
Phase 03Run reviews in order
Run CEO, then Design (if UI), then DX (if developer-facing), then Eng last, logging every auto-decision in the Decision Audit Trail.
Phase 04Final approval gate
Verify each phase's required outputs, then present a one-page brief of taste decisions and User Challenges for the user to approve, override, revise or reject.
Phase 05Write review logs
On approval, log each completed review for /ship's dashboard, show a phase coverage table and suggest /ship when ready.
Permissions (summarised from SKILL.md)
| Capability | Needed | Details |
|---|---|---|
| File writes | Limited | Writes the plan file, review artifacts under .gstack/tmp/autoplan/, and gstack log and telemetry directories. |
| Command execution | Required | allowed-tools includes Bash, used for git, gh/glab, bun, gstack helper scripts and the Codex CLI. |
| Network outbound | Required | allowed-tools includes WebSearch, and the Codex CLI may be called for outside review. |
SKILL.md frontmatter (YAML)
---
name: autoplan
preamble-tier: 3
version: 1.0.0
description: Auto-review pipeline — reads the full CEO, design, eng, and DX review skills from disk and runs them sequentially with auto-decisions using 6 decision principles. (gstack)
triggers:
- run all reviews
- automatic review pipeline
- auto plan review
allowed-tools:
- Bash
- Read
- Write
- Edit
- Glob
- Grep
- WebSearch
- AskUserQuestion
hooks:
PreToolUse:
- matcher: "Read"
hooks:
- type: command
command: "bash -c 'S=\"$HOME/.claude/skills/gstack/autoplan/bin/phase-publication-hook\"\nif [ -f \"$S\" ]; then exec bash \"$S\"; fi\nprintf '\\''%s\\n'\\'' '\\''{\"hookSpecificOutput\":{\"hookEventName\":\"PreToolUse\",\"permissionDecision\":\"deny\",\"permissionDecisionReason\":\"Autoplan publication guard is unavailable. Restore the installed autoplan/bin/phase-publication-hook before continuing this skill.\"}}'\\'''"
statusMessage: "Checking Autoplan phase publication..."
- matcher: "Agent"
hooks:
- type: command
command: "bash -c 'S=\"$HOME/.claude/skills/gstack/autoplan/bin/phase-publication-hook\"\nif [ -f \"$S\" ]; then exec bash \"$S\"; fi\nprintf '\\''%s\\n'\\'' '\\''{\"hookSpecificOutput\":{\"hookEventName\":\"PreToolUse\",\"permissionDecision\":\"deny\",\"permissionDecisionReason\":\"Autoplan publication guard is unavailable. Restore the installed autoplan/bin/phase-publication-hook before continuing this skill.\"}}'\\'''"
statusMessage: "Checking Autoplan phase publication..."
---