From 90b7a917aec1f75eb41f434d0d37ef6c80881c3d Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Wed, 18 Mar 2026 23:48:49 -0700 Subject: [PATCH] refactor: update template read patterns for new paths - qa + qa-only: read test plans from $PROJECTS_DIR/$SLUG/plans/ - design-consultation: read brainstorm from $PROJECTS_DIR/$SLUG/brainstorm/ Co-Authored-By: Claude Opus 4.6 (1M context) --- design-consultation/SKILL.md.tmpl | 2 +- qa-only/SKILL.md.tmpl | 4 ++-- qa/SKILL.md.tmpl | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/design-consultation/SKILL.md.tmpl b/design-consultation/SKILL.md.tmpl index 141a9190..5d3e229c 100644 --- a/design-consultation/SKILL.md.tmpl +++ b/design-consultation/SKILL.md.tmpl @@ -50,7 +50,7 @@ Look for brainstorm output: ```bash eval $(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null) -ls ~/.gstack/projects/$SLUG/*brainstorm* 2>/dev/null | head -5 +ls -t $PROJECTS_DIR/$SLUG/brainstorm/* 2>/dev/null | head -5 ls .context/*brainstorm* .context/attachments/*brainstorm* 2>/dev/null | head -5 ``` diff --git a/qa-only/SKILL.md.tmpl b/qa-only/SKILL.md.tmpl index 892e9479..262fe3f1 100644 --- a/qa-only/SKILL.md.tmpl +++ b/qa-only/SKILL.md.tmpl @@ -50,10 +50,10 @@ mkdir -p "$REPORT_DIR/screenshots" Before falling back to git diff heuristics, check for richer test plan sources: -1. **Project-scoped test plans:** Check `~/.gstack/projects/` for recent `*-test-plan-*.md` files for this repo +1. **Project-scoped test plans:** Check the project plans directory for recent test plans ```bash eval $(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null) - ls -t ~/.gstack/projects/$SLUG/*-test-plan-*.md 2>/dev/null | head -1 + ls -t $PROJECTS_DIR/$SLUG/plans/*-test-plan-*.md 2>/dev/null | head -1 ``` 2. **Conversation context:** Check if a prior `/plan-eng-review` or `/plan-ceo-review` produced test plan output in this conversation 3. **Use whichever source is richer.** Fall back to git diff analysis only if neither is available. diff --git a/qa/SKILL.md.tmpl b/qa/SKILL.md.tmpl index 51bdbc25..289192b9 100644 --- a/qa/SKILL.md.tmpl +++ b/qa/SKILL.md.tmpl @@ -75,10 +75,10 @@ mkdir -p .gstack/qa-reports/screenshots Before falling back to git diff heuristics, check for richer test plan sources: -1. **Project-scoped test plans:** Check `~/.gstack/projects/` for recent `*-test-plan-*.md` files for this repo +1. **Project-scoped test plans:** Check the project plans directory for recent test plans ```bash eval $(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null) - ls -t ~/.gstack/projects/$SLUG/*-test-plan-*.md 2>/dev/null | head -1 + ls -t $PROJECTS_DIR/$SLUG/plans/*-test-plan-*.md 2>/dev/null | head -1 ``` 2. **Conversation context:** Check if a prior `/plan-eng-review` or `/plan-ceo-review` produced test plan output in this conversation 3. **Use whichever source is richer.** Fall back to git diff analysis only if neither is available.