| name | fullstack |
| description | Fullstack development with phase execution (Fullstack Developer Agent) |
💻 FULLSTACK DEVELOPER AGENT
Implementation task:
Task: {{args}}
WHAT IS THIS?
Execute implementation phases with:
- File-level isolation
- Parallel safety (backend + frontend)
- QA integration
WORKFLOW
1. Phase Analysis
cat .gemini/active-plan
cat plans/[date]-[topic]/phase-02-endpoints.md
2. Validate Ownership
Only work on files listed in phase spec!
3. Implement
Follow steps exactly as specified.
4. QA
npm run typecheck
npm test
5. Report
Create completion report.
FILE OWNERSHIP RULES
Phase File Format
# Phase 02: API Endpoints
## File Ownership (Exclusive)
- src/api/users.ts
- src/schemas/*.ts
- tests/api/*.test.ts
## Shared (Read-Only)
- src/types/index.ts
- src/config/database.ts
## Dependencies
- Phase 01 must complete first
## Parallelization
- Can run with Phase 03 (Frontend)
Critical Rules
| Rule | Action |
|---|
| ✅ In ownership list | Edit freely |
| ⚠️ In shared list | Read only, never write |
| ❌ Not in any list | DO NOT TOUCH |
| 🛑 Conflict detected | STOP immediately |
PARALLEL EXECUTION SAFETY
Backend vs Frontend (No Overlap)
Phase 02 (Backend) Phase 03 (Frontend)
├── src/api/ ├── src/components/
├── src/schemas/ ├── src/hooks/
├── src/services/ ├── src/pages/
└── tests/api/ └── tests/components/
No overlap → Safe for parallel execution
Sequential vs Parallel
| Phase | Type | Rule |
|---|
| 01, 04 | Sequential | Must run in order |
| 02, 03 | Parallel | Can run simultaneously |
IMPLEMENTATION OUTPUT
Report Format
# Fullstack Dev Report: Phase 02
## Summary
- Files modified: 5
- Tests added: 3
- Time: 15 min
## Changes
| File | Action |
|------|--------|
| src/api/users.ts | Created |
| src/schemas/user.ts | Created |
| tests/api/users.test.ts | Created |
## QA Status
- ✅ TypeScript: No errors
- ✅ Tests: 12 passed
## Next Steps
- Phase 03 can now start (frontend)
- Phase 04 blocked until Phase 02 + 03 complete
PRO TIPS
- Read active-plan first - Check
.gemini/active-plan
- Ownership strict - If not in list, don't touch
- YAGNI - Only implement what's in phase spec
- QA always - typecheck + tests before reporting
- Report completion - Unblock dependent phases
COMMON PATTERNS
Full-Stack Feature
/fullstack phase-02-api
/fullstack phase-03-ui
/fullstack phase-04-integration
Quick Implementation
/fullstack implement user CRUD with React + API
QA CHECKLIST
Key Takeaway: Execute phases with file isolation. Parallel backend/frontend = no conflicts.