원클릭으로
code-quality-auditor
Audit code quality against KB-defined properties, invariants, and naming conventions.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Audit code quality against KB-defined properties, invariants, and naming conventions.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | code-quality-auditor |
| description | Audit code quality against KB-defined properties, invariants, and naming conventions. |
| when_to_use | Use to check code against KB-defined properties, invariants, and naming. Trigger: 'check code quality', property/invariant audit. |
| version | 1.0.2 |
Check implementation against knowledge base properties and conventions. Uses only built-in tools (grep, wc, read) — no external linters required.
kb/properties.md for invariants, constraints, and quality thresholds.kb/glossary.md for canonical naming conventions and term definitions.kb/spec.md for architectural boundaries and module responsibilities.kb/architecture.md (top-level and per-module, if present) for declared structural
expectations — module boundaries, dependency direction, layering. Check code structure
against them; a divergence is a finding (cite file:line), and expectations that are not
statically verifiable are noted as such, never assumed satisfied.properties.md (default: 50 lines if not specified).kb/glossary.md, search the codebase for variant spellings, abbreviations, or synonyms.kb/properties.md, verify the code maintains it:
Write to kb/reports/code-quality-report.md:
---
auditor: code-quality-auditor
date: <today YYYY-MM-DD>
status: N critical, N warnings, N info
---
## Critical
### [C1] <Issue title>
- **Location**: <file>, <line>
- **Issue**: <description>
- **KB reference**: <properties.md section or glossary entry>
- **Recommendation**: <specific fix>
## Warnings
### [W1] <Issue title>
- **Location**: <file>, <line>
- **Issue**: <description>
- **KB reference**: <properties.md section or glossary entry>
- **Recommendation**: <specific fix>
## Info
### [I1] <Issue title>
- **Location**: <file>, <line>
- **Note**: <description>
Severity mapping:
kb/reports/ directory if it doesn't exist.kb/properties.md doesn't exist, report that as Critical #1 and skip invariant checks.Quality and compliance audit — combines code-quality and spec-compliance into one actionable report.
Periodic friction analysis — proposes new skills, deterministic tools, and adaptations.
Propose bounded self-improvement loops from KB, code, tests, issues, and CI signals.
Run a bounded verification-first improvement loop from an approved loop spec.
Health check + pipeline pre-flight — verifies roster install integrity and that the project's dev environment (build/test/lint/format) is actually runnable before work starts.
Formal verification gate — tool resolution via capability tag, roster re-runs coqchk/.itf replay directly, emits E0p/E0m/E0m-abstract evidence tier. Replaces the QA gate for --critical tasks.