Cmd PR Sculpt Code
Reshape code for readability, naming, structure, TODOs, and reduced surface area across any language
Install
/plugin marketplace add Olshansk/agent-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add Olshansk/agent-skills --skill cmd-pr-sculpt-codegit clone --depth 1 https://github.com/Olshansk/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/cmd-pr-sculpt-code ~/.claude/skills/cmd-pr-sculpt-codePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Sculpt Code Reshape code quality across nine dimensions. Scope to branch changes by default, or accept explicit file/directory targets. **Philosophy:** Write code for the next reader (human, agent, or RAG indexer). Minimize cognitive load. Prefer boring, obvious code over clever code. Every change must preserve business logic unless explicitly told otherwise. ## Determine Scope **Default (no scope specified):** diff the current branch against the repo's base branch. Detect the base branch in order — stop at the first success: 1. `gh repo view --json defaultBranchRef -q '.defaultBranchRef.name' 2>/dev/null` 2. `git remote show origin 2>/dev/null | grep "HEAD branch" | cut -d: -f2 | xargs` 3. `git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@'` Do **not** assume `main` or `master`. If all methods fail, ask the user. Once resolved, run: ```bash git diff <base>...HEAD -- ":(exclude)*.lock" ":(exclude)package-lock.json" ":(exclude)pnpm-lock.yaml" ":(exclude)package.json" ``` **If the user specifies a scope**, use the corresponding command instead: | Scope | Command | What it covers | |---|---|---| | `unstaged` | `git diff HEAD -- <excludes>` | All uncommitted changes (staged + unstaged) | | `staged` | `git diff --cached -- <excludes>` | Changes staged but not yet committed | | `last commit` / `last 1 commit` | `git diff HEAD~1...HEAD -- <excludes>` | Changes in the most recent commit |
Details
- Skill name
cmd-pr-sculpt-code- Repository
- Olshansk/agent-skills
- Path
skills/cmd-pr-sculpt-code/SKILL.md- License
- MIT
- Repo updated
- 18 November 2026
FAQ
What does the Cmd PR Sculpt Code skill do?
Reshape code for readability, naming, structure, TODOs, and reduced surface area across any language
How do I install the Cmd PR Sculpt Code skill?
Claude Code plugin: /plugin marketplace add Olshansk/agent-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Cmd PR Sculpt Code popular?
It lives in Olshansk/agent-skills, which has 9 GitHub stars and 0 forks.
Related skills
Cmd Agent Persona Set
9Olshansk/agent-skills
Prime the agent with a behavioral persona for the conversation
Cmd Clean Code
9Olshansk/agent-skills
Improve code readability without altering functionality using idiomatic best practices
Cmd Code What
9Olshansk/agent-skills
Catch the user up on what the agent has been doing in the current session with 3-5 ultra-tight bullet points. Use when the user invokes /cmd-what, asks "what are you doing", "what did you do", "catch me up", "status", "where are we", or otherwise needs a fast situational summary of in-flight agent work.
Cmd Review Chain Halt
9Olshansk/agent-skills
Review protocol code for chain halt risks, non-determinism, and onchain behavior bugs
Cmd Makefile
9Olshansk/agent-skills
Create or improve Makefiles with minimal complexity. Templates available: base, python-uv, python-fastapi, postgres, nodejs, go, chrome-extension, flutter, electron, static-site.
Complete
9borkweb/skills
Drive a coding goal with two or more slices to merge-ready through delegated builders, frozen gates and independent review. Use for '/complete', 'run the whole loop', 'take this to merge-ready' or a plan that needs a fleet of builders. One slice goes to offload instead.
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.