René's URL Explorer Experiment


Title: Update prek skills to warn against directory-scoped `files` patterns by Copilot · Pull Request #1839 · usethis-python/usethis-python · GitHub

Open Graph Title: Update prek skills to warn against directory-scoped `files` patterns by Copilot · Pull Request #1839 · usethis-python/usethis-python

X Title: Update prek skills to warn against directory-scoped `files` patterns by Copilot · Pull Request #1839 · usethis-python/usethis-python

Description: Agents were configuring prek hooks with files: ^(src|tests)/ instead of using types filters or pass_filenames, silently missing violations outside those directories. Changes usethis-prek-add-hook (v1.4 → v1.5): New "File targeting" section with the directive to use types: [python] or pass_filenames: false instead of directory-scoped files patterns. Documents the narrow exception for pygrep hooks where the pattern is only a violation in a specific directory. usethis-prek-hook-bespoke-create (v1.2 → v1.3): Added warning in the "Wiring into .pre-commit-config.yaml" key points against files-based directory scoping. Principle # ✗ Don't — silently misses violations outside src/tests - id: check-comment-keywords types: [python] files: ^(src|tests)/ # ✓ Do — catches violations everywhere - id: check-comment-keywords types: [python]

Open Graph Description: Agents were configuring prek hooks with files: ^(src|tests)/ instead of using types filters or pass_filenames, silently missing violations outside those directories. Changes usethis-prek-add-hook ...

X Description: Agents were configuring prek hooks with files: ^(src|tests)/ instead of using types filters or pass_filenames, silently missing violations outside those directories. Changes usethis-prek-add-hook ...

