cmd-sculpt-code
Installation
SKILL.md
Sculpt Code
Reshape code quality across eight dimensions. Scope to branch changes by default (git diff main...HEAD), or accept explicit file/directory targets.
Philosophy: Write code for the next reader (human or agent). Minimize cognitive load. Prefer boring, obvious code over clever code. Every change must preserve business logic unless explicitly told otherwise.
Instructions
- Determine scope — ask if unclear:
- Branch diff:
git diff main...HEAD --name-only - Staged changes:
git diff --cached --name-only - Explicit files: user-provided list
- Branch diff:
- Read all changed files in full before reviewing — understand existing patterns, not just the diff.
- For Python codebases, also load
references/python.mdfor language-specific guidance. - Review each dimension below. For each finding, cite
file_path:line_number. - Apply fixes directly — this is a sculpting tool, not a report generator. Make the changes, show what you did.