LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

creating-commits - Pre-Commit Quality Check and Git Workflow Enforcement

Enforce pre-commit checks, atomic commits, and conventional commit format before every git commit

Tags

Updated: 2026-03-09

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • run pnpm pre-commit script
  • read commit specification documentation
  • analyze git diff output
  • stage files with git add
  • preview staged changes
  • write commit state file
  • create git commit with conventional format

Inputs

  • git repository
  • files to commit
  • docs/commit_specification.md
  • pnpm pre-commit script
  • .claude/.commit-state.json template

Outputs

  • .claude/.commit-state.json file
  • git commit message
  • staged file changes

Requirements

  • git repository environment
  • pnpm available for pre-commit script
  • access to commit specification documentation
  • permission to write .claude/.commit-state.json

Source

  • Spec: SKILL.md
git
version-control
code-quality
development-workflow
pre-commit
run pnpm pre-commit script
read commit specification documentation
analyze git diff output
stage files with git add
git repository
files to commit
docs/commit_specification.md
.claude/.commit-state.json file
git commit message
staged file changes