guidelines-for-creating-pull-requests-of-github

guidelines-for-creating-pull-requests-of-github is a cursor rule for Cursor from fumito-ito/mdcvalult. It costs 10 tokens per session (448 once invoked), scanned A, original, MIT.

A standardized process for creating and managing GitHub pull requests, which are proposed code changes submitted for review. It covers checking related issues, reviewing the branch difference, writing the description, and creating a draft pull request.

In plain words
What is it for?
Use it when preparing or reviewing a GitHub pull request. It helps check the issue reference, compare changes with the target branch, create the pull request, and open it for viewing.
Why use it?
It gives contributors a repeatable checklist before opening a pull request. This helps keep issue links, change summaries, target branches, and review information consistent.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it when preparing or reviewing a GitHub pull request. It helps check the issue reference, compare changes with the target branch, create the pull request, and open it for viewing.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/fumito-ito/mdcvalult/guidelines-for-creating-pull-requests-of-github
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/fumito-ito/mdcvalult

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for guidelines-for-creating-pull-requests-of-github

README.md
[![agentmods](https://agentmods.dev/badge/rules/fumito-ito/mdcvalult/guidelines-for-creating-pull-requests-of-github/github.svg)](https://agentmods.dev/rules/fumito-ito/mdcvalult/guidelines-for-creating-pull-requests-of-github)
Your own site
<a href="https://agentmods.dev/rules/fumito-ito/mdcvalult/guidelines-for-creating-pull-requests-of-github"><img src="https://agentmods.dev/badge/rules/fumito-ito/mdcvalult/guidelines-for-creating-pull-requests-of-github/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for guidelines-for-creating-pull-requests-of-github

Your own site · 80×15
<a href="https://agentmods.dev/rules/fumito-ito/mdcvalult/guidelines-for-creating-pull-requests-of-github"><img src="https://agentmods.dev/badge/rules/fumito-ito/mdcvalult/guidelines-for-creating-pull-requests-of-github.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 448 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00010 $0.00448
Opus 5.5 $0.00004 $0.00179
Sonnet 5.5 $0.00002 $0.00090
Haiku 4.5 $0.00001 $0.00045

Measured 3mo ago against content hash a6ea722a0fa8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

guidelines-for-creating-pull-requests-of-github scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

mdc/guidelines-for-creating-pull-requests-of-github.mdc · 78 lines

What it actually says

Basics

  • When referencing this file, shout 'CREATE PULL REQUEST!' out loud.

Pull Request Creation Process

Prerequisites

  • Check the Issue Number
    • If an issue link is not provided, ask the user: "Is there a related issue link?"
    • If no related issue exists, explicitly mention this in the PR description.

Reviewing Changes

  • Use the following command to check the diff against the target branch:
    git diff origin/{{TARGET_BRANCH}}...HEAD | cat
    
  • If no specific target branch is given, default to main.

Preparing Links for the Description

  • Confirm that the issue link is included (as checked in the prerequisites).

Creating and Viewing the Pull Request

  • Use the following command to create a pull request and open it in a browser:
git push origin HEAD && \
gh pr create --draft --title "{{PR_TITLE}}" --body $'{{PR_TEMPLATE_SINGLE_LINE}}' && \
gh pr view --web
  • Ensure the PR title and description reflect the diff against the target branch.
  • Unless specified otherwise, create the PR as a Draft.
  • Convert the PR template into a single-line string using \n for line breaks.
  • Utilize $'...' syntax to ensure correct handling of newline characters.
  • Clearly separate each section with appropriate heading levels.
  • Ensure all necessary information is provided without omissions.
PR Template
## Summary
{{SUMMARY}}

### Related Issues / Documents
- {{ISSUE_LINK}}
*If no related issue exists, explain why.*

### Changes
- {{CHANGES}}

## Areas of Focus for Reviewers
- {{REVIEW_POINTS}}

## Impact Scope
- {{IMPACT_SCOPE}}

## Screenshots
- {{SCREENSHOTS}}

## Steps to Verify
{{VERIFICATION_STEPS}}
Required Sections
  • Summary
  • Related Issue (if no related issue exists, explain why)
  • Changes
Optional Sections
  • Areas of Focus for Reviewers
  • Impact Scope
  • Screenshots
  • Steps to Verify
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 78 lines · 10 tokens per session scan A a6ea722a0fa8

Subscribe to this mod's changes

guidelines-for-creating-pull-requests-of-github is a cursor rule published in the GitHub repository fumito-ito/mdcvalult (33 stars, last pushed 1y ago), licensed MIT. It adds 10 tokens to every session and 448 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

guidelines-for-creating-pull-requests-of-github compared with cursor rules from other repositories

guidelines-for-creating-pull-requests-of-github next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
guidelines-for-creating-pull-requests-of-githubfumito-ito/mdcvalultCursor rule331y agoMITA10Cursor
pull-requestueberdosis/tiptapCursor rule39ktodayMITA0Cursor
gitlab-mr-reviewRaihanParl/ai-skillCursor rule615d agononeA1,385Cursor
ponytailDietrichGebert/ponytailCursor rule204k12d agoMITA604Cursor
angular-20angular/angularCursor rule102ktodayMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Codex, Cursor