/maigo:commitizen-awarefrom maigo
Surfaces contributor conventions for the commitizen-tools/commitizen repo: uv + poe, conventional commits, ruff/mypy, pytest, and PR guidelines. Loads automatically when working in that repo.
Ships in maigo. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Loaded by: repo-detect hook (SessionStart) when commitizen-tools/commitizen is detected in git remote or file structure.
Applies to: Any skill execution within a commitizen-tools/commitizen contributor checkout — review, quick-fix, refactoring, or otherwise.
This is a knowledge layer, not a review checklist.
It is loaded automatically by the
repo_detect hook
at session start when a commitizen repo is detected.
It mirrors and supplements the repo's own AGENTS.md, condensed for agent context.
It can also be triggered manually via a memory entry with triggers: [commitizen-aware]
(see Memory-triggered skill loading).
Once loaded, treat every convention as background — do not re-read each task.
This skill sits on top of the Python language layer. Read
python-aware first
for the general Python toolchain, coding and pytest/mock conventions; this skill lists only what is
specific to commitizen. Precedence: the repo's own AGENTS.md / CLAUDE.md > this skill >
python-aware. Where this skill restates a Python habit, it is a repo-specific rule, not a
duplicate of the language layer.
The single source of truth for contributor conventions lives in the repo itself.
AGENTS.md
(83 lines — short enough to read in full).AGENTS.md, the repo file wins.
This skill is an onramp and supplement, not a competing authority.docs/contributing/pull_request.md
and .github/pull_request_template.md (both explicitly named in AGENTS.md line 25).This skill is an onramp — a condensed version of AGENTS.md formatted for agent startup context.
It is not a replacement. Any time a convention here conflicts with what AGENTS.md says,
follow AGENTS.md. See the Read AGENTS.md first section above.
Bootstrap the dev environment:
uv sync --frozen --group base --group test --group linters
uv run poe setup-pre-commit # installs git hooks (uses prek, a pre-commit runner)
Do not call pre-commit directly — commitizen uses prek
as its pre-commit runner (AGENTS.md line 51). prek is compatible with the same hooks.
Available poe tasks (AGENTS.md lines 40–44):
uv run poe format — runs ruff check --fix then ruff formatuv run poe lint — runs ruff check then mypyuv run poe test — runs pytest -n autouv run poe ci — commit check + pre-commit hooks via prek + test with coverageuv run poe all — format + lint + check-commit + coverageBefore pushing: always run at least uv run ruff check --fix . && uv run ruff format ..
CI will fail if the formatter modifies any files (AGENTS.md line 46).
Tests run on Linux, macOS, and Windows (Python 3.10–3.14 matrix). Avoid POSIX-only assumptions in any new code:
pathlib — never string-concatenate with "foo/bar".\n only.This is one of the most distinctive aspects of commitizen compared to many Python projects — treat cross-platform correctness as a first-class constraint, not an afterthought.
From AGENTS.md lines 54–59:
uv run poe format and commit the result.[arg-type] on TypedDict: dynamically-constructed dicts (e.g., from
pytest.mark.parametrize) passed to TypedDict-typed params need # type: ignore[arg-type]..pre-commit-config.yaml pins a tag of this repo.
Rebase onto master to pick up the tag.VersionProtocol + issubclass: this Protocol has non-method members (properties),
so issubclass() raises TypeError. Use hasattr checks for runtime validation.docs/contributing/pull_request.md and
.github/pull_request_template.md (AGENTS.md line 25).From AGENTS.md lines 75–78:
commitizen/exceptions.py; keep messages clear for CLI users.commitizen/out.py; do not add noisy logging.Not from AGENTS.md:
Settings TypedDict in commitizen/defaults.py
and give it an explicit default in DEFAULT_SETTINGS; do not read it ad hoc with
settings.get() inside a command (maintainer inline review on #2119).From AGENTS.md lines 62–72:
| Changing... | Read first |
|---|---|
| CLI flags/arguments | commitizen/cli.py, docs/commands/<cmd>.md, tests/test_cli/ |
| Bump logic | commitizen/bump.py, commitizen/commands/bump.py, docs/commands/bump.md |
| Changelog generation | commitizen/changelog.py, commitizen/changelog_formats/, docs/commands/changelog.md |
| Version schemes | commitizen/version_schemes.py, tests/test_version_schemes.py |
| Version providers | commitizen/providers/, tests/test_providers.py, docs/config/version_provider.md |
| Config resolution | commitizen/config/, tests/test_conf.py, docs/config/ |
| Tag handling | commitizen/tags.py, tests/test_tags.py |
| Pre-commit / CI | .pre-commit-config.yaml, .github/workflows/, pyproject.toml (poe tasks) |
This skill pairs with
strict-review.
It also composes
python-aware
(the Python language layer) — see Layering above.
Review scenario — run strict-review's 9-item base checklist as usual, then apply
commitizen-aware conventions as project-specific supplements:
Quick-fix / refactor scenario — use conventions 2, 3, 5, and 6 as background knowledge.
Flag violations you notice, but do not run the full strict-review checklist unless the
task calls for it.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lee-w/maigo --plugin maigo26 skills in this plugin
/airflow-awareThis skill should be used when working in the apache/airflow repository as a contributor (not as a Dag author). It surfaces Airflow's own AGENTS.md conventions — naming, Breeze/uv, Ruff/Mypy, coding rules, pytest patterns, PR hygiene — for any review, quick-fix or refactor there./change-site-enumerationThis skill should be used when about to declare "N sites need changing", "the scope is closed", or "this is already fully shared" — before writing a plan that lists change sites, implementing one, reviewing a diff for lingering per-section branches, or reporting a scope/size number to the user./command-routerCodex pseudo-command router for Maigo. Use when the user sends or discusses any `/maigo:*` or `maigo:*` command (go, team, quick, review, board, remember, retro, doctor, etc.), or asks why Maigo commands do not behave like native Codex slash commands./commit-messageThis skill should be used when drafting a git commit message (new commit, `git commit --amend`, or squash/rewrite message) from staged or proposed changes. It produces a user-impact subject and a concise body listing changed behaviour and breaking-change / newsfragment / related-PR pointers./copyable-deliverableThis skill should be used whenever a maigo command produces a deliverable destined to be pasted elsewhere (a PR/issue comment, reply draft, commit message, gh command draft). It mandates wrapping it in a single fenced code block, paste-friendly (no markdown tables, no hard-wrapped prose)./doc-link-conventionThis skill should be used when writing or reviewing cross-file links inside Maigo source files (`agents/*.md`, `commands/*.md`, `skills/*/SKILL.md`). Cross-source links must be absolute GitHub URLs — relative links break `mkdocs build --strict` because these files are dual-context.Other plugins' skills for the same job