Add Backend Developer Agent
Summary
Add a Backend Developer Agent to Codebuddy's AI Agent system to provide specialized AI assistance for backend development tasks.
Background
Codebuddy currently provides 12 specialist agents, with frontend-developer.json included as an example Primary Developer Agent. The README mentions backend-developer.json as an example, but no actual implementation exists.
Current Agent List:
- Core Agents: frontend-developer, code-reviewer
- Domain Specialists: accessibility, architecture, design-system, documentation, performance, security, seo, test-strategy
- Utility Agents: code-quality, devops-engineer
A Backend Developer Agent is needed to utilize Codebuddy in backend development projects.
Requirements
Functional Requirements
-
Create Agent Definition File
- Create
.ai-rules/agents/backend-developer.json file
- Follow the same structural pattern as
frontend-developer.json
-
Define Backend Development Expertise Areas
- Backend frameworks (Node.js/Express, NestJS, etc.)
- REST API and GraphQL design
- Database design and ORM (Prisma, TypeORM, etc.)
- Authentication/Authorization (JWT, OAuth, Session)
- Middleware and error handling
- Testing strategies (Unit, Integration, E2E)
-
Integration with Existing Rules
- Reference
core.md, project.md, augmented-coding.md
- Apply TDD workflow
- Support PLAN/ACT/EVAL modes
Non-Functional Requirements
- Maintain consistency with existing agent structure
- Support integration with other specialist agents
- Support Korean language responses
Technical Specification
File Structure
.ai-rules/agents/backend-developer.json
Agent Schema
{
"name": "Backend Developer",
"version": "1.0.0",
"description": "...",
"role": {
"title": "Senior Backend Developer",
"expertise": [...],
"tech_stack_reference": "See project.md 'Tech Stack' section",
"responsibilities": [...]
},
"context_files": [
".ai-rules/rules/core.md",
".ai-rules/rules/project.md",
".ai-rules/rules/augmented-coding.md"
],
"activation": {
"trigger": "...",
"mandatory_checklist": {...},
"verification_guide": {...},
"execution_order": {...},
"planning_framework": {...},
"implementation_framework": {...}
},
"workflow": {
"core_logic": {...},
"api_endpoints": {...}
},
"development_philosophy": {
"modern_approach": {...},
"api_design": {...},
"database_strategy": {...},
"security_standards": {...}
},
"code_quality_checklist": [...],
"tdd_cycle": {...},
"ai_monitoring": {...},
"commit_rules": {...},
"communication": {...},
"file_naming": {...},
"reference": {...}
}
Key Expertise Areas
| Category |
Technologies |
| Framework |
Node.js, Express, NestJS, Fastify |
| Language |
TypeScript (strict mode) |
| Database |
PostgreSQL, MySQL, MongoDB, Redis |
| ORM |
Prisma, TypeORM, Drizzle |
| API |
REST, GraphQL, gRPC |
| Auth |
JWT, OAuth 2.0, Session, Passport.js |
| Testing |
Jest, Supertest, Testcontainers |
| Validation |
Zod, class-validator, Joi |
| Documentation |
OpenAPI/Swagger, TypeDoc |
Development Philosophy
-
API-First Design
- Define OpenAPI spec first
- Contract-First development
-
Database-First vs Code-First
- Prioritize Prisma schema definition
- Migration management
-
Security-First
- Mandatory input validation
- SQL Injection, XSS prevention
- Rate limiting
- CORS configuration
-
Clean Architecture
- Layer separation (Controller → Service → Repository)
- Dependency Injection
- Pure functions first
Workflow Integration
┌─────────────────────────────────────────────────────┐
│ PLAN Mode │
│ - API endpoint design │
│ - Database schema design │
│ - Test strategy planning │
│ - Security requirements review │
└───────────────────────┬─────────────────────────────┘
│ ACT
▼
┌─────────────────────────────────────────────────────┐
│ ACT Mode │
│ 1. TDD: Write tests (Red) │
│ 2. Minimal implementation (Green) │
│ 3. Refactoring (Refactor) │
│ 4. Integration tests │
└───────────────────────┬─────────────────────────────┘
│ EVAL (optional)
▼
┌─────────────────────────────────────────────────────┐
│ EVAL Mode │
│ - Code Reviewer Agent auto-activation │
│ - API design review │
│ - Security vulnerability check │
│ - Performance analysis │
└─────────────────────────────────────────────────────┘
Specialist Integration
Backend Developer Agent integrates with the following specialist agents:
| Specialist |
Integration Point |
| Architecture |
Layer structure, DI patterns, module design |
| Security |
Authentication/Authorization, input validation, OWASP |
| Performance |
Query optimization, caching, Connection Pool |
| Test Strategy |
TDD vs Test-After decisions, coverage |
| Documentation |
API docs, code comments, README |
| Code Quality |
SOLID, DRY, complexity management |
Acceptance Criteria
Must Have
Should Have
Nice to Have
Test Plan
-
Structure Validation
- JSON file validity check
- Required fields existence verification
-
Functional Validation
- Verify Backend Developer Agent activation in PLAN mode
- Verify TDD workflow operation in ACT mode
- Verify Korean language response output
-
Integration Validation
- Agent query availability from MCP server
- Information retrieval via
get_agent_details tool
Dependencies
- Existing
.ai-rules/rules/ rule files
- Existing specialist agent JSON files
Add Backend Developer Agent
Summary
Add a Backend Developer Agent to Codebuddy's AI Agent system to provide specialized AI assistance for backend development tasks.
Background
Codebuddy currently provides 12 specialist agents, with
frontend-developer.jsonincluded as an example Primary Developer Agent. The README mentionsbackend-developer.jsonas an example, but no actual implementation exists.Current Agent List:
A Backend Developer Agent is needed to utilize Codebuddy in backend development projects.
Requirements
Functional Requirements
Create Agent Definition File
.ai-rules/agents/backend-developer.jsonfilefrontend-developer.jsonDefine Backend Development Expertise Areas
Integration with Existing Rules
core.md,project.md,augmented-coding.mdNon-Functional Requirements
Technical Specification
File Structure
Agent Schema
{ "name": "Backend Developer", "version": "1.0.0", "description": "...", "role": { "title": "Senior Backend Developer", "expertise": [...], "tech_stack_reference": "See project.md 'Tech Stack' section", "responsibilities": [...] }, "context_files": [ ".ai-rules/rules/core.md", ".ai-rules/rules/project.md", ".ai-rules/rules/augmented-coding.md" ], "activation": { "trigger": "...", "mandatory_checklist": {...}, "verification_guide": {...}, "execution_order": {...}, "planning_framework": {...}, "implementation_framework": {...} }, "workflow": { "core_logic": {...}, "api_endpoints": {...} }, "development_philosophy": { "modern_approach": {...}, "api_design": {...}, "database_strategy": {...}, "security_standards": {...} }, "code_quality_checklist": [...], "tdd_cycle": {...}, "ai_monitoring": {...}, "commit_rules": {...}, "communication": {...}, "file_naming": {...}, "reference": {...} }Key Expertise Areas
Development Philosophy
API-First Design
Database-First vs Code-First
Security-First
Clean Architecture
Workflow Integration
Specialist Integration
Backend Developer Agent integrates with the following specialist agents:
Acceptance Criteria
Must Have
.ai-rules/agents/backend-developer.jsonfilefrontend-developer.jsonShould Have
Nice to Have
Test Plan
Structure Validation
Functional Validation
Integration Validation
get_agent_detailstoolDependencies
.ai-rules/rules/rule files