create-pr-description
БесплатноБез исполняемых скриптовНе проверенGenerate a PR description following the repository's pull request template. Use when the user asks to create, draft, or generate a PR description for a pull…
от encero-systems★ 75 звёзд на GitHubОб этом скилле
PR Description Generator
Workflow
- Identify the repository and branch - Determine which repository and branch the PR is for. If not specified, ask the user. The workspace may contain multiple repositories (e.g.,
incan/,IncQL/). - Locate the PR template - Find
.github/pull_request_template.mdin the repository root. If not found, use the standard template from the repository's.github/folder. - Gather context - Run
git diff main...HEAD(or the appropriate base branch) to see all changes. Also checkgit log main..HEAD --onelinefor commit messages. - Check for associated issue - Extract issue number from branch name (e.g.,
bugfix/184-...→ issue #184) or check commit messages forFixes #NNN,Closes #NNN, etc. - RFC lifecycle preflight - If the branch implements an RFC or touches
workspaces/docs-site/docs/RFCs/*, inspect the governing RFC before drafting the PR body.- If the RFC is
In Progressand the branch implements the full RFC scope, usebump-rfcfirst so the RFC isImplemented, moved intoclosed/implemented/, and reflected in the PR diff before the PR is presented for review. - If the branch implements only part of the RFC, keep the RFC active and state the remaining scope clearly in the PR body.
- Do not draft a review-ready PR description that claims full RFC completion while the RFC file still says
In Progress.
- If the RFC is
- Analyze the changes - Categorize the changes by:
- Type (bug fix, new feature, refactor, docs, CI/tooling, RFC)
- Area(s) affected (Incan Language, Compiler, Tooling, Editor, Runtime, Docs)
- User-facing behavior changes
- Internal architectural changes
- Risks or breaking changes
- Fill in the template - Use the analysis to populate each section of the PR template.
- For Incan, replace stale template commands with commands verified against the Makefile and
workspaces/oven/src/main.incn. Oven owns builds and execution; never prescribe Cargo. Useincan inspect codegraph PATH --query defs TERMor--query callers TERMfor declaration and call relationships before grep. - Record the smallest contract selectors used during development and affected whole-family counts at commit points, per
workspaces/contracts/README.md. Check boxes only for verification actually run. - Test changes extend existing cases before adding any; add only when no same-area case can carry the behavior. Keep the whole suite under about 3,000 tests, name guarded bugs in
# behavior:, and use one producer Loaf carrying all declarations per library case. - Design records change only when a decision changes, in a sentence or two. Keep decisions, boundaries, consequences, and non-goals under about 1,000 words; mechanisms belong in commit messages and rustdoc, never a paragraph per commit.
- For Incan, replace stale template commands with commands verified against the Makefile and
- Add issue reference - If an issue number was found and the diff completes its verified scope, append
Closes #<issue number>at the end of the PR description. UseRefs #<issue number>when the PR delivers only part of the issue. - Output the PR description - Return the complete PR description in markdown format, ready to be used in a pull request.
PR Template Location
The skill automatically locates the PR template at:
.github/pull_request_template.mdin the repository root
If the template is not found, the skill uses the standard template structure.
Template Sections
Summary
- What does this PR change, and why?
- One tight paragraph summarizing the change.
Type of change
- Bug fix, New feature, Refactor/maintenance, Documentation, CI/tooling, or RFC
Area(s)
- Incan Language (syntax/semantics)
- Compiler (frontend/backend/codegen)
- Tooling (CLI/formatter/test runner)
- Editor integration (LSP/VS Code extension)
- Runtime / Core crates (stdlib/core/derive)
- Documentation
Key details
- User-facing behavior: what changes for users?
- Internals: what changed architecturally?
- Risks: what could break?
Testing / verification
- Relevant contracts:
incan run workspaces/contracts/src/main.incn -- INCAN workspaces/contracts/fixtures SELECTOR(substitute compiler and selector; whole families at commit points) -
make pre-commit/incan run scripts/check_changed_rustdocs.incn(changed Rust) -
make pre-commit(formatting, spelling, rustdoc, skill table) -
incan run scripts/check_us_english.incnbefore every commit - Manual verification notes
Docs impact
- No docs changes needed
- Docs updated
- Docs follow Divio intent (tutorial/how-to/reference/explanation)
Output Format
Return the PR description in markdown format, ready to be used in a pull request. Include all sections of the template, with checkboxes for items that need user verification. If an issue number was found, close it only when the diff completes its verified scope; otherwise append Refs #<issue number>.
For RFC-driven PRs, include the final RFC lifecycle st
Установить create-pr-description в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл create-pr-description?
Generate a PR description following the repository's pull request template. Use when the user asks to create, draft, or generate a PR description for a pull request. The skill automatically locates the PR template in the target repository and fills it in based on the git diff.
Как установить скилл create-pr-description?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл create-pr-description запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic