Title: Agent skills: emphasize generalization and self-containment in lessons and skill updates by Copilot · Pull Request #1810 · usethis-python/usethis-python · GitHub
Open Graph Title: Agent skills: emphasize generalization and self-containment in lessons and skill updates by Copilot · Pull Request #1810 · usethis-python/usethis-python
X Title: Agent skills: emphasize generalization and self-containment in lessons and skill updates by Copilot · Pull Request #1810 · usethis-python/usethis-python
Description: Lessons and skill updates were being written with stiff, highly-specific content (exact function names, file paths, memory references) that narrows applicability and breaks self-containment. This tightens both skills to enforce abstraction. usethis-lesson-create (v1.0 → v1.1) New "Self-containment and abstraction" section with three rules: never reference memories, never name specific code objects unless they are the subject, and state principles at the right abstraction level Comparison table showing "too specific" vs generalised rewrites: Too specific Better Always call clear_functools_caches() after @functools.cache Whenever a caching decorator is added, ensure the cache is cleared in tests validate_or_raise accepts err=, not error_cls Validation helpers have specific argument conventions — check the signature before use Updated lesson template placeholder for "Generalised principle" to explicitly prohibit specific names and memory references Strengthened procedure step 3 with the same guidance usethis-skills-modify (v1.5 → v1.6) New step 2 in the procedure: "Generalise the instruction" before writing skill content — if the incoming instruction names a specific function/file/class, lift it to a transferable principle first New "Generalising incoming instructions" section with a comparison table and the key test: "would this guidance still be relevant if the named entity were refactored away?" New "Never reference memories" content quality guideline — skill content must be fully self-contained
Open Graph Description: Lessons and skill updates were being written with stiff, highly-specific content (exact function names, file paths, memory references) that narrows applicability and breaks self-containment. This t...
X Description: Lessons and skill updates were being written with stiff, highly-specific content (exact function names, file paths, memory references) that narrows applicability and breaks self-containment. This t...
Opengraph URL: https://github.com/usethis-python/usethis-python/pull/1810
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5f688ccd-c3d6-0303-59dd-4b901c3eee01 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B090:20AD09:2CB479D:3F59D88:6A4CFBA6 |
| html-safe-nonce | d4d76f43bf13a12a5abe4763ff94068e0481774eb0310618b5d6fd2401839dd0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDkwOjIwQUQwOToyQ0I0NzlEOjNGNTlEODg6NkE0Q0ZCQTYiLCJ2aXNpdG9yX2lkIjoiMTQzNzUzOTU3NDUyNzg4NDE5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4a5e7cfe02438e4cf7e0e4877e116854161029d64e8668b1a60915fe3c7070f5 |
| hovercard-subject-tag | pull_request:3488379656 |
| 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/1810/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 | Lessons and skill updates were being written with stiff, highly-specific content (exact function names, file paths, memory references) that narrows applicability and breaks self-containment. This t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 31e4db13a9e20081f2fac78f441659a6576e582bbb15e153f9c7fb6473aa29f5 |
| 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 | 8307e9ba117a26e92a64fb1daf085d795a6552ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width