Agent skill

PR Description Writer

by Infomaniak in Infomaniak/desktop-kDrive

Generate a pull request title and a bilingual (French and English) description in a PR.md file, based on the git diff between the current branch and its base branch (develop by default).

GPL-3.0Auto-check passedDevelopment

Install PR Description Writer

skills CLI
$ npx skills add Infomaniak/desktop-kDrive --skill pr-description-writer -a claude-code

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

GitHub CLI
$ gh skill install Infomaniak/desktop-kDrive pr-description-writer --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/Infomaniak/desktop-kDrive.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/pr-description-writer .claude/skills/pr-description-writer && 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
pr-description-writer
GitHub stars
120
Token cost
~1.7k tokens
SKILL.md length
847 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
GPL-3.0

At a glance

Generate a pull request title and a bilingual (French and English) description in a PR.md file, based on the git diff between the current branch and its base branch (develop by default).

  • Works in 7 steps: Determine the base branch. → Get the current branch: git rev-parse… → Get the diff. → …
  • The user asks to create
  • SKILL.md covers Language rules, Workflow, Accuracy rules and Output format, plus 2 more sections
  • Calls git and gh

What it does

PR Description Writer is an agent skill from Infomaniak/desktop-kDrive. Generate a pull request title and a bilingual (French and English) description in a PR.md file, based on the git diff between the current branch and its base branch (develop by default). Use when the user asks to create, write, generate or update a PR description, a PR title or a PR.md file.

Its SKILL.md is about 1.7k 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. It works with Git. The repository describes itself as: :computer: Desktop Syncing Client for kDrive. The licence is GPL-3.0.

When your agent uses it

  • The user asks to create
  • Update a PR description

Example prompts

  • “/pr-description-writer”

