agentleFS
emaraschioemaraschio/cursor-commands/.cursor/skill-contracts/create-pr-main/SKILL.md

create-pr-main

Skill9 starsChanged 3 months agoMITView on GitHub

Create a pull request targeting main

  • Reads credentials

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 9 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Create a well-structured pull request for the main branch of a GitHub repository with proper description, labels, and reviewers.

    line 8
  2. Distinctive:

    Ensure all changes are committed to the correct branch using the conventional commit message convention

    line 13
  3. Distinctive:

    Verify branch is up to date with main or master

    line 15
  4. Very specific:

    Must use the PR template to write the PR description.

    line 18
  5. Distinctive:

    Add screenshots if UI changes

    line 22
  6. Distinctive:

    Only use the GitHub UI to create the PR.

    line 25
  7. Distinctive:

    Create PR with descriptive title

    line 26
  8. Distinctive:

    Do not open empty PRs; confirm the branch has real changes to review first.

    line 31
  9. Distinctive:

    Use the PR template and the Conventional Commits convention for the title.

    line 32
  10. Distinctive:

    Never print, stage, or commit secrets or credential files (.env, .env.*, keys).

    line 33

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Overview

Create a well-structured pull request for the main branch of a GitHub repository with proper description, labels, and reviewers.

Steps

  1. Prepare branch
    • Ensure all changes are committed to the correct branch using the conventional commit message convention
    • Push branch to remote
    • Verify branch is up to date with main or master
  2. Write PR description
    • Must use the PR template to write the PR description. Refer to ./pull_request_template.md for the PR template.
    • Summarize changes clearly
    • Include context and motivation
    • List any breaking changes
    • Add screenshots if UI changes
  3. Set up PR
    • Only use the GitHub UI to create the PR. Do not use the CLI.
    • Create PR with descriptive title

Guardrails

  • Push only when the user asks; do not push unrequested changes before opening the PR.
  • Do not open empty PRs; confirm the branch has real changes to review first.
  • Use the PR template and the Conventional Commits convention for the title.
  • Never print, stage, or commit secrets or credential files (.env, .env.*, keys); exclude them and warn instead.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.