From npd
Designs physical architecture documentation for Kubernetes infrastructure and network components, producing Mermaid diagrams and markdown files.
How this command is triggered — by the user, by Claude, or both
Slash command
/npd:design-physical-architectureThe summary Claude sees in its command listing — used to decide when to auto-load this command
### 물리 아키텍처 설계 Agent: architect (`/ralph` 활용)
1. 현재 작업 중인 프로젝트의 `AGENTS.md` 파일을 "view_file" 등으로 꼼꼼히 읽으세요.
2. 파일에서 `NPD_PLUGIN_DIR`의 위치를 파악할 뿐만 아니라, 그 안에 적힌 팀 행동원칙, 대화 가이드, 정직한 보고 등 "모든 지침"을 이번 작업 전체에 걸쳐 우선적으로 엄격히 준수하세요.
3. 파악한 경로를 기준으로 아래 가이드를 준수하여 진행하세요.
- **GUIDE**: `{NPD_PLUGIN_DIR}/resources/guides/design/physical-architecture-design.md` 준수
- **TASK**: 주요/운영 환경별 K8s 인프라/네트워크 컴포넌트 구성과 Mermaid 다이어그램을 포함하여 문서를 설계 및 작성.
- **EXPECTED OUTCOME**: `docs/design/physical/physical-architecture.md`, `physical-architecture-dev.md`, `physical-architecture-prod.md`, `physical-architecture-dev.mmd`, .../ralph 활용)AGENTS.md 파일을 "view_file" 등으로 꼼꼼히 읽으세요.NPD_PLUGIN_DIR의 위치를 파악할 뿐만 아니라, 그 안에 적힌 팀 행동원칙, 대화 가이드, 정직한 보고 등 "모든 지침"을 이번 작업 전체에 걸쳐 우선적으로 엄격히 준수하세요.{NPD_PLUGIN_DIR}/resources/guides/design/physical-architecture-design.md 준수docs/design/physical/physical-architecture.md, physical-architecture-dev.md, physical-architecture-prod.md, physical-architecture-dev.mmd, physical-architecture-prod.mmd, network-dev.mmd, network-prod.mmd사용자가 "물리 아키텍처 설계", "물리 아키텍처 설계 해줘", "물리 아키텍처 부탁해" 키워드를 언급할 때.
| # | 규칙 |
|---|---|
| 1 | <!--ASK_USER--> 발견 시 AskUserQuestion 도구 호출 필수 (텍스트 출력 금지) |
docs/design/physical/) 작성 완료npx claudepluginhub unicorn-plugins/npd --plugin npd/create-architecture-documentationAnalyzes system architecture and generates comprehensive documentation across context, containers, components, data, security, and quality. Supports C4, Arc42, ADRs, and diagram-as-code via PlantUML or Mermaid.
/diagramGenerates C4 architecture diagrams (context, container, component) in Mermaid or PlantUML from design documents.
/diagramGenerates infrastructure and architecture diagrams using D2 from codebase analysis, producing detailed/simplified MD docs, D2 sources, and light/dark SVGs in ./diagrams/.
/diagramGenerates architecture diagrams from project artifacts using Mermaid or PlantUML C4 syntax, supporting types like C4 context, container, component, and sequence diagrams.
/architectGenerates a structured architecture document from user requirements, covering system boundaries, components, data flow, technology choices, and risks.
/enrichEnriches Drawio diagrams with details from code analysis, API docs, and web research. Generates diagrams from source code or analyzes gaps in existing ones.