clean-copy
작성자: tldraw
현재 브랜치를 깔끔하고 서사적인 품질의 git 커밋 기록을 가진 새 브랜치로 재구현합니다. 깔끔한 복사 브랜치를 만들거나 커밋을 정리하라는 요청이 있을 때 사용하세요.
npx skills add https://github.com/tldraw/tldraw --skill clean-copyClean copy
Reimplement the current branch on a new branch with a clean, narrative-quality commit history suitable for reviewer comprehension.
Workflow
- Gather context:
- Source branch:
git branch --show-current. - Working tree:
git status --short. - Commits since main:
git log main..HEAD --oneline. - Diff summary:
git diff main...HEAD --stat.
- Source branch:
- Validate the source branch:
- Ensure there are no uncommitted changes or merge conflicts.
- Confirm the source branch is up to date with
main.
- Choose the new branch name:
- Use the user's requested name when provided.
- Otherwise use
<source-branch>-clean.
- Analyze the diff:
- Study all changes between the source branch and
main. - Understand the final intended state before recreating it.
- Study all changes between the source branch and
- Create the clean branch from
main. - Plan the commit storyline:
- Break the implementation into self-contained logical steps.
- Each step should read like a stage of development in a tutorial.
- Reimplement the work:
- Recreate the final changes step by step.
- Commit after each coherent idea.
- Use clear commit subjects and descriptions.
- Use
git commit --no-verifyfor intermediate commits so hooks do not block temporarily incomplete states.
- Verify correctness:
- Confirm the final clean branch state exactly matches the original source branch.
- Run the final commit without
--no-verifyso normal checks run.
- Open a pull request using the
prskill.- 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.
tldraw의 다른 스킬
write-example
tldraw
tldraw SDK 예제 앱을 위한 예제 작성. 새로운 예제를 만들거나, SDK 데모를 추가하거나, apps/examples에서 예제 코드를 작성할 때 사용합니다.
official
write-issue
tldraw
tldraw 저장소에서 GitHub 이슈를 작성하고 유지 관리하기 위한 참조 표준입니다. 다른 스킬이나 워크플로우가 이슈가 필요할 때 지원 지침으로 사용하세요.
official
write-pr
tldraw
tldraw 저장소에서 풀 리퀘스트 제목과 설명을 작성하기 위한 참조 표준입니다. 다른 스킬이나 워크플로우가 필요할 때 지원 지침으로 사용됩니다...
official
write-release-notes
tldraw
tldraw SDK 릴리스를 위한 릴리스 노트 문서를 작성합니다. 새로운 릴리스 문서를 만들거나, 처음부터 릴리스 노트를 초안 작성하거나, 릴리스를 검토할 때 사용합니다.
official
write-tbp
tldraw
tldraw 기능과 구현 세부 사항에 관한 기술 블로그 포스트를 작성합니다. tldraw가 흥미로운 문제를 해결하는 방법에 대한 블로그 콘텐츠를 만들 때 사용하세요.
official
write-unit-tests
tldraw
tldraw SDK에 대한 단위 테스트 및 통합 테스트를 작성합니다. packages/editor 또는...에서 새 테스트를 만들거나, 테스트 커버리지를 추가하거나, 실패하는 테스트를 수정할 때 사용합니다.
official
commit-changes
tldraw
현재 변경 사항에 대한 git 커밋을 생성합니다. 커밋 요청, 커밋 생성, 커밋 메시지 생성, 또는 현재 작업 트리를 커밋하라는 요청을 받았을 때 사용합니다.
official
issue
tldraw
사용자 설명을 바탕으로 tldraw 저장소에 GitHub 이슈를 생성하고 조사합니다. 사용자가 이슈를 언급하거나, 이슈 생성을 요청하거나, 버그를 신고할 때 사용합니다.
official