Agent skill
mr-generator
Generate GitLab merge request descriptions from git commits with automatic categorization and Jira integration.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/mr-generator
SKILL.md
MR Generator
Generate MR descriptions from git commits.
Usage
# Basic (output to terminal)
python3 ~/.pi/agent/skills/mr-generator/scripts/mr_generator.py
# With Jira ticket (non-interactive)
python3 ~/.pi/agent/skills/mr-generator/scripts/mr_generator.py --jira RD-XXXX
# Create MR directly
python3 ~/.pi/agent/skills/mr-generator/scripts/mr_generator.py --create --jira RD-XXXX
# Save to file
python3 ~/.pi/agent/skills/mr-generator/scripts/mr_generator.py --output mr_description.md
Best Practices
- Include project-specific testing instructions (check project's AGENTS.md for testing patterns)
- Replace template placeholders with actual working examples reviewers can copy-paste
- Keep "What's new" concise - implementation details belong in commit messages
- In monorepos, adapt testing section to the specific project's conventions
MR Template
Closes #X or Relates to [link]
## What's new
- โจ [New feature description - 1-2 bullets max]
## Testing
Run the following commands [project-specific setup]:
```bash
# Include actual working commands from AGENTS.md
Then test with [specific example]:
# Real working example, not placeholders
## Commit Categorization
Automatic emoji mapping:
- ๐ Init: `init`, `initial`
- โจ Feature: `feat`, `add`
- ๐ Bug: `fix`, `bug`, `patch`
- ๐ฅ P1: `p1`, `critical`
- ๐ Style: `style`, `ui`
- ๐ Deploy: `deploy`, `release`
- ๐ง Refactor: `refactor`, `cleanup`
- ๐ Docs: `docs`
- ๐งช Tests: `test`
## Requirements
- Python 3.10+
- GitLab CLI (`glab auth login`)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?