Not loaded · from aidlc
Designs component boundaries, interface contracts, and data models for agentic systems from inception artifacts. Generates .omao/plans/construction/design.md as the single source of truth for code generation and test strategy.
Claude Code won't load this skill
It ships in aidlc at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
다음 상황에서 본 skill을 실행합니다.
다음 상황에서는 사용하지 않습니다.
aidlc (inception) skill들로 상위 단계를 완료해야 합니다.code-generation skill로 직접 진행합니다.aidlc-docs/inception/requirements.md 존재 및 Inception stage가 Completed 상태.aidlc-docs/inception/user-stories.md 존재, 각 스토리에 수락 기준(acceptance criteria) 포함.aidlc-docs/inception/workflow-plan.md 존재, 컴포넌트 간 호출 순서와 데이터 흐름 기술..omao/plans/construction/ 디렉토리 쓰기 권한.Inception 산출물을 읽고 본 설계 세션의 범위를 확정합니다.
FEATURE="$1" # 예: rag-qa-agent
test -f aidlc-docs/inception/requirements.md || { echo "missing requirements"; exit 1; }
test -f aidlc-docs/inception/user-stories.md || { echo "missing user-stories"; exit 1; }
test -f aidlc-docs/inception/workflow-plan.md || { echo "missing workflow-plan"; exit 1; }
mkdir -p .omao/plans/construction
범위 확정 항목: 대상 feature 이름, 포함 user stories 목록, 제외 항목(out-of-scope), 외부 시스템 경계.
Agentic 시스템의 4가지 표준 역할 축에 따라 컴포넌트를 분류합니다.
각 컴포넌트의 책임·입력·출력·에러 경로를 표로 정리합니다.
컴포넌트 간 호출은 타입 서명·에러 모델·멱등성(idempotency) 정책을 포함한 계약으로 명세합니다. Python의 경우 Protocol 또는 dataclass, TypeScript의 경우 interface를 사용합니다.
from typing import Protocol, Sequence
from dataclasses import dataclass
@dataclass(frozen=True)
class RetrievalResult:
doc_id: str
score: float
content: str
class RetrievalTool(Protocol):
def search(self, query: str, top_k: int) -> Sequence[RetrievalResult]: ...
모든 인터페이스는 다음 4가지를 명시합니다: 입력 타입, 출력 타입, 예외 타입, 멱등성 여부.
영속 데이터는 별도 섹션으로 스키마를 정의합니다. 벡터 DB·RDB·오브젝트 스토리지·캐시를 분리하여 기술합니다.
| 저장소 종류 | 기술 스택 권장 | 스키마 필수 항목 |
|---|---|---|
| 벡터 DB | Milvus, pgvector | collection 이름, dimension, metric, partition 키 |
| RDB | PostgreSQL | 테이블명, PK, FK, 인덱스, 제약조건 |
| 오브젝트 스토리지 | S3 | bucket, prefix, 객체 lifecycle |
| 캐시 | Redis, ElastiCache | key 패턴, TTL, eviction 정책 |
design.md 산출물 작성다음 섹션 순서로 .omao/plans/construction/design.md를 작성합니다.
design.md 작성 완료 후 리뷰어에게 검토를 요청합니다. 승인 방식은 PR 코멘트 또는 audit log 기록입니다.
Migrated from plain-text audit.md to schema-validated JSONL in v0.5:
python3 -m tools.oma_audit.append \
--actor "$USER" --role skill-component-design \
--action gate-pass \
--entity-type Skill --entity-id component-design \
--phase construction \
--reason "design.md submitted for review"
리뷰어가 승인 전까지 code-generation·test-strategy skill 실행을 차단합니다.
Good — 인터페이스가 타입·예외·멱등성을 모두 명시합니다.
class LangfuseTracer(Protocol):
def log_trace(self, trace_id: str, payload: dict) -> None:
"""멱등: 동일 trace_id 재호출 시 첫 호출만 저장. 네트워크 실패 시 LangfuseUnavailable 발생."""
Bad — 계약이 느슨하여 구현자가 자유 해석합니다.
def log_trace(payload):
# 어떤 타입? 실패 시 동작? 재호출 허용?
...
Good — Agent와 Tool 경계가 분리되어 있어 Tool만 독립적으로 unit test 가능합니다.
Bad — LLM 호출과 DB 조회가 한 함수에 혼재되어 mock 지점이 불분명합니다.
본 skill 실행 종료 직전 다음을 자동 검증합니다.
.omao/plans/construction/design.md 존재aidlc-docs/audit.md에 기록됨What SKILL.md sets; muted values are Claude Code's defaults
claude-opus-4-711 skills in this plugin
/code-generation승인된 design.md를 기반으로 스캐폴딩·인터페이스·데이터 모델·구현 코드를 단계별로 생성하고 모든 변경을 사람 승인 gate에 제출한다. 템플릿 기반 생성·롤백 스냅샷·계약 위반 감지로 안전성을 확보하며 auto-merge는 금지된다./ontology-wiki생성 전(pre-generation) grounding 레이어. 온톨로지 엔티티(Spec/ADR/Deployment/Agent/Skill/Incident/Budget/Risk)를 작성하기 전에 지식 그래프를 질의해 기존 정의·enum·전례·결정 이유를 확인함으로써 drift를 소스에서 차단한다. adr-0001-graphify-knowledge-wiki 결정에 따라 Graphify(MIT)를 런타임 질의 substrate로 사용하며, Graphify 미가용 시 raw 스키마/docs 읽기로 graceful degradation 한다./quality-gatesAIDLC 각 phase 종료 시점에 필수 gate 체크리스트를 강제한다. Inception gate는 요구사항·사용자 스토리·워크플로우 계획 서명을, Construction gate는 설계·코드·테스트 전수 통과와 risk-discovery PASS를, Operations gate는 continuous-eval 24시간 green과 cost-governance budget OK를 요구한다. 미통과 시 `.omao/state/gates/<phase>.json`에 blocked 상태를 기록하고 다음 phase 진입을 차단한다.npx claudepluginhub aws-samples/sample-oh-my-aidlcops --plugin aidlcOther plugins' skills for the same job