Loading...
Loading...
Implement features from specs with backend and frontend skills
npx skill4agent add codihaus/claude-skills dev-codingSkill Awareness: Seefor all available skills.skills/_registry.md
- Before: Ensure
completed,/dev-specsfor patterns/dev-scout- During: Auto-loads
,/dev-coding-backend/dev-coding-frontend- After: Suggest
for code review/dev-review
/dev-coding UC-AUTH-001 # Implement specific UC
/dev-coding auth # Implement all UCs for feature
/dev-coding UC-AUTH-001 --backend # Backend only
/dev-coding UC-AUTH-001 --frontend # Frontend only/debrief/dev-specs/dev-scoutplans/features/{feature}/specs/1. Read UC spec
→ plans/features/{feature}/specs/{UC-ID}/README.md
2. Read scout for patterns
→ plans/features/{feature}/scout.md OR plans/scout/README.md
3. Read docs-graph for dependencies
→ plans/docs-graph.json
4. Check: Are dependencies complete?
→ If UC depends on another UC, verify it's done
→ Warn if not, let user decide to proceed| Spec Contains | Work Type | Skill to Load |
|---|---|---|
| API endpoints, schema | Backend | dev-coding-backend |
| UI components, pages | Frontend | dev-coding-frontend |
| Both | Full-stack | Backend first, then Frontend |
Read spec → Extract:
- API changes needed?
- Schema/DB changes needed?
- UI components needed?
- Pages/routes needed?Read: skills/dev-coding-backend/SKILL.md
Read: skills/dev-coding-backend/references/{tech}.md (if exists)
Tech detected from scout:
- directus → directus.md
- node → node.md
- prisma → prisma.mdRead: skills/dev-coding-frontend/SKILL.md
Read: skills/dev-coding-frontend/references/{tech}.md (if exists)
Tech detected from scout:
- nextjs → nextjs.md
- vue → vue.md
- react → react.md# Test API works
curl -X POST http://localhost:3000/api/auth/login \
-H "Content-Type: application/json" \
-d '{"email":"test@test.com","password":"test"}'1. Start from UI
2. Perform user action
3. Verify API called correctly
4. Verify response handled
5. Verify UI updated[ ] Code follows project conventions (from scout)
[ ] No linting errors
[ ] No type errors
[ ] Tests pass (if project has tests)
[ ] No console.log / debug code left
[ ] No hardcoded secrets
[ ] Error handling in place<!-- In specs/{UC-ID}/README.md -->
> **Status**: Complete
> **Completed**: {date}## Implementation Notes
### Files Changed
- `src/api/auth/login.ts` - Created login endpoint
- `src/components/LoginForm.tsx` - Created form component
### Deviations from Spec
- Added rate limiting (not in spec, but security best practice)
### Next Steps
- UC-AUTH-002 can now proceed (depends on this)| Situation | Action |
|---|---|
| Spec unclear | Ask for clarification |
| Multiple valid approaches | Present options, ask preference |
| Stuck > 15 min | Document attempts, ask for help |
| Spec seems wrong | Flag it, propose alternative |
| Scope creep detected | Stop, suggest CR |
**Blocker**: {What's blocking}
**Tried**:
1. {Attempt 1} → {Result}
2. {Attempt 2} → {Result}
**Options**:
A) {Option A} - {Tradeoff}
B) {Option B} - {Tradeoff}
**Recommendation**: {Your suggestion}| Deviation | Action |
|---|---|
| Tiny (typo) | Fix silently |
| Small (edge case) | Ask + proceed |
| Medium (new field) | Document + ask |
| Large (approach wrong) | Stop + create CR |
1. Check docs-graph for dependencies
2. For each dependency:
- Is UC marked complete? → OK
- Is code actually there? → Check (more reliable)
3. If dependency missing:
- Warn user
- Ask: Proceed anyway? / Do dependency first?| Tool | Purpose |
|---|---|
| Load specs, scout, sub-skills |
| Create new files |
| Modify existing files |
| Run commands, curl tests |
| Find files |
| Search code |
| UI verification |
| Skill | Relationship |
|---|---|
| Reads implementation plan from |
| Reads patterns/conventions from |
| Loads for API/schema work |
| Loads for UI work |
| Auto-updates on file changes |
| Review after implementation |
User: /dev-coding UC-AUTH-001
1. Load UC-AUTH-001 spec
→ Backend: POST /api/auth/login
→ Frontend: LoginForm component, /login page
2. Check dependencies
→ None for UC-AUTH-001 (it's first)
3. Load dev-coding-backend
→ Create login endpoint
→ Test with curl ✓
4. Load dev-coding-frontend
→ Create LoginForm component
→ Create /login page
→ Connect to API
→ Test with Playwright ✓
5. Integration test
→ Fill form → Submit → Verify redirect ✓
6. Quality checks
→ Lint ✓, Types ✓, No debug code ✓
7. Complete
→ Update spec status
→ Document changes
→ Suggest: "UC-AUTH-002 (Signup) is now unblocked"