Workflow steps

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

  1. Determine the base branch.
  2. Get the current branch: git rev-parse --abbrev-ref HEAD. Use its name to understand the intent (fix/...,
  3. Get the diff.
  4. Read the real content. Never infer the content of the PR from commit titles: several commits can share the same
  5. Use the context given by the user. Motivation, related issue, logs, analysis documents: integrate them. When the
  6. Analyze and synthesize
  7. Write PR.md with the format below, then confirm to the user that the file was written, with the title and a

What it can do on your machine

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

PR Description Writer loads about 1.7k tokens when it runs. Until then it costs about 79 tokens; SKILL.md has 847 words of instructions outside code blocks.

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

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 Infomaniak/desktop-kDrive at commit d32522c, republished under its GPL-3.0 licence (© Infomaniak). 847 words, ~1,724 tokens.

Download SKILL.mdSave it as .claude/skills/pr-description-writer/SKILL.md (or your agent's skills folder).
name
pr-description-writer
description
Generate a pull request title and a bilingual (French and English) description in a PR.md file, based on the git diff between the current branch and its base branch (develop by default). Use when the user asks to create, write, generate or update a PR description, a PR title or a PR.md file.

PR description writer

Analyze the git diff of the current branch and write a PR.md file at the repository root, containing the PR title and a description with a French section and an English section.

Language rules

  • The PR title is always in English and follows the Conventional Commits format.
  • PR.md contains two language sections: French inside <details>, English after the --- separator. Both sections are complete and say the same thing.
  • French orthography is mandatory: use every diacritical mark (é, è, ê, ë, à, â, î, ï, ô, û, ù, ü, ç, œ, æ). Never write ASCII substitutes: "généré" not "genere", "désormais" not "desormais", "nécessaire" not "necessaire".

Workflow

  1. Determine the base branch.

    • Default: develop, unless the user names another branch.
    • If a PR already exists, read its real base first: gh pr view --json baseRefName,title,body,headRefName.
  2. Get the current branch: git rev-parse --abbrev-ref HEAD. Use its name to understand the intent (fix/..., feat/...).

  3. Get the diff.

    • Refresh the base first: git fetch origin <base>.
    • Committed work: git diff origin/<base>...HEAD (add --stat when the diff is large).
    • Run git status too. Work is sometimes staged or uncommitted, or a commit is being reverted in the index. If the user says the changes are not committed yet, or if the index changes what the PR will contain, diff the working tree against the merge base instead: git diff $(git merge-base origin/<base> HEAD), and say so in your answer.
    • git diff never shows untracked files. List them with git ls-files --others --exclude-standard, read the ones that belong to the change, and ignore local notes or build artifacts.
    • If the branch is not pushed yet (origin/<branch> missing), fall back to HEAD and warn the user.
  4. Read the real content. Never infer the content of the PR from commit titles: several commits can share the same message while containing unrelated changes. Read the full diff, and the per-file diff of the substantial files.

  5. Use the context given by the user. Motivation, related issue, logs, analysis documents: integrate them. When the user points to a local analysis or crash report, read it in full and use it for the "why" (root cause, call sequence, why each part of the fix is needed, rejected alternatives). If that file is untracked, never cite or link it as a repository file: fold its content into Technical Details, Testing or Notes.

  6. Analyze and synthesize:

    • what changed (features, fixes, refactoring);
    • why it changed (problem solved, motivation);
    • how it changed (key technical decisions);
    • breaking changes, new dependencies, migration steps.
  7. Write PR.md with the format below, then confirm to the user that the file was written, with the title and a short summary of the content.

Accuracy rules

  • Only state verified facts. Clearly separate what was observed (in logs, tests, reproduction) from what is only possible (a risk, a potential consequence).
  • Do not describe an issue as systematic if it is intermittent, and do not claim a fix was validated if no build or test was run. Say explicitly what was not tested.
  • Do not invent an explanation for a mechanism that was not identified: say it was not pinpointed.
Show full SKILL.md (327 more words)Show less

Output format

Create PR.md with exactly this structure:

markdown
```
<PR title: concise, imperative mood, max ~72 characters>
```

```
<details>
<summary>:information_source: Description en français</summary>

## Résumé
<1 à 3 phrases : ce que fait la PR et pourquoi>

## Changements
- <changement clé>
- <autre changement clé>

## Détails techniques
<Optionnel : décisions d'implémentation non évidentes, notes d'architecture>

## Notes
<Optionnel : changements cassants, migration, limites connues, suites prévues>

</details>

---

## Summary
<1 to 3 sentences: what this PR does and why>

## Changes
- <key change>
- <another key change>

## Technical Details
<Optional: non-obvious implementation decisions, architecture notes>

## Notes
<Optional: breaking changes, migration steps, known limitations, follow-ups>
```
Formatting rules
  • Exactly two fenced code blocks, with plain triple backticks and no language specifier.
  • The first block contains only the title, on a single line, with no markdown inside.
  • The second block contains the whole description: the French <details> section, then ---, then the English description. Both languages go in this same block.
  • A log excerpt inside the description cannot use nested triple backticks: indent it with 4 spaces instead.
  • Never use em dashes or en dashes. For ranges, write "to" (e.g. "s2 to s64"); otherwise use a simple hyphen or rephrase.
  • Omit the optional sections (Détails techniques / Technical Details, Tests / Testing, Notes) consistently in both languages when there is nothing meaningful to say.
  • The title must follow Conventional Commits and match:
    ^(Merge .+|((feat|fix|chore|docs|style|refactor|revert|perf|ci|test)(\(.+\))?!?: [A-Za-z0-9].+[^.\s])$)
    Examples: feat(auth): add OAuth login support for Linux, fix(sync): prevent crash when drive is unavailable, chore: update Qt to 6.8.3.
Stacked PRs

When the PR depends on another open PR, add a Depends on #<number> line in Notes, with the real PR number. Find it with:

gh pr list --head <parent-branch> --state all --json number,title,baseRefName,state

Quality standards

  • Be specific: name files, classes, functions and components when relevant.
  • Avoid vague wording such as "various fixes" or "some improvements".
  • Focus on the what and the why, do not paraphrase the diff line by line.
  • For deep technical fixes (concurrency, object lifetime, crashes), a substantial Technical Details section that reconstructs the failure sequence and justifies each part of the fix is welcome.
  • If the diff is too large to analyze fully, prioritize the most impactful changes.
  • Do not leak internal or private information (personal paths, tokens, customer data) that should not appear in a public PR.

Error handling

  • Empty git diff: tell the user there is no difference between the current branch and the base branch.
  • Base branch missing locally: try origin/<base> and tell the user.
  • Not a git repository, or git unavailable: report the error clearly.
  • PR.md is a working file: do not commit it.

© Infomaniak, GPL-3.0. 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/pr-description-writer of Infomaniak/desktop-kDrive.

Open the folder on GitHubat commit d32522c

Compare with similar skills

PR Description Writer 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.

PR Description Writer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
PR Description Writer this skillInfomaniak/desktop-kDrive120—~1.7kAutomated safety check: PassGPL-3.0
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Open Code Review CLIalibaba/open-code-review46k—~3.1kAutomated safety check: PassApache-2.0
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0
Pull Request Title and Body Writeropeninterpreter/openinterpreter69k2 repos~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Open Code Review CLI

    alibaba/open-code-review

    Runs the ocr command-line tool to review Git changes, a commit or a branch comparison with an AI model, returning line-level comments and optionally applying fixes.

    46k GitHub stars~3.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Pull Request Title and Body Writer

    openinterpreter/openinterpreter

    Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.

    69k GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    86k GitHub stars~1.4k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from Infomaniak/desktop-kDrive

  • Kdrive Sentry Rca

    Infomaniak/desktop-kDrive

    Investigate kDrive crashes, Sentry issues, and application logs to produce source-grounded root cause analyses.

    120 GitHub stars~4.1k tokensUpdated yesterday
    Auto-check passed
  • Device Interaction

    Infomaniak/desktop-kDrive

    Verify iOS app behavior on device or simulator via screenshots, UI hierarchy, and touch interactions.

    120 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Swiftui Specialist

    Infomaniak/desktop-kDrive

    Best practices and idiomatic patterns for SwiftUI. An agent skill from Infomaniak/desktop-kDrive.

    120 GitHub starsUsed in 1 repo~875 tokens
    Auto-check passed

Works with

Categories

Questions about PR Description Writer

What does PR Description Writer do?

Generate a pull request title and a bilingual (French and English) description in a PR.md file, based on the git diff between the current branch and its base branch (develop by default). PR Description Writer is an agent skill from Infomaniak/desktop-kDrive.md file, based on the git diff between the current branch and its base branch (develop by default).

When should I use PR Description Writer?

PR Description Writer fits situations like: the user asks to create; update a PR description.

How do I install PR Description Writer in Claude Code?

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

How do I install PR Description Writer in Codex?

Run `npx skills add Infomaniak/desktop-kDrive --skill pr-description-writer -a codex`. Or copy the skill folder (.agents/skills/pr-description-writer in Infomaniak/desktop-kDrive) into .agents/skills/pr-description-writer in your project. Codex loads it when a task matches its description.

Can I use PR Description Writer 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 Infomaniak/desktop-kDrive --skill pr-description-writer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pr-description-writer, .gemini/skills/pr-description-writer, .github/skills/pr-description-writer and .opencode/skills/pr-description-writer in your project.

What does PR Description Writer need to run?

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

Does PR Description Writer 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 PR Description Writer 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 PR Description Writer use?

PR Description Writer is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does PR Description Writer use?

About 1.7k tokens (SKILL.md is roughly 6.9k 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 PR Description Writer?

Skills that share tags, products or a category with PR Description Writer: Finishing a Development Branch (obra/superpowers, 297k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars), Open Code Review CLI (alibaba/open-code-review, 46k stars) and Create Pull Request (cline/cline, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains PR Description Writer?

Infomaniak (a GitHub organization) maintains it in Infomaniak/desktop-kDrive, which has 120 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 9, 2026.

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