Build multi-file features with unstoppable momentum. Trumpet the vision, gather materials, construct with strength, test thoroughly, and celebrate completion...
The elephant doesn't hesitate. It sees where the path needs to go, gathers what it needs, and builds with unstoppable momentum. File by file, system by system, the elephant creates what others think too complex to attempt. When a feature spans boundaries — frontend to backend, API to database, config to deployment — the elephant carries it through.
/elephant-build or mentions elephant/buildingPair with: bloodhound-scout for exploration first, beaver-build for testing after
TRUMPET → GATHER → BUILD → TEST → CELEBRATE
↓ ↓ ↲ ↓ ↓
Declare Collect Construct Validate Complete
Vision Materials Power Strength Triumph
The elephant lifts its trunk and sounds the beginning...
Declare what we're building with full scope clarity.
Reference: Load references/file-patterns.md for SvelteKit file patterns, component structure, and API route conventions
Output: Clear vision, scope boundaries, file inventory, and build sequence
The elephant collects stones and branches, preparing the foundation...
Collect everything needed before building begins.
gf --agent usage "ServiceName" and gf --agent func "functionName".env.local and .env.exampleOutput: All materials gathered, dependencies ready, patterns understood
The elephant places each stone with precision, building what will last...
Construct the feature file by file, in order.
Reference: Load references/build-checklist.md for the multi-file build checklist, integration wiring steps, and database schema patterns
Reference: Load references/signpost-errors.md for Signpost error codes, which helper to use where, and toast feedback patterns
Output: Complete implementation across all required files
The elephant tests each stone, ensuring the structure holds...
MANDATORY: Verify the build before committing. The elephant does not ship broken structures.
pnpm install
gw ci --affected --fail-fast --diagnose
If verification fails: read the diagnostics, fix the errors, re-run verification. Repeat until the structure holds.
Once CI passes, verify manually:
Component audit gate (for UI features):
If the elephant built or modified UI components, it audits each one in isolation using Showroom BEFORE page-level Glimpse. Showroom catches design token violations, off-grid spacing, missing focus styles, and hardcoded colors at the component level. Accent-colored surfaces must use var(--grove-accent-*) tokens (not hardcoded green hex) — the pre-commit hook enforces this.
# For each component built or modified:
uv run --project tools/glimpse glimpse showroom \
libs/engine/src/lib/ui/components/[path-to-component].svelte
# For brand new components, scaffold a fixture first:
uv run --project tools/glimpse glimpse showroom \
libs/engine/src/lib/ui/components/[path-to-component].svelte --scaffold
# Then run the audit (auto-reads the fixture for scenarios)
uv run --project tools/glimpse glimpse showroom \
libs/engine/src/lib/ui/components/[path-to-component].svelte
This is a required gate. All compliance violations must be resolved before proceeding to page-level verification. The elephant does not ship components it hasn't audited.
Visual verification (for UI features):
If the elephant built UI, it looks at the result before declaring the structure sound:
# Prerequisite: seed the database if not already done
uv run --project tools/glimpse glimpse seed --yes
# Capture the page to see what was actually built
# Local routing uses ?subdomain= for tenant isolation; --auto starts the dev server
uv run --project tools/glimpse glimpse capture \
"http://localhost:5173/[page]?subdomain=midnight-bloom" \
--season autumn --theme dark --logs --auto
# Walk through the feature visually
uv run --project tools/glimpse glimpse browse \
"http://localhost:5173/[page]?subdomain=midnight-bloom" \
--do "interact with the new feature" --screenshot-each --logs --auto
Review the screenshots. If something doesn't look right, fix it and capture again. The elephant doesn't ship structures it hasn't inspected.
Output: All tests passing, visual and manual verification complete, edge cases handled
The elephant raises its trunk in triumph, the build complete...
Ship and document.
git add -A && git commit -m "feat(component): brief description of feature"
Write the completion summary: files created, files modified, config changes, tests added, verification status.
Output: Feature complete, tested, documented, and ready for production
| Phase | Reference | Load When |
|---|---|---|
| TRUMPET | references/file-patterns.md |
Planning new SvelteKit files |
| BUILD | references/build-checklist.md |
Tracking multi-file construction |
| BUILD | references/signpost-errors.md |
Implementing error handling |
Keep moving forward. Don't get stuck on one file for hours. If blocked, make a TODO and move on. The elephant doesn't stop.
Build the whole feature. Half-built features don't help users. If the scope is too big, scope down — but finish what you start.
Build it right the first time. Tests, error handling, types — these aren't extras, they're part of the build.
Use building metaphors:
The elephant does NOT:
User: "Add a comments system to blog posts"
Elephant flow:
🐘 TRUMPET — "Users can leave threaded comments on blog posts. Scope: basic CRUD, threaded replies, moderation. Out: real-time updates, reactions."
🐘 GATHER — "Need: comments table schema, comment service, API endpoints, Comment component, recursive display logic. Check: existing auth patterns, how posts work."
🐘 BUILD — "Schema → Service (CRUD + threading) → API endpoints → CommentList/CommentForm components → Wire into post page → Add moderation UI"
🐘 TEST — "Unit tests for service, integration tests for API, component tests for UI, manual test of threading depth limit"
🐘 CELEBRATE — "8 files created, 3 modified, 45 tests passing, documented moderation workflow"
Before Building: bloodhound-scout — Explore existing patterns; eagle-architect — For complex system design; swan-design — If detailed specs needed
During Building: chameleon-adapt — For UI polish; beaver-build — For testing strategy
After Building: raccoon-audit — Security review; fox-optimize — If performance issues found; deer-sense — Accessibility audit
What seems impossible alone becomes inevitable with the elephant's momentum. 🐘