ワンクリックで
ai-smell-scan
Detect AI-generated code smells. Read-only - does not fix.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Detect AI-generated code smells. Read-only - does not fix.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Read-only quality scan of components. Reports problems without making changes. Uses software-base + domain profile skills.
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.
| name | ai-smell-scan |
| description | Detect AI-generated code smells. Read-only - does not fix. |
Read-only scan for AI-generated code patterns. Reports findings without making changes.
No arguments? Describe this skill and stop. Do not execute.
Each smell type has a severity weight. The AI Smell Index is the weighted sum.
| Smell Type | Weight | Why |
|---|---|---|
| Over-abstraction | 3 | Adds complexity, hides logic |
| Defensive paranoia | 3 | Implies distrust in own code |
| Comment spam | 1 | Noise, but harmless |
| Speculative features | 3 | Dead code, maintenance burden |
| Enterprise patterns | 3 | Massive overkill |
| Generic wrappers | 2 | Indirection without value |
| Verbose naming | 1 | Annoying but functional |
| Excessive structure | 2 | Navigation overhead |
Index interpretation:
// increment counter above counter++Result<T, E> when you just throwuserUserData)## AI Smell Scan: [target]
SMELLS_FOUND:
- [file:line] [smell type]: [description]
- [file:line] [smell type]: [description]
SUMMARY:
| Smell Type | Count | Weight | Score |
|------------|-------|--------|-------|
| Over-abstraction | N | 3 | N×3 |
| Defensive paranoia | N | 3 | N×3 |
| Comment spam | N | 1 | N×1 |
| Speculative features | N | 3 | N×3 |
| Enterprise patterns | N | 3 | N×3 |
| Generic wrappers | N | 2 | N×2 |
| Verbose naming | N | 1 | N×1 |
| Excessive structure | N | 2 | N×2 |
TOTAL_SMELLS: N
AI_SMELL_INDEX: N (interpretation)
RECOMMENDATION: Run /ai-smell-review to clean up
Use the AI_SMELL_INDEX to compare before/after:
# Before changes
/ai-smell-scan src/ → AI_SMELL_INDEX: 12
# After implementing with full base brain
/ai-smell-scan src/ → AI_SMELL_INDEX: 18
# Delta: +6 (got worse)
Track index after each /build or /improve run to detect skill configuration impact.
This is a read-only scan. Use /ai-smell-review to fix issues.