Generate business code and test code based on the full specification chain (sequence diagrams, API YAML, DB DDL, test case specs). Use when test cases exist in logos/resources/test/ but logos/resources/implementation/ is empty.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Generate business code and test code based on the full specification chain (sequence diagrams, API YAML, DB DDL, test case specs). Use when test cases exist in logos/resources/test/ but logos/resources/implementation/ is empty.
Skill: Code Implementor
Generate business code and test code based on the full specification chain (sequence diagrams, API YAML, DB DDL, test case specs). Ensure strict spec fidelity, embed OpenLogos reporter, and deliver closed-loop batches per scenario.
Trigger Conditions
User requests code implementation or code generation
User mentions "Phase 3 Step 4", "code generation", "implement S01"
Test case design is complete (logos/resources/test/ is non-empty) and coding should begin
User specifies a scenario number (e.g., S01) to implement
If sequence diagrams or test case directories are empty, prompt the user to complete Phase 3 Step 1 (scenario-architect) and Step 3a (test-writer) first.
Core Capabilities
Load full specification context to establish an implementation baseline
Plan batch execution strategy, splitting large tasks by scenario or module
Generate business code strictly consistent with API YAML (routes, status codes, error codes, fields)
Generate data access code strictly aligned with DB DDL (table names, column names, types, constraints)
Generate test code with IDs exactly matching test-cases.md
Embed OpenLogos reporter in test code (outputting to test-results.jsonl)
Self-check after each batch to ensure spec fidelity
Relationship with test-writer and code-reviewer
This Skill sits in the middle of a three-Skill chain:
test-writer (Step 3a): Designs test case specification documents (Markdown), defines UT/ST IDs — the "exam designer"
code-implementor (Step 4, this Skill): Transforms all specs into runnable business code and test code — the "exam taker"
code-reviewer (after Step 4): Audits generated business code against specs, outputs a review report — the "exam grader"
test-writer writes no code; code-implementor designs no test cases; code-reviewer modifies no code. Together they form a Design → Execute → Review closed loop.
Execution Steps
Step 1: Load Specification Context
Before writing any line of code, read the following documents to establish full context: