From maigo
Applies commitizen repo contributor conventions: uv/poe tasks, conventional commits, ruff/mypy linting, pytest, and PR guidelines. Useful for reviews, quick-fixes, and refactors in commitizen-tools/commitizen.
How this skill is triggered — by the user, by Claude, or both
Slash command
/maigo:commitizen-awareThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<!-- mkdocs-include-start -->
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.
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.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.
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.
npx claudepluginhub lee-w/maigo --plugin maigoGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.