pr

작성자: tldraw

현재 브랜치를 tldraw 저장소에 풀 리퀘스트로 생성하거나 업데이트합니다. 사용자가 pr을 호출하거나, PR 생성을 요청하거나, 기존 PR을 업데이트하거나, 푸시할 때 사용합니다.

npx skills add https://github.com/tldraw/tldraw --skill pr

PR

Create or update a pull request for the current branch.

Use ../write-pr/SKILL.md as the standards reference for PR titles, descriptions, release notes, API changes, code changes tables, and human-note preservation.

Workflow

  1. Gather context:
    • Current branch: git branch --show-current
    • Working tree: git status --short
    • Existing PR: gh pr view --json number,title,url 2>/dev/null
    • Recent branch commits: git log main..HEAD --oneline 2>/dev/null || git log -3 --oneline
  2. Prepare the branch:
    • If on main, create a new branch with a descriptive name.
    • Commit relevant changes, excluding secrets and explicitly private content.
    • Push the branch to the remote. Never force push.
  3. If no PR exists, create one with gh pr create.
  4. If a PR exists, read it with gh pr view --json title,body,labels,number and inspect the changed-file summary with gh pr diff --stat.
  5. Update the title or body with gh pr edit if the existing PR does not match the current diff or the write-pr standards.
  6. Search for related issues and link them in the PR description with Closes #123 or Relates to #123 where appropriate.
  7. Share the PR URL with the user.

Handling problems

Committing automatically runs hooks. Fix formatting, lint, type, or import issues when the fix is mechanical.

If a hook failure requires meaningful product or implementation decisions, stop and ask the user how to proceed.

Never force commit or force push.

Rules

  • Follow ../write-pr/SKILL.md for all PR content standards.
  • Do not include AI attribution in commit messages, PR titles, or PR descriptions.
  • Do not add yourself or an AI tool as a co-author.

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
clean-copy
tldraw
현재 브랜치를 깔끔하고 서사적인 품질의 git 커밋 기록을 가진 새 브랜치로 재구현합니다. 깔끔한 복사 브랜치를 만들거나 커밋을 정리하라는 요청이 있을 때 사용하세요.
official
commit-changes
tldraw
현재 변경 사항에 대한 git 커밋을 생성합니다. 커밋 요청, 커밋 생성, 커밋 메시지 생성, 또는 현재 작업 트리를 커밋하라는 요청을 받았을 때 사용합니다.
official