아티팩트 레지스트리
Apothem 생태계 아티팩트의 완전한 열거: 명령어, 규칙, 헬퍼, 훅, 스킬, 출력 스타일, 아티팩트 진화 규율, 빈 아티팩트 클래스 선언.
아티팩트 코호트의 정규 레지스트리. 이 문서는 명령어, 규칙, 위임 워커, 훅, 스킬, 출력 스타일, 아티팩트 진화 규율, 빈 아티팩트 클래스 선언의 완전한 열거를 담고 있습니다. 실질적인 테이블은 여기에 존재합니다. 프로젝트 소스 레이아웃이 압축된 상시 로드 뷰를 제공합니다.
1. 명령어
src/apothem/commands/*.md(비재귀적)에서 30개의 명령어가 등록됩니다. 모든 명령어는 일급의 등록된 파일입니다. /plan 오케스트레이터는 이미 일급인 플랜 스테이지를 연결할 뿐 자체 스테이지 로직을 지니지 않으므로, 여전히 모놀리식 디스패처도 서브명령어 그룹화도 없습니다. 비-플랜, 비-워크플로 명령어:
| 명령어 | 파일 | 설명 |
|---|---|---|
/a11y-audit | src/apothem/commands/a11y-audit.md | 배포된 웹 서피스의 접근성 감사를 WCAG 2.2 AA에 대해 페이지별로 수행 |
/architecture-review | src/apothem/commands/architecture-review.md | 리포지터리의 설계 아티팩트와 정규 레이어 규율에 대한 아키텍처 무결성 리뷰 |
/code-audit | src/apothem/commands/code-audit.md | 리포지터리 코퍼스 범위의 파일 횡단 포렌식 코드 감사를 여섯 개의 적대적 페이즈에 걸쳐 수행 |
/code-review | src/apothem/commands/code-review.md | src/, scripts/, tools/ 전반의 파일별 코드 품질 리뷰(파일별 소견 포함) |
/dependency-audit | src/apothem/commands/dependency-audit.md | 리포지터리의 매니페스트 파일 전반에 걸친 의존성별(직접 + 전이적) 감사 |
/docs-review | src/apothem/commands/docs-review.md | 호스트 문서 서피스 아래 모든 Markdown 페이지의 문서 리뷰 |
/elevate | src/apothem/commands/elevate.md | 독립적인 비평 헬퍼를 통해 모든 프로젝트 서피스를 현행 SOTA로 끌어올린 뒤 /freshify로 인계 |
/eval | src/apothem/commands/eval.md | eval-harness 스킬 위에 구축된 모델 비종속 언어 모델 평가 캠페인 |
/freshify | src/apothem/commands/freshify.md | 프로젝트를 신선하고 흔적 없고 프로덕션 준비 상태로 만듦; 모든 파괴적 단계는 확인 게이트 적용 |
/github-deploy-fresh | src/apothem/commands/github-deploy-fresh.md | /freshify의 GitHub 특화 버전으로, origin/main에 단일의 신선한 첫 버전 릴리스를 생성 |
/github-deploy-next | src/apothem/commands/github-deploy-next.md | GitHub 릴리스 서피스에서 완전한 다음 릴리스 사이클을 처음부터 끝까지 실행 |
/perf-audit | src/apothem/commands/perf-audit.md | src/apothem/rules/performance-discipline.md의 클래스별 성능 예산에 대한 감사 |
/release-readiness | src/apothem/commands/release-readiness.md | 사전 릴리스 게이트 스윕: 품질 매트릭스, 의존성 위험, 릴리스 엔지니어링 점검 |
/research | src/apothem/commands/research.md | 병렬 소스 발견 및 추출을 동반한 멀티소스 리서치 엔게이지먼트 |
/security-audit | src/apothem/commands/security-audit.md | OWASP ASVS, OWASP Top 10, CWE Top 25에 대한 보안 태세 감사 |
/supply-chain-audit | src/apothem/commands/supply-chain-audit.md | SLSA, Sigstore, SBOM 표준에 대한 공급망 감사 |
/test-suite | src/apothem/commands/test-suite.md | 호스트가 비준한 테스트 프레임워크에 대한 동작 우선 테스트 작성 및 실행 |
/threat-model-audit | src/apothem/commands/threat-model-audit.md | 아키텍처, 데이터 흐름, 신뢰 경계에 걸친 STRIDE 및 PASTA에 대한 위협 모델링 감사 |
/ux-review | src/apothem/commands/ux-review.md | 개발자 경험 리뷰: CLI 에르고노믹스, 설치 흐름, 도움말 텍스트, 오류 메시지 |
플랜 파이프라인 명령어
플랜 파이프라인은 여덟 개의 일급 명령어로 출하됩니다 — 스테이지당 하나씩으로, 각각 src/apothem/commands/plan-<stage>.md의 자체 등록된 파일에서 /plan-<stage>로 직접 호출할 수 있습니다.
| 명령어 | 파일 | 동작 |
|---|---|---|
/plan-spec | src/apothem/commands/plan-spec.md | 자유 형식 산문을 명세 등급의 _spec/spec.md로 정련; 모든 미해결 질문은 묵시적 기본값 지정이 아니라 구조화 질의 채널을 경유; --quick은 <project-root>/.apothem/plans/ 아래에 단일의 경량 플랜 파일을 작성 (.plans/는 계속 지원되는 하위 호환 폴백입니다) |
/plan-generate | src/apothem/commands/plan-generate.md | 작성된 산문/요구사항으로부터 완전한 마스터 플랜 스위트를 생성 |
/plan-review | src/apothem/commands/plan-review.md | 기존 스위트의 포렌식 감사 — 산문 충실도, 내부 일관성, 갭 분석 — 을 대화형 Q&A로 정련 |
/plan-design | src/apothem/commands/plan-design.md | 스위트의 _inputs/design.md에 아키텍처 설계 아티팩트를 생성하고, 승격 전에 15-바 사전 방출 게이트로 검증 |
/plan-audit | src/apothem/commands/plan-audit.md | spec → generate → review 전체 사이클에 걸친 폐루프 감사 및 시정으로, 소견이 0이 되거나 정의된 후퇴를 동반한 반복 상한에 도달할 때까지 루프 |
/plan-execute | src/apothem/commands/plan-execute.md | 적합성 점검과 품질 게이트와 함께 페이즈를 실행 — 기본 노력은 medium, PHASE.md 프런트매터의 effort: 필드로 페이즈별 재정의 가능; 기본적으로 각 페이즈 경계에서 멈추며, --no-pause(또는 프로필의 enforcement.continuous_execution 플래그)로 연속적인 페이즈 간 전진을 활성화 |
/plan-status | src/apothem/commands/plan-status.md | 작업, 페이즈, 아티팩트 차원에 대한 읽기 전용 진행 보고서 |
/plan-amend | src/apothem/commands/plan-amend.md | 기존 스위트를 과거 해결된 결정을 파괴하지 않고 보정·확장·정련·되돌림; 영향받는 하류 아티팩트만 재도출 |
오퍼레이터 워크플로 & 오케스트레이터 명령어
세 개의 명령어는 자체 스테이지 로직을 지니는 대신 깊은 프로시저로 진입합니다: 두 개의 오퍼레이터 워크플로 진입점(각각 같은 이름의 형제 스킬에 의해 뒷받침됨)에 더해 얇은 플랜 파이프라인 오케스트레이터.
| 명령어 | 파일 | 설명 |
|---|---|---|
/workflow | src/apothem/commands/workflow.md | 범용 워크플로 하니싱 진입점(/goal <<mission>>): 진정으로 독립적인 멀티 헬퍼 동적 워크플로를, 명명된 반환 계약, 소견이 살아남기 전 기본 반박 검증, 변경 원장에 공개된 미션을 넘어선 시정, 결정론적 출력 아래에서 구동; 멀티 헬퍼 디스패치와 자동 실행은 옵트인/확인 게이트 적용. workflow 스킬에 의해 뒷받침됨 |
/projectify | src/apothem/commands/projectify.md | 채팅 앱 프로젝트 격상: Claude Project, Custom GPT, 또는 Gem을 위해 Description / Instruction / knowledge-Files 산출물을 현행 SOTA 규약으로, 플랫폼별 측정 가능한 컨텍스트 예산 내에서 작성; 결정론적 출력, 옵트인 자율성. projectify 스킬에 의해 뒷받침됨 |
/plan | src/apothem/commands/plan.md | 일급 플랜 스테이지를 연결하는 얇은 오케스트레이터(plan-spec → plan-generate → plan-review → plan-design(조건부) → plan-execute)로, 각 스테이지를 이전 스테이지의 Handoff Manifest에서 재개; 스테이지 로직을 지니지 않음 — 연결은 옵트인/확인 게이트 적용(--auto는 연속적으로 연결) |
2. 규칙
동작 규칙은 src/apothem/rules/ 아래에 존재합니다 — 작은 상시 로드 코어에 더해 더 큰 경로 필터링 세트(일치하는 아티팩트를 건드릴 때 온디맨드로 로드됨). 규칙별 완전한 열거 — Scope(상시 로드/경로 필터링)와 Implements 열 포함 — 는 레퍼런스 인벤토리 생성기가 src/apothem/rules/*.md에서 갱신하는 소스 생성 reference/rules.mdx입니다. 권위 있는 현행 목록은 이를 참조하십시오.
CM-21 패싯 구분(세 규칙이 서로 겹치지 않는 패싯으로 CM-21을 공동 구현): 창의적 필터 & 인지적 정체성 →
cognitive-identity.md; 생성 방법론(작성 & 재작성 프로토콜) →clean-room-generation.md; 계획/리뷰 기법 →planning-techniques.md. 각 규칙은 자신의 패싯을 소유하고, 다른 규칙은 외부를 참조합니다.
Interactive-questions 스키마 포인터. 구조화 질의의 정규 호출 스키마 — 필수 필드, 필드 요약 테이블, 두 개의 실행 가능한 작업 예시(§2.1의 단일 선택과 §2.2의 다중 선택) — 는
src/apothem/rules/interactive-questions.md§2 "Structured-Inquiry Shape"에 존재합니다. 하류 아티팩트는 §2.1 또는 §2.2를 호출 템플릿으로 복사할 수 있습니다. 각 옵션의description본문이 담는 3-세그먼트 옵션 주석 스키마는 동일 파일의 §3에 명시되어 있습니다.
3. 헬퍼
열두 개의 영속적 헬퍼 정의가 생태계와 함께 출하됩니다. 오케스트레이션 규칙의 팀 패턴이 이들에게 디스패치합니다. 각 정의는 아래에 나열된 파일 경로에 존재합니다.
Worker File Pattern Model Policy
------------------- ------------------------------------------ --------------- -------------
Codebase Explorer src/apothem/agents/codebase-explorer.md Research host-selected
Convention Auditor src/apothem/agents/convention-auditor.md Audit host-selected
Dependency Auditor src/apothem/agents/dependency-auditor.md Audit host-selected
Fact Checker src/apothem/agents/fact-checker.md Audit host-selected
MCP Builder src/apothem/agents/mcp-builder.md Generation host-selected
Memory Auditor src/apothem/agents/memory-auditor.md Audit host-selected
Prompt Evaluator src/apothem/agents/prompt-evaluator.md Quality host-selected
Quality Gate src/apothem/agents/quality-gate.md Quality host-selected
Refactor Surgeon src/apothem/agents/refactor-surgeon.md Implementation host-selected
Research Scout src/apothem/agents/research-scout.md Research host-selected
Security Scanner src/apothem/agents/security-scanner.md Audit host-selected
Test Runner src/apothem/agents/test-runner.md Quality host-selected4. 훅
등록된 모든 훅 명령어는 Claude Code의 exec 형식 명령어 형태
(command: "python"에 args 배열 추가)를 사용하며,
-m apothem.hooks.dispatch 또는 -m apothem.conformity.gate 중 하나를 호출합니다. 디스패처는
생태계 루트 해석을 위해 src/apothem/hooks/lib/resolve_root.py를 임포트하고,
그것과 나란히 src/apothem/hooks/ 자체 아래에 있는 두 헬퍼에 위임합니다:
src/apothem/hooks/emit_hook_context.py는 어시스턴트를 위해 이벤트 페이로드를 포맷하고,
src/apothem/hooks/session_start_bootstrap.py는 디스패처가 해당 이벤트를 라우팅할 때
넘기는 SessionStart 준비 작업을 담당합니다. 지원되는 이벤트가 발화될 때 어시스턴트에게
표시되는 훅 메시지는 src/apothem/hooks/messages/ 아래에 Markdown 컨텍스트 파일로
존재합니다 — 이벤트 변형마다 하나씩: postcompact.md, precompact.md,
pretooluse-bash.md, pretooluse-bash-plan-guard.md, pretooluse-conformity.md,
pretooluse-dependency-guard.md, pretooluse-edit.md, pretooluse-edit-header-guard.md,
pretooluse-eval-guard.md, pretooluse-notebookedit.md, pretooluse-write.md,
pretooluse-write-header-guard.md, pretooluse-write-plan-guard.md, sessionstart.md,
stop.md. 각 라우팅된 컨텍스트 파일은 해당 이벤트가 발화되고 그 컨텍스트 인자가
settings.json에 등록되어 있을 때 디스패처에 의해 로드됩니다. 세 컨텍스트 파일
(pretooluse-conformity.md, pretooluse-dependency-guard.md, pretooluse-eval-guard.md)은
현재 settings.json 라우팅 엔트리 없이 가용한 변형으로 출하됩니다.
Event Automates Timeout Purpose
----------------- ------------------------ -------- --------------------------------------------------
SessionStart CM-14 30s Read memory, check plan state, report readiness
PreCompact CM-24 §2.3 30s Verify state externalized before compaction
PostCompact CM-24 §6.2 30s Restore working state after compaction
Stop CM-14/CM-22/CM-24/CM-26 60s Session-end externalization
PreToolUse CM-7/CM-22 10s Write/Edit/NotebookEdit validation — codebase-isolation, frontmatter, license-header, and plans-locality checks plus the conformity gate. Bash validation — git artifact isolation and plans-locality
PostToolUse — 10s Accepted by src/apothem/hooks/dispatch.py whitelist for forward compatibility; no settings.json entry currently routes this event
UserPromptSubmit — 10s Accepted by src/apothem/hooks/dispatch.py whitelist for forward compatibility; no settings.json entry currently routes this event
Notification — 10s Accepted by src/apothem/hooks/dispatch.py whitelist for forward compatibility; no settings.json entry currently routes this event규약. Automates가
—인 행은dispatch.py에 의해 수락되지만settings.json에 배선되지 않습니다. Timeout 열은 이벤트가 나중에 배선될 경우 적용되는 디스패치 수준의 기본값을 보여줍니다.Timeout 값 정규 블록. 이 테이블의 Timeout 열은 생태계 전반에 걸친 훅 Timeout 값의 단일 진실 공급원입니다.
settings.json의 훅별timeout필드,site/content/docs/reference/settings-reference.mdx§ Hook Events와site/content/docs/reference/artifact-schema.mdx§ Hooks Pipeline의 미러 테이블, 그리고src/apothem/rules/persistent-conventions-vigilance.md§ Convention Awareness의 규칙 가이던스는 모두 이 열에서 도출됩니다. 향후 Timeout 개정은 여기에 착지하고, 소비자는 다음 참조 시 재도출합니다.
설정 템플릿 리뷰 주기
settings.json은 유일한 Claude Code 템플릿입니다. 각 훅 명령어는
셸 특화 래퍼 대신 exec 형식을 사용하므로, 크로스 OS 동작은
짝지어진 템플릿을 diff하는 대신 하나의 파일 내에서 리뷰됩니다. 새로운 퍼미션 엔트리,
훅 이벤트, Timeout, 상태 메시지는 그 파일에 원자적으로 착지합니다.
5. 스킬
재사용 가능한 스킬은 src/apothem/skills/ 아래에 스킬당 한 폴더로 존재합니다.
| 스킬 | 경로 | 사용자 호출 가능 | 목적 |
|---|---|---|---|
| Dependency Upgrade | src/apothem/skills/dependency-upgrade/ | 예 | Changelog 리뷰 완료, 핀 고정, 게이트 검증된 의존성 업그레이드 |
| Dev Toolkit | src/apothem/skills/dev-toolkit/ | 예 | 규율 있는 엔지니어링 루프 — 구조화 디버깅, test-first Red-Green-Refactor, 수직 슬라이스 분해, 요구사항-이슈 분해 |
| Diagram Authoring | src/apothem/skills/diagram-authoring/ | 예 | 선언적 다이어그램과 데이터 시각화를 위한 Author → Validate → Render → Export 파이프라인(SVG / PNG / PDF) |
| Document Authoring | src/apothem/skills/document-authoring/ | 예 | 승인 게이트 적용 장문 문서 작성(Outline → Draft → Review), 검증된 인용과 결정론적 조판 컴파일 포함 |
| Ecosystem Audit | src/apothem/skills/ecosystem-audit/ | 예 | Apothem 구성 트리의 블라인드 감사 |
| Eval Harness | src/apothem/skills/eval-harness/ | 예 | 명시적 통과 기준을 동반한 재현 가능한 언어 모델 평가 하니스 |
| Incident Runbook | src/apothem/skills/incident-runbook/ | 예 | Trigger → Diagnosis → Action → Verification → Rollback으로서의 런북 작성 |
| Multi-Source Research | src/apothem/skills/multi-source-research/ | 예 | 팬아웃되고 교차 검증되며 인용된 리서치 보고서 |
| Plan Suite | src/apothem/skills/plan-suite/ | 아니요 | /plan 파이프라인 스테이지가 소비하는 마스터 템플릿 |
| Projectify | src/apothem/skills/projectify/ | 예 | 채팅 앱 프로젝트 격상 — Description / Instruction / knowledge-Files 산출물을 플랫폼별 측정 가능한 컨텍스트 예산 내에서 SOTA 규약으로 |
| Prompt Engineering | src/apothem/skills/prompt-engineering/ | 예 | Eval 검증된 구조화 프롬프트 설계 |
| Refactor Extract | src/apothem/skills/refactor-extract/ | 예 | 동작 보존 추출 리팩터링 |
| Secret Rotation | src/apothem/skills/secret-rotation/ | 예 | 노출된 자격 증명의 안전한 폐기 및 교체 |
| Source Synthesis | src/apothem/skills/source-synthesis/ | 예 | 고정된 소스 세트를 하나의 인용된 종합으로 조정 |
| Surgical Guard | src/apothem/skills/surgical-guard/ | 예 | 최소 diff 앵커 경계 편집을 반응적이고 diff 기반인 편집 후 품질 가드와 결합 |
| Test Authoring | src/apothem/skills/test-authoring/ | 예 | Arrange-Act-Assert 규율을 동반한 동작 우선 테스트 작성 |
| Vuln Triage | src/apothem/skills/vuln-triage/ | 예 | 보안 권고를 심각도로 분류하고 시정을 라우팅 |
| Workflow | src/apothem/skills/workflow/ | 예 | 적대적 기본 반박 검증과 공개된 미션을 넘어선 시정을 동반한 범용 멀티 헬퍼 워크플로 하니싱 |
규약. 각 행의 경로는 폴더입니다. 진입점은 그 안의
SKILL.md파일 — 예:src/apothem/skills/plan-suite/SKILL.md— 으로, 프로젝트 소스 레이아웃에 선언된 폴더-with-SKILL.md스킬 규약을 따릅니다.
6. 출력 스타일
네 개의 출력 스타일이 src/apothem/output-styles/ 아래에 존재합니다.
| 스타일 | 파일 | 목적 |
|---|---|---|
| Default | src/apothem/output-styles/default.md | 생태계 기본 스타일 — 통일된 출력 규약, 계획 콘텐츠 라우팅, 파일 작성 계약 |
| Default Architect | src/apothem/output-styles/default-architect.md | 시니어 아키텍트 톤 — 분석적, 직접적, 구체적 동인 인용 |
| Concise Engineer | src/apothem/output-styles/concise-engineer.md | 단문 형식 엔지니어링 출력 — 최소 산문, 코드 우선 |
| Forensic Auditor | src/apothem/output-styles/forensic-auditor.md | 리뷰 클래스 자세 — 소견별, 스코어카드 형상 출력, 소견별 반증자 |
7. 아티팩트 진화
필수. 재사용 가능한 패턴, 시정, 또는 기법이 재발할 때(한 세션에서 2회 이상, 또는 메모리에 재발로 기록됨), 생태계는 진화해야 합니다. 사이클에는 네 단계가 있습니다: 어떤 상호작용 중에든 패턴을 Detect; 기존 스킬, 규칙, 명령어, 훅, 메모리를 중첩에 대해 Search; 일치하는 아티팩트를 제자리에서 진화시키거나(절차, 안티패턴, 스코프 갱신) 관심사가 진정으로 직교할 때 새로 생성함으로써 Act; 상호 참조가 여전히 해석되고 의존 아티팩트가 일관되게 유지되는지 Validate. 생성보다 정련을 우선하십시오 — 새 아티팩트는 유지보수 표면을 복리로 늘립니다. 모든 아티팩트 클래스에 걸친 갭 감지 트리거의 닫힌 카탈로그를 포함한 전체 프로토콜은 src/apothem/rules/persistent-conventions-vigilance.md §2+§4를 참조하십시오.
8. 빈 아티팩트 클래스
생태계 레지스트리에 선언되었으나 활성화 트리거가 발화될 때까지 의도적으로 비어 있는 서피스. 각 행은 예약된 서피스, 그 클래스를 발판으로 세우는 파일 또는 디렉터리, 그리고 그 행을 빈-증명에서 채워짐으로 승격시키는 트리거를 기록합니다.
| 클래스 | 발판 | 상태 | 활성화 트리거 |
|---|---|---|---|
| MCP 서버 | (아직 발판 없음) | 빈-증명 | 사용자 구성 루트 아래 최초의 MCP 서버 설치 |
빈-증명은 갭이 아니라 긍정적 선언입니다. 클래스의 발판(존재할 경우)은 활성화 순간을 추적하는 정규 no-op 아티팩트입니다. 빈-증명에서 채워짐으로의 승격은 발판의 최초 비-빈 값과 함께 관련 레지스트리 섹션에 원자적으로 착지합니다.