commit-conventions
Commit Conventions
Overview
Plan and execute commits that follow Conventional Commits plus any repository rules in AGENTS.md. Default to multiple commits when changes span more than one logical unit.
Workflow
- Read AGENTS.md (repo root or nearest) and apply any git/commit rules.
- Inspect the working tree:
git status -sb,git diff --stat, and focusedgit diffas needed. - Group changes by logical unit (feature, fix, refactor, docs, build/CI, etc.).
- If more than one logical unit exists, create multiple commits. Propose a brief commit plan before committing.
- Message heuristic: if draft subject wants
and, list separators, or >1 scope/target, split before committing. - Stage per group (
git add -por specific paths), then commit with a Conventional Commit message. - If the user asks for a single commit but changes are multiple logical units, warn and ask for confirmation before combining.
Hook Rewrite Recovery
- If
git commitfails because pre-commit hooks rewrote files (formatter/linter), do not change the commit plan.
More from derklinke/codex-config
copywriting
When the user wants to write, rewrite, or improve marketing copy for any page — including homepage, landing pages, pricing pages, feature pages, about pages, or product pages. Also use when the user says "write copy for," "improve this copy," "rewrite this page," "marketing copy," "headline help," or "CTA copy." For email copy, see email-sequence. For popup copy, see popup-cro.
26supabase-postgres-best-practices
Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.
23pdf
Use when tasks involve reading, creating, or reviewing PDF files where rendering and layout matter; prefer visual checks by rendering pages (Poppler) and use Python tools such as `reportlab`, `pdfplumber`, and `pypdf` for generation and extraction.
23marketing-psychology
When the user wants to apply psychological principles, mental models, or behavioral science to marketing. Also use when the user mentions 'psychology,' 'mental models,' 'cognitive bias,' 'persuasion,' 'behavioral science,' 'why people buy,' 'decision-making,' or 'consumer behavior.' This skill provides 70+ mental models organized for marketing application.
22justfile-authoring
Create, edit, or review justfiles for the just command runner. Use when adding or modifying recipes, parameters, dependencies, settings, attributes, aliases, or shebang scripts; fixing invocation or working-directory behavior; or documenting tasks for `just --list` output.
22seo-audit
When the user wants to audit, review, or diagnose SEO issues on their site. Also use when the user mentions "SEO audit," "technical SEO," "why am I not ranking," "SEO issues," "on-page SEO," "meta tags review," or "SEO health check." For building pages at scale to target keywords, see programmatic-seo. For adding structured data, see schema-markup.
21