Comprehensive backlog grooming. Orchestrates issue-creator skills and agents. Creates prioritized GitHub issues across all domains. No flags. Always comprehensive.
Orchestrate comprehensive backlog grooming. Create prioritized issues across all domains.
Orchestrator pattern. /groom invokes skills, doesn't reimplement logic.
Unix philosophy. Small, focused skills that compose. Investigate β Fix.
No flags. Always runs full audit. Always creates issues.
π΄ P0: CRITICAL PRODUCTION BUGS
ββ Errors actively breaking production
ββ Critical security vulnerabilities
π P1: FUNDAMENTALS (Foundation)
ββ Testing (coverage, quality gates)
ββ Documentation (README, architecture)
ββ Quality gates (hooks, CI/CD)
ββ Observability (logging, error tracking)
ββ Product standards (version, attribution, contact)
ββ Working prototype (not stubs)
π‘ P2: LAUNCH READINESS
ββ Compelling landing page
ββ Boutique onboarding
ββ Stripe monetization
ββ Viral growth infrastructure
ββ Marketing readiness (demo video, brand profile, analytics, distribution prep)
**Marketing Readiness checks:**
- Demo video exists (30-60s screen recording)
- brand-profile.yaml configured
- PostHog events defined (signup, activation, [core_action])
- Distribution drafts prepared (Twitter, Reddit, HN)
π’ P3+: EVERYTHING ELSE
ββ Innovation, polish, strategic improvements
β οΈ SECURITY: Own severity scale
Critical β P0, High β P1, Medium β P2, Low β P3
Vision should persist across sessions. Check for vision.md in project root:
[ -f "vision.md" ] && echo "Vision found" || echo "No vision.md"
If vision.md exists:
If vision.md doesn't exist:
What's your vision for this product? Where should it go?
vision.mdvision.md format:
# Vision
## One-Liner
[Single sentence: what this product is and who it's for]
## North Star
[The dream state - what does success look like in 2 years?]
## Key Differentiators
[What makes this different from alternatives?]
## Target User
[Who specifically is this for? Be concrete.]
## Current Focus
[What's the immediate priority this quarter?]
---
*Last updated: YYYY-MM-DD*
*Updated during: /groom session*
Store content as {vision} for agent context throughout session.
Why persist vision?
Before structured analysis, ask:
Anything on your mind? Bugs you've noticed, UX friction, missing features,
nitpicks while using the app? These become issues alongside the automated findings.
(Skip if nothing comes to mind)
What this captures:
For each item provided:
source: user-observation tagWhy this step matters:
Format for user-submitted issues:
## Title
[P{0-3}] {user's description, cleaned up}
## Labels
- priority/p{n}
- domain/{best-fit}
- source/user-observation
## Body
### Problem
{user's observation}
### Context
Reported during /groom session
---
Created by `/groom` (user observation)
Critical: Existing issues are not sacred. They may be stale, irrelevant, misprioritized, or duplicative. Every issue must be validated.
gh issue list --state open --limit 100 --json number,title,labels,body,createdAt,updatedAt
For each existing issue, evaluate:
Still relevant? Does this issue still matter given current vision and codebase state?
Priority correct? Given current vision.md focus, is the priority right?
Description accurate? Does the issue still describe the actual problem?
Duplicate? Is this covered by another issue or will be covered by new findings?
Actionable? Can someone pick this up and know what to do?
Actions to take:
# Close irrelevant issue
gh issue close 123 --comment "Closing: no longer relevant. [reason]"
# Update priority
gh issue edit 123 --remove-label "priority/p1" --add-label "priority/p3"
# Update description
gh issue edit 123 --body "Updated description..."
# Close as duplicate
gh issue close 123 --comment "Duplicate of #456"
Output from this step:
This prevents backlog bloat and ensures the backlog reflects current reality.
Invoke in sequence (each creates GitHub issues):
| Skill | Domain | Priority Range |
|---|---|---|
/log-production-issues |
Production health | P0-P3 |
/log-quality-issues |
Tests, CI/CD, hooks | P0-P3 |
/log-doc-issues |
Documentation | P0-P3 |
/log-observability-issues |
Monitoring, logging | P0-P3 |
/log-product-standards-issues |
Version, attribution, contact | P1 |
/log-stripe-issues |
Stripe payments | P0-P3 |
/log-bitcoin-issues |
Bitcoin on-chain | P0-P3 |
/log-lightning-issues |
Lightning Network | P0-P3 |
/log-virality-issues |
Sharing, referrals | P0-P3 |
/log-landing-issues |
Landing page | P0-P3 |
/log-onboarding-issues |
New user experience | P0-P3 |
Why invoke skills, not reimplement?
After issue creation, count by priority:
p0_count=$(gh issue list --label priority/p0 --state open --json number | jq length)
p1_count=$(gh issue list --label priority/p1 --state open --json number | jq length)
total=$((p0_count + p1_count))
Heavy backlog (P0+P1 > 15): Run only core agents:
security-sentinel β Security vulnerabilitiesarchitecture-guardian β Structural issuesMedium backlog (P0+P1 = 5-15): Add creative agents:
aesthetician β Visual excellencepioneer β Innovation opportunitiesvisionary β Vision acceleration (receives {vision})Light backlog (P0+P1 < 5): Full suite:
product-visionary β Feature opportunitiesuser-experience-advocate β UX improvementsEach agent receives {vision} context and creates additional issues.
Three sources of duplicates:
Find duplicates:
# Find potential duplicates (similar titles)
gh issue list --state open --json number,title,labels | jq '.[] | .title' | sort | uniq -d
# Review issues flagged for consolidation in Step 3
# These were marked as "consolidate with new findings"
For each duplicate set:
gh issue close 123 --comment "Consolidated into #456"For issues to consolidate from Step 3:
Final pass:
Output final report:
GROOM SUMMARY
=============
Issues by Priority:
- P0 (Critical): 2
- P1 (Essential): 8
- P2 (Important): 12
- P3 (Nice to Have): 5
Issues by Domain:
- Production: 2
- Quality: 3
- Docs: 2
- Observability: 3
- Stripe: 2
- Virality: 4
- Landing: 3
- Onboarding: 3
- Security: 2 (from agents)
- Other: 3 (from agents)
Recommended Focus Order:
1. [P0] Fix production payment failures
2. [P0] Patch security vulnerability
3. [P1] Add test coverage
4. [P1] Configure Sentry
...
View all: gh issue list --state open
View P0: gh issue list --label priority/p0
Audit for security vulnerabilities: OWASP top 10, auth gaps,
data exposure, injection points, secrets management.
Include file:line. Output: prioritized security issues as GitHub issues.
Audit system design: coupling, cohesion, module depth,
abstraction quality, dependency direction.
Include file:line. Output: prioritized architecture issues as GitHub issues.
Audit visual design: distinctiveness, craft, trends, typography,
color sophistication, motion quality.
Focus: "Does this make people gasp?"
Output: prioritized design issues as GitHub issues.
Explore innovation opportunities: AI/LLM integration, Gordian knot
solutions, emerging tech, pattern modernization.
Output: prioritized R&D opportunities as GitHub issues.
Read vision.md for the user's product vision.
Accelerate this vision. Find gaps, blockers, accelerators.
100% aligned with stated goals.
Output: prioritized vision-alignment actions as GitHub issues.
All issues created by /groom (via skills or agents):
## Title
[P{0-3}] Clear, actionable description
## Labels
- priority/p0|p1|p2|p3
- domain/production|quality|docs|observability|product-standards|stripe|bitcoin|lightning|payments|virality|landing|onboarding|security|architecture|design|innovation
- type/bug|enhancement|chore
## Body
### Problem
What's wrong or missing
### Impact
Why this matters (user impact, risk, blocked work)
### Suggested Fix
Concrete next steps or skill to run
### Source
Which skill or agent identified this
---
Created by `/groom`
After running /groom:
User can:
label:priority/p0label:domain/stripe/fix-* skills to address issues/check-production, /check-docs, /check-quality, /check-observability/check-product-standards (version, attribution, contact)/check-stripe, /check-bitcoin, /check-lightning, /check-btcpay, /check-payments/check-virality, /check-landing, /check-onboarding/log-production-issues, /log-doc-issues, /log-quality-issues/log-observability-issues, /log-product-standards-issues/log-stripe-issues, /log-bitcoin-issues, /log-lightning-issues/log-virality-issues, /log-landing-issues, /log-onboarding-issues/triage, /fix-docs, /fix-quality, /fix-observability/fix-stripe, /fix-bitcoin, /fix-lightning/fix-virality, /fix-landing, /fix-onboardingDon't want full groom? Run specific skills:
/check-production # Audit only, no issues
/log-production-issues # Create issues, no fixes
/triage # Fix highest priority
/check-stripe # Audit only
/log-stripe-issues # Create issues
/fix-stripe # Fix highest priority