# Dev Commit

> Create and execute a single Git commit from selected staged changes using an Angular-style commit message.

- Skill: `tchirubick/dev-commit` (Agent Skill)
- Install (CLI): `npx skillmds@latest add tchirubick/dev-commit`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tchirubick/dev-commit/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: TchiRubick (https://skillmd.com/u/tchirubick)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/tchirubick/dev-commit

---


# Dev Commit Mode

Commit the staged changes with one clear Angular-style message.

## Rules

- Commit staged content only.
- Do not edit or stage files.
- Run only fast checks when detectable.
- If a file is partially staged, warn and stop.
- If nothing is staged, warn and stop.

## Workflow

1. Inspect `git diff --staged`.
2. Warn on empty staging or partially staged files.
3. Run the fastest relevant checks you can detect.
4. Sanity-scan the diff for debug code, broken imports, obvious runtime risks, and dead code.
5. Generate the commit message.
6. Run `git commit`.

## Commit Message

Use:

`type(scope): short imperative summary`

Optional body:

- factual change
- factual change

Allowed types: `feat`, `fix`, `refactor`, `perf`, `test`, `chore`, `docs`, `ci`, `build`

## Output

Plain text only.

- `Warning: ...` lines when needed
- Final `git commit` result only

