mirror of
https://github.com/garrytan/gstack.git
synced 2026-08-11 16:50:20 +02:00
feat: Review Readiness Dashboard + gstack-slug helper (v0.5.1) (#130)
* feat: add bin/gstack-slug helper + migrate all inline SLUG computation
Extract the opaque SLUG sed pipeline into a shared 5-line shell script.
Replace 8 inline copies across templates with eval $(gstack-slug).
Sanitizes branch names (/ → -) to prevent subdirectory creation.
* feat: review readiness dashboard — track CEO/Eng/Design reviews per branch
Each review skill logs its result to JSONL. A shared {{REVIEW_DASHBOARD}}
placeholder displays run counts, timestamps, and a CLEARED TO SHIP verdict.
/ship pre-flight reads the dashboard and prompts when reviews are missing.
* chore: bump version and changelog (v0.5.1)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
5f41cd9ad7
commit
73b00b4e29
@@ -145,3 +145,21 @@ Project type: {web app / dashboard / marketing site / etc.}
|
||||
|
||||
11. **Never fix anything.** Find and document only. Do not read source code, edit files, or suggest code fixes. Your job is to report what could be better and suggest design improvements. Use `/qa-design-review` for the fix loop.
|
||||
12. **The exception:** You MAY write a DESIGN.md file if the user accepts the offer. This is the only file you create.
|
||||
|
||||
## Review Log
|
||||
|
||||
After compiling the report, persist the review result:
|
||||
|
||||
```bash
|
||||
eval $(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)
|
||||
mkdir -p ~/.gstack/projects/$SLUG
|
||||
echo '{"skill":"plan-design-review","timestamp":"TIMESTAMP","status":"STATUS","design_score":"GRADE","ai_slop_score":"GRADE","mode":"MODE"}' >> ~/.gstack/projects/$SLUG/$BRANCH-reviews.jsonl
|
||||
```
|
||||
|
||||
Substitute values from the report:
|
||||
- **TIMESTAMP**: current ISO 8601 datetime
|
||||
- **STATUS**: "clean" if Design Score is A or B; "issues_open" if C, D, or F
|
||||
- **GRADE**: the letter grade from the report (Design Score and AI Slop Score respectively)
|
||||
- **MODE**: Full / Quick / Deep / Diff-aware / Regression
|
||||
|
||||
{{REVIEW_DASHBOARD}}
|
||||
|
||||
Reference in New Issue
Block a user