clean-copy
Reimplement the current branch on a new branch with a clean, narrative-quality git commit history.
Skill by kwanpham2195
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/kwanpham2195-clean-copy
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/clean-copy
What's inside
- Skill name
clean-copy- Description
- Reimplement the current branch on a new branch with a clean, narrative-quality git commit history. Use when asked to make a clean copy branch, clean up commit history by replaying work, or rebuild a branch as reviewable commits.
- License
- MIT
- Instructions
- 43 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Clean copy Reimplement the current branch on a new branch with a clean, narrative-quality commit history suitable for reviewer comprehension. ## Workflow 1. Gather context: - Source branch: `git branch --show-current`. - Working tree: `git status --short`. - Commits since the repository's configured base branch: `git log <base-branch>..HEAD --oneline`. - Diff summary: `git diff <base-branch>...HEAD --stat`. 2. Validate the source branch: - Ensure there are no uncommitted changes or merge conflicts. - Compare the source branch with the configured base branch and report any divergence. Do not pull or rebase implicitly. 3. Choose the new branch name: - Use the user's requested name when provided. - Otherwise use `<source-branch>-clean`. 4. Analyze the diff: - Study all changes between the source branch and the configured base branch. - Understand the final intended state before recreating it. 5. Create the clean branch from the configured base branch. Do not pull or push implicitly. 6. Plan the commit storyline: - Break the implementation into self-contained logical steps. - Each step should read like a stage of development in a tutorial. 7. Reimplement the work: - Recreate the final changes step by step. - Commit after each coherent idea. - Use clear commit subjects and descriptions. - Keep each intermediate commit coherent enough to pass the repository's normal hooks. Never bypass hooks; if a slice cannot pass, split or revise it. 8. Verify correctness: - Confirm the final tracked tree exactly matches the original source branch (the commit history intentionally differs). - Run the repository's final checks with normal hooks enabled. 9. If the user also requested a pull request, use the `pr` skill. - Include a link to the original branch in the PR description. ## Rules - Never add yourself or an AI tool as an author, contributor, or co-author. - Never include AI attribution in commits or PR content. - The final clean branch must be identical to the source branch. - Do not force push unless the user explicitly asks for it.
From kwanpham2195/agent-stuff, MIT.
More from kwanpham2195/agent-stuff
- 0.563score
delegated-execution
kwanpham2195
Use when delegating work, coordinating subagents, or consulting an advisor on a consequential decision.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
product-description
kwanpham2195
Create or extend feature-by-feature product behavior documentation from source code, tests, and live verification.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
pi-skill-creator
kwanpham2195
Create, test, and improve Agent Skills for pi and opencode.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
config-manager
kwanpham2195
Manage local machine configuration through chezmoi and global config files.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
obsidian-vault-config
kwanpham2195
Manage the shared Obsidian config at ~/.obsidian-shared that every vault symlinks into.
SkillBFreshness: B★ 2Claude Code +9 - 0.559score
create-verification-skill
kwanpham2195
Generate a project-local Pi verification skill that drives your app the way a user does — any language, framework, or platform.
SkillBFreshness: B★ 2Claude Code +9 - 0.558score
orbstack
kwanpham2195
Control OrbStack and Docker readiness on macOS.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
pr
kwanpham2195
Create or update a pull request for the current branch.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
librarian
kwanpham2195
Cache and refresh remote Git repositories for local source reference.
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
define-outcome
kwanpham2195
Clarify product intent and observable acceptance for a feature or change when the desired outcome, scope, or success criteria are ambiguous.
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
issue
kwanpham2195
Capture a user request or hand off scoped implementation work to a local workspace issue or an authorized configured remote tracker.
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
show-me
kwanpham2195
Explain technical work or prepare developer review artifacts with diagrams, structural diffs, pseudocode, and concrete contracts.
SkillBFreshness: B★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 14, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/kwanpham2195/agent-stuff
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from kwanpham2195
- 0.563score
delegated-execution
kwanpham2195
Use when delegating work, coordinating subagents, or consulting an advisor on a consequential decision.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
product-description
kwanpham2195
Create or extend feature-by-feature product behavior documentation from source code, tests, and live verification.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
config-manager
kwanpham2195
Manage local machine configuration through chezmoi and global config files.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
pi-skill-creator
kwanpham2195
Create, test, and improve Agent Skills for pi and opencode.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
obsidian-vault-config
kwanpham2195
Manage the shared Obsidian config at ~/.obsidian-shared that every vault symlinks into.
SkillBFreshness: B★ 2Claude Code +9 - 0.559score
create-verification-skill
kwanpham2195
Generate a project-local Pi verification skill that drives your app the way a user does — any language, framework, or platform.
SkillBFreshness: B★ 2Claude Code +9
Cite this page
clean-copy skill. Agent Mart. https://agentmart.dev/skills/kwanpham2195-clean-copy (last updated 2026-10-24)