mr-description-generator

MR/PR Description Generator

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "mr-description-generator" with this command: npx skills add maxmurr/htms/maxmurr-htms-mr-description-generator

MR/PR Description Generator

Generate comprehensive merge request descriptions by analyzing branch changes against the target branch.

When to Use

  • When user asks to create an MR/PR description

  • When user wants to document branch changes for review

  • Before creating a merge request to develop or main

Process

Step 1: Gather Branch Information

Run these commands to understand the changes:

Get commits in current branch (not in target)

git log develop..HEAD --oneline

Get file change statistics

git diff develop...HEAD --stat

Get detailed diff for analysis

git diff develop...HEAD

Step 2: Analyze Changes

Review the diff output and categorize:

What type of changes?

  • Feature addition/change

  • Bug fix

  • Refactoring

  • Documentation update

  • Configuration change

What components are affected?

  • Which apps (web-main, api-server, etc.)

  • Which packages

  • Which features

What is the impact?

  • New functionality

  • Fixed behavior

  • Performance improvements

  • Breaking changes

Step 3: Generate Description

Use this template:

Description

Brief description of what this MR accomplishes.

Changes Made

  • Feature addition/change
  • Bug fix
  • Refactoring
  • Documentation update
  • Configuration change

Summary of Changes

[Component/Feature Name] Improvements:

  • Change 1
  • Change 2
  • Change 3

[Another Component] Changes:

  • Change 1
  • Change 2

Rules Pattern Compliance Checklist

This checklist ensures all merge requests follow the established patterns and conventions for apps/web-main.

File Structure & Naming

  • Files/dirs are kebab-case and placed per conventions
  • Suffix conventions strictly followed:
    • Hook files: use-*.hook.ts (not .tsx)
    • Service files: *.service.ts
    • Schema files: *.schema.ts
    • Context files: *.context.tsx
    • Provider files: *.provider.tsx
    • Store files: *.store.ts

Data Fetching

  • Data fetching via TanStack Query (client) or RSC (server) with prefetch/dehydrate as appropriate
  • Central QueryProvider used and configured

Forms

  • Forms: Zod schema + react-hook-form integration

Documentation

  • Docs updated if patterns changed or extended

Code Quality

  • TypeScript compilation passes without errors
  • ESLint passes without violations
  • No cross-route imports from private co-located folders (component, hooks)

Additional Notes

Files Changed:

  • path/to/file1.ts - Description of change
  • path/to/file2.tsx - Description of change

Best Practices

  • Be specific - Describe actual changes, not generic statements

  • Group related changes - Organize by feature or component

  • Include file paths - Help reviewers navigate the changes

  • Check the boxes - Mark applicable items in the checklist

  • Note breaking changes - Call out anything that might affect other developers

  • Mention removed code - If significant code was deleted, explain why

Output Format

Always provide the MR description in a markdown code block so users can easily copy-paste it.

Version History

  • v1.0.0 (2025-12-01): Initial release

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

tdd

No summary provided by upstream source.

Repository SourceNeeds Review
General

Maintenance

Maintenance makes home management simple. Record, search, and analyze your data with clear terminal output.

Registry SourceRecently Updated
General

ManualExpert

Professional translator for hardware and technical manuals delivering complete, page-by-page bilingual tables and Word exports for accurate DTP preparation.

Registry SourceRecently Updated
General

Semantic Router

让 AI 代理根据对话内容自动选择最合适的模型。四层识别(系统过滤→关键词→指示词→语义相似度),四池架构(高速/智能/人文/代理),五分支路由,全自动 Fallback 回路。支持 trigger_groups_all 非连续词组命中。

Registry SourceRecently Updated