Title: Agent config to encourage the stepdown rule for hooks · Issue #1728 · usethis-python/usethis-python · GitHub
Open Graph Title: Agent config to encourage the stepdown rule for hooks · Issue #1728 · usethis-python/usethis-python
X Title: Agent config to encourage the stepdown rule for hooks · Issue #1728 · usethis-python/usethis-python
Description: When implementing hooks, we should instruct the agents to follow the step-down rule: helper functions should be lower down in the module than the main() function. We should also refactor any hook scripts which violate this at present.
Open Graph Description: When implementing hooks, we should instruct the agents to follow the step-down rule: helper functions should be lower down in the module than the main() function. We should also refactor any hook s...
X Description: When implementing hooks, we should instruct the agents to follow the step-down rule: helper functions should be lower down in the module than the main() function. We should also refactor any hook s...
Opengraph URL: https://github.com/usethis-python/usethis-python/issues/1728
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Agent config to encourage the stepdown rule for hooks","articleBody":"When implementing hooks, we should instruct the agents to follow the step-down rule: helper functions should be lower down in the module than the `main()` function.\n\nWe should also refactor any hook scripts which violate this at present.","author":{"url":"https://github.com/nathanjmcdougall","@type":"Person","name":"nathanjmcdougall"},"datePublished":"2026-04-01T12:07:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1728/usethis-python/issues/1728"}
| 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:d1886002-e267-faa7-4d46-e60322766bbe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 90C8:299DE6:938A48:C9A6E7:6A4D4D60 |
| html-safe-nonce | f8be1f1bdd936b6d1e3cfda110cbd9d07141c500cb4031373c5c272a7267d016 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEM4OjI5OURFNjo5MzhBNDg6QzlBNkU3OjZBNEQ0RDYwIiwidmlzaXRvcl9pZCI6IjE2MDg3ODY3MzY3MzI1MjM4NzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | aabb6da381c12c17ca3a6361fb66531a96b8a14d6fb31593a055f3d500812250 |
| hovercard-subject-tag | issue:4186408996 |
| 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/1728/issue_layout |
| twitter:image | https://opengraph.githubassets.com/31c283ff1880070266384d48f2a142e0724026e8df46d921299355a22b8e0040/usethis-python/usethis-python/issues/1728 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/31c283ff1880070266384d48f2a142e0724026e8df46d921299355a22b8e0040/usethis-python/usethis-python/issues/1728 |
| og:image:alt | When implementing hooks, we should instruct the agents to follow the step-down rule: helper functions should be lower down in the module than the main() function. We should also refactor any hook s... |
| 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 | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| 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 | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width