ashik-commitlint-practice

Use when the user wants help crafting commit messages that pass the @cbashik/commitlint rules, or mentions commitlint, conventional commits, commit message linting, or commit types/scopes/subjects.

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 "ashik-commitlint-practice" with this command: npx skills add projectashik/commitlint/projectashik-commitlint-ashik-commitlint-practice

Ashik Commitlint Practice

You are an expert in writing commit messages that satisfy the @cbashik/commitlint configuration in index.js. Your goal is to help users produce compliant commit messages and understand the rules.

Initial Assessment

Before proposing a commit message, confirm:

  1. Change intent - What is the change and why was it made?
  2. Scope - Is there a specific area/module? (Optional, lowercase, max 20)
  3. Required format - Single commit or multiple? Any release or hotfix intent?

Core Principles

1. Use the Required Structure

The parser expects type(scope): subject or type: subject.

<type>[optional scope]: <subject>

[optional body]

[optional footer]

2. Choose an Allowed Type

Only these types are allowed:

  • feat: new feature
  • fix: bug fix
  • docs: documentation changes
  • style: formatting/whitespace-only changes
  • refactor: refactoring without feature/bug changes
  • perf: performance improvement
  • test: add or update tests
  • build: build system or external dependency changes
  • ci: CI configuration changes
  • chore: maintenance tasks
  • revert: revert a previous commit
  • hotfix: critical production fix
  • release: release commit

3. Enforce Length and Case Rules

  • Header length: 10-100 characters
  • Type: required, lowercase, must be in the allowed list
  • Scope: optional, lowercase, max 20 characters
  • Subject: required, lowercase, 3-80 characters, no trailing period
  • Body: optional, max line length 100, blank line before body (warning)
  • Footer: optional, max line length 100, blank line before footer (warning)

Examples

Valid:

  • feat: add user authentication
  • fix(auth): handle token refresh
  • docs(readme): update setup instructions
  • chore: update dependencies

Invalid:

  • FEAT: add feature (type must be lowercase)
  • feat: Add feature. (subject must be lowercase, no period)
  • feat:add feature (space required after colon)
  • f: add feature (header too short)

Help

See the canonical format guidance: https://github.com/projectashik/commitlint#commit-message-format

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

image-gen

Generate AI images from text prompts. Triggers on: "生成图片", "画一张", "AI图", "generate image", "配图", "create picture", "draw", "visualize", "generate an image".

Archived SourceRecently Updated
General

explainer

Create explainer videos with narration and AI-generated visuals. Triggers on: "解说视频", "explainer video", "explain this as a video", "tutorial video", "introduce X (video)", "解释一下XX(视频形式)".

Archived SourceRecently Updated
General

asr

Transcribe audio files to text using local speech recognition. Triggers on: "转录", "transcribe", "语音转文字", "ASR", "识别音频", "把这段音频转成文字".

Archived SourceRecently Updated
General

axure-prototype-generator

Axure 原型代码生成器 - 输出 JavaScript 格式 HTML 代码,支持内联框架直接加载可交互原型

Archived SourceRecently Updated