Skip to content
Back to skills

Commit

ASecurity

Commit workflow for Job Hunter development, including preflight tests, schema validation, linting, safe staging, and intentional commit messages.

  • 24 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 6, 2026
ai-agentsgobashgit

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add abdulrbasit/job-hunter --skill commit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Commit?

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

Security grade badge for Commit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/abdulrbasit-commit/badge)](https://www.skillsdirectory.com/skills/abdulrbasit-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: commit
description: Commit workflow for Job Hunter development, including preflight tests, schema validation, linting, safe staging, and intentional commit messages.
when_to_use: "Developer context only - use when preparing, reviewing, or creating a git commit for Job Hunter repo changes."
user-invocable: true
allowed-tools: Bash Read Grep
author: "Abdul Basit (@abdulrbasit)"
category: dev
---

# Dev Commit

Use this skill when preparing a developer commit in this repo.

## Goal

Create a clean, intentional commit after verifying that code, tests, configs, and staged files are safe.

## Workflow

1. Inspect the worktree.
   - Run `git status --short`.
   - Review unstaged and staged diffs for the files you changed.
   - Do not revert user changes.

2. Run preflight checks.
   - Tests: `uv run pytest tests/ -q --tb=short`
   - Format check: `uv run ruff format --check job_hunter tests`
   - Lint: `uv run ruff check job_hunter tests`
   - Type check: `uv run ty check job_hunter tests`
   - If formatting fails, run `uv run ruff format job_hunter tests` then rerun format check. Do not hand-format.
   - If `pyproject.toml` changed, run `uv sync --extra dev` first.
   - Treat failed tests, lint, or type errors as blockers unless the user explicitly accepts the risk.

3. Stage only specific files.
   - Never use `git add .` or `git add -A`.
   - Stage files by explicit path.
   - Include only files related to the requested change.

4. Check staged files.
   - Run `git diff --cached --stat`.
   - Run `git diff --cached --name-only`.
   - Confirm no private outputs, generated PDFs, resumes, cover letters, secrets, or unrelated state files are staged.
   - Context or skill files may be staged only when the user explicitly requested workflow or agent-behavior changes.

5. Prepare the commit.
   - Propose a concise commit message, 72 characters or fewer.
   - **Never include `Co-authored-by` or any AI attribution trailer.** This repo does not use co-author tags regardless of tool defaults.
   - For version bump commits, the message must be exactly `release: v{VERSION}` (e.g. `release: v0.14`). The release workflow checks for this exact format.
   - Ask for confirmation before committing.

6. Commit after confirmation.
   - Run `git commit -m "<message>"`.
   - Show the commit hash and final `git status --short`.

## Output Contract

Keep output compact:

- Preflight status.
- Staged file list or stat.
- Commit message.
- Any blockers or warnings.

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.

Comments

Loading comments…

Newsletter

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