원클릭으로
review-check-architecture
Use when checking if code follows ARCHITECTURE.md patterns - runs automated conformance checks.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when checking if code follows ARCHITECTURE.md patterns - runs automated conformance checks.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when you need a comprehensive code audit covering security, performance, architecture, and dependencies before a release, major refactor, or compliance review.
Use when you want to iteratively build a feature using a PRD as source of truth, with progress tracking and fresh-context iterations - the Autopilot technique for autonomous development.
Use when starting a complex feature, exploring unclear requirements, or needing to challenge assumptions before committing to a design - before /plan.
Use when you need a comprehensive code review combining architecture, security, and test perspectives - especially before merging, releasing, or after major changes.
Use when creating marketing copy for landing pages, email campaigns, product descriptions, or social media - with A/B variants and conversion-focused frameworks.
Use when optimizing landing pages, signup flows, checkout processes, or any user-facing page for higher conversion rates - before A/B testing.
| name | review-check-architecture |
| description | Use when checking if code follows ARCHITECTURE.md patterns - runs automated conformance checks. |
| user-invocable | true |
| argument-hint | [module] |
| allowed-tools | Read, Bash, Glob, Grep |
Validate the entire project (or a specific module) against docs/ARCHITECTURE.md.
Scope: $ARGUMENTS (if empty, validate all modules/)
Run all checks and report a summary:
echo "=== 1. Services with try/catch ==="
grep -rn "try {" modules/*/services/ --include="*.ts" 2>/dev/null || echo "PASS: None"
echo "=== 2. Services with transformation ==="
grep -rn "\.map(\|\.filter(\|new Date\|\.reduce(" modules/*/services/ --include="*.ts" 2>/dev/null || echo "PASS: None"
echo "=== 3. Components without script setup ==="
grep -rL "script setup" modules/*/components/*.vue pages/*.vue 2>/dev/null || echo "PASS: All ok"
echo "=== 4. Components without TypeScript ==="
grep -rL 'lang="ts"' modules/*/components/*.vue pages/*.vue 2>/dev/null || echo "PASS: All ok"
echo "=== 5. Options API ==="
grep -rn "defineComponent\|export default {" modules/ pages/ --include="*.vue" 2>/dev/null || echo "PASS: None"
echo "=== 6. Explicit Vue imports (should use auto-imports) ==="
grep -rn "from 'vue'" composables/ components/ pages/ --include="*.vue" --include="*.ts" 2>/dev/null || echo "PASS: None"
echo "=== 7. Server state in Pinia ==="
grep -rn "\$fetch\|useFetch\|useAsyncData" modules/*/stores/ --include="*.ts" 2>/dev/null || echo "PASS: None"
echo "=== 8. any types ==="
grep -rn ": any\| any;\|as any\|<any>" modules/ --include="*.ts" --include="*.vue" 2>/dev/null | wc -l
echo "=== 9. Cross-module imports ==="
for module in modules/*/; do
name=$(basename "$module")
grep -rn "from.*modules/" "$module" --include="*.ts" --include="*.vue" 2>/dev/null | grep -v "modules/${name}" || true
done
echo "=== 10. v-html ==="
grep -rn "v-html" --include="*.vue" 2>/dev/null || echo "PASS: None"
echo "=== 11. Debug artifacts ==="
grep -rn "console\.\|debugger" modules/ --include="*.ts" --include="*.vue" 2>/dev/null | wc -l
echo "=== 12. Server routes without Zod validation ==="
grep -rL "readValidatedBody\|getValidatedQuery\|getValidatedRouterParams" server/api/**/*.ts 2>/dev/null || echo "PASS: All ok"
echo "=== 13. Components > 200 lines ==="
find modules pages components -name "*.vue" -exec sh -c 'lines=$(wc -l < "$1"); [ "$lines" -gt 200 ] && echo "$1: $lines lines"' _ {} \; 2>/dev/null
echo "=== 14. Nuxt 2 patterns ==="
grep -rn "asyncData\|nuxtServerInit\|\$axios\|this\.\$store\|this\.\$route\|this\.\$router" --include="*.vue" --include="*.ts" 2>/dev/null || echo "PASS: None"
Produce a summary table:
| Check | Status | Occurrences |
|---|---|---|
| Services without try/catch | PASS/FAIL | X |
| ... | ... | ... |
Overall score: X/14 checks passing.