smithery.ai

17th-code-analyzer

Use this skill when user asks about code quality, duplications, dead code, or optimization opportunities. Analyzes staged changes AND surrounding code using GPT-5.3-Codex. Auto-triggers on: "중복 코드", "불필요한 코드", "최적화", "code quality", "duplications", "dead code" Appropriate for: code hygiene, pre-PR quality check, refactoring opportunities. Not appropriate for: running tests, writing code, code review for correctness.

First seen Mar 30, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents codex

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,522 B
  • docs SUMMARY.md 475 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Code Analyzer

Analyze staged code and surrounding context for duplications, dead code, and optimization opportunities using GPT-5.3-Codex.

Usage

/code-analyzer              → Codex high (default)
/code-analyzer deep         → Codex xhigh

Argument Parsing

Keywords (reserved):

  • deep → Use xhigh effort instead of high

Parsing Logic

args = split(input)
effort = "high"

for arg in args:
    if arg == "deep":
        effort = "xhigh"

Result Mapping

Input effort
(none) high
deep xhigh

Analysis Scope

Scope Description
Staged files Production + test code in git staged
Surrounding code Same package/directory, related modules

Analysis Items

Item Description
Duplications Similar code patterns, copy-paste code
Dead code Unused functions, imports, variables
Optimizations Performance improvements, inefficient patterns
Consistency Pattern alignment with existing codebase

Implementation

Invoke the 17th-code-analyzer subagent:

Task(
    description="Analyze code quality ({effort})",
    subagent_type="17th-code-analyzer",
    prompt="""
Analyze code quality for staged changes and surrounding code.

Configuration:
- Effort: {effort}  (high or xhigh)
- Project root: {project_root}
""",
    run_in_background=true
)

Auto-Trigger

When skill auto-triggers (no args), uses defaults:

  • Effort: high

Output

  • Report: .kkachi/{branchname}/completed/code-analyzer-{epochtimestamp}.md
  • Summary: duplications, dead code, optimizations found
  • Recommendations: prioritized action items

Examples

Input effort
(none) high
deep xhigh

Notes

  • Uses GPT-5.3-Codex for all analysis
  • Analyzes staged changes + surrounding code
  • Supports Go, Python, Dart, TypeScript, JavaScript
  • Results verified before reporting
  • Ensure .kkachi/ is in .gitignore