Title: docs(contributing): add agent-facing playbooks and architecture overview by bearomorphism · Pull Request #2007 · commitizen-tools/commitizen · GitHub
Open Graph Title: docs(contributing): add agent-facing playbooks and architecture overview by bearomorphism · Pull Request #2007 · commitizen-tools/commitizen
X Title: docs(contributing): add agent-facing playbooks and architecture overview by bearomorphism · Pull Request #2007 · commitizen-tools/commitizen
Description: Description Adds an agent-shaped contributor track that links back to the existing human docs instead of restating them, and slims AGENTS.md to a routing layer. Why. AGENTS.md currently mixes routing, bootstrap commands, CI failure patterns, and coding guidelines that duplicate contributing.md/contributing_tldr.md/pull_request.md and drift out of sync. Nothing in the repo is reusable for recurring agent task types (add a provider, deprecate an API, regenerate snapshots, ...), so every session re-derives the workflow. What. docs/contributing/architecture.md — one-page subsystem map (cli, commands, config, providers, changelog_formats, version_schemes, plugins) with extension points and config layering. General-audience. docs/contributing/agents/ — router index.md with a source-of-truth map, validation.md (targeted-test selectors + poe all vs poe ci + CI failure recipes), and 5 playbooks: add a version provider, add a changelog format, add/modify a CLI flag, deprecate a public API, update snapshots/screenshots. AGENTS.md slimmed: keeps project pitch, key entrypoints, the "Read before changing" table; adds a "Do not touch" list of auto-managed files and the mandatory PR reminders; drops everything that now duplicates a human doc. One-line "For AI agents" callouts in contributing.md and pull_request.md. Wired into mkdocs nav (new "For AI Agents" section) and into mkdocs-llmstxt so the pages appear in llms-full.txt. Dedup rule. Every fact lives in exactly one place. The source-of-truth map in agents/index.md enforces it — agent docs link to human docs, never restate them. Checklist I have read the contributing guidelines Was generative AI tooling used to co-author this PR? Yes (please specify the tool below) Generated-by: GitHub Copilot CLI following the guidelines Code Changes Docs-only PR. No Python, dependencies, or CI workflows changed. Run uv run poe all locally to ensure this change passes linter check and tests Ensure backward compatibility is maintained Update the documentation for the changes Documentation Changes Run uv run poe doc locally to ensure the documentation pages renders correctly (used poe doc:build for finite output) Check and fix any broken links (internal or external) Expected Behavior A new "For AI Agents" section appears under Contributing in the rendered docs, llms-full.txt includes the new pages, and AGENTS.md is shorter and routes to them. Steps to Test This Pull Request git checkout docs/agent-playbooks && uv sync --frozen --all-groups uv run poe doc:build — confirm no broken-link warnings. Open site/contributing/agents/index.html and walk the cross-links. Open site/llms-full.txt and confirm the new entries appear under Contributing. Additional Context Split into 3 commits (architecture, agent docs + nav + callouts, AGENTS.md slim) for review clarity; squash-merge friendly.
Open Graph Description: Description Adds an agent-shaped contributor track that links back to the existing human docs instead of restating them, and slims AGENTS.md to a routing layer. Why. AGENTS.md currently mixes routi...
X Description: Description Adds an agent-shaped contributor track that links back to the existing human docs instead of restating them, and slims AGENTS.md to a routing layer. Why. AGENTS.md currently mixes routi...
Opengraph URL: https://github.com/commitizen-tools/commitizen/pull/2007
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:779c05ec-878a-fbee-b013-55287b78d761 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D8EE:490E8:F49E1F:150A128:6A4DD577 |
| html-safe-nonce | f2093ba6d286eebca5366256180e075e28d4ea6f6a3aad198a8ec33e4967eefc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEVFOjQ5MEU4OkY0OUUxRjoxNTBBMTI4OjZBNERENTc3IiwidmlzaXRvcl9pZCI6IjE4NDY0NTgwMTIwMDYyMDg4ODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 47c261e2e160bf16e69f5e02a32df98a1f83e07608b785e66163474f39b64a6a |
| hovercard-subject-tag | pull_request:3773103633 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/commitizen-tools/commitizen/pull/2007/files |
| twitter:image | https://avatars.githubusercontent.com/u/26526132?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/26526132?s=400&v=4 |
| og:image:alt | Description Adds an agent-shaped contributor track that links back to the existing human docs instead of restating them, and slims AGENTS.md to a routing layer. Why. AGENTS.md currently mixes routi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/commitizen-tools/commitizen git https://github.com/commitizen-tools/commitizen.git |
| octolytics-dimension-user_id | 62252524 |
| octolytics-dimension-user_login | commitizen-tools |
| octolytics-dimension-repository_id | 106127589 |
| octolytics-dimension-repository_nwo | commitizen-tools/commitizen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 106127589 |
| octolytics-dimension-repository_network_root_nwo | commitizen-tools/commitizen |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width