agentleFS
swimmwatchswimmwatch/cloakbrowser-mcp/.agents/skills/project-pull-request/SKILL.md

project-pull-request

Skill136 starsChanged 4 months agoMITView on GitHub

Create, update, prepare, or review a cloakbrowser-mcp GitHub Pull Request only when the user explicitly requests PR work. Follow the repository's branch, base/head, assignee, title, template, check, security, and reporting rules; review remains read-only, and commit, push, PR creation/update, readiness changes, merge, and other external mutations each require explicit authorization.

The file

Show its rules and text

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill for cloakbrowser-mcp Pull Request work.

    line 8
  2. Distinctive:

    Before each external mutation, confirm that the user explicitly authorized that action.

    line 16
  3. Distinctive:

    Never infer push or PR authorization from approval of code, a specification, a plan, local checks, or a commit.

    line 19
  4. Distinctive:

    Do not open a PR from main.

    line 27
  5. Distinctive:

    Use main as the base branch unless the user explicitly gives another base.

    line 28
  6. Very specific:

    Before creating a commit for the PR, open and scan https://www.conventionalcommits.org/en/v1.0.0/.

    line 29
  7. Very specific:

    Run npm run check locally after the final edits and before creating a commit.

    line 32
  8. Very specific:

    If any file changes after npm run check, rerun npm run check before committing.

    line 34
  9. Very specific:

    After explicit push authorization, push the current feature branch to origin before creating the PR.

    line 36
  10. Very specific:

    Run npm run check again on the committed branch before pushing.

    line 38
  11. Distinctive:

    Create PRs ready for review by default.

    line 41
  12. Distinctive:

    If the assignee cannot be resolved or GitHub rejects it, report the blocker and leave the PR otherwise complete.

    line 50
  13. Very specific:

    Use a concise Conventional-style title, such as build(deps): bump cloakbrowser to 0.3.31.

    line 55
  14. Distinctive:

    Use imperative or present-tense wording after the conventional prefix.

    line 57
  15. Very specific:

    Do not mark npm run check complete unless it passed locally on the branch being pushed.

    line 73
  16. Distinctive:

    Do not leave HTML comments or placeholder text in the submitted PR body.

    line 76
  17. Very specific:

    Prefer the available GitHub app or connector.

    line 82
  18. Distinctive:

    If a PR already exists for the branch, update its title/body instead of creating a duplicate.

    line 84
  19. Distinctive:

    After creating or updating the PR, report the PR URL, base/head branches, title, assignee, whether it is draft or ready for review, and any …

    line 86

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Project Pull Request

Use this skill for cloakbrowser-mcp Pull Request work. The repository's .github/PULL_REQUEST_TEMPLATE.md is the required PR body format; do not replace it with a second template.

Authorization

  • A request to review or prepare a PR does not authorize edits, commits, pushes, PR creation/update, readiness changes, merge, or branch deletion.
  • Before each external mutation, confirm that the user explicitly authorized that action. Use the global Prompt MCP for any unresolved material base, head, assignee, readiness, scope, or execution choice.
  • Never infer push or PR authorization from approval of code, a specification, a plan, local checks, or a commit.
  • Preserve unrelated worktree changes and stage only the intended PR scope.

Preconditions

  • Inspect git status, current branch, upstream tracking, and diff before creating or updating a PR.
  • Do not open a PR from main.
  • Use main as the base branch unless the user explicitly gives another base.
  • Before creating a commit for the PR, open and scan https://www.conventionalcommits.org/en/v1.0.0/.
  • Obtain explicit commit authorization before creating the commit.
  • Run npm run check locally after the final edits and before creating a commit. If it fails, fix the failure or report the blocker; do not commit.
  • If any file changes after npm run check, rerun npm run check before committing.
  • After explicit push authorization, push the current feature branch to origin before creating the PR.
  • Run npm run check again on the committed branch before pushing. If it fails, fix the failure or report the blocker; do not push or create/update the PR.
  • Create PRs ready for review by default. Use draft only when the user explicitly asks for a draft PR.

Assignee

  • Assign the PR to the authenticated GitHub user by default. Resolve the login with gh api user --jq .login or the equivalent GitHub connector identity.
  • For this repository, the expected default assignee is swimmwatch unless the user explicitly requests another assignee.
  • If the assignee cannot be resolved or GitHub rejects it, report the blocker and leave the PR otherwise complete.

Title

  • Use a concise Conventional-style title, such as build(deps): bump cloakbrowser to 0.3.31.
  • Use imperative or present-tense wording after the conventional prefix.
  • Make the title describe the main branch change, not a test result or implementation detail.

Body

Fill every section from .github/PULL_REQUEST_TEMPLATE.md:

  • Summary: include 2-4 bullets explaining what changed and why.
  • Checklist: keep every template item. Mark [x] only when completed. If an item is not applicable, keep it visible and add a short reason.
  • Security review: write explicit notes even when there is no new risk. Mention bridge, child-process, filesystem, Docker, logging, secrets/tokens, OIDC, and registry publishing when relevant.
  • Test evidence: list exact commands and outcomes. If a relevant check was skipped, state why.
  • Do not mark npm run check complete unless it passed locally on the branch being pushed.

Do not leave HTML comments or placeholder text in the submitted PR body.

Create Or Update

  • Obtain explicit authorization for the exact PR creation or update before mutating GitHub.
  • Prefer the available GitHub app or connector. Use gh when connector support is unavailable or insufficient.
  • If a PR already exists for the branch, update its title/body instead of creating a duplicate.
  • After creating or updating the PR, report the PR URL, base/head branches, title, assignee, whether it is draft or ready for review, and any skipped checks.

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.