Title: agent: place documentation content in the section that matches its scope · Issue #1871 · usethis-python/usethis-python · GitHub
Open Graph Title: agent: place documentation content in the section that matches its scope · Issue #1871 · usethis-python/usethis-python
X Title: agent: place documentation content in the section that matches its scope · Issue #1871 · usethis-python/usethis-python
Description: What happened General information about usethis's config file discovery logic (which applies to all tool commands: usethis arch, usethis lint, usethis tool, etc.) was placed inside the usethis tool section of docs/cli/reference.md. A rev...
Open Graph Description: What happened General information about usethis's config file discovery logic (which applies to all tool commands: usethis arch, usethis lint, usethis tool, etc.) was placed inside the usethis tool...
X Description: What happened General information about usethis's config file discovery logic (which applies to all tool commands: usethis arch, usethis lint, usethis tool, etc.) was placed inside the usethis ...
Opengraph URL: https://github.com/usethis-python/usethis-python/issues/1871
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"agent: place documentation content in the section that matches its scope","articleBody":"## What happened\n\nGeneral information about usethis's config file discovery logic (which applies to all tool commands: `usethis arch`, `usethis lint`, `usethis tool`, etc.) was placed inside the `usethis tool` section of `docs/cli/reference.md`. A reviewer correctly flagged that the scope of the section was too narrow for the generality of the information.\n\n## Root cause\n\nThe placement decision was driven by which section was currently being edited rather than by the breadth of the content. There was no check applied to whether the section's scope matched the scope of the information being added.\n\n## Generalised principle\n\nWhen adding content to documentation, always place it in the section whose scope matches the generality of the information. If content applies across multiple commands, features, or use cases, it belongs in a general introduction or overview section — not embedded within the description of one specific command or feature.\n\n## Resolution\n\nThe note was moved from the `usethis tool` section to the very top of `docs/cli/reference.md`, before the first command description, where it applies broadly to all tooling commands.\n\n## Follow-up\n\nConsider adding guidance to the agent documentation (AGENTS.md or a relevant skill) reminding agents to match information scope to section scope when editing documentation.","author":{"url":"https://github.com/nathanjmcdougall","@type":"Person","name":"nathanjmcdougall"},"datePublished":"2026-04-07T18:55:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1871/usethis-python/issues/1871"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1c1929ad-2bdc-f1f9-1f05-fe35a9b972ea |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8D16:10CEBD:58F4B3:7930D3:6A4DA846 |
| html-safe-nonce | 2dffc7fd92fda506013e2c8d751d1db1663a2e83517ca87f2ebd0a6307ce3735 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDE2OjEwQ0VCRDo1OEY0QjM6NzkzMEQzOjZBNERBODQ2IiwidmlzaXRvcl9pZCI6IjMyNjUwMjIzMTE4NjI3NDEwNjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b8735c48c77ac4cda9a5fae8b6d099d8110265199b150cd26683b7abf08f00b8 |
| hovercard-subject-tag | issue:4219925495 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/usethis-python/usethis-python/1871/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ce940ccb1fed657606bea0fe24f4078eb678a3f9d223bd7c06749856a3f849dc/usethis-python/usethis-python/issues/1871 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ce940ccb1fed657606bea0fe24f4078eb678a3f9d223bd7c06749856a3f849dc/usethis-python/usethis-python/issues/1871 |
| og:image:alt | What happened General information about usethis's config file discovery logic (which applies to all tool commands: usethis arch, usethis lint, usethis tool, etc.) was placed inside the usethis tool... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nathanjmcdougall |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 47723578ce6819210724ef064c858fce6d3115a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width