Repository navigation
Route agents to the repository's security conventions through a new writing-secure-code skill - #245
Merged
Merged
Conversation
…tes to in `DEVELOPMENT.md`, and correct the logging record in `decisions.md` that the skill cites. Co-Authored-By: Claude <noreply@anthropic.com>
QuintinWillison
marked this pull request as ready for review
December 1, 2026 12:24
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.
🤖 Claude's Summary
Adds a
writing-secure-codeskill. An agent loads it when a change handles the project key, an end user's token or data, or shapes what reaches an error or a log. It also loads for a suppression, a reported vulnerability and a security review.The skill routes, as the others do. The conventions go into a new "Secure Design and Coding" section of
DEVELOPMENT.md, where human contributors read them too. They set down what recent security fixes established, among them #227, #232, #234, #237, #241, #243 and #244.Three smaller changes come with it:
decisions.mdsaid that no log emission rises above debug. SinceAuthmodule: AddSession.AutoRefreshandSession.AddEventListener#180 a session listener's panic is logged at error level, so the record now says which failures are logged above debug.The skill points to Supabase's internal security review and threat modeling skills without saying where they live, since outside contributors cannot reach them. It also tells an agent where to keep scanner exports and write-ups of a vulnerability not yet fixed: out of the repository, or in the git-ignored
user.transient/folder.