Agent skill

Commit And PR

by 389ds in 389ds/389-ds-base

Commit and open a PR the 389-ds-base way — "Issue NNNN - summary" subject, Bug Description/Fix Description body, Fixes:/Relates: trailer, AI-attribution trailer, and squash-merge etiquette.

Custom licenceAuto-check passedDevelopment

Install Commit And PR

skills CLI
$ npx skills add 389ds/389-ds-base --skill commit-and-pr -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install 389ds/389-ds-base commit-and-pr --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/389ds/389-ds-base.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/commit-and-pr .claude/skills/commit-and-pr && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
commit-and-pr
GitHub stars
294
Token cost
~1k tokens
SKILL.md length
415 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
Custom licence

At a glance

Commit and open a PR the 389-ds-base way — "Issue NNNN - summary" subject, Bug Description/Fix Description body, Fixes:/Relates: trailer, AI-attribution trailer, and squash-merge etiquette.

  • Works in 8 steps: Pre-flight. If changed code, CI, or… → Never commit generated artifacts. The… → Never write CLAUDE.md or GEMINI.md as… → …
  • Pull request in this repo
  • SKILL.md covers Steps and Maintenance
  • Calls git and gh

What it does

Commit And PR is an agent skill from 389ds/389-ds-base. Commit and open a PR the 389-ds-base way — "Issue NNNN - summary" subject, Bug Description/Fix Description body, Fixes:/Relates: trailer, AI-attribution trailer, and squash-merge etiquette. Use for ANY commit, amend, or pull request in this repo. Also guards the repo's working-tree traps — .patch files are gitignored and vanish from git status, CLAUDE.md/GEMINI.md are symlinks that must never be replaced with regular files, and generated files must never be committed. Triggers: "commit this", "git commit"…

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Pull requests, Commit messages and Agent instruction files. It works with Git and GitHub. The repository describes itself as: The enterprise-class Open Source LDAP server for Linux.

When your agent uses it

  • Pull request in this repo
  • Tasks that involve Pull requests
  • Tasks that involve Commit messages

Example prompts

  • “Issue NNNN - summary”
  • “commit this”
  • “git commit”
  • “/commit-and-pr”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Pre-flight. If changed code, CI, or interface behavior is described in
  2. Never commit generated artifacts. The common offenders
  3. Never write CLAUDE.md or GEMINI.md as regular files. They are git
  4. Subject line: Issue - — capital I, spaced hyphen.
  5. Body: Bug Description: and Fix Description: paragraphs of wrapped
  6. Trailers
  7. One logical commit per PR. The repo squash-merges, so amend
  8. Open the PR with title = commit subject and body = commit body

What it can do on your machine

Read from SKILL.md and the folder at commit 216e502. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Commit And PR loads about 1k tokens when it runs. Until then it costs about 151 tokens; SKILL.md has 415 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~151
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 415 words (~1,047 tokens).

“This repo squash-merges PRs, links every commit to a GitHub issue, and carries working-tree traps that silently eat files. Follow the steps in order.”

— opening of SKILL.md by 389ds, Custom licence
name
commit-and-pr

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/commit-and-pr of 389ds/389-ds-base.

Open the folder on GitHubat commit 216e502

Compare with similar skills

Commit And PR next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Commit And PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Commit And PR this skill389ds/389-ds-base294—~1kAutomated safety check: PassCustom licence
React Router Pull Request Creatorremix-run/react-router57k—~2.5kAutomated safety check: PassMIT
Verdaccio Pull Request Workflowverdaccio/verdaccio18k—~1.9kAutomated safety check: PassMIT
Draft Pull Request Creatorwordpress-mobile/WordPress-Android3.2k—~881Automated safety check: NotesGPL-2.0
Submit PRtisfeng/Easydict15k—~595Automated safety check: PassGPL-3.0
Create PREmiyaaaaa/HiveMind1.1k—~1.7kAutomated safety check: PassCustom licence

