Skip to content
OpenSmartRoute
Skillv1.0.0

generating-conventional-commits

Execute generates conventional commit messages using AI. It analyzes code changes and suggests a commit message adhering to the conventional commits specification. Use this skill when you need help wr

by jeremylongshore(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from jeremylongshore/tons-of-skills-marketplace (skills/.curated/generating-conventional-commits/SKILL.md). Install upstream with npx skills add jeremylongshore/tons-of-skills-marketplace --skill generating-conventional-commits. Copyright stays with the author (MIT).

Devops Automation Pack

Generate conventional commit messages by analyzing staged Git changes, selecting the correct type prefix (feat/fix/refactor/etc.), and producing concise, standards-compliant messages.

Overview

Create well-formatted, informative commit messages that follow the conventional commits standard, improving collaboration and automation in your Git workflow. It saves you time and ensures consistency across your project.

How It Works

  1. Analyze Changes: The skill analyzes the staged changes in your Git repository.
  2. Generate Suggestion: It uses AI to generate a commit message based on the analyzed changes, adhering to the conventional commits format (e.g., feat: add new feature, fix: correct bug).
  3. Present to User: The generated commit message is presented to you for review and acceptance.

When to Use This Skill

This skill activates when you need to:

  • Create a commit message after making code changes.
  • Ensure your commit messages follow the conventional commits standard.
  • Save time writing commit messages manually.

Examples

Example 1: Adding a New Feature

User request: "Generate a commit message for these changes."

The skill will:

  1. Analyze the staged changes related to a new feature.
  2. Generate a commit message like feat: Implement user authentication.

Example 2: Fixing a Bug

User request: "Create a commit for the bug fix."

The skill will:

  1. Analyze the staged changes related to a bug fix.
  2. Generate a commit message like fix: Resolve issue with incorrect password reset.

Best Practices

  • Stage Changes: Ensure all relevant changes are staged before using the skill.
  • Review Carefully: Always review the generated commit message before accepting it.
  • Customize if Needed: Feel free to customize the generated message to provide more context.

Integration

This skill integrates with your Git workflow, providing a convenient way to generate commit messages directly within Claude Code. It complements other Git-related skills in the DevOps Automation Pack, such as /branch-create and /pr-create.

Prerequisites

  • Appropriate file access permissions
  • Required dependencies installed

Instructions

  1. Invoke this skill when the trigger conditions are met
  2. Provide necessary context and parameters
  3. Review the generated output
  4. Apply modifications as needed

Output

The skill produces structured output relevant to the task.

Error Handling

  • Invalid input: Prompts for correction
  • Missing dependencies: Lists required components
  • Permission errors: Suggests remediation steps

Resources

  • Project documentation
  • Related skills and commands

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/jeremylongshore-tons-of-skills-marketplace-generating-co-201c4e/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

jeremylongshore-tons-of-skills-marketplace-generating-co-201c4e.ocm.jsonjson
{
  "ocm": "1",
  "id": "jeremylongshore-tons-of-skills-marketplace-generating-co-201c4e",
  "kind": "skill",
  "name": "generating-conventional-commits",
  "description": "Execute generates conventional commit messages using AI. It analyzes code changes and suggests a commit message adhering to the conventional commits specification. Use this skill when you need help writing clear, standardized commit messages, especially a... Use when managing version control. Trigger with phrases like 'commit', 'branch', or 'git'.",
  "publisher": "jeremylongshore",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding"
    ],
    "tags": [
      "skill-md",
      "packages",
      "conventional-commits",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Execute generates conventional commit messages using AI. It analyzes code changes and suggests a commit message adhering to the conventional commits specification. Use this skill when you need help writing clear, standardized commit messages, especially a... Use when managing version control. Trigger with phrases like 'commit', 'branch', or 'git'."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/jeremylongshore/tons-of-skills-marketplace",
      "path": "skills/.curated/generating-conventional-commits/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/jeremylongshore/tons-of-skills-marketplace/blob/HEAD/skills/.curated/generating-conventional-commits/SKILL.md",
      "key": "jeremylongshore/tons-of-skills-marketplace/skills/.curated/generating-conventional-commits/SKILL.md"
    },
    "compatibility": "Designed for Claude Code",
    "allowed_tools": [
      "Read,",
      "Write,",
      "Edit,",
      "Grep,",
      "Glob,",
      "Bash(cmd:*)"
    ],
    "license": "MIT"
  },
  "instructions": "# Devops Automation Pack\n\nGenerate conventional commit messages by analyzing staged Git changes, selecting the correct type prefix (feat/fix/refactor/etc.), and producing concise, standards-compliant messages.\n\n## Overview\n\nCreate well-formatted, informative commit messages that follow the conventional commits standard, improving collaboration and automation in your Git workflow. It saves you time and ensures consistency across your project.\n\n## How It Works\n\n1. **Analyze Changes**: The skill analyzes the staged changes in your Git repository.\n2. **Generate Suggestion**: It uses AI to generate",
  "cost": {
    "context_tokens": 675
  }
}

Fetch it by URL: GET /api/v1/registry/jeremylongshore-tons-of-skills-marketplace-generating-co-201c4e/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.