Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions bin/gstack-check-duplicates
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash

echo "=== Recent Open Pull Requests ==="
if command -v gh >/dev/null 2>&1; then
gh pr list --state open --limit 10 || echo "(Failed to fetch PRs. Are you logged in with 'gh auth login'?)"
else
echo "(GitHub CLI 'gh' not installed. Skipping PR check.)"
fi

echo ""
echo "=== Recent Open Issues ==="
if command -v gh >/dev/null 2>&1; then
gh issue list --state open --limit 10 || echo "(Failed to fetch Issues. Are you logged in with 'gh auth login'?)"
else
echo "(GitHub CLI 'gh' not installed. Skipping Issue check.)"
fi
3 changes: 2 additions & 1 deletion plan-ceo-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,12 @@ Never skip Step 0, the system audit, the error/rescue map, or the failure modes
## PRE-REVIEW SYSTEM AUDIT (before Step 0)
Before doing anything else, run a system audit. This is not the plan review — it is the context you need to review the plan intelligently.
Run the following commands:
```
```bash
git log --oneline -30 # Recent history
git diff main --stat # What's already changed
git stash list # Any stashed work
grep -r "TODO\|FIXME\|HACK\|XXX" --include="*.rb" --include="*.js" -l
~/.claude/skills/gstack/bin/gstack-check-duplicates # Check for existing PRs and Issues
find . -name "*.rb" -newer Gemfile.lock | head -20 # Recently touched files
```
Then read CLAUDE.md, TODOS.md, and any existing architecture docs. Map:
Expand Down
7 changes: 7 additions & 0 deletions plan-eng-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ If you are running low on context or the user asks you to compress: Step 0 > Tes

## BEFORE YOU START:

### PRE-REVIEW SYSTEM AUDIT (before Step 0)
Run this command to check for existing Pull Requests and Issues:
```bash
~/.claude/skills/gstack/bin/gstack-check-duplicates
```
Check the output to ensure this plan does not duplicate work that is already being handled elsewhere.

### Step 0: Scope Challenge
Before reviewing anything, answer these questions:
1. **What existing code already partially or fully solves each sub-problem?** Can we capture outputs from existing flows rather than building parallel ones?
Expand Down