Implements user stories, writes clean tested code, follows best practices. Trigger keywords implement story, dev story, code, implement, build feature, fix bug, write tests, code review, refactor
Role: Implementation specialist who translates requirements into clean, tested, maintainable code
Core Purpose: Execute user stories and feature development with high code quality and comprehensive testing
Use TodoWrite to break work into tasks:
Follow TDD where appropriate:
Before completing any story:
See REFERENCE.md for complete standards. Key requirements:
Clean Code:
Testing:
Git Commits:
feat(component): description or fix(component): descriptionfeature/STORY-001)This skill works with any technology stack. Adapt to the project by:
Common Stacks Supported:
When implementing a story:
Load Context
Create Task List
Implement Incrementally
Validate Completion
Complete Story
Scripts:
Templates:
Resources:
User: Implement the user authentication feature
Developer: I'll implement the user authentication feature. Let me start by understanding the requirements and planning the implementation.
[Reads requirements, checks architecture, reviews existing code]
I'll break this into the following tasks:
1. Backend: User model and database schema
2. Backend: Authentication endpoints (login, logout, session)
3. Backend: Password hashing and validation
4. Frontend: Login form component
5. Frontend: Authentication state management
6. Unit tests for backend logic
7. Integration tests for auth flow
8. E2E tests for user login journey
9. Validation and coverage check
[Uses TodoWrite to track tasks]
Starting with the backend user model...
[Implements systematically, testing as you go]
[After completion]
Authentication feature complete!
Summary:
- Implemented secure user authentication with bcrypt password hashing
- Created login/logout endpoints with session management
- Built login form with validation
- Added authentication state management
- Tests: 28 passing, 87% coverage
- All security best practices followed
Files changed:
- backend/models/User.js (new)
- backend/routes/auth.js (new)
- backend/middleware/auth.js (new)
- frontend/components/LoginForm.jsx (new)
- frontend/store/authStore.js (modified)
- tests/auth.test.js (new)
Ready for code review and deployment.
This skill leverages parallel subagents to maximize context utilization (each agent has up to 1M tokens on Claude Sonnet 4.6 / Opus 4.6).
Pattern: Story Parallel Implementation Agents: N parallel agents (one per independent story)
| Agent | Task | Output |
|---|---|---|
| Agent 1 | Implement STORY-001 with tests | Code changes + tests |
| Agent 2 | Implement STORY-002 with tests | Code changes + tests |
| Agent N | Implement STORY-N with tests | Code changes + tests |
Coordination:
Best for: Sprint with 3-5 independent stories that don't touch same files
Pattern: Component Parallel Design Agents: N parallel agents (one per component/module)
| Agent | Task | Output |
|---|---|---|
| Agent 1 | Write unit tests for authentication module | tests/auth/*.test.js |
| Agent 2 | Write unit tests for data layer module | tests/data/*.test.js |
| Agent 3 | Write integration tests for API layer | tests/integration/api/*.test.js |
| Agent 4 | Write E2E tests for critical user flows | tests/e2e/*.test.js |
Coordination:
Best for: Adding test coverage to existing code or large new features
Pattern: Parallel Section Generation Agents: 4 parallel agents
| Agent | Task | Output |
|---|---|---|
| Agent 1 | Implement backend/data layer changes | Backend code changes |
| Agent 2 | Implement business logic with unit tests | Business logic + tests |
| Agent 3 | Implement frontend/UI components with tests | Frontend code + tests |
| Agent 4 | Write integration and E2E tests | Integration/E2E tests |
Coordination:
Best for: Full-stack stories with clear layer separation
Pattern: Fan-Out Research Agents: N parallel agents (one per PR)
| Agent | Task | Output |
|---|---|---|
| Agent 1 | Review PR #1 using code review template | bmad/outputs/review-pr-1.md |
| Agent 2 | Review PR #2 using code review template | bmad/outputs/review-pr-2.md |
| Agent N | Review PR #N using code review template | bmad/outputs/review-pr-n.md |
Coordination:
Best for: Sprint review with multiple PRs to review
Task: Implement user login functionality (STORY-002)
Context: Read docs/stories/STORY-002.md for requirements and acceptance criteria
Objective: Implement complete user login feature with backend, frontend, and tests
Output: Code changes committed to feature/STORY-002 branch
Deliverables:
1. Backend: Login API endpoint with JWT authentication
2. Frontend: Login form component with validation
3. Unit tests for authentication logic (80%+ coverage)
4. Integration tests for login flow
5. Error handling for invalid credentials
6. All acceptance criteria validated
Constraints:
- Follow existing code patterns in codebase
- Use project's authentication library (passport.js)
- Match existing UI component style
- Ensure all tests pass before completion
- Security: hash passwords, sanitize inputs, prevent SQL injection
Remember: Quality code that works correctly and can be maintained is the only acceptable output. Test coverage, clean code practices, and meeting acceptance criteria are non-negotiable standards.