agentleFS
suitenumeriquesuitenumerique/docs/.agents/skills/docs-create-issue/SKILL.md

docs-create-issue

Skill17k starsChanged 7 days agoMITView on GitHub

Create a GitHub issue on the La Suite Docs repository (suitenumerique/docs). Use when asked to open, file, create, write or report an issue, bug, feature request or task for Docs. Produces a short issue whose title says what it is about and whose body stays under 5 lines, points at the code with permalinks pinned on `main`, and suggests how to fix it.

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Sep 13: 0 new projectsWeek of Sep 20: 0 new projectsWeek of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projects
Sep 2026Oct 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about suitenumerique/docs

The biggest 5 of 110 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 110

Talked about on GitHub, Bluesky, YouTube and Hacker News (110 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 47

42 more on Bluesky

On YouTube · 11

6 more on YouTube

On Hacker News · 2

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Look for a duplicate before writing anything:

    line 17
  2. Distinctive:

    If one exists, give its link to the user and stop, unless they still want a new one.

    line 23
  3. Distinctive:

    Keep ranges tight (the lines that matter, not the whole function).

    line 41
  4. Distinctive:

    If the code only exists on another branch, link that branch's commit if it is pushed and say so.

    line 45
  5. Very specific:

    Never put in an issue: secrets, tokens, local paths (D:\..., /home/...), internal hostnames, personal data, or output from a private …

    line 81
  6. Very specific:

    Labels: only existing ones (gh label list -R suitenumerique/docs --limit 100), one to three area labels, e.g.

    line 84

≈ “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

Create a Docs issue

The reader is a maintainer skimming a long issue list. The title alone must tell them what the issue is about; the body must let them find the code and start the fix without asking a question.

1. Understand and locate

  1. Work out what is wrong or missing, where, and why. If the request is too vague to write a precise title, ask one question; otherwise do not ask.
  2. Find the code involved: grep for the symbol, read only the range you need.
  3. Look for a duplicate before writing anything:

    gh issue list -R suitenumerique/docs --state all --search "<keywords>" --limit 10

    If one exists, give its link to the user and stop, unless they still want a new one.

2. Build permalinks on main

Permalinks must point to the main of suitenumerique/docs, pinned on a full commit SHA, so they keep pointing at the same lines after the file changes. The local branch may differ from main: take the line numbers from origin/main, never from the working tree.

git fetch -q origin main
SHA=$(git rev-parse origin/main)
git grep -n "<symbol>" origin/main -- <path>        # line numbers as on main
git show origin/main:<path> | sed -n '<from>,<to>p' # check the range

Link: https://github.com/suitenumerique/docs/blob/$SHA/<path>#L<from>-L<to>

  • Keep ranges tight (the lines that matter, not the whole function).
  • A permalink alone on its line renders as a code snippet in the issue: use it for the one place that shows the problem. Put the other links inline in the sentence ([`useFoo`](<permalink>)).
  • If the code only exists on another branch, link that branch's commit if it is pushed and say so; otherwise name the path without a link.

3. Write the issue

Title: the template prefix, then what is wrong or wanted, specific enough to be understood without opening the issue (component + behaviour), under ~80 characters.

kindtitle prefixtype
bug🐛(Bug) Bug
feature / enhancement✨(feature) Feature
refactoring, chore, tech debt♻️(refacto) Task

Good: 🐛(Bug) Doc tree toolbox menu does not open on first click. Bad: 🐛(Bug) Menu issue, Problem with the tree.

Body: English, Markdown, 5 lines or fewer (a guideline, not a hard rule; go over it only when the issue truly needs it). No headings, no template boilerplate, no filler. Cover, in this order:

  1. What happens (or is missing) and where, with the permalink(s).
  2. Why / impact or how to reproduce, in one line, when not obvious from line 1.
  3. Fix suggestion: Suggested fix: followed by a concrete approach (which function to change, which guard to add, which existing helper to reuse). If several are possible, give the preferred one in a few words.

Example:

Opening the toolbox menu of a doc tree item needs two clicks: the controlled `DropdownMenu` never fires `onOpenChange` on open, so `isOpen` stays `false`.
https://github.com/suitenumerique/docs/blob/<sha>/src/frontend/apps/impress/src/features/docs/doc-tree/components/DocTreeItemActions.tsx#L80-L92
Suggested fix: toggle `isOpen` in the trigger's `onPress` instead of relying on `onOpenChange`, as [`DocToolBox`](<permalink>) does.

Never put in an issue: secrets, tokens, local paths (D:\..., /home/...), internal hostnames, personal data, or output from a private instance.

Labels: only existing ones (gh label list -R suitenumerique/docs --limit 100), one to three area labels, e.g. frontend, backend, collaboration, editor, export, accessibility, helm, SW, security. Add AI generated when the issue comes from something an agent found on its own while working on an unrelated task (see "Incidental findings" in AGENTS.md), rather than from a problem the user asked to report.

4. Confirm, then create

Creating an issue is public. Show the user the title, body and labels, and create it only once they agree, unless they already asked for it to be filed as is.

The installed gh may not support --type: create through the REST API, which sets the issue type too. Write the body to a file in the scratchpad (not the repo):

gh api repos/suitenumerique/docs/issues \
  -f title='🐛(Bug) ...' \
  -F body=@<scratchpad>/issue-body.md \
  -f type=Bug \
  -f 'labels[]=frontend' \
  --jq .html_url

Give the user the returned URL.

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.