mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-07 05:56:41 +02:00
feat: plan files always show review status via preamble footer
Add Plan Status Footer to generateCompletionStatus() in the preamble. When in plan mode before ExitPlanMode, Claude writes a GSTACK REVIEW REPORT section to the plan file — either populated from review logs or a "NO REVIEWS YET" placeholder. Skips if a review skill already wrote a richer report.
This commit is contained in:
@@ -252,6 +252,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## Step 0: Detect base branch
|
## Step 0: Detect base branch
|
||||||
|
|
||||||
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
||||||
|
|||||||
@@ -249,6 +249,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## SETUP (run this check BEFORE any browse command)
|
## SETUP (run this check BEFORE any browse command)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -250,6 +250,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
# browse: QA Testing & Dogfooding
|
# browse: QA Testing & Dogfooding
|
||||||
|
|
||||||
Persistent headless Chromium. First call auto-starts (~3s), then ~100ms per command.
|
Persistent headless Chromium. First call auto-starts (~3s), then ~100ms per command.
|
||||||
|
|||||||
@@ -249,6 +249,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## SETUP (run this check BEFORE any browse command)
|
## SETUP (run this check BEFORE any browse command)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -248,6 +248,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
# /cso — Chief Security Officer Audit
|
# /cso — Chief Security Officer Audit
|
||||||
|
|
||||||
You are a **Chief Security Officer** who has led incident response on real breaches and testified before boards about security posture. You think like an attacker but report like a defender. You don't do security theater — you find the doors that are actually unlocked.
|
You are a **Chief Security Officer** who has led incident response on real breaches and testified before boards about security posture. You think like an attacker but report like a defender. You don't do security theater — you find the doors that are actually unlocked.
|
||||||
|
|||||||
@@ -251,6 +251,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
# /design-consultation: Your Design System, Built Together
|
# /design-consultation: Your Design System, Built Together
|
||||||
|
|
||||||
You are a senior product designer with strong opinions about typography, color, and visual systems. You don't present menus — you listen, think, research, and propose. You're opinionated but not dogmatic. You explain your reasoning and welcome pushback.
|
You are a senior product designer with strong opinions about typography, color, and visual systems. You don't present menus — you listen, think, research, and propose. You're opinionated but not dogmatic. You explain your reasoning and welcome pushback.
|
||||||
|
|||||||
@@ -251,6 +251,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
# /design-review: Design Audit → Fix → Verify
|
# /design-review: Design Audit → Fix → Verify
|
||||||
|
|
||||||
You are a senior product designer AND a frontend engineer. Review live sites with exacting visual standards — then fix what you find. You have strong opinions about typography, spacing, and visual hierarchy, and zero tolerance for generic or AI-generated-looking interfaces.
|
You are a senior product designer AND a frontend engineer. Review live sites with exacting visual standards — then fix what you find. You have strong opinions about typography, spacing, and visual hierarchy, and zero tolerance for generic or AI-generated-looking interfaces.
|
||||||
|
|||||||
@@ -249,6 +249,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## Step 0: Detect base branch
|
## Step 0: Detect base branch
|
||||||
|
|
||||||
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
||||||
|
|||||||
@@ -252,6 +252,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
# Systematic Debugging
|
# Systematic Debugging
|
||||||
|
|
||||||
## Iron Law
|
## Iron Law
|
||||||
|
|||||||
@@ -248,6 +248,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## SETUP (run this check BEFORE any browse command)
|
## SETUP (run this check BEFORE any browse command)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -253,6 +253,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## SETUP (run this check BEFORE any browse command)
|
## SETUP (run this check BEFORE any browse command)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -252,6 +252,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## Step 0: Detect base branch
|
## Step 0: Detect base branch
|
||||||
|
|
||||||
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
||||||
|
|||||||
@@ -251,6 +251,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## Step 0: Detect base branch
|
## Step 0: Detect base branch
|
||||||
|
|
||||||
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
||||||
|
|||||||
@@ -250,6 +250,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
# Plan Review Mode
|
# Plan Review Mode
|
||||||
|
|
||||||
Review this plan thoroughly before making any code changes. For every issue or recommendation, explain the concrete tradeoffs, give me an opinionated recommendation, and ask for my input before assuming a direction.
|
Review this plan thoroughly before making any code changes. For every issue or recommendation, explain the concrete tradeoffs, give me an opinionated recommendation, and ask for my input before assuming a direction.
|
||||||
|
|||||||
@@ -249,6 +249,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
# /qa-only: Report-Only QA Testing
|
# /qa-only: Report-Only QA Testing
|
||||||
|
|
||||||
You are a QA engineer. Test web applications like a real user — click everything, fill every form, check every state. Produce a structured report with evidence. **NEVER fix anything.**
|
You are a QA engineer. Test web applications like a real user — click everything, fill every form, check every state. Produce a structured report with evidence. **NEVER fix anything.**
|
||||||
|
|||||||
@@ -252,6 +252,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## Step 0: Detect base branch
|
## Step 0: Detect base branch
|
||||||
|
|
||||||
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
||||||
|
|||||||
@@ -249,6 +249,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## Detect default branch
|
## Detect default branch
|
||||||
|
|
||||||
Before gathering data, detect the repo's default branch name:
|
Before gathering data, detect the repo's default branch name:
|
||||||
|
|||||||
@@ -248,6 +248,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## Step 0: Detect base branch
|
## Step 0: Detect base branch
|
||||||
|
|
||||||
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
||||||
|
|||||||
@@ -248,6 +248,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
# Setup Browser Cookies
|
# Setup Browser Cookies
|
||||||
|
|
||||||
Import logged-in sessions from your real Chromium browser into the headless browse session.
|
Import logged-in sessions from your real Chromium browser into the headless browse session.
|
||||||
|
|||||||
@@ -250,6 +250,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
# /setup-deploy — Configure Deployment for gstack
|
# /setup-deploy — Configure Deployment for gstack
|
||||||
|
|
||||||
You are helping the user configure their deployment so `/land-and-deploy` works
|
You are helping the user configure their deployment so `/land-and-deploy` works
|
||||||
|
|||||||
@@ -246,6 +246,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## Step 0: Detect base branch
|
## Step 0: Detect base branch
|
||||||
|
|
||||||
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
||||||
|
|||||||
@@ -282,6 +282,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.codex/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
If `PROACTIVE` is `false`: do NOT proactively suggest other gstack skills during this session.
|
If `PROACTIVE` is `false`: do NOT proactively suggest other gstack skills during this session.
|
||||||
Only run skills the user explicitly invokes. This preference persists across sessions via
|
Only run skills the user explicitly invokes. This preference persists across sessions via
|
||||||
`gstack-config`.
|
`gstack-config`.
|
||||||
|
|||||||
@@ -288,6 +288,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
If `PROACTIVE` is `false`: do NOT proactively suggest other gstack skills during this session.
|
If `PROACTIVE` is `false`: do NOT proactively suggest other gstack skills during this session.
|
||||||
Only run skills the user explicitly invokes. This preference persists across sessions via
|
Only run skills the user explicitly invokes. This preference persists across sessions via
|
||||||
`gstack-config`.
|
`gstack-config`.
|
||||||
|
|||||||
@@ -263,6 +263,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## Step 0: Detect base branch
|
## Step 0: Detect base branch
|
||||||
|
|
||||||
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
||||||
|
|||||||
@@ -256,6 +256,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## SETUP (run this check BEFORE any browse command)
|
## SETUP (run this check BEFORE any browse command)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -256,6 +256,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
# browse: QA Testing & Dogfooding
|
# browse: QA Testing & Dogfooding
|
||||||
|
|
||||||
Persistent headless Chromium. First call auto-starts (~3s), then ~100ms per command.
|
Persistent headless Chromium. First call auto-starts (~3s), then ~100ms per command.
|
||||||
|
|||||||
@@ -256,6 +256,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## SETUP (run this check BEFORE any browse command)
|
## SETUP (run this check BEFORE any browse command)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -257,6 +257,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## Step 0: Detect base branch
|
## Step 0: Detect base branch
|
||||||
|
|
||||||
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
||||||
|
|||||||
@@ -256,6 +256,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
# /cso — Chief Security Officer Audit
|
# /cso — Chief Security Officer Audit
|
||||||
|
|
||||||
You are a **Chief Security Officer** who has led incident response on real breaches and testified before boards about security posture. You think like an attacker but report like a defender. You don't do security theater — you find the doors that are actually unlocked.
|
You are a **Chief Security Officer** who has led incident response on real breaches and testified before boards about security posture. You think like an attacker but report like a defender. You don't do security theater — you find the doors that are actually unlocked.
|
||||||
|
|||||||
@@ -261,6 +261,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
# /design-consultation: Your Design System, Built Together
|
# /design-consultation: Your Design System, Built Together
|
||||||
|
|
||||||
You are a senior product designer with strong opinions about typography, color, and visual systems. You don't present menus — you listen, think, research, and propose. You're opinionated but not dogmatic. You explain your reasoning and welcome pushback.
|
You are a senior product designer with strong opinions about typography, color, and visual systems. You don't present menus — you listen, think, research, and propose. You're opinionated but not dogmatic. You explain your reasoning and welcome pushback.
|
||||||
|
|||||||
@@ -261,6 +261,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
# /design-review: Design Audit → Fix → Verify
|
# /design-review: Design Audit → Fix → Verify
|
||||||
|
|
||||||
You are a senior product designer AND a frontend engineer. Review live sites with exacting visual standards — then fix what you find. You have strong opinions about typography, spacing, and visual hierarchy, and zero tolerance for generic or AI-generated-looking interfaces.
|
You are a senior product designer AND a frontend engineer. Review live sites with exacting visual standards — then fix what you find. You have strong opinions about typography, spacing, and visual hierarchy, and zero tolerance for generic or AI-generated-looking interfaces.
|
||||||
|
|||||||
@@ -258,6 +258,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## Step 0: Detect base branch
|
## Step 0: Detect base branch
|
||||||
|
|
||||||
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
||||||
|
|||||||
@@ -272,6 +272,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
# Systematic Debugging
|
# Systematic Debugging
|
||||||
|
|
||||||
## Iron Law
|
## Iron Law
|
||||||
|
|||||||
@@ -255,6 +255,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## SETUP (run this check BEFORE any browse command)
|
## SETUP (run this check BEFORE any browse command)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -263,6 +263,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## SETUP (run this check BEFORE any browse command)
|
## SETUP (run this check BEFORE any browse command)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -261,6 +261,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## Step 0: Detect base branch
|
## Step 0: Detect base branch
|
||||||
|
|
||||||
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
||||||
|
|||||||
@@ -259,6 +259,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## Step 0: Detect base branch
|
## Step 0: Detect base branch
|
||||||
|
|
||||||
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
||||||
|
|||||||
@@ -260,6 +260,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
# Plan Review Mode
|
# Plan Review Mode
|
||||||
|
|
||||||
Review this plan thoroughly before making any code changes. For every issue or recommendation, explain the concrete tradeoffs, give me an opinionated recommendation, and ask for my input before assuming a direction.
|
Review this plan thoroughly before making any code changes. For every issue or recommendation, explain the concrete tradeoffs, give me an opinionated recommendation, and ask for my input before assuming a direction.
|
||||||
|
|||||||
@@ -256,6 +256,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
# /qa-only: Report-Only QA Testing
|
# /qa-only: Report-Only QA Testing
|
||||||
|
|
||||||
You are a QA engineer. Test web applications like a real user — click everything, fill every form, check every state. Produce a structured report with evidence. **NEVER fix anything.**
|
You are a QA engineer. Test web applications like a real user — click everything, fill every form, check every state. Produce a structured report with evidence. **NEVER fix anything.**
|
||||||
|
|||||||
+36
@@ -262,6 +262,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## Step 0: Detect base branch
|
## Step 0: Detect base branch
|
||||||
|
|
||||||
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
||||||
|
|||||||
@@ -256,6 +256,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## Detect default branch
|
## Detect default branch
|
||||||
|
|
||||||
Before gathering data, detect the repo's default branch name:
|
Before gathering data, detect the repo's default branch name:
|
||||||
|
|||||||
@@ -259,6 +259,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## Step 0: Detect base branch
|
## Step 0: Detect base branch
|
||||||
|
|
||||||
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
||||||
|
|||||||
@@ -491,7 +491,43 @@ rm -f ~/.gstack/analytics/.pending-"$_SESSION_ID" 2>/dev/null || true
|
|||||||
Replace \`SKILL_NAME\` with the actual skill name from frontmatter, \`OUTCOME\` with
|
Replace \`SKILL_NAME\` with the actual skill name from frontmatter, \`OUTCOME\` with
|
||||||
success/error/abort, and \`USED_BROWSE\` with true/false based on whether \`$B\` was used.
|
success/error/abort, and \`USED_BROWSE\` with true/false based on whether \`$B\` was used.
|
||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.`;
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a \`## GSTACK REVIEW REPORT\` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\\\`\\\`\\\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\\\`\\\`\\\`
|
||||||
|
|
||||||
|
Then write a \`## GSTACK REVIEW REPORT\` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before \`---CONFIG---\`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is \`NO_REVIEWS\` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\\\`\\\`\\\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \\\`/plan-ceo-review\\\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \\\`/codex review\\\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \\\`/plan-eng-review\\\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \\\`/plan-design-review\\\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \\\`/autoplan\\\` for full review pipeline, or individual reviews above.
|
||||||
|
\\\`\\\`\\\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.`;
|
||||||
}
|
}
|
||||||
|
|
||||||
function generatePreamble(ctx: TemplateContext): string {
|
function generatePreamble(ctx: TemplateContext): string {
|
||||||
|
|||||||
@@ -253,6 +253,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
# Setup Browser Cookies
|
# Setup Browser Cookies
|
||||||
|
|
||||||
Import logged-in sessions from your real Chromium browser into the headless browse session.
|
Import logged-in sessions from your real Chromium browser into the headless browse session.
|
||||||
|
|||||||
@@ -259,6 +259,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
# /setup-deploy — Configure Deployment for gstack
|
# /setup-deploy — Configure Deployment for gstack
|
||||||
|
|
||||||
You are helping the user configure their deployment so `/land-and-deploy` works
|
You are helping the user configure their deployment so `/land-and-deploy` works
|
||||||
|
|||||||
@@ -257,6 +257,42 @@ success/error/abort, and `USED_BROWSE` with true/false based on whether `$B` was
|
|||||||
If you cannot determine the outcome, use "unknown". This runs in the background and
|
If you cannot determine the outcome, use "unknown". This runs in the background and
|
||||||
never blocks the user.
|
never blocks the user.
|
||||||
|
|
||||||
|
## Plan Status Footer
|
||||||
|
|
||||||
|
When you are in plan mode and about to call ExitPlanMode:
|
||||||
|
|
||||||
|
1. Check if the plan file already has a `## GSTACK REVIEW REPORT` section.
|
||||||
|
2. If it DOES — skip (a review skill already wrote a richer report).
|
||||||
|
3. If it does NOT — run this command:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
~/.claude/skills/gstack/bin/gstack-review-read
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
||||||
|
|
||||||
|
- If the output contains review entries (JSONL lines before `---CONFIG---`): format the
|
||||||
|
standard report table with runs/status/findings per skill, same format as the review
|
||||||
|
skills use.
|
||||||
|
- If the output is `NO_REVIEWS` or empty: write this placeholder table:
|
||||||
|
|
||||||
|
\`\`\`markdown
|
||||||
|
## GSTACK REVIEW REPORT
|
||||||
|
|
||||||
|
| Review | Trigger | Why | Runs | Status | Findings |
|
||||||
|
|--------|---------|-----|------|--------|----------|
|
||||||
|
| CEO Review | \`/plan-ceo-review\` | Scope & strategy | 0 | — | — |
|
||||||
|
| Codex Review | \`/codex review\` | Independent 2nd opinion | 0 | — | — |
|
||||||
|
| Eng Review | \`/plan-eng-review\` | Architecture & tests (required) | 0 | — | — |
|
||||||
|
| Design Review | \`/plan-design-review\` | UI/UX gaps | 0 | — | — |
|
||||||
|
|
||||||
|
**VERDICT:** NO REVIEWS YET — run \`/autoplan\` for full review pipeline, or individual reviews above.
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
**PLAN MODE EXCEPTION — ALWAYS RUN:** This writes to the plan file, which is the one
|
||||||
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
|
plan's living status.
|
||||||
|
|
||||||
## Step 0: Detect base branch
|
## Step 0: Detect base branch
|
||||||
|
|
||||||
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
Determine which branch this PR targets. Use the result as "the base branch" in all subsequent steps.
|
||||||
|
|||||||
@@ -584,6 +584,20 @@ describe('PLAN_FILE_REVIEW_REPORT resolver', () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// --- Plan status footer in preamble ---
|
||||||
|
|
||||||
|
describe('Plan status footer in preamble', () => {
|
||||||
|
test('preamble contains plan status footer', () => {
|
||||||
|
// Read any skill that uses PREAMBLE
|
||||||
|
const content = fs.readFileSync(path.join(ROOT, 'office-hours', 'SKILL.md'), 'utf-8');
|
||||||
|
expect(content).toContain('Plan Status Footer');
|
||||||
|
expect(content).toContain('GSTACK REVIEW REPORT');
|
||||||
|
expect(content).toContain('gstack-review-read');
|
||||||
|
expect(content).toContain('ExitPlanMode');
|
||||||
|
expect(content).toContain('NO REVIEWS YET');
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
// --- {{SPEC_REVIEW_LOOP}} resolver tests ---
|
// --- {{SPEC_REVIEW_LOOP}} resolver tests ---
|
||||||
|
|
||||||
describe('SPEC_REVIEW_LOOP resolver', () => {
|
describe('SPEC_REVIEW_LOOP resolver', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user