Skip to content
Back to skills

Smart Commit

ASecurity

Conventional Commits with quality checks

  • 80 stars
  • 0 votes
  • 0 copies
  • 16 views
  • Added February 7, 2026
developmentapiperformancedocumentation

Works with

  • api

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add claude-world/director-mode-lite --skill smart-commit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Smart Commit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Smart Commit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/claude-world-smart-commit/badge)](https://www.skillsdirectory.com/skills/claude-world-smart-commit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: smart-commit
description: Conventional Commits with quality checks
user-invocable: true
---

# Smart Commit

Create a high-quality commit for current changes.

## Pre-Commit Checklist

### Scope Check
- [ ] Solves one problem only
- [ ] No unrelated changes
- [ ] No debug code
- [ ] No temporary files

### Quality Check
- [ ] All tests pass
- [ ] Code is formatted
- [ ] No linting errors
- [ ] Documentation updated

---

## Commit Message Format

```
<type>(<scope>): <description>

<body>

<footer>
```

### Type (Required)
| Type | Use When |
|------|----------|
| `feat` | New feature (user-visible) |
| `fix` | Bug fix |
| `docs` | Documentation only |
| `test` | Adding/updating tests |
| `refactor` | Code restructure (no behavior change) |
| `style` | Formatting (no logic change) |
| `chore` | Maintenance, dependencies |
| `perf` | Performance improvement |

### Scope (Optional)
Module, component, or file affected:
- `feat(auth): add login endpoint`
- `fix(api): handle null response`
- `docs(readme): update installation steps`

### Description (Required)
- 50 characters or less
- Present tense, imperative mood
- Lowercase first letter
- No period at end
- Describe WHAT, not HOW

---

## Examples

### Feature
```
feat(user): add email verification

Implement email verification flow for new user registration.
Users must verify email before accessing protected features.

Closes #42
```

### Bug Fix
```
fix(api): handle null response in user endpoint

Previously threw uncaught exception when user not found.
Now returns 404 with proper error message.

Fixes #67
```

---

## Commit Checklist

Before committing:
- [ ] Follows Conventional Commits format
- [ ] Subject clearly describes the change
- [ ] One commit = one logical change
- [ ] No sensitive information (.env, credentials)
- [ ] All tests pass

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.