Opengraph URL: https://github.com/usethis-python/usethis-python/pull/1839

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e3d9ecf7-d244-0a94-a61c-48f1ab70629a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCA3C:9B927:1BBF919:282F7D6:6A4CFB79
html-safe-nonce7c7a67012e6959c1eeac98c5eb60ce1c9a6cdb717d1183e04ced5d9620072696
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTNDOjlCOTI3OjFCQkY5MTk6MjgyRjdENjo2QTRDRkI3OSIsInZpc2l0b3JfaWQiOiI2MzQ0Mzc5MDg3MDIwOTQ4MzQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb6953e83b9ab22e2cfe1476d9dfdfc18045606b08491b7d2c0c752269a3b42bb
hovercard-subject-tagpull_request:3496030059
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/usethis-python/usethis-python/pull/1839/files
twitter:imagehttps://avatars.githubusercontent.com/in/1143301?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/in/1143301?s=400&v=4
og:image:altAgents were configuring prek hooks with files: ^(src|tests)/ instead of using types filters or pass_filenames, silently missing violations outside those directories. Changes usethis-prek-add-hook ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None31e4db13a9e20081f2fac78f441659a6576e582bbb15e153f9c7fb6473aa29f5
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/usethis-python/usethis-python git https://github.com/usethis-python/usethis-python.git
octolytics-dimension-user_id216362695
octolytics-dimension-user_loginusethis-python
octolytics-dimension-repository_id842189705
octolytics-dimension-repository_nwousethis-python/usethis-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id842189705
octolytics-dimension-repository_network_root_nwousethis-python/usethis-python
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8307e9ba117a26e92a64fb1daf085d795a6552ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/usethis-python/usethis-python/pull/1839/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fusethis-python%2Fusethis-python%2Fpull%2F1839%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fusethis-python%2Fusethis-python%2Fpull%2F1839%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=usethis-python%2Fusethis-python
Reloadhttps://github.com/usethis-python/usethis-python/pull/1839/files
Reloadhttps://github.com/usethis-python/usethis-python/pull/1839/files
Reloadhttps://github.com/usethis-python/usethis-python/pull/1839/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1839/files
usethis-python https://github.com/usethis-python
usethis-pythonhttps://github.com/usethis-python/usethis-python
Notifications https://github.com/login?return_to=%2Fusethis-python%2Fusethis-python
Fork 5 https://github.com/login?return_to=%2Fusethis-python%2Fusethis-python
Star 19 https://github.com/login?return_to=%2Fusethis-python%2Fusethis-python
Code https://github.com/usethis-python/usethis-python
Issues 163 https://github.com/usethis-python/usethis-python/issues
Pull requests 4 https://github.com/usethis-python/usethis-python/pulls
Actions https://github.com/usethis-python/usethis-python/actions
Security and quality 0 https://github.com/usethis-python/usethis-python/security
Insights https://github.com/usethis-python/usethis-python/pulse
Code https://github.com/usethis-python/usethis-python
Issues https://github.com/usethis-python/usethis-python/issues
Pull requests https://github.com/usethis-python/usethis-python/pulls
Actions https://github.com/usethis-python/usethis-python/actions
Security and quality https://github.com/usethis-python/usethis-python/security
Insights https://github.com/usethis-python/usethis-python/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fusethis-python%2Fusethis-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fusethis-python%2Fusethis-python%2Fissues%2Fnew%2Fchoose
nathanjmcdougallhttps://github.com/nathanjmcdougall
mainhttps://github.com/usethis-python/usethis-python/tree/main
copilot/fix-prek-hook-directory-scopehttps://github.com/usethis-python/usethis-python/tree/copilot/fix-prek-hook-directory-scope
Conversation 0 https://github.com/usethis-python/usethis-python/pull/1839
Commits 2 https://github.com/usethis-python/usethis-python/pull/1839/commits
Checks 1 https://github.com/usethis-python/usethis-python/pull/1839/checks
Files changed https://github.com/usethis-python/usethis-python/pull/1839/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1839/files
Update prek skills to warn against directory-scoped files patterns https://github.com/usethis-python/usethis-python/pull/1839/files#top
Show all changes 2 commits https://github.com/usethis-python/usethis-python/pull/1839/files
3710343 Initial plan Copilot Apr 7, 2026 https://github.com/usethis-python/usethis-python/pull/1839/commits/3710343531566a42c4809044fa359a9d475d22c6
2be757c Update prek skills to warn against directory-scoped files patterns Copilot Apr 7, 2026 https://github.com/usethis-python/usethis-python/pull/1839/commits/2be757c703acdc0d4f6e801a11bce724cda08a61
Clear filters https://github.com/usethis-python/usethis-python/pull/1839/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1839/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1839/files
SKILL.md https://github.com/usethis-python/usethis-python/pull/1839/files#diff-7048e61e7138863153c99478b2daf5f90a1bd7a755db6395a6322b46747af6bf
SKILL.md https://github.com/usethis-python/usethis-python/pull/1839/files#diff-c7bc9a29a39c9f92c3612ae578facc43d3d3a69e938ff5f60182e709959ba18f
.agents/skills/usethis-prek-add-hook/SKILL.mdhttps://github.com/usethis-python/usethis-python/pull/1839/files#diff-7048e61e7138863153c99478b2daf5f90a1bd7a755db6395a6322b46747af6bf
View file https://github.com/usethis-python/usethis-python/blob/2be757c703acdc0d4f6e801a11bce724cda08a61/.agents/skills/usethis-prek-add-hook/SKILL.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1839/{{ revealButtonHref }}
https://github.com/usethis-python/usethis-python/pull/1839/files#diff-7048e61e7138863153c99478b2daf5f90a1bd7a755db6395a6322b46747af6bf
https://github.com/usethis-python/usethis-python/pull/1839/files#diff-7048e61e7138863153c99478b2daf5f90a1bd7a755db6395a6322b46747af6bf
https://github.com/usethis-python/usethis-python/pull/1839/files#diff-7048e61e7138863153c99478b2daf5f90a1bd7a755db6395a6322b46747af6bf
https://github.com/usethis-python/usethis-python/pull/1839/files#diff-7048e61e7138863153c99478b2daf5f90a1bd7a755db6395a6322b46747af6bf
.agents/skills/usethis-prek-hook-bespoke-create/SKILL.mdhttps://github.com/usethis-python/usethis-python/pull/1839/files#diff-c7bc9a29a39c9f92c3612ae578facc43d3d3a69e938ff5f60182e709959ba18f
View file https://github.com/usethis-python/usethis-python/blob/2be757c703acdc0d4f6e801a11bce724cda08a61/.agents/skills/usethis-prek-hook-bespoke-create/SKILL.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1839/{{ revealButtonHref }}
https://github.com/usethis-python/usethis-python/pull/1839/files#diff-c7bc9a29a39c9f92c3612ae578facc43d3d3a69e938ff5f60182e709959ba18f
https://github.com/usethis-python/usethis-python/pull/1839/files#diff-c7bc9a29a39c9f92c3612ae578facc43d3d3a69e938ff5f60182e709959ba18f
https://github.com/usethis-python/usethis-python/pull/1839/files#diff-c7bc9a29a39c9f92c3612ae578facc43d3d3a69e938ff5f60182e709959ba18f
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.