/core:create-prfrom core
ALWAYS use this skill when creating pull requests — never create a PR directly without it. Follows conventions for PR titles, descriptions, and issue references. Trigger on any create PR, open PR, submit PR, make PR, push and create PR, or prepare changes for review task.
Ships in core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Create pull requests following Sentry's engineering practices.
Requires: GitHub CLI (gh) authenticated and available.
Before creating a PR, ensure all changes are committed. If there are uncommitted changes, run the core:commit skill first to commit them properly.
# Check for uncommitted changes
git status --porcelain
If the output shows any uncommitted changes (modified, added, or untracked files that should be included), invoke the core:commit skill before proceeding.
# Detect the default branch
BASE=$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name')
# Check current branch and status
git status
git log $BASE..HEAD --oneline
Ensure:
Review what will be included in the PR:
# See all commits that will be in the PR
git log $BASE..HEAD
# See the full diff
git diff $BASE...HEAD
Understand the scope and purpose of all changes before writing the description.
Use this structure for PR descriptions (ignoring any repository PR templates):
AB#<issue number>
## Why
<brief description of why these changes are being made>
## What
<brief description of what the PR does>
## Review Order
<recommended order to review the PR>
Do NOT include:
Do include:
gh pr create --draft --title "<type>(<scope>): <description>" --body "$(cat <<'EOF'
<description body here>
EOF
)"
Title format follows commit conventions:
feat(scope): Add new featurefix(scope): Fix the bugrefactor: Refactor somethingAB#1234
## Why
Alert update and resolution notifications were creating separate Slack messages,
which fragmented context and increased channel noise.
## What
Post update and resolution notifications as replies in the original alert thread
instead of sending a new top-level message.
## Review Order
1. `plugins/slack/notifications.ts` thread selection + reply posting logic
2. `plugins/slack/formatters.ts` message payload changes for threaded replies
3. Tests covering updated/resolved alert flows
AB#5678
## Why
Soft-deleted accounts could return `null` from the user API, and downstream
code assumed a user object, causing dashboard crashes.
## What
Add a null guard in the user endpoint and return a 404 response when the user
record is missing.
## Review Order
1. `api/users/get-user.ts` null handling + 404 response mapping
2. `api/users/schema.ts` response contract update (if applicable)
3. Regression tests for soft-deleted user requests
AB#9999
## Why
Validation logic was duplicated across alerts, issues, and projects endpoints,
which made rule updates error-prone and inconsistent.
## What
Move shared validation logic into a common validator module and update each
endpoint to use it. This is a refactor with no intended behavior change.
## Review Order
1. `lib/validation/shared-validator.ts` new shared validator implementation
2. Endpoint updates in `api/alerts/*`, `api/issues/*`, and `api/projects/*`
3. Existing validation tests to confirm behavior parity
Reference issues in the PR body:
| Syntax | Effect |
|---|---|
Fixes #1234 | Closes GitHub issue on merge |
Fixes AB#1234 | Closes Azure Boards issue on merge |
Refs #1234 | Links Github issue without closing |
Refs AB#123 | Links Azure Boards issue without closing |
If you need to update a PR after creation, use gh api instead of gh pr edit:
# Update PR description
gh api -X PATCH repos/{owner}/{repo}/pulls/PR_NUMBER -f body="$(cat <<'EOF'
Updated description here
EOF
)"
# Update PR title
gh api -X PATCH repos/{owner}/{repo}/pulls/PR_NUMBER -f title='new: Title here'
# Update both
gh api -X PATCH repos/{owner}/{repo}/pulls/PR_NUMBER \
-f title='new: Title' \
-f body='New description'
Note: gh pr edit is currently broken due to GitHub's Projects (classic) deprecation.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub danta1st/ruste --plugin core7 skills in this plugin
/commitALWAYS use this skill when committing code changes — never commit directly without it. Creates commits following the Conventional Commits specification with issue references. Trigger on any commit, git commit, push changes, or commit message task./context7-mcpThis skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc./domain-driven-designThis skill should be used whenever domain modeling is taking place. It provides specialized guidance for type-driven and data-driven design based on Rich Hickey and Scott Wlaschin's principles. The skill helps contextualize current modeling within the existing domain model, identifies inconsistencies, builds ubiquitous language, and creates visualizations (Mermaid, Graphviz/DOT, ASCII diagrams) to communicate domain concepts clearly. Use this skill when designing types, modeling business domains, refactoring domain logic, or ensuring domain consistency across a codebase.