gitlab-tickets
Skill1 starsChanged 2 months agoMITView on GitHub
Synapse Medicine conventions for creating or hand-writing a GitLab epic or ticket (titles, estimation, labels, structure, assignment, the French exception, no cross-referencing). Use whenever a GitLab ticket or epic is written or reviewed, and whenever a merge request is about to reference a ticket.
In this repository12 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- clarify-specSkill
- collect-evidenceSkill
- document-changeSkill
- figma-reviewSkill
- gh-github-apiSkill
- glab-gitlab-apiSkill
- howSkill
- review-changeSkill
- self-checkSkill
- unslopSkill
- whySkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Commit format feat: xxx, in English by default.
- Very specific: line 36
Write the title and description with implementation-harness:unslop.
- Distinctive: line 55
How to apply: before naming the branch, ask whether the merge request closes the ticket.
- Very specific: line 59
Create the epic: glab api POST groups/3049991/epics
- Very specific: line 60
Create the issues with glab issue create / glab issue update for reliable title, assignee and label (see glab-gitlab-api)
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.
Files
GitLab ticket conventions (Synapse Medicine)
Reference project synapse-medicine/app/material (id 20355218); epics live on the synapse-medicine group (id 3049991).
Titles
Commit format feat: xxx, in English by default.
French exception: Greg occasionally asks for French, fix: ... titles included. Write in English by default. If he asks for French again on a ticket, rewrite both title and description, and do not carry that over to the next ticket without a new request. On a series of tickets created in the same run, apply French to the whole series as soon as he asks for it on any one of them.
Estimation
Greg wants estimates in points, in the GitLab weight field:
glab api -X PUT "projects/<id>/issues/<iid>?weight=N"Fibonacci scale 1,2,3,5: 1 = trivial (a translation, a CSS colour), 5 = complex feature, most average tickets = 2-3. Slightly overestimate. Greg's capacity is roughly 30 points / 10 days (20-40 depending on the kind of tickets).
Do not raise the weight just because the functional scope widens. The weight reflects real complexity and effort, not the number of bullets in the description: repetitive, mechanical work on an already solved pattern does not necessarily increase the estimate.
Labels
By default carry over the epic's labels. If Greg explicitly asks for specific labels, set them as given (for example Dev, Squad MedGPT, prdt::MedGPT::web).
Ticket structure
- Functional description, edge cases, a targeted Figma link, and when asked the full API contract (endpoints, schemas, error codes) so the ticket is self-sufficient.
- Always write ticket description in French
- Write the title and description with
implementation-harness:unslop. - Do not list the source files to modify.
- A ticket is a technical specification, not a digest of PRD quotes: states and transitions, the consumed API contract, client-side validation, interface strings, responsive rules, written in the imperative and in your own words. No PRD blockquote, no Notion section name, no "extracts that justify the ticket". Verbatim is reserved for strings shown to the user and for numeric values. The reader is a front-end developer implementing without opening the PRD.
- Split a plan into tickets attached to an epic, each independently shippable. Calibrate on the sprint size (for example ~10 days).
Assignment
Assign Greg (gregoryklein, id 11661918) on the tickets: glab issue update <iid> --assignee gregoryklein -R <project> (see the glab-gitlab-api skill for the assignee_ids[] trap).
Do not mention another team without real impact
As with any writing, no gratuitous blame towards another team in a ticket (delay, dependency) without a concrete impact on what is being described.
Never link a ticket to a merge request that does not implement it
A merge request carries a reference to a ticket only when it implements it. An adjacent topic discovered along the way justifies neither a fix-<iid>-... branch name nor a #<iid> in the commit message or the merge request description.
Why: GitLab turns those mentions into system notes on the ticket ("mentioned in merge request !X", "mentioned in commit Y") which remain even after the merge request is closed, and the branch name makes the merge request read as the ticket's delivery. Those system notes are irreversible once posted.
How to apply: before naming the branch, ask whether the merge request closes the ticket. If not, no reference anywhere, and the context goes into the merge request description without a number.
Creation workflow
- Create the epic:
glab api POST groups/3049991/epics - Create the issues with
glab issue create/glab issue updatefor reliable title, assignee and label (seeglab-gitlab-api) - Attach to the epic:
glab api POST groups/3049991/epics/<iid>/issues/<issue_id>(seeglab-gitlab-apifor the internal id required)
Issue URLs on some projects (for example app/companion) are /-/work_items/<iid> and not /-/issues/<iid>: to capture the iid after glab issue create, grep for work_items/[0-9]+, not only for issues/.
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
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.