Similar skills

  • React Router Pull Request Creator

    remix-run/react-router

    Packages finished React Router work into a draft pull request: branch, commit, push, a written PR body and the right GitHub labels.

    57k GitHub stars~2.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Takes a change through a verdaccio pull request: branch, local checks, changeset, title and body, labels, CI and review rounds, and ports to other release lines.

    18k GitHub stars~1.9k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Draft Pull Request Creator

    wordpress-mobile/WordPress-Android

    Commits and pushes current changes, writes a pull request title and body from the branch history and template, and opens a draft PR on GitHub after you approve it.

    3.2k GitHub stars~881 tokensUpdated today
    DevelopmentAuto-check: notes
  • Submit PR

    tisfeng/Easydict

    创建或复用当前 checkout 已提交变更的 GitHub PR,必要时推送任务分支。PR 审查使用 review-pr;仅本地提交使用 git-commit。

    15k GitHub stars~595 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Create PR

    Emiyaaaaa/HiveMind

    Create a GitHub pull request with gh pr create. An agent skill from Emiyaaaaa/HiveMind.

    1.1k GitHub stars~1.7k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Publishes a GitHub PR for the checked-out branch with a Conventional Commits style title, a description backed by commands run, and screenshots when the UI changed.

    5.9k GitHub stars~1.2k tokensUpdated 8 days ago
    DevelopmentAuto-check passed

More from 389ds/389-ds-base

  • Write Test

    389ds/389-ds-base

    Add or extend a pytest integration test for 389 Directory Server under dirsrvtests/.

    294 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Add CLI Option

    389ds/389-ds-base

    Add or change a dsconf/dsctl/dsidm/dscreate flag, subcommand, or noun in src/lib389 — argparse wiring, argtoattr maps, lib389 allowlists, generated man pages, Cockpit coupling, and clu tests.

    294 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Add Config Attribute

    389ds/389-ds-base

    Add, rename, or wire a server config attribute end to end - a core cn=config attribute (the slap.h/libglobs.c chain) or a plugin config-entry attribute - including the schema line, defaults, upgrade…

    294 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Verify Changes

    389ds/389-ds-base

    Verify a 389-ds-base change by routing through the environment's build/test skill — static Python gates plus, via that skill, C compile, cmocka, RPM build and pytest suites, cargo tests, and the…

    294 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Touch Backend

    389ds/389-ds-base

    Rules for modifying back-ldbm database code under the dual-backend (BDB + LMDB) architecture.

    294 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • UI Expose Attribute

    389ds/389-ds-base

    Expose a server setting in the Cockpit web console (389-console) or change web UI behavior.

    294 GitHub stars~1.6k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Commit And PR

What does Commit And PR do?

Commit and open a PR the 389-ds-base way — "Issue NNNN - summary" subject, Bug Description/Fix Description body, Fixes:/Relates: trailer, AI-attribution trailer, and squash-merge etiquette. Commit And PR is an agent skill from 389ds/389-ds-base. Commit and open a PR the 389-ds-base way — "Issue NNNN - summary" subject, Bug Description/Fix Description body, Fixes:/Relates: trailer, AI-attribution trailer, and squash-merge etiquette.

When should I use Commit And PR?

Commit And PR fits situations like: pull request in this repo; tasks that involve Pull requests; tasks that involve Commit messages.

How do I install Commit And PR in Claude Code?

Run `npx skills add 389ds/389-ds-base --skill commit-and-pr -a claude-code`. Or copy the skill folder (.agents/skills/commit-and-pr in 389ds/389-ds-base) into .claude/skills/commit-and-pr in your project. Claude Code loads it when a task matches its description.

How do I install Commit And PR in Codex?

Run `npx skills add 389ds/389-ds-base --skill commit-and-pr -a codex`. Or copy the skill folder (.agents/skills/commit-and-pr in 389ds/389-ds-base) into .agents/skills/commit-and-pr in your project. Codex loads it when a task matches its description.

Can I use Commit And PR in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add 389ds/389-ds-base --skill commit-and-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/commit-and-pr, .gemini/skills/commit-and-pr, .github/skills/commit-and-pr and .opencode/skills/commit-and-pr in your project.

What does Commit And PR need to run?

Going by SKILL.md and its folder, Commit And PR needs the command-line tools its instructions call (git and gh).

Does Commit And PR access the network?

SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Commit And PR safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Commit And PR use?

Commit And PR has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Commit And PR use?

About 1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Commit And PR?

Skills that share tags, products or a category with Commit And PR: React Router Pull Request Creator (remix-run/react-router, 57k stars), Verdaccio Pull Request Workflow (verdaccio/verdaccio, 18k stars), Draft Pull Request Creator (wordpress-mobile/WordPress-Android, 3.2k stars) and Submit PR (tisfeng/Easydict, 15k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Commit And PR?

389ds (a GitHub organization) maintains it in 389ds/389-ds-base, which has 294 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 7, 2026.

Source: 389ds/389-ds-base on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.