| name | phase-4-api |
| context | fork |
| background | false |
| classification | capability |
| classification-reason | Pattern guidance may overlap with model's built-in knowledge as it improves |
| deprecation-risk | medium |
| effort | high |
| user-invocable | false |
| description | Design and implement backend APIs with Zero Script QA validation.
Triggers: API design, REST API, backend, endpoint
|
| agent | bkit:qa-monitor |
| allowed-tools | ["Read","Write","Edit","Glob","Grep","Bash"] |
| next-skill | phase-5-design-system |
| pdca-phase | do |
| task-template | [Phase-4] {feature} |
Phase 4: API Design/Implementation + Zero Script QA
Backend API implementation and script-free QA
Purpose
Implement backend APIs that can store and retrieve data. Validate with structured logs instead of test scripts.
What to Do in This Phase
- API Design: Define endpoints, requests/responses
- API Implementation: Write actual backend code
- Zero Script QA: Log-based validation
Deliverables
docs/02-design/
โโโ api-spec.md # API specification
src/api/ # API implementation
โโโ routes/
โโโ controllers/
โโโ services/
docs/03-analysis/
โโโ api-qa.md # QA results
PDCA Application
- Plan: Define required API list
- Design: Design endpoints, requests/responses
- Do: Implement APIs
- Check: Validate with Zero Script QA
- Act: Fix bugs and proceed to Phase 5
Level-wise Application
| Level | Application Method |
|---|
| Starter | Skip this Phase (no API) |
| Dynamic | Use bkend.ai BaaS (see below) |
| Enterprise | Implement APIs directly |
Dynamic Level: bkend.ai BaaS API Implementation
Step 1: MCP Setup
claude mcp add bkend --transport http https://api.bkend.ai/mcp
Step 2: Table Design (via MCP tools)
Natural language request: "Create a users table with name(required), email(required, unique), age fields"
-> MCP backend_table_create auto-invoked
Step 3: Service API Integration
| Method | Endpoint | Description |
|---|
| GET | /v1/data/{table} | List (filter, sort, page) |
| POST | /v1/data/{table} | Create data |
| GET | /v1/data/{table}/{id} | Get single |
| PATCH | /v1/data/{table}/{id} | Partial update |
| DELETE |