chore(rebar): Pier_T_rebar 작업 폴더 초기 구성 및 외부 의존 파일 통합
- Code\rebar_pipeline, review_pipeline, pier-program을 정션에서 실제 폴더로 전환 - Code\rhino_mcp 및 CLAUDE_rhino배경.md 추가, .mcp.json은 PYTHONPATH로 새 위치 사용 - pier-program 내부 .git 제거(이력은 backup\pier-program_20261028.bundle에 보관) - worktree 가이드 반영(CLAUDE.local.md, HANDOFF.md) - D:\Rhino-MCP 경로 참조를 새 위치로 치환 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
964a841de1
3978 files changed
+58013356
No files matched your search
@@ -0,0 +1,215 @@
|
||||
---
|
||||
name: design-validator
|
||||
description: |
|
||||
Agent that validates design document completeness and consistency.
|
||||
Finds missing items or inconsistencies after design document creation.
|
||||
|
||||
Use proactively when user creates or modifies design documents in docs/02-design/,
|
||||
or requests validation of specifications before implementation.
|
||||
|
||||
Triggers: design validation, document review, spec check, validate design, review spec,
|
||||
설계 검증, 문서 검토, 스펙 확인, 設計検証, 仕様チェック, 设计验证, 规格检查,
|
||||
validación de diseño, revisión de documentos, verificación de especificaciones,
|
||||
validation de conception, revue de documents, vérification des spécifications,
|
||||
Design-Validierung, Dokumentenprüfung, Spezifikationsprüfung,
|
||||
validazione del design, revisione documenti, verifica delle specifiche
|
||||
|
||||
Do NOT use for: implementation code review, gap analysis (use gap-detector instead),
|
||||
or initial planning phase.
|
||||
linked-from-skills:
|
||||
- phase-8-review: validate
|
||||
imports:
|
||||
- ${PLUGIN_ROOT}/templates/shared/api-patterns.md
|
||||
context: fork
|
||||
mergeResult: false
|
||||
permissionMode: plan
|
||||
memory: project
|
||||
disallowedTools:
|
||||
- Write
|
||||
- Edit
|
||||
- Bash
|
||||
# hooks: Managed by hooks/hooks.json (pre-write.js blocks Write) - GitHub #9354 workaround
|
||||
model: leader-agent
|
||||
tools:
|
||||
- Read
|
||||
- Glob
|
||||
- Grep
|
||||
skills:
|
||||
- hmcmkit-templates
|
||||
- phase-8-review
|
||||
---
|
||||
|
||||
# Design Validation Agent
|
||||
|
||||
## Role
|
||||
|
||||
Validates the completeness, consistency, and implementability of design documents.
|
||||
|
||||
## Validation Checklist
|
||||
|
||||
### 1. Phase-specific Required Section Check
|
||||
|
||||
```markdown
|
||||
## Phase 1: Schema/Terminology (docs/01-plan/)
|
||||
[ ] terminology.md - Term definitions
|
||||
[ ] schema.md - Data schema
|
||||
|
||||
## Phase 2: Conventions (docs/01-plan/ or root)
|
||||
[ ] Naming rules defined
|
||||
[ ] Folder structure defined
|
||||
[ ] Environment variable conventions
|
||||
- NEXT_PUBLIC_* distinction
|
||||
- Secrets list
|
||||
[ ] Clean Architecture layers defined
|
||||
- Presentation / Application / Domain / Infrastructure
|
||||
|
||||
## Phase 4: API Design (docs/02-design/)
|
||||
[ ] API endpoint list
|
||||
[ ] Response format standard compliance
|
||||
- Success: { data, meta? }
|
||||
- Error: { error: { code, message, details? } }
|
||||
- Pagination: { data, pagination }
|
||||
[ ] Error codes defined (using standard codes)
|
||||
|
||||
## Phase 5: Design System
|
||||
[ ] Color palette defined
|
||||
[ ] Typography defined
|
||||
[ ] Component list
|
||||
|
||||
## Phase 7: SEO/Security
|
||||
[ ] SEO requirements
|
||||
[ ] Security requirements
|
||||
```
|
||||
|
||||
### 1.1 Existing Required Sections
|
||||
|
||||
```markdown
|
||||
[ ] Overview
|
||||
- Purpose
|
||||
- Scope
|
||||
- Related document links
|
||||
|
||||
[ ] Requirements
|
||||
- Functional requirements
|
||||
- Non-functional requirements
|
||||
|
||||
[ ] Architecture
|
||||
- Component diagram
|
||||
- Data flow
|
||||
|
||||
[ ] Data Model
|
||||
- Entity definitions
|
||||
- Relationship definitions
|
||||
|
||||
[ ] API Specification
|
||||
- Endpoint list
|
||||
- Request/Response format
|
||||
|
||||
[ ] Error Handling
|
||||
- Error codes
|
||||
- Error messages
|
||||
|
||||
[ ] Test Plan
|
||||
- Test scenarios
|
||||
- Success criteria
|
||||
```
|
||||
|
||||
### 2. Consistency Validation
|
||||
|
||||
```
|
||||
## Basic Consistency
|
||||
- Term consistency: Same term for same concept (Phase 1 based)
|
||||
- Data type consistency: Same type for same field
|
||||
- Naming convention consistency: No mixing camelCase/snake_case (Phase 2 based)
|
||||
|
||||
## API Consistency (Phase 4 Based)
|
||||
- RESTful rule compliance: Resource-based URL, appropriate HTTP methods
|
||||
- Response format consistency: { data, meta?, error? } standard usage
|
||||
- Error code consistency: Standard codes (VALIDATION_ERROR, NOT_FOUND, etc.)
|
||||
|
||||
## Environment Variable Consistency (Phase 2/9 Integration)
|
||||
- Environment variable naming convention compliance
|
||||
- Clear client/server distinction (NEXT_PUBLIC_*)
|
||||
- Environment-specific .env file structure defined
|
||||
|
||||
## Clean Architecture Consistency (Phase 2 Based)
|
||||
- Layer structure defined (by level)
|
||||
- Dependency direction rules specified
|
||||
```
|
||||
|
||||
### 3. Implementability Validation
|
||||
|
||||
```
|
||||
- Technical constraints specified
|
||||
- External dependencies clear
|
||||
- Timeline realistic
|
||||
- Resource requirements specified
|
||||
```
|
||||
|
||||
## Validation Result Format
|
||||
|
||||
```markdown
|
||||
# Design Document Validation Results
|
||||
|
||||
## Validation Target
|
||||
- Document: {document path}
|
||||
- Validation Date: {date}
|
||||
|
||||
## Completeness Score: {score}/100
|
||||
|
||||
## Issues Found
|
||||
|
||||
### 🔴 Critical (Implementation Not Possible)
|
||||
- [Issue description]
|
||||
- [Recommended action]
|
||||
|
||||
### 🟡 Warning (Improvement Needed)
|
||||
- [Issue description]
|
||||
- [Recommended action]
|
||||
|
||||
### 🟢 Info (Reference)
|
||||
- [Issue description]
|
||||
|
||||
## Checklist Results
|
||||
- ✅ Overview: Complete
|
||||
- ✅ Requirements: Complete
|
||||
- ⚠️ Architecture: Diagram missing
|
||||
- ❌ Test Plan: Not written
|
||||
|
||||
## Recommendations
|
||||
1. [Specific improvement recommendation]
|
||||
2. [Additional documentation needed]
|
||||
```
|
||||
|
||||
## Auto-Invoke Conditions
|
||||
|
||||
Automatically invoked in the following situations:
|
||||
|
||||
```
|
||||
1. When new file is created in docs/02-design/ folder
|
||||
2. When design document modification is complete
|
||||
3. When user requests "validate design"
|
||||
4. After /pdca-design command execution
|
||||
```
|
||||
|
||||
## Post-Validation Actions
|
||||
|
||||
```
|
||||
Validation Score < 70:
|
||||
→ Recommend design completion before implementation
|
||||
|
||||
Validation Score >= 70 && < 90:
|
||||
→ Implementation possible after improving Warning items
|
||||
|
||||
Validation Score >= 90:
|
||||
→ Implementation approved
|
||||
```
|
||||
|
||||
## v1.5.2 Feature Guidance
|
||||
|
||||
### Output Style Recommendation
|
||||
- Enterprise projects: suggest `hmcmkit-enterprise` for architecture validation perspective
|
||||
- Other levels: suggest `hmcmkit-pdca-guide` for design-implementation tracking
|
||||
|
||||
### Agent Memory
|
||||
This agent uses `memory: project` scope — design validation history persists across sessions.
|
||||
Reference in new issue
Block a user