full-stack-build
Skill1 starsChanged 8 months agoMITView on GitHub
Orchestrate agent teams to build features spanning frontend + backend — API design, D1 migrations, React components, integration wiring, and verification. Use for new views with endpoints.
In this repository51 other files it gives its agents.
- algorithmic-artSkill
- audit-componentsSkill
- canvas-designSkill
- cascade-orchestrationSkill
- consultSkill
- data-reconciliationSkill
- debug-collaborateSkill
- deep-root-causeSkill
- deploy-allSkill
- design-reverse-engineerSkill
- design-showcaseSkill
- docxSkill
- env-auditSkill
- evolveSkill
- frontend-designSkill
- full-stack-traceSkill
- gh-repo-reconSkill
- grill-meSkill
- handoffSkill
- html-slidesSkill
- insightSkill
- internal-commsSkill
- isolation-testSkill
- mcp-builderSkill
- model-selectionSkill
- pdfSkill
- persistent-issueSkill
- pre-merge-reviewSkill
- premise-auditSkill
- propagate-featureSkill
- regression-bisectSkill
- research-gateSkill
- review-implSkill
- schema-checkSkill
- session-notesSkill
- skill-auditSkill
- skill-creatorSkill
- slack-gif-creatorSkill
- start-daySkill
- temporal-forensicsSkill
- theme-factorySkill
- throwaway-scriptSkill
- triage-ideasSkill
- verify-completeSkill
- webapp-testingSkill
- web-artifacts-builderSkill
- wisdomSkill
- worker-buildSkill
- worktree-guardSkill
- write-planSkill
- xlsxSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. About 0 are common, 7 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Do NOT use for: backend-only work (workers, API endpoints), frontend-only work (CSS, component refactor), single-file fixes.
- Very specific: line 27
If no --skip-design and the feature spans 3+ files or unknown APIs, suggest running /research-gate first.
- Distinctive: line 31
Read the target project to determine scope:
- Very specific: line 45
Read references/api-boilerplate.md for endpoint/migration templates, then design:
- Distinctive: line 51
Naming Conflict Check: Verify endpoint file and action params are unique
- Very specific: line 56
Read references/design-review-checklist.md for UI patterns + /frontend-design skill for tokens, then design:
- Very specific: line 71
App.jsx Wiring: Import type (lazy/direct), sidebar entry, route props
- Very specific: line 103
Create DB migration: {project}/migrations/{NNNN}_{name}.sql
- Very specific: line 104
Create endpoint: {project}/functions/api/{name}.js — MUST use shared API utilities, OPTIONS handler, auth, parameterized queries
- Distinctive: line 105
Add shared utility exports (if any) — additive only, don't modify existing
- Very specific: line 106
Run cd {project} && npm run build — must pass
- Very specific: line 111
Create components: {project}/src/components/{Name}View.jsx + sub-components
- Very specific: line 112
Create hooks if needed: {project}/src/hooks/use{Name}.js
- Very specific: line 113
Add CSS section to {project}/src/App.css with /* === {NAME} VIEW === */ comment
- Distinctive: line 114
Follow: dark theme tokens, AbortController fetching, responsive at 768px, progressive disclosure
- Very specific: line 115
Do NOT modify App.jsx — that's Phase 4
- Distinctive: line 116
Verify all imports resolve
- Distinctive: line 123
Contract alignment: Verify frontend fetch URLs match backend endpoint file/action params.
- Very specific: line 140
Check: all new imports resolve, App.jsx routing correct (ErrorBoundary, Suspense, props), DB schema no column collisions, endpoint …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Full-Stack Build
Orchestrates the complete lifecycle for features that need both API endpoints and React components. Replaces ad-hoc sequential builds with parallel agent teams: design → build → integrate → verify.
Arguments
- First argument (required): Feature name (e.g., "Inventory Tracker", "Job Timer Dashboard")
--project=<name>(default: determined from context)--skip-design— Jump to Phase 3 when design already exists (e.g., after/write-plan)--plan=<path>— Use existing plan document as spec
When to Use
- New view/tab that needs API endpoints + React components
- Adding a backend-dependent feature to an existing view
- Any work touching BOTH
functions/api/ANDsrc/components/
Do NOT use for: backend-only work (workers, API endpoints), frontend-only work (CSS, component refactor), single-file fixes.
Prerequisites
If no --skip-design and the feature spans 3+ files or unknown APIs, suggest running /research-gate first.
Phase 0: Scope Assessment (Main Agent)
Read the target project to determine scope:
- Target project's docs for component inventory
{project}/functions/api/directory — check for endpoint naming conflicts{project}/migrations/— determine next migration number- Shared API utilities — available server functions
Produce scope object: project, viewType (isolated/shared-data), needsDB, needsCache, existingEndpoints, nextMigrationNumber, sharedUtilsTouch.
Phase 1: Design Sprint (2 Parallel Agents, model: "opus")
Skip if --skip-design. Pattern: Fan-Out/Fan-In.
Agent: Backend Architect
Read references/api-boilerplate.md for endpoint/migration templates, then design:
- API Contract: Endpoints table (method, query params, purpose, auth, rate limit)
- DB Schema (if needed): Table definitions, constraints, indexes, migration file path
- Cache Keys (if needed): Key pattern, TTL, compression requirement
- Data Flow: Source → transform → cache → response
- Naming Conflict Check: Verify endpoint file and action params are unique
- Shared Utility Impact: Flag any changes to shared/ that affect other projects
Agent: Frontend Architect
Read references/design-review-checklist.md for UI patterns + /frontend-design skill for tokens, then design:
- Component Hierarchy: Parent/child tree with props
3 UI Layout Options (user picks one):
Each option MUST include:
- Layout description (2-3 sentences)
- Default view: What shows immediately (summary KPIs, primary table)
- On-demand: What expands/appears on interaction (detail panels, filters, charts)
- Data density level (High / Medium / Low)
- Which existing view it most resembles
- Progressive disclosure strategy
- Shared Components: Which to reuse (KPICard, ErrorBoundary, Modal, etc.)
- CSS Strategy: Class prefix, color tokens, mobile breakpoint approach
- App.jsx Wiring: Import type (lazy/direct), sidebar entry, route props
Phase 2: Design Review (User Checkpoint)
Present compiled design to user:
## Full-Stack Design: [Feature]
### API Contract
[Endpoints table from Backend Architect]
### UI Options
**Option A** — [name, density level, 2-line description]
**Option B** — [name, density level, 2-line description]
**Option C** — [name, density level, 2-line description]
### Backend Safety
- [ ] No endpoint naming conflicts
- [ ] No shared util changes breaking other projects
- [ ] DB schema compatible with existing tablesWait for user to pick UI option. Save design to docs/plans/YYYY-MM-DD-{slug}.md.
Phase 3: Parallel Build (2 Worktree Agents, model: "opus")
Pattern: Fan-Out/Fan-In. Both agents use isolation: "worktree".
Agent: Backend Builder (worktree)
Using the approved API contract + references/api-boilerplate.md templates:
- Create DB migration:
{project}/migrations/{NNNN}_{name}.sql - Create endpoint:
{project}/functions/api/{name}.js— MUST use shared API utilities, OPTIONS handler, auth, parameterized queries - Add shared utility exports (if any) — additive only, don't modify existing
- Run
cd {project} && npm run build— must pass
Agent: Frontend Builder (worktree)
Using the chosen UI option + API contract for fetch URLs:
- Create components:
{project}/src/components/{Name}View.jsx+ sub-components - Create hooks if needed:
{project}/src/hooks/use{Name}.js - Add CSS section to
{project}/src/App.csswith/* === {NAME} VIEW === */comment - Follow: dark theme tokens, AbortController fetching, responsive at 768px, progressive disclosure
- Do NOT modify App.jsx — that's Phase 4
- Verify all imports resolve
Phase 4: Integration (Main Agent)
Sequential — cannot parallelize:
- Merge worktrees — backend first, then frontend. Resolve any file conflicts
- Wire App.jsx: Lazy import + Suspense, sidebar nav entry, ErrorBoundary route case with correct props (see
references/api-boilerplate.md) - Contract alignment: Verify frontend fetch URLs match backend endpoint file/action params. Verify response shapes match component expectations
- Build:
cd {project} && npm run lint && npm run build
Phase 5: Parallel Verification (4 Agents, model: "opus")
Pattern: Fan-Out/Fan-In. All read-only.
Agent: API Tester
Trace each endpoint's request path. Verify: OPTIONS preflight, auth present, parameterized queries, error responses include CORS headers, response shape matches frontend expectations.
Agent: UI Consistency Reviewer
Compare new components against existing views in the same project. Verify: color tokens match (no arbitrary hex), spacing follows patterns, component styling consistent, loading/error states match, theme applied, CSS class prefix unique. See references/design-review-checklist.md.
Agent: Build Verifier
cd {project} && npm run lint && npm run build. If shared/ was modified, also build ALL other projects.
Agent: Impact Reviewer
Check: all new imports resolve, App.jsx routing correct (ErrorBoundary, Suspense, props), DB schema no column collisions, endpoint name/action unique, shared util changes are additive. See references/design-review-checklist.md.
Phase 6: Report
## Full-Stack Build Complete: [Feature]
### Files Created
| File | Purpose |
|------|---------|
### Verification
| Check | Status |
|-------|--------|
| API contract | PASS/FAIL |
| UI consistency | PASS/FAIL |
| Build + lint | PASS/FAIL |
| Impact review | PASS/FAIL |
### Next Steps
- [ ] Deploy
- [ ] Run DB migration
- [ ] Visual test: /webapp-testingFix CRITICAL issues before reporting. List IMPORTANT/MINOR for user decision.
Escalation
| Situation | Action |
| Shared util breaks other projects | Trigger /audit-components |
| Build fails after merge | Dispatch /full-stack-trace |
| Design fundamentally wrong | Return to Phase 1 or /research-gate |
| Contract mismatch in Phase 5 | Fix in-place, re-run affected verifier |
Integration
| Skill | Relationship |
/write-plan | Consumed via --plan= flag |
/research-gate | Precedes — run first for complex features |
/frontend-design | Referenced by Frontend Architect + UI Consistency agents |
/review-impl | Replaced — Phase 5 verification covers this |
/cascade-orchestration | Foundation — all phases follow documented patterns |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

