SkillAgentSearch skills...

mr

Generate an MR description for the current branch after verifying build/test pass

Install / Use

npx skills add brain-bootstrap/claude-code-brain-bootstrap

Installs into whichever agent you are using.

About this skill

Claude Commands

Claude Code slash commands

Quality Score

53/100

Supported Platforms

Claude Code

Tags


description: Generate an MR description for the current branch after verifying build/test pass effort: high argument-hint: "[optional: ticket reference]"

Generate MR description for the current branch: $ARGUMENTS

ultrathink — use extended reasoning for accurate diff analysis.

Pre-loaded context

Branch: !git branch --show-current Commits: !git --no-pager log main...HEAD --oneline 2>/dev/null || echo "N/A" Diff stat: !git --no-pager diff main...HEAD --stat 2>/dev/null || echo "N/A"

Instructions

Read claude/templates.md for the MR template format.

Prerequisites — ALL must pass before generating MR text:

  1. Build passes: {{BUILD_CMD_ALL}}
  2. Tests pass: {{TEST_CMD_CI}}
  3. Lint clean: {{LINT_CHECK_CMD}}

Steps:

  1. Identify the branch and get the diff (merge-base aware)
  2. Read the ticket (if referenced in branch name)
  3. Write MR description using template from claude/templates.md
  4. Save to claude/tasks/mr-description-<branch-slug>.md
  5. Present summary and the exact file path

Quality rules:

  • Base MR text on the ACTUAL diff, not assumptions
  • Keep descriptions concise, factual, review-friendly
  • Never reference internal AI tooling in the MR body

Related Skills

View on GitHub
GitHub Stars0
CategoryDevelopment
Updated4mo ago
Forks0

Security Score

78/100

Audited on Apr 25, 2026

1 medium1 low1 info