Not loaded · from aidlc
Enforces mandatory gate checklists at AIDLC phase boundaries (inception, construction, operations). Blocks phase progression when requirements, design, test, or governance criteria are unmet.
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을 실행합니다.
다음 상황에서는 사용하지 않습니다.
.omao/state/gates/ 디렉토리 쓰기 권한. 본 skill이 phase별 gate 상태를 JSON으로 기록합니다.inception·construction·operations 중 하나.audit-rules.md와 quality-gates 원칙을 반영하여 OMA 경어체 phase boundary 강제로 재구성.본 skill은 gate 미통과 시 다음 phase 진입을 절대 허용하지 않습니다. 예외 승인은 의사결정자 서명이 포함된 waiver 문서(.omao/state/gates/waivers/<phase>-<timestamp>.md)가 별도로 존재하는 경우에만 유효합니다.
PHASE="${1:?usage: quality-gates <inception|construction|operations>}"
STATE_DIR=".omao/state/gates"
mkdir -p "$STATE_DIR/waivers"
Phase에 해당하는 필수 체크 항목을 로딩합니다.
| 체크 항목 | 검증 방법 | 필수 여부 |
|---|---|---|
.omao/plans/<slug>/project-info.md 존재 | 파일 존재 확인 | 필수 |
requirements.md REQ-ID ≥ 3 | Grep 패턴 REQ-\d{3} | 필수 |
user-stories.md 스토리마다 수락 기준 포함 | Grep Acceptance: | 필수 |
workflow-plan.md 컴포넌트 호출 순서 기술 | Mermaid 또는 표 존재 | 필수 |
| 의사결정자 서명 | Sign-off 테이블에 이름·일시 기재 | 필수 |
| 체크 항목 | 검증 방법 | 필수 여부 |
|---|---|---|
.omao/plans/construction/design.md 8개 섹션 완결 | Grep 섹션 헤딩 | 필수 |
| 코드 커버리지 ≥ 80% | 테스트 리포트 파싱 | 필수 |
| 테스트 전수 통과 | CI 결과 all passed | 필수 |
| risk-discovery BLOCK = 0 | .omao/state/risk-checkpoints/<slug>-*.md 판정 | 필수 |
| 설계 리뷰어 승인 | audit-trail 로그에 approval 이벤트 | 필수 |
| 체크 항목 | 검증 방법 | 필수 여부 |
|---|---|---|
| continuous-eval 24시간 green | Langfuse score ≥ 임계 | 필수 |
| cost-governance budget OK | 월간 예상 지출 ≤ 상한 | 필수 |
| runbook 문서화 완료 | .omao/plans/ops/runbook.md 존재 | 필수 |
| on-call rotation 지정 | PagerDuty·Slack 채널 설정 | 필수 |
| incident-response 리허설 수행 | game-day 로그 존재 | 권장 |
각 항목을 자동 또는 반자동으로 검증합니다.
SLUG="${SLUG:?set SLUG env var}"
PHASE="$1"
RESULT_FILE="$STATE_DIR/${PHASE}.json"
FAILURES=()
case "$PHASE" in
inception)
test -f ".omao/plans/${SLUG}/project-info.md" || FAILURES+=("project-info.md missing")
test -f ".omao/plans/${SLUG}/requirements.md" || FAILURES+=("requirements.md missing")
test -f ".omao/plans/${SLUG}/user-stories.md" || FAILURES+=("user-stories.md missing")
test -f ".omao/plans/${SLUG}/workflow-plan.md" || FAILURES+=("workflow-plan.md missing")
;;
construction)
test -f ".omao/plans/construction/design.md" || FAILURES+=("design.md missing")
RISK_FILE=$(ls -t .omao/state/risk-checkpoints/${SLUG}-*.md 2>/dev/null | head -1)
test -n "$RISK_FILE" || FAILURES+=("risk-discovery report missing")
grep -q "BLOCK" "$RISK_FILE" 2>/dev/null && FAILURES+=("risk-discovery BLOCK detected")
;;
operations)
test -f ".omao/plans/ops/runbook.md" || FAILURES+=("runbook.md missing")
;;
*)
echo "unknown phase: $PHASE"; exit 2
;;
esac
검증 결과를 JSON으로 기록합니다.
{
"phase": "construction",
"slug": "rag-qa",
"timestamp": "2026-04-21T09:15:00Z",
"status": "passed|blocked",
"checks": {
"design.md": "pass",
"test_coverage": "pass",
"risk_discovery": "pass"
},
"blockers": [],
"waiver_ref": null,
"next_phase_allowed": true
}
저장 경로: .omao/state/gates/<phase>.json
Gate가 blocked 상태면 다음을 수행합니다.
.omao/state/gates/<phase>.json의 next_phase_allowed를 false로 기록code-generation, autopilot-deploy 등)은 본 파일을 사전 확인하고 blocked 상태면 즉시 종료audit-trail skill에 이벤트를 전달하여 감사 로그에 기록예외 승인은 다음 모든 조건을 충족해야 유효합니다.
.omao/state/gates/waivers/<phase>-<timestamp>.md 파일 존재---
phase: construction
waived_by: "홍길동 (CTO)"
issued_at: "2026-04-21T10:00:00Z"
expires_at: "2026-04-28T10:00:00Z"
reason: "risk-discovery category 11 BLOCK은 의존성 업그레이드 PR(#1234)로 48시간 내 해결 예정"
blockers_waived:
- "dependency CVE-2026-1234"
---
본 skill 실행 종료 직전 다음을 자동 검증합니다.
.omao/state/gates/<phase>.json 생성됨status 필드가 passed 또는 blockedblockers 배열이 실제 미통과 항목과 일치audit-trail에 gate 판정 이벤트 기록Good — Construction gate가 risk-discovery BLOCK을 감지하여 진입 차단.
{
"phase": "construction",
"status": "blocked",
"blockers": ["risk-discovery category 2 (Security) BLOCK: plaintext secret in configmap"],
"next_phase_allowed": false
}
Bad — 체크리스트 없이 수동 판정으로 skip.
"리뷰어가 구두로 OK했으니 다음 단계 진행합니다." — 감사 증빙 부재, 재현 불가.
../risk-discovery/SKILL.md — Construction gate의 핵심 입력 제공자../../inception/requirements-analysis/SKILL.md — Inception gate의 입력 생성자../../agenticops/skills/continuous-eval/SKILL.md — Operations gate의 품질 지표 공급자../../agenticops/skills/cost-governance/SKILL.md — Operations gate의 비용 판정 공급자../../agenticops/skills/audit-trail/SKILL.md — gate 판정 이벤트 감사 로그 기록자What SKILL.md sets; muted values are Claude Code's defaults
claude-sonnet-4-6Three short reads, in order
npx claudepluginhub aws-samples/sample-oh-my-aidlcops --plugin aidlc11 skills in this plugin
/code-generation승인된 design.md를 기반으로 스캐폴딩·인터페이스·데이터 모델·구현 코드를 단계별로 생성하고 모든 변경을 사람 승인 gate에 제출한다. 템플릿 기반 생성·롤백 스냅샷·계약 위반 감지로 안전성을 확보하며 auto-merge는 금지된다./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 한다./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이 소비할 단일 진실원을 제공한다.Other plugins' skills for the same job