Agent skill
gathering-feature
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.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/gathering-feature-autumnsgrove-lattice
SKILL.md
Gathering Feature đ˛đž
The drum echoes through the forest. One by one, they come. The Bloodhound scouts the territory. The Elephant builds with unstoppable momentum. The Turtle hardens what was built â bone-deep security, not bolted on afterward. The Beaver tests the hardened code. The Raccoon audits for secrets and cleanup. The Deer ensures all can travel the paths. The Fox optimizes for speed. The Owl documents what was learned. When the gathering completes, a feature stands where before there was only forest â secure from birth.
When to Summon
- Building a complete feature from scratch
- Major functionality spanning frontend, backend, and database
- Features requiring exploration, implementation, testing, and documentation
- When you want the full lifecycle handled automatically
Grove Tools for This Gathering
Use gw and gf throughout. Quick reference for feature work:
# 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 + push
The Gathering
SUMMON â ORGANIZE â EXECUTE â VALIDATE â COMPLETE
â ⲠⲠⲠâ
Receive Dispatch Animals Verify Feature
Request Animals Work All Ready
Animals Mobilized
- đ Bloodhound â Scout the codebase, understand patterns
- đ Elephant â Build the multi-file feature
- đĸ Turtle â Harden what was built (secure by design, not bolted on)
- đĻĢ Beaver â Write comprehensive tests (including hardened code)
- đĻ Raccoon â Security audit and cleanup
- đĻ Deer â Accessibility audit
- đĻ Fox â Performance optimization
- đĻ Owl â Document the feature
Phase 1: SUMMON
The drum sounds. The forest listens...
Receive and parse the request:
Clarify the Feature:
- What does this feature do?
- Which users benefit?
- What's in scope? What's out?
- Any existing issues or specs?
Confirm:
"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?"
Phase 2: ORGANIZE
The animals assemble, knowing their roles...
Dispatch in sequence:
Dispatch Order:
Bloodhound âââ Elephant âââ Turtle âââ Beaver âââ Raccoon âââ Deer âââ Fox âââ Owl
â â â â â â â â
â â â â â â â â
Scout Build Harden Test Secrets a11y Speed Docs
Patterns Feature Security Coverage Cleanup Check Opt Write
Cross-Cutting Standard â Signpost Error Codes:
All animals MUST use Signpost error codes (from @autumnsgrove/lattice/errors). This is not optional:
- Elephant uses them when building (buildErrorJson in API routes, throwGroveError in page loads)
- Turtle verifies all errors use Signpost codes during hardening (Phase 2E checklist)
- Beaver tests that API routes return proper
error_codefields - Raccoon audits for bare
throw error()andconsole.errorwithoutlogGroveError() - Client-side feedback uses
toastfrom@autumnsgrove/lattice/ui
See AgentUsage/error_handling.md for the full reference.
Dependencies:
- Bloodhound must complete before Elephant (needs context)
- Elephant must complete before Turtle (hardens what was built)
- Turtle must complete before Beaver (tests the hardened code)
- Beaver must complete before Raccoon (tests catch remaining issues)
- Raccoon, Deer, Fox can run in parallel after Beaver
- Owl last (documents everything)
Why Turtle before Beaver: Security is not a phase you bolt on after testing â it shapes what you build. The Turtle reviews Elephant's work and hardens it: adds input validation schemas, output encoding, parameterized queries, security headers. Then Beaver tests the hardened code, catching both functional and security regressions. This is secure by design.
Phase 3: EXECUTE
The animals work. The forest transforms...
Execute each phase by loading and running each animal's dedicated skill:
đ BLOODHOUND â SCOUT
Load skill: bloodhound-scout
Execute the full Bloodhound workflow focused on [the feature being built]. Handoff: territory map (files to change, patterns found, integration points, potential obstacles) â Elephant
đ ELEPHANT â BUILD
Load skill: elephant-build
Execute the full Elephant workflow using the Bloodhound's territory map. Handoff: complete list of built files (components, endpoints, schema changes, wired integrations) â Turtle for hardening
đĸ TURTLE â HARDEN
Load skill: turtle-harden
Execute the full Turtle workflow on everything the Elephant built. Handoff: hardened code (input validation, output encoding, parameterized queries, security headers, error handling) â Beaver for testing
đĻĢ BEAVER â TEST
Load skill: beaver-build
Execute the full Beaver workflow on the hardened code, including security regression tests from Turtle's hardening. Handoff: test results and coverage summary â Raccoon, Deer, Fox (parallel)
đĻ RACCOON â AUDIT (parallel with Deer and Fox)
Load skill: raccoon-audit
Execute the full Raccoon workflow on the completed feature. Handoff: audit findings resolved â Owl
đĻ DEER â SENSE (parallel with Raccoon and Fox)
Load skill: deer-sense
Execute the full Deer workflow on all UI produced by the Elephant and Chameleon. Handoff: accessibility findings resolved â Owl
đĻ FOX â OPTIMIZE (parallel with Raccoon and Deer)
Load skill: fox-optimize
Execute the full Fox workflow targeting the new feature's bundle, queries, and assets. Handoff: performance findings resolved â Owl
đĻ OWL â ARCHIVE
Load skill: owl-archive
Execute the full Owl workflow, documenting everything built, hardened, tested, and optimized in this gathering.
Phase 4: VALIDATE
The work is done. Each animal verifies their contribution...
MANDATORY: Run full affected-package verification before the gathering concludes.
This is the final quality gate â the moment the entire gathering's work is proven sound:
# 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 --diagnose
If verification fails: Identify which animal's work caused the failure. Return to that phase, fix the issue, and re-run verification. The gathering does not conclude on broken code.
Validation Checklist (after CI passes):
- CI:
gw ci --affectedpasses clean (lint, check, test, build) - Bloodhound: All integration points mapped
- Elephant: Feature functional end-to-end
- Turtle: Input validation on all entry points
- Turtle: Output encoding on all exit points
- Turtle: Security headers configured
- Turtle: Defense-in-depth layers verified
- Beaver: All tests passing, coverage adequate
- Raccoon: No secrets or dead code found
- Deer: WCAG AA compliance verified
- Fox: Performance targets met
- Owl: Documentation complete
Quality Gates:
If 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
Phase 5: COMPLETE
The gathering ends. A feature stands complete...
Completion Report:
## đ˛ 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._
Example Gathering
User: "/gathering-feature Add a bookmarking system for posts"
Gathering execution:
-
đ˛ SUMMON â "Mobilizing for: Bookmarking system. Allow users to save posts for later."
-
đ˛ ORGANIZE â "Dispatch sequence: Bloodhound â Elephant â Turtle â Beaver â Raccoon + Deer + Fox â Owl"
-
đ˛ EXECUTE â
- đ Scout: "Found post components, user service patterns, database conventions"
- đ Build: "Created bookmark service, API endpoints, UI components, database schema"
- đĸ Harden: "Added Zod validation on bookmark endpoints, parameterized all queries, output encoding on bookmark titles, CSP headers configured"
- đĻĢ Test: "Added 18 tests covering CRUD operations, auth checks, security regressions, edge cases"
- đĻ Audit: "No secrets, clean dependencies, dead code removed"
- đĻ Sense: "Keyboard nav works, screen reader announces, contrast passes"
- đĻ Optimize: "Lazy loaded bookmarks, indexed queries, compressed images"
- đĻ Archive: "Help doc written, API documented, code commented"
-
đ˛ VALIDATE â "All quality gates pass"
-
đ˛ COMPLETE â "Feature deployed, hardened, tested, audited, documented â secure from birth"
When the drum sounds, the forest answers. đ˛
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?