원클릭으로
code-scan
Read-only quality scan of components. Reports problems without making changes. Uses software-base + domain profile skills.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Read-only quality scan of components. Reports problems without making changes. Uses software-base + domain profile skills.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Refactoring patterns - improving code design without changing behavior
Read-only quality scan of components. Reports problems without making changes. Uses software-base + domain profile skills.
Internal phase: independent Codex review + targeted fixes. Not user-facing.
Find duplicated code and consolidate into shared utilities. Fixes all duplicates.
Reference templates for Codex evaluation. Used by build/improve orchestrators — not executed directly.
Hard-ass code review via Gemini. ALL issues must be fixed. No exceptions.
| name | code-scan |
| description | Read-only quality scan of components. Reports problems without making changes. Uses software-base + domain profile skills. |
Read-only quality analysis of target code. Identifies problems and improvement opportunities without making any changes.
If a path argument is provided, scan that file/directory. If no argument, scan the code most recently discussed. Multiple paths can be provided to scan a set of components.
Before scanning, read ALL available expert skills to build your quality lens:
Software Base (always load):
Read: .claude/skills/clarity/SKILL.md (clear, simple code)
Read: .claude/skills/simplicity/SKILL.md (small interfaces, composition)
Read: .claude/skills/correctness/SKILL.md (formal correctness)
Read: .claude/skills/data-first/SKILL.md (data structures first)
Read: .claude/skills/pragmatism/SKILL.md (get it working)
Read: .claude/skills/security-mindset/SKILL.md (think like attacker)
Read: .claude/skills/owasp/SKILL.md (vulnerability patterns)
Domain Profile (load what exists):
Read: .claude/skills/typescript/SKILL.md (if .ts files)
Read: .claude/skills/react-state/SKILL.md (if React)
Read: .claude/skills/angular-core/SKILL.md (if Angular)
Read: .claude/skills/java/SKILL.md (if Java)
Read: .claude/skills/python-idioms/SKILL.md (if Python)
Skip files that don't exist. Apply all loaded principles during analysis.
Read ALL files in the target scope. Do not skim - read completely.
Evaluate code against these criteria:
## Code Scan: [target]
### Summary
| Metric | Value | Status |
|--------|-------|--------|
| Files scanned | N | - |
| Total lines | N | - |
| Largest file | N lines | ⚠️/✓ |
| Largest function | N lines | ⚠️/✓ |
| Critical issues | N | 🔴/✓ |
| Warnings | N | ⚠️/✓ |
### Critical Issues 🔴
Issues that should be fixed:
1. **[file:line]** — [description]
- Problem: [what's wrong]
- Impact: [why it matters]
- Suggestion: [how to fix]
2. ...
### Warnings ⚠️
Issues to consider:
1. **[file:line]** — [description]
- Concern: [what's questionable]
- Consider: [improvement option]
2. ...
### Observations 💡
Not problems, but opportunities:
1. **[file]** — [observation]
### Skills Applied
- clarity: [findings summary]
- security-mindset: [findings summary]
- [domain-skill]: [findings summary]
### Files Analyzed
| File | Lines | Functions | Issues |
|------|-------|-----------|--------|
| path/to/file.ts | 245 | 12 | 2 🔴, 1 ⚠️ |
| ... | ... | ... | ... |