Clean copy

From tldraw/tldraw · View interactive version

Clean copy is an AI agent skill from the GitHub repository tldraw/tldraw. 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.

How to use this skill

Skill file

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:
  1. Validate the source branch:
  1. Choose the new branch name:
  1. Analyze the diff:
  1. Create the clean branch from main.
  2. Plan the commit storyline:
  1. Reimplement the work:
  1. Verify correctness:
  1. Open a pull request using the pr skill.

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.