Title: Create skills registry in AGENTS.md with validation hook by Copilot · Pull Request #1532 · usethis-python/usethis-python · GitHub
Open Graph Title: Create skills registry in AGENTS.md with validation hook by Copilot · Pull Request #1532 · usethis-python/usethis-python
X Title: Create skills registry in AGENTS.md with validation hook by Copilot · Pull Request #1532 · usethis-python/usethis-python
Description: Agents were ignoring available skills because AGENTS.md didn't enumerate them. Added a skills registry and a prek hook to keep it from rotting.
AGENTS.md: Added a skills registry table listing all 17 skills with descriptions. Fixed .agent/skills → .agents/skills typo.
hooks/check-skills-documented.py: Python script following the usethis-prek-hook-bespoke-create skill conventions that fails if any .agents/skills/*/ directory name isn't mentioned in AGENTS.md. Uses pure Python with pathlib, errors to stderr, success to stdout.
.pre-commit-config.yaml: Wired up the hook as a local prek hook at priority 0 via uv run --frozen --offline.
pyproject.toml: Added lint.per-file-ignores."hooks/**" = [ "D", "INP001" ] to disable docstring and implicit namespace package ruff rules for hook scripts.
When a new skill is added without updating AGENTS.md, the hook produces:
ERROR: The following skills are not mentioned in AGENTS.md:
- my-new-skill
Please add them to the skills registry in AGENTS.md.
Original prompt
This section details on the original issue you should resolve
Open Graph Description: Agents were ignoring available skills because AGENTS.md didn't enumerate them. Added a skills registry and a prek hook to keep it from rotting. AGENTS.md: Added a skills registry table listing...
X Description: Agents were ignoring available skills because AGENTS.md didn't enumerate them. Added a skills registry and a prek hook to keep it from rotting. AGENTS.md: Added a skills registry table lis...
Opengraph URL: https://github.com/usethis-python/usethis-python/pull/1532
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8c29ac11-7845-406e-4398-156b49fc4117 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D7E4:E69AB:EBCD80:14C3D22:6A4CAF12 |
| html-safe-nonce | 326675ff378de255a7ca90c84cfbd70908914865f834452d0a0de8507266fe1e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0U0OkU2OUFCOkVCQ0Q4MDoxNEMzRDIyOjZBNENBRjEyIiwidmlzaXRvcl9pZCI6IjIwNDcwODczNTA0MjUzNjYyOTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d4b29281e7eb6c4202613435d3989c39f1ae77a2e5ea297d5ac420f2c82f4f5f |
| hovercard-subject-tag | pull_request:3442764842 |
| 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/usethis-python/usethis-python/pull/1532/files |
| twitter:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| og:image:alt | Agents were ignoring available skills because AGENTS.md didn't enumerate them. Added a skills registry and a prek hook to keep it from rotting. AGENTS.md: Added a skills registry table listing... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/usethis-python/usethis-python git https://github.com/usethis-python/usethis-python.git |
| octolytics-dimension-user_id | 216362695 |
| octolytics-dimension-user_login | usethis-python |
| octolytics-dimension-repository_id | 842189705 |
| octolytics-dimension-repository_nwo | usethis-python/usethis-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 842189705 |
| octolytics-dimension-repository_network_root_nwo | usethis-python/usethis-python |
| 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 | ae90d426644ca15e89bacceb72e51f4e9dbf85f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width