pr
- Repo stars 0
- Author updated Live
- Author repo skills-registry
- Domain
- Engineering
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @tomevault-io · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- No special requirements
- Permissions
-
- Read-only
- Write / modify
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: pr
description: Create a GitHub pull request — pushes the current branch and opens a PR with auto-generated titl…
category: engineering
runtime: no special runtime
---
# pr output preview
## PART A: Task fit
- Use case: Create a GitHub pull request — pushes the current branch and opens a PR with auto-generated title and description. Use for any PR creation, branch submission, or code review request. Use when this capability is needed..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “Quick Reference / Workflow / Step 1: Check branch” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “Create a GitHub pull request — pushes the current branch and opens a PR with auto-generated title and description. Use for any PR creation, branch submission, or code review request. Use when this capability is needed.”.
- **02** When the source has headings, the agent prioritizes “Quick Reference / Workflow / Step 1: Check branch” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source mentions slash commands such as `/pr`, `/ci`; use them first when your agent supports command triggers.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files.
Start with a small task and check whether the result follows “Quick Reference / Workflow / Step 1: Check branch”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: pr
description: Create a GitHub pull request — pushes the current branch and opens a PR with auto-generated titl…
category: engineering
source: tomevault-io/skills-registry
---
# pr
## When to use
- Create a GitHub pull request — pushes the current branch and opens a PR with auto-generated title and description. Use…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “Quick Reference / Workflow / Step 1: Check branch” and keep inference separate from source facts.
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "pr" {
input -> user goal + target files + boundaries + acceptance criteria
context -> Quick Reference / Workflow / Step 1: Check branch
rules -> SKILL.md triggers / order / output contract
runtime -> no special runtime | read files, write/modify files | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} Quick Reference
/pr # Create GitHub PR from current branch
Workflow
Step 1: Check branch
Run git branch --show-current. If on main, tell the user they cannot create a PR from the main branch and stop.
Run git log main..HEAD --oneline to check for commits ahead of main. If there are no commits AND the working directory is clean, tell the user there is nothing to create a PR for and stop.
Step 2: Check working directory
Run git status to check if the working directory is clean.
- Clean: Proceed to Step 3.
- Dirty (any staged, unstaged, or untracked changes): Ask the user:
- Commit changes first — suggest using
/ci, then stop and let the user run it. - Ignore local changes and continue creating the PR based on existing commits only.
- Commit changes first — suggest using
Step 3: Push and create PR
- Run
git push -u origin HEADto push the branch. - Run
git log main..HEADto analyze all commits on this branch. Generate a succinct, self-explanatory PR description from them. - Run
gh pr createwith a title followingConventional Commitspattern. Base branch ismain.
Step 4: Request review agents
After the PR is created, automatically request code review from available review agents:
- Run
gh pr edit --add-reviewer @copilotto request Copilot code review. - If the command succeeds, note that Copilot review has been requested.
- If it fails (e.g., Copilot not available for the repo), skip silently and continue.
Step 5: Show result
Display the PR URL to the user, along with the review request status.
Rules
- This skill only creates PRs. It does not format, stage, or commit code.
- The PR title must follow Conventional Commits pattern (e.g.,
feat:,fix:,refactor:). - If a PR already exists for this branch, display the existing PR URL instead of creating a new one.
Source: darknight/cc-deck — distributed by TomeVault.
Decide Fit First
Design Intent
How To Use It
Boundaries And Review