Loading...
Loading...
The drum sounds. Bloodhound, Elephant, Turtle, Beaver, Raccoon, Deer, Fox, and Owl gather for complete feature development. Use when building a full feature from exploration to documentation — secure by design.
npx skill4agent add autumnsgrove/groveengine gathering-featuregwgf# Orientation — start every gathering here
gw context
# Exploration phase (Bloodhound)
gf --agent search "pattern" # Find relevant code
gf --agent func "functionName" # Find function definitions
gf --agent usage "ComponentName" # Find where things are used
gf --agent impact "module" # Understand change blast radius
# Testing phase (Beaver)
gw ci --affected --diagnose # Run CI on affected packages
# Shipping phase (after all animals complete)
gw git pr-prep # Preflight check before PR
gw git ship --write -a -m "feat: description" # Commit + pushSUMMON → ORGANIZE → EXECUTE → VALIDATE → COMPLETE
↓ ↲ ↲ ↲ ↓
Receive Dispatch Animals Verify Feature
Request Animals Work All Ready"I'll mobilize a gathering for: [feature description]This will involve:
- 🐕 Bloodhound scouting the codebase
- 🐘 Elephant building across [estimated files] files
- 🐢 Turtle hardening security by design
- 🦫 Beaver writing tests
- 🦝 Raccoon auditing for secrets and cleanup
- 🦌 Deer checking accessibility
- 🦊 Fox optimizing performance
- 🦉 Owl writing documentation
Proceed with the gathering?"
Bloodhound ──→ Elephant ──→ Turtle ──→ Beaver ──→ Raccoon ──→ Deer ──→ Fox ──→ Owl
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
Scout Build Harden Test Secrets a11y Speed Docs
Patterns Feature Security Coverage Cleanup Check Opt Write@autumnsgrove/groveengine/errorserror_codethrow error()console.errorlogGroveError()toast@autumnsgrove/groveengine/uiAgentUsage/error_handling.md"Scouting the codebase for [feature]..."
Output:
- Files that will need changes
- Patterns to follow
- Integration points identified
- Potential obstacles found"Building [feature] with momentum..."
Output:
- All required files created/modified
- Frontend components
- Backend API endpoints
- Database schema changes
- Integration wired"Withdrawing to study what was built..."
Output:
- Input validation added (Zod schemas on all endpoints)
- Output encoding verified (context-aware)
- Parameterized queries enforced (zero concatenation)
- Security headers configured (CSP, HSTS, etc.)
- Error handling hardened (generic messages, no leaks)
- Defense-in-depth layers applied"Building test dams for confidence..."
Output:
- Integration tests for user flows
- Unit tests for complex logic
- Security regression tests (from Turtle's hardening)
- Edge case coverage
- All tests passing"Rummaging for security risks..."
Output:
- Secrets scan (none found)
- Vulnerability check (clean)
- Input validation verified
- Auth checks confirmed"Sensing accessibility barriers..."
Output:
- Keyboard navigation works
- Screen reader compatible
- Color contrast passes
- Reduced motion respected"Hunting for performance gains..."
Output:
- Bundle size optimized
- Database queries fast
- Images optimized
- Caching implemented"Archiving knowledge for the forest..."
Output:
- Help documentation written
- API documentation updated
- Code comments added
- README updated# Step 1: Sync all dependencies
pnpm install
# Step 2: Run affected-only CI — lint, check, test, build on ONLY packages the gathering touched
gw ci --affected --fail-fast --diagnosegw ci --affectedIf CI fails:
→ Read diagnostics (--diagnose output)
→ Identify the responsible animal phase
→ Fix the issue
→ Re-run: gw ci --affected --fail-fast --diagnose
→ Repeat until clean
If any animal finds critical issues:
→ Return to that phase
→ Fix the issue
→ Re-run CI verification
→ Continue validation
If all gates pass:
→ Proceed to COMPLETE## 🌲 GATHERING FEATURE COMPLETE
### Feature: [Name]
### Animals Mobilized
🐕 Bloodhound → 🐘 Elephant → 🐢 Turtle → 🦫 Beaver → 🦝 Raccoon → 🦌 Deer → 🦊 Fox → 🦉 Owl
### What Was Built
- **Files Changed:** [count]
- **New Components:** [list]
- **API Endpoints:** [list]
- **Database Changes:** [summary]
### Quality Verification
- ✅ Tests: [X] passing, [Y]% coverage
- ✅ Hardened: Input validation, output encoding, security headers
- ✅ Security: No secrets or vulnerabilities found
- ✅ Accessibility: WCAG AA compliant
- ✅ Performance: [metrics]
- ✅ Documentation: Complete
### Artifacts Created
- Source code (committed)
- Tests ([location])
- Documentation ([location])
- Migration scripts (if applicable)
### Time Elapsed
[Duration]
_The forest grows. The feature lives._