prepare-mr
Skill85 starsChanged 3 months agoApache-2.0View on GitHub
Stage files, commit with correct format, push, and generate an MR description. Manual invocation only — has side effects (git operations). Use when the user explicitly asks to prepare, create, or submit an MR.
- Reads credentials
- Commits and pushes
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- multi-storage-client/AGENTS.mdAGENTS.md
- multi-storage-explorer/AGENTS.mdAGENTS.md
- capture-learningSkill
- cloud-storage-setupSkill
- fix-cveSkill
- generate-specSkill
- generate-test-planSkill
- release-automationSkill
- researchSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Never auto-invoke — always wait for explicit user request.
- Distinctive: line 41
Use a concise commit message that follows the repo's existing style.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Prepare MR
Stage, commit, push, and generate an MR description. This skill has side effects — only run when the user explicitly asks.
When to Use
- User asks to "prepare MR", "create MR", "submit MR", or "push changes".
- Never auto-invoke — always wait for explicit user request.
Workflow
1. Review changes
Run in parallel:
git status— see all modified and untracked files.git diff— see unstaged changes only. Usegit diff --staged(orgit diff --cached) for staged changes, orgit diff HEADfor all changes relative to the last commit.git log --oneline -10— check recent commit style.
Confirm with the user which files to include.
2. Stage files
git add <files>Exclude files that likely contain secrets (.env, credentials.json, etc.). Warn the user if they ask to include such files.
3. Commit
Use a concise commit message that follows the repo's existing style. Focus on the "why" not the "what".
git commit -m "<message>"4. Push
git push -u origin HEAD5. Generate MR description
Use this format:
## Summary
- <1-3 bullet points describing the change>
## Changes
- <bullet per file/area changed>
## Test Plan
- [ ] <specific test or verification step>
- [ ] <specific test or verification step>
## Cross-Language Impact
<if applicable — which layers were affected and how sync was maintained>6. Create MR
glab mr create --title "<title>" --description "<description>"Present the MR URL to the user.
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.

