Agent skill

Skill GitHub

by Dolibarr in Dolibarr/dolibarr

Handles GitHub issues and pull requests of the project with the gh CLI - list, triage, analyze an issue, review a PR, diagnose a CI failure, comment, label, close or merge.

MITAuto-check passedDevelopment

Install Skill GitHub

skills CLI
$ npx skills add Dolibarr/dolibarr --skill skill-github -a claude-code

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

GitHub CLI
$ gh skill install Dolibarr/dolibarr skill-github --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/Dolibarr/dolibarr.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/skill-github .claude/skills/skill-github && 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
skill-github
GitHub stars
7.7k
Token cost
~1.6k tokens
SKILL.md length
580 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

Handles GitHub issues and pull requests of the project with the gh CLI - list, triage, analyze an issue, review a PR, diagnose a CI failure, comment, label, close or merge.

  • Works in 5 steps: gh issue view N --comments; identify the… → Look for duplicates (gh issue list… → Find the related code in the local… → …
  • The user mentions an issue
  • SKILL.md covers Rules, Project conventions…, Useful commands and Workflows
  • Calls gh, python3 and git

What it does

Skill GitHub is an agent skill from Dolibarr/dolibarr. Handles GitHub issues and pull requests of the project with the gh CLI - list, triage, analyze an issue, review a PR, diagnose a CI failure, comment, label, close or merge. Use when the user mentions an issue, a PR, a failing CI check or GitHub.

Its SKILL.md is about 1.6k 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 and Failing and flaky tests. It works with GitHub. The repository describes itself as: Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an… The licence is MIT.

When your agent uses it

  • The user mentions an issue
  • A failing CI check

Example prompts

  • “Use the skill-github skill to handle GitHub issues and pull requests of the project with the gh CLI - list, triage, analyze an issue, review a PR…”
  • “/skill-github”

Requirements

  • Python 3

Workflow steps

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

  1. gh issue view N --comments; identify the version, the module and the steps to reproduce.
  2. Look for duplicates (gh issue list --search, gh pr list --search, with --state all).
  3. Find the related code in the local repository (htdocs//...) and check whether the bug
  4. Report to the user: diagnosis, files/lines involved, target branch for a fix, suggested labels
  5. If the issue is a duplicate, close it with a comment.

What it can do on your machine

Read from SKILL.md and the folder at commit 419a05a. 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:

    • gh
    • python3
    • git
    • php

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

  • Network

    Links to these hosts (documentation or services it may open):

    • dolibarr.org

    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

Skill GitHub loads about 1.6k tokens when it runs. Until then it costs about 65 tokens; SKILL.md has 580 words of instructions outside code blocks.

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

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

The full file from Dolibarr/dolibarr at commit 419a05a, republished under its MIT licence (© Dolibarr). 580 words, ~1,570 tokens.

Download SKILL.mdSave it as .claude/skills/skill-github/SKILL.md (or your agent's skills folder).
name
skill-github
description
Handles GitHub issues and pull requests of the project with the gh CLI - list, triage, analyze an issue, review a PR, diagnose a CI failure, comment, label, close or merge. Use when the user mentions an issue, a PR, a failing CI check or GitHub.
license
MIT
user-invocable
true

Skill: Handle Dolibarr GitHub issues and pull requests

Repository: Use the same GitHub repository than the one of the project. Replace 'MyRepo/project' in this file with the correct value. Default branch: develop. Stable branches are named NN.0 (e.g. 21.0).

Rules

  • Read freely, write only after confirmation: listing, reading, diffs and logs need no approval. Commenting, labeling, assigning, closing, reopening, approving, merging or pushing: show the exact text or action and wait for the user's explicit approval.
  • Text published on GitHub (comments, reviews) is in English, short and friendly: we talk to a community of contributors. Answers to the user stay in the user's language.
  • Never publish details of an unfixed security vulnerability in a public issue or comment: warn the user and suggest the private channel (GitHub Security Advisory).
  • Do not claim a feature exists in Dolibarr without checking the code.

Project conventions (.github/CONTRIBUTING.md, .github/PULL_REQUEST_TEMPLATE.md)

  • PR title/description prefixed with FIX, CLOSE, NEW, UXUI, PERF, QUAL (uppercase = goes into the ChangeLog, lowercase = does not). Security PRs use SEC.
  • A bugfix targets the oldest affected stable branch; a new feature targets develop.
  • The contributor must fix any CI error and any conflict, even outside their own lines (solidarity principle). There is a daily PR quota per user (check Check PR quota per user, workflow ci-on-pull-checkprquota.yml).
  • Issues: in English, with the version used and steps to reproduce. GitHub is not a support forum (redirect to https://www.dolibarr.org/forum.php).

Useful commands

To filter JSON output (--json ...), write the Python filter into a temporary script file and run it with python3 -I script.py, rather than a one-liner full of escaped quotes.

  • To find open PRs (draft PRs excluded) that are approved by at least one maintainer (an approving review from an OWNER, MEMBER or COLLABORATOR of the repository):
bash
gh pr list -R Repo/project --state open --limit 50 --json number,title,author,isDraft,latestReviews \
  --jq '.[] | select(.isDraft | not) | select(any(.latestReviews[]; .state == "APPROVED")) | "#\(.number) \(.author.login) - \(.title) (approved by: \([.latestReviews[] | select(.state == "APPROVED") | .author.login] | join(", ")))"'
# Draft PRs are excluded with select(.isDraft | not): they are still work in progress.
# Do not use --search "review:approved": it relies on the review decision of the branch protection
# rules and does not tell who approved.
  • List open PRs (draft PRs excluded) with a failing CI:
bash
gh pr list -R Repo/project --state open --limit 200 --json number,title,author,isDraft,updatedAt,statusCheckRollup \
  --jq '.[] | select(.isDraft | not) | . as $pr | ($pr.statusCheckRollup | group_by(.name // .context) | map(max_by(.startedAt // .createdAt // .updatedAt // ""))) as $latest | {n: $pr.number, a: $pr.author.login, d: $pr.updatedAt[:10], t: $pr.title, f: ([$latest[] | select((.conclusion // .state) | IN("FAILURE","ERROR","TIMED_OUT","STARTUP_FAILURE","ACTION_REQUIRED")) | (.name // .context)] | unique)} | select(.f | length > 0) | "#\(.n) \(.d) \(.a) - \(.t) (failing: \(.f | join(", ")))"'
# Draft PRs are excluded with select(.isDraft | not): their CI failures are expected while in progress.
# statusCheckRollup can contain several runs of the same check (re-runs, matrix jobs). The
# group_by(name) | map(max_by(startedAt)) keeps only the latest run per check, so a check fixed
# since the last commit no longer appears as failing.
# Increase --limit if the repo has many open PRs (Dolibarr has 400+ open PRs).
# Output is sorted by most recently created PR first; add "| head -N" to keep only the N last ones.
# GitHub Actions checks have a .name/.conclusion, external statuses (Travis) a .context/.state.
# "Check PR quota per user" is not a code error: it means the author has too many open PRs.
  • To launch the "Update branch" on a PR, the same way as the button on the GitHub interface
bash
gh api -X PUT repos/MyRepo/project/pulls/IDOfPR/update-branch -f expected_head_sha=shaOfCommit

Workflows

Show full SKILL.md (260 more words)Show less
Triage an issue
  1. gh issue view N --comments; identify the version, the module and the steps to reproduce.
  2. Look for duplicates (gh issue list --search, gh pr list --search, with --state all).
  3. Find the related code in the local repository (htdocs/<module>/...) and check whether the bug still exists on develop and on the stable branch reported.
  4. Report to the user: diagnosis, files/lines involved, target branch for a fix, suggested labels and, if useful, a draft answer in English.
  5. If the issue is a duplicate, close it with a comment.
Review a pull request
  1. gh pr view N, gh pr diff N, gh pr checks N.
  2. Check: title prefix, consistent target branch (fix → oldest affected stable branch), description, no conflict (mergeable).
  3. Review the code itself with the skill-doli-code-review skill (rights, GETPOST filters, output escaping, SQL escaping, CSRF token, translations, PHP compatibility of the target branch, hooks rather than specific code).
  4. For a CI failure, tell apart: error introduced by the PR, pre-existing error, infrastructure issue (Travis, PR quota). Read the logs before concluding.
  5. Report a summary: verdict (mergeable / changes requested), blocking points as file:line, and the draft review in English to publish if the user approves.
Fix an issue yourself
  1. Start from the right branch (git fetch, then branch from origin/NN.0 or develop).
  2. Fix, then run the relevant local checks (php -l, phpstan/phpcs if available, and the skill-doli-test-* skills when tests apply).
  3. Commit with a prefix (FIX #N ...); push and gh pr create only after approval, following .github/PULL_REQUEST_TEMPLATE.md.

© Dolibarr, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/skill-github of Dolibarr/dolibarr.

Open the folder on GitHubat commit 419a05a

Compare with similar skills

Skill GitHub 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.

Skill GitHub compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Skill GitHub this skillDolibarr/dolibarr7.7k—~1.6kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Exposed Bug Fix WorkflowJetBrains/Exposed9.3k—~3.8kAutomated safety check: PassApache-2.0
GitHub PR Imagesbikeindex/bike_index308—~1.9kAutomated safety check: PassAGPL-3.0
Debug Os Failure On GitHubstrands-agents/box299—~1.3kAutomated safety check: NotesApache-2.0
Gh Address Commentstech-leads-club/agent-skills7k—~353Automated safety check: PassApache-2.0

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Exposed Bug Fix Workflow

    JetBrains/Exposed

    Official

    Takes a GitHub or YouTrack issue for the Exposed project through reproduction, a failing test, a fix, validation and a pull request.

    9.3k GitHub stars~3.8k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • GitHub PR Images

    bikeindex/bike_index

    Embed a local image file into an existing GitHub PR — either in the PR body or as a comment.

    308 GitHub stars~1.9k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Debug Os Failure On GitHub

    strands-agents/box

    Debug a CI failure on an OS you are not on (you are on Linux, it fails on macos-latest, or the reverse) without opening a pull request per attempt.

    299 GitHub stars~1.3k tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • Gh Address Comments

    tech-leads-club/agent-skills

    Address review and issue comments on the open GitHub PR for the current branch using gh CLI.

    7k GitHub stars~353 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • GitHub Gh CLI

    huangruiteng/CS-Notes

    Inspect GitHub pull requests, issues, workflow runs, and API data with the gh CLI.

    4k GitHub stars~377 tokensUpdated 2 days ago
    DevelopmentAuto-check passed

More from Dolibarr/dolibarr

All 8 skills in this repo
  • Skill Doli Code Review

    Dolibarr/dolibarr

    Reviews Dolibarr PHP code for compliance with coding standards and security best practices, and fixes identified issues.

    7.7k GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Skill Doli Devmodule

    Dolibarr/dolibarr

    A skill your agent uses when developing a Dolibarr ERP/CRM external module, working with database queries, or asking about Dolibarr best practices.

    7.7k GitHub starsUsed in 1 repo~3.3k tokens
    Auto-check passed
  • Skill Doli Test Phpunit

    Dolibarr/dolibarr

    Creates or modify PHP unit tests for Dolibarr ERP/CRM functions and methods.

    7.7k GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed
  • Skill Doli Dev

    Dolibarr/dolibarr

    A skill your agent uses when developing Dolibarr ERP/CRM code, working with database queries, or asking about Dolibarr best practices.

    7.7k GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed
  • Skill Doli Test Hurl

    Dolibarr/dolibarr

    Create and maintain Hurl tests for Dolibarr ERP/CRM. An agent skill from Dolibarr/dolibarr.

    7.7k GitHub stars~3.7k tokensUpdated yesterday
    Auto-check passed
  • Skill Doli Upmerge

    Dolibarr/dolibarr

    Forward-port (upmerge) Dolibarr maintenance branches in cascade (n into n+1, up to develop) with dev/pullmerge.sh, and resolve merge conflicts without committing.

    7.7k GitHub stars~674 tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Skill GitHub

What does Skill GitHub do?

Handles GitHub issues and pull requests of the project with the gh CLI - list, triage, analyze an issue, review a PR, diagnose a CI failure, comment, label, close or merge. Skill GitHub is an agent skill from Dolibarr/dolibarr. Handles GitHub issues and pull requests of the project with the gh CLI - list, triage, analyze an issue, review a PR, diagnose a CI failure, comment, label, close or merge.

When should I use Skill GitHub?

Skill GitHub fits situations like: the user mentions an issue; A failing CI check.

How do I install Skill GitHub in Claude Code?

Run `npx skills add Dolibarr/dolibarr --skill skill-github -a claude-code`. Or copy the skill folder (.agents/skills/skill-github in Dolibarr/dolibarr) into .claude/skills/skill-github in your project. Claude Code loads it when a task matches its description.

How do I install Skill GitHub in Codex?

Run `npx skills add Dolibarr/dolibarr --skill skill-github -a codex`. Or copy the skill folder (.agents/skills/skill-github in Dolibarr/dolibarr) into .agents/skills/skill-github in your project. Codex loads it when a task matches its description.

Can I use Skill GitHub 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 Dolibarr/dolibarr --skill skill-github -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/skill-github, .gemini/skills/skill-github, .github/skills/skill-github and .opencode/skills/skill-github in your project.

What does Skill GitHub need to run?

Going by SKILL.md and its folder, Skill GitHub needs the command-line tools its instructions call (gh, python3, git and php). Our summary lists: Python 3.

Does Skill GitHub access the network?

SKILL.md names 1 domain. As links in the text: dolibarr.org. This is read from the text; nothing was executed.

Is Skill GitHub 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 Skill GitHub use?

Skill GitHub is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Skill GitHub use?

About 1.6k tokens (SKILL.md is roughly 6.3k 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 Skill GitHub?

Skills that share tags, products or a category with Skill GitHub: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Exposed Bug Fix Workflow (JetBrains/Exposed, 9.3k stars), GitHub PR Images (bikeindex/bike_index, 308 stars) and Debug Os Failure On GitHub (strands-agents/box, 299 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Skill GitHub?

Dolibarr (a GitHub organization) maintains it in Dolibarr/dolibarr, which has 7,707 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 10, 2026.

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