create-pr
Create a pull request for this repository. Enforces the PR template, runs all CI checks locally before pushing, and ensures documentation is updated. Use this skill whenever preparing code changes for review.
Best use case
create-pr is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Create a pull request for this repository. Enforces the PR template, runs all CI checks locally before pushing, and ensures documentation is updated. Use this skill whenever preparing code changes for review.
Teams using create-pr should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/create-pr/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How create-pr Compares
| Feature / Agent | create-pr | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Create a pull request for this repository. Enforces the PR template, runs all CI checks locally before pushing, and ensures documentation is updated. Use this skill whenever preparing code changes for review.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
SKILL.md Source
# Create a Pull Request ## When to use this skill Use this skill when: - You are ready to submit code changes for review - The user asks you to create a PR, open a PR, or submit changes - You have finished implementing a feature, fix, or chore ## Pre-flight checks Before creating a branch or pushing any code, run all of the following checks and fix any failures: 1. **Format**: `npm run format-check` — if it fails, run `npm run format` and stage the changes 2. **Build & type check**: `npm run build` — this runs `tsc --noEmit` then esbuild; fix any type errors 3. **Tests**: `npm test` — all tests must pass with no warnings or unexpected console output Do NOT skip these steps. Do NOT push code that fails any of these checks. ## Documentation requirements Every PR that changes user-facing behavior **must** include documentation updates in the same commit or PR: - **Feature additions**: Update `README.md` and create or update relevant guides in `docs/` - **Feature changes**: Update all affected documentation files in `docs/` - **Settings changes**: Update `docs/reference/settings.md` and `docs/reference/advanced-settings.md` - **Feature removal**: Remove or rewrite documentation for removed features If the change is purely internal (test cleanup, refactoring with no behavior change, CI/tooling), documentation updates are not required — but check the "Documentation has been updated" box as N/A. ## PR template This repository has a PR template at `.github/PULL_REQUEST_TEMPLATE.md`. You **must** use it. The PR body must include all of the following sections: ### Summary A concise description of what the PR does and why. Link to the related issue with `Fixes #<number>` if applicable. ### Changes A bullet list of key changes. ### Screenshots / Screencast Required for UI changes. Delete this section only if the change is purely backend/internal. ### Checklist Complete every item in the checklist. Use `[x]` for items that are done and `[ ]` for items that are not applicable (add a note explaining why): ```markdown ### Required - [x] I have read and agree to the [Contributing Guidelines](../CONTRIBUTING.md) - [x] I have read and agree to the [AI Policy](../AI_POLICY.md) - [x] This PR is linked to an approved issue where the approach was discussed with a maintainer - [x] All CI checks pass (`npm test`, `npm run build`, `npm run format-check`) - [x] I have tested this change on Desktop - [ ] I have verified this change does not break Mobile (or includes appropriate platform guards) - [x] Documentation has been updated (if applicable) - [x] I understand that I must address all review comments from CodeRabbit and maintainers, or this PR may be closed ### AI-Generated Code - [x] This PR includes AI-generated or AI-assisted code - [x] AI tool(s) used: Claude Code - [x] I have reviewed and understand all AI-generated code in this PR ``` ## Creating the PR Use `gh pr create` with a HEREDOC for the body to preserve formatting: ```bash gh pr create --title "type: Short description" --body "$(cat <<'EOF' ## Summary ... ## Changes - ... ## Checklist ### Required - [x] ... ### AI-Generated Code - [x] ... EOF )" ``` ### Title conventions - Keep under 70 characters - Use conventional commit prefixes: `feat:`, `fix:`, `chore:`, `docs:`, `refactor:`, `test:` - Use imperative mood: "Add feature" not "Added feature" ## After creating the PR - Return the PR URL to the user - Monitor for CodeRabbit review comments and address them
Related Skills
vault-semantic-search
Search vault notes by meaning using semantic search (RAG). Activate this skill when users want to find notes by concept or topic rather than exact keywords, or when keyword search tools return poor results.
recall-sessions
Search past agent conversations to recall prior discussions, decisions, and context. Activate this skill when users ask about previous conversations, want to resume past work, or reference earlier decisions.
obsidian-properties
Work with Obsidian note properties (frontmatter). Activate this skill when users want to add, modify, or organize properties, understand property types, format YAML frontmatter, or use properties with templates, search, or Bases.
obsidian-bases
Create and configure Obsidian Bases — database-like views of notes. Activate this skill when users want to create bases, write filters, formulas, or set up table/cards/list/map views.
image-generation
Generate images from text descriptions and save them to the vault. Activate this skill when users want to create illustrations, diagrams, visual content, or any AI-generated images.
gemini-scribe-help
Answer questions about Gemini Scribe plugin features, settings, and usage. Activate this skill when users ask how to use the plugin, configure settings, or troubleshoot issues.
deep-research
Conduct comprehensive, multi-source research and generate cited reports. Activate this skill when users want in-depth research on a topic, need synthesis across web and vault sources, or want a structured research report saved to their vault.
audio-transcription
Transcribe audio and video files into structured notes. Activate this skill when users want to transcribe recordings, meetings, podcasts, voice memos, or any audio/video content in their vault.
ui-ux-guidelines
UI/UX best practices for obsidian-gemini plugin development. Covers modal sizing, text overflow, message formatting, collapsible UI, animations, icons, file chips, session state, CSS containment, and theme compatibility. Use this skill when building or modifying UI components.
release-process
Full release workflow for obsidian-gemini: update release notes, run checks, bump version with npm, create a GitHub release, and verify. Use this skill when preparing a new plugin release.
obsidian-plugin-development
Build, modify, and debug Obsidian plugins using the TypeScript API. Use this skill when working with Obsidian plugin source code, the obsidian npm package, plugin UI (views, modals, settings, commands, ribbons), vault file operations, editor manipulation, workspace management, metadata cache, events, markdown rendering, or the Obsidian CLI. Covers plugin lifecycle, best practices, common patterns, and the full TypeScript API surface.
obsidian-cli
Use the Obsidian CLI to debug, inspect, and test Obsidian plugins during development. Covers plugin reloading, console inspection, runtime evaluation, and common debugging recipes for the gemini-scribe plugin.