ref(skill-drift): scan references/sdks instead of legacy skills#266
Open
evanpurkhiser wants to merge 1 commit into
Open
Conversation
The per-SDK skills the drift automation used to keep fresh have moved to skills-legacy/ and are now frozen. The maintained platform content lives in the references/sdks/<sdk>/ trees, so repoint the automation there. - Matrix: the unit is now an SDK slug (`sdk: python`) rather than a skill name, matching the reference directory names. - Detect: the Claude session reads references/sdks/<sdk>/ (index.md plus the per-signal files), conforms edits to references/sdks/STRUCTURE.md, and its file-edit allowlist, summary schema (.sdk), and artifact staging all target that tree. - Apply: the path allowlist, overlay, branch/slug naming, and the prompt- injection guard (now a bare-slug check) all operate on references/sdks/<sdk>/. Activates once references/ lives at the repo root (the skills-next merge); the job reads the checked-out tree at run time and runs weekly.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 3748d3e. Configure here.
| ``` | ||
|
|
||
| If you see one titled `[skill-drift] ...<SKILL_NAME>...`, treat that | ||
| If you see one titled `[skill-drift] ...<SDK>...`, treat that |
There was a problem hiding this comment.
Bare SDK slug false dedupe
Medium Severity
Step 1 tells the detect agent to treat any open [skill-drift] PR or issue whose title contains the bare SDK slug as already covered. Short slugs like go or react match as substrings in unrelated titles (e.g. legacy sentry-go-sdk titles or other words), so the run can emit no_drift and skip real reference updates.
Reviewed by Cursor Bugbot for commit 3748d3e. Configure here.
cleptric
approved these changes
Jul 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


The per-SDK skills the nightly drift automation used to keep fresh have moved to
skills-legacy/(#265) and are now frozen. The maintained platform content lives in thereferences/sdks/<sdk>/trees, so this repoints the automation there..github/skill-drift-matrix.json): the unit is now an SDK slug (sdk: python) rather than a skill name, matching the reference directory names.repo/path_filter/teamare unchanged.references/sdks/<sdk>/(index.mdplus the per-signal files) and is told to conform edits toreferences/sdks/STRUCTURE.md. Its file-edit allowlist, thesummary.jsonschema (.sdkinstead of.skill), and the artifact staging all target that tree.sentry-*-sdkpattern) all operate onreferences/sdks/<sdk>/.The security model is unchanged — read-only detect job, deterministic apply job, path allowlists enforced in both.
Sequencing: this reads the checked-out tree at run time and only fires weekly (or on manual dispatch), so it activates once
references/lives at the repo root via theskills-nextmerge. Should land alongside that merge and #265.