.agents/skills/pr-description/SKILL.md
Write PR descriptions and release notes for the Sanity monorepo. Follows the repo's PR template with Description, What to review, Testing, and Notes for release sections. Auto-triggers when creating PRs via `gh pr create`. Use when creating pull requests, writing PR descriptions, drafting release notes, or when user mentions PR, pull request, or release notes.
npx skillsauth add sanity-io/sanity pr-descriptionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Follow the repo's PR template. Always create PRs as drafts.
Before writing, understand the full diff:
git log main..HEAD --oneline
git diff main...HEAD
Must follow conventional commits (CI-enforced):
type(scope): lowercase description
feat, fix, chore, docs, refactor, test, perf, cigroq, cli, form, schema, deps, etc.)Be terse. Don't describe things the reviewer can trivially see from the diff (e.g. "renamed variable X to Y", "added import for Z"). Focus on context and intent that isn't obvious from the code.
Use all four sections:
This section is used by the docs team to write release notes.
If not needed, write one of:
N/A — internal-only changesN/A – Part of feature X — partial implementation not yet enabledN/A – Internal only — tooling/chore workIf needed, write for end users and the docs team:
Always create as draft. Do not mark as ready for review until CI passes.
gh pr create --draft --title "type(scope): description" --body "$(cat <<'EOF'
### Description
[what and why]
### What to review
[guidance for reviewers]
### Testing
[tests added or manual testing explanation]
### Notes for release
[release notes or N/A]
EOF
)"
After CI is green, mark ready for review:
gh pr ready
development
Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill.
development
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
development
Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions "red-green-refactor", wants integration tests, or asks for test-first development.
tools
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.