Not loaded · from aidlc
Generates scaffolding, interfaces, data models, and implementation code step by step from an approved design.md. Uses template-based generation, rollback snapshots, and contract violation detection for safety. All changes require human approval gates.
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을 실행합니다.
component-design skill이 생성한 design.md가 리뷰어 승인을 받은 직후component-design으로 재작성)test-strategy skill이 먼저 작성한 실패 테스트를 통과시키는 구현 단계(TDD 흐름)다음 상황에서는 사용하지 않습니다.
design.md가 아직 승인되지 않은 상태 — 승인 전 코드 생성은 계약 위반을 유발합니다.component-design으로 설계 재작성이 필요합니다..omao/plans/construction/design.md 존재 및 리뷰어 승인 기록(aidlc-docs/audit.md) 완료.pyproject.toml, ruff.toml, .eslintrc 등)..omao/plans/construction/rollback/ 디렉토리 쓰기 권한.design.md의 Interfaces 섹션에서 타입 서명과 예외 계약을 추출하여 체크리스트로 변환합니다.
DESIGN=.omao/plans/construction/design.md
test -f "$DESIGN" || { echo "design.md missing"; exit 1; }
grep -qE "^## Interfaces" "$DESIGN" || { echo "Interfaces section missing"; exit 1; }
각 인터페이스에 대해 다음을 태스크 리스트로 기록합니다: 서명, 예외, 멱등성, 호출자, 호출 대상.
.omao/plans/construction/code-plan.md를 작성합니다. 다음 단계로 분할합니다.
각 단계는 별도 커밋으로 분리하여 리뷰 단위를 작게 유지합니다.
코드 수정 대상 파일을 현재 상태 그대로 .omao/plans/construction/rollback/에 보관합니다.
STAMP=$(date +%Y%m%d-%H%M%S)
mkdir -p ".omao/plans/construction/rollback/${STAMP}"
git diff --name-only main -- . | xargs -I{} sh -c 'mkdir -p ".omao/plans/construction/rollback/${STAMP}/$(dirname {})" && cp {} ".omao/plans/construction/rollback/${STAMP}/{}"'
롤백 경로는 eval regression 또는 리뷰 반려 시 즉시 복원에 사용합니다.
정형화된 코드(Pydantic 모델, API 핸들러 뼈대, 테스트 스텁)는 템플릿으로 생성합니다. 자유 서술이 필요한 로직(프롬프트 구성, 복잡한 제어 흐름)은 설계 문서 근거를 명시적으로 참조하여 작성합니다.
템플릿 예시 — Tool 구현 스텁:
# src/tools/retrieval.py
from typing import Sequence
from src.contracts import RetrievalTool, RetrievalResult
class MilvusRetrievalTool(RetrievalTool):
def __init__(self, collection: str) -> None:
self._collection = collection
def search(self, query: str, top_k: int) -> Sequence[RetrievalResult]:
raise NotImplementedError("implement in Step 4.2")
생성 완료 후 다음 정적 검증을 수행합니다. 하나라도 실패하면 해당 커밋을 되돌립니다.
mypy --strict 또는 tsc --noEmitruff check 또는 eslintruff format --check 또는 prettier --checkruff check . && ruff format --check . && mypy --strict src/
변경 사항을 feature branch에 커밋하고 PR을 Draft로 생성합니다. main에 직접 푸시하거나 auto-merge를 설정하지 않습니다.
BRANCH="construction/${UNIT}-$(date +%Y%m%d-%H%M)"
git checkout -b "$BRANCH"
git add .
git commit -m "feat(${UNIT}): scaffold interfaces and data model per design.md"
gh pr create --draft \
--title "feat(${UNIT}): Construction implementation" \
--body "Implements design.md §2 §3. Rollback at .omao/plans/construction/rollback/${STAMP}/"
리뷰어 승인 없이 머지되지 않도록 repository의 branch protection 설정을 사용합니다.
test-strategy skill이 eval suite를 실행할 수 있도록 entry point를 노출합니다. tests/eval/run.py 또는 Makefile target(make eval)이 존재해야 합니다. 존재하지 않으면 stub을 생성하고 test-strategy skill로 실행을 위임합니다.
Good — 결정적 Tool을 먼저 구현하여 독립 unit test가 가능합니다.
class DeterministicHashTool:
def compute(self, text: str) -> str:
return hashlib.sha256(text.encode()).hexdigest()
Bad — LLM 호출이 Tool 내부에 숨겨져 mock 지점이 불명확합니다.
class SummaryTool:
def run(self, text: str) -> str:
return anthropic.Anthropic().messages.create(...) # LLM 호출 직접 매립
Good — PR이 Draft 상태이고 설계 근거가 본문에 명시되어 있습니다.
Bad — main에 직접 푸시했으며 설계 문서 링크가 없습니다.
본 skill 실행 종료 직전 다음을 자동 검증합니다.
.omao/plans/construction/code-plan.md 존재.omao/plans/construction/rollback/${STAMP}/ 스냅샷 생성aidlc-docs/audit.md에 제출 기록What SKILL.md sets; muted values are Claude Code's defaults
claude-sonnet-4-611 skills in this plugin
/component-designInception 아티팩트(requirements, user-stories, workflow-plan)를 입력으로 받아 agentic 시스템의 컴포넌트 경계·인터페이스 계약·데이터 모델을 설계하고 `.omao/plans/construction/design.md`를 생성한다. Agent·Tool·Memory·Gateway 경계를 명확히 나누고 후속 code-generation·test-strategy skill의 단일 진실원 역할을 한다./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 진입을 차단한다./requirements-analysisAdaptive-depth requirements analysis for AIDLC Inception. Simple features produce a 1-paragraph brief; complex features produce structured REQ-001/REQ-002 functional and non-functional requirements with acceptance criteria and traceability to user stories./risk-discoveryConstruction 단계 실행 직전, Inception 아티팩트와 설계 문서를 교차 분석하여 12개 카테고리 기반 위험 체크포인트를 탐지한다. 비즈니스 연속성·보안·외부 통합·데이터 일관성·비용·성능·규제·가용성·장애 전파 반경·운영 복잡도·의존성 취약점·롤백 가능성을 각각 PASS/WARN/BLOCK으로 판정하고 BLOCK 항목은 다음 phase 진입을 차단한다./structured-intakeAIDLC Inception 시작 시 자유 형식 발화 대신 구조화된 템플릿으로 프로젝트 정보를 수집한다. project-info 템플릿과 requirements 템플릿을 순차 생성하여 후속 workspace-detection·requirements-analysis·user-stories skill이 소비할 단일 진실원을 제공한다.npx claudepluginhub aws-samples/sample-oh-my-aidlcops --plugin aidlcOther plugins' skills for the same job