analyzing-options
Analyzing different approaches for a task or problem with structured comparisons, effort…
Generating pull request descriptions from git branch changes with automatic title generation, change-type detection, and smart analysis. Uses branch-only scope to avoid full history analysis. Use when preparing a PR for review. Skip when the PR is a single trivial commit or
$ npx -y skills add LerianStudio/ring --skill generating-pr-descriptions --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/generating-pr-descriptionsContext preview
The summary Claude sees to decide when to auto-load this skill.
Generating pull request descriptions from git branch changes with automatic title generation, change-type detection, and smart analysis. Uses branch-only scope to avoid full history analysis. Use when preparing a PR for review. Skip when the PR is a single trivial commit or
name: ring:generating-pr-descriptions description: "Generating pull request descriptions from git branch changes with automatic title generation, change-type detection, and smart analysis. Uses branch-only scope to avoid full history analysis. Use when preparing a PR for review. Skip when the PR is a single trivial commit or description already exists." user-invocable: true argument-hint: "[base-branch]"
# 1. Get branch structure to identify commits git log --oneline --decorate --graph -10 # 2. Count commits unique to current branch # Look for where branch diverged from main/develop # Example output shows 2 commits on feature/PLU-393: # * 06603bf (HEAD -> feature/PLU-393) fix(i18n): add missing translations # * d40c631 feat(ui): enhance templates system with calendar filter # * 30664b1 (develop) Merge branch 'develop' into feature/libs
# Use HEAD~n where n = number of branch commits git log --oneline HEAD~2..HEAD # Get branch commits git diff HEAD~2..HEAD --name-status # Get changed files git diff HEAD~2..HEAD --stat # Get change statistics
**WRONG APPROACH - DO NOT USE:**
git log main..HEAD # Includes entire development history git diff main...HEAD # Includes all changes since branch creation
The skill generates pull requests following this exact structure:
# [Auto-generated PR title: short, under 70 chars, using conventional commit prefix] # Description [Auto-generated summary of changes and motivation based on commits] ## Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update
**MANDATORY Git Command Usage:**
1. **Branch Point Detection:**
git log --oneline --decorate --graph -10 # Identify where current branch diverged from base # Count commits unique to current branch
2. **Branch-Only Analysis Commands:**
# For 2 commits on current branch: git log --oneline HEAD~2..HEAD git diff HEAD~2..HEAD --name-status git diff HEAD~2..HEAD --stat # NEVER use these (includes all development history): git log main..HEAD # WRONG git diff main...HEAD # WRONG
3. **Branch Point Validation:**
Proven engineering practices, enforced through skills. Ring is a comprehensive skills library and workflow system for AI agents that transforms how AI assistants approach software development.
Repo: LerianStudio/ring
Analyzing different approaches for a task or problem with structured comparisons, effort…
Auditing a service's production readiness against Ring engineering standards across base…
Cleaning redundant and obvious comments following clean code principles while preserving…
Commit changes with scope allowlist enforcement, atomic grouping, GPG-signed conventional…
Creating a handoff document that captures session state (completed work, decisions, open…
Creating an isolated git worktree for parallel branch work: selects the directory by priority…