Back to Skills

commit-workflow

majiayu000
Updated Today
1 views
58
9
58
View on GitHub
Metaautomation

About

This skill handles Git commit workflows when users request to commit changes or use commit-related commands. It analyzes staged files, generates properly formatted commit messages following conventional commit standards, and provides automated or manual commit creation options. Developers should use it for consistent, project-standard commits while ignoring unstaged changes.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/majiayu000/claude-skill-registry
Git CloneAlternative
git clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/commit-workflow

Copy and paste this command in Claude Code to install this skill

Documentation

Commit Workflow

Complete workflow for creating commits following project standards.

Process

  1. Use commit-creator agent

    • Run /commit-staged [context] for automated commit handling
    • Or follow manual steps below
  2. Analyze staged files only

    • Check all staged files: git diff --cached --name-only
    • Read diffs: git diff --cached
    • Completely ignore unstaged changes
  3. Commit message format

    • First line: {task-type}: brief description of the big picture change
    • Task types: feat, fix, refactor, docs, style, test, build
    • Focus on 'why' and 'what', not implementation details
    • For complex changes, add bullet points after blank line
  4. Message examples

    • feat: implement user authentication system
    • fix: resolve memory leak in data processing pipeline
    • refactor: restructure API handlers to align with project architecture
  5. Documentation update

    • Check README.md for:
      • New features that should be documented
      • Outdated descriptions no longer matching implementation
      • Missing setup instructions for new dependencies
    • Update as needed based on staged changes
  6. Execution

    • Commit uses HEREDOC syntax for proper formatting
    • Verify commit message has correct format
    • Don't add test plans to commit messages

Best Practices

  • Analyze staged files before writing message
  • Keep first line concise (50 chars recommended)
  • Use active voice in message
  • Reference related code if helpful
  • One logical change per commit
  • Ensure README reflects implementation

GitHub Repository

majiayu000/claude-skill-registry
Path: skills/commit-workflow

Related Skills

content-collections

Meta

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

View skill

sglang

Meta

SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.

View skill

Algorithmic Art Generation

Meta

This skill helps developers create algorithmic art using p5.js, focusing on generative art, computational aesthetics, and interactive visualizations. It automatically activates for topics like "generative art" or "p5.js visualization" and guides you through creating unique algorithms with features like seeded randomness, flow fields, and particle systems. Use it when you need to build reproducible, code-driven artistic patterns.

View skill

cloudflare-turnstile

Meta

This skill provides comprehensive guidance for implementing Cloudflare Turnstile as a CAPTCHA-alternative bot protection system. It covers integration for forms, login pages, API endpoints, and frameworks like React/Next.js/Hono, while handling invisible challenges that maintain user experience. Use it when migrating from reCAPTCHA, debugging error codes, or implementing token validation and E2E tests.

View skill