← ClaudeAtlas

commitlisted

Commit workflow for Job Hunter development, including preflight tests, schema validation, linting, safe staging, and intentional commit messages.
abdulrbasit/job-hunter · ★ 24 · AI & Automation · score 79
Install: claude install-skill abdulrbasit/job-hunter
# 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 `C