Repository navigation
chore(ai): add a code-style skill to write human-reviewable code (AI-assisted) - #12700
Merged
Merged
Conversation
…assisted) Humans review all the code of the repository. The new code-style agent skill asks agents to: - Structure code as a tree: a high-level function first, delegating to well-named functions, without mixing levels of abstraction - Make the intent explicit with well-named variables and functions, grouped related lines, and pure functions - Favor readability over micro-optimizations outside hot paths AGENTS.md references it in the general rules, since it applies to every code change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
✅ [V2]
To edit notification comments on pull requests, go to your Netlify project configuration. |
1 of 3 tasks
⚡️ Lighthouse report for the deploy preview of this PR
|
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.
Pre-flight checklist
Motivation
Humans review all the code of this repository, and agents tend to write long sequential code inlining all the low-level calls, which is hard to review.
This PR adds a
code-styleagent skill, read before writing or modifying code:Since it applies to every code change,
AGENTS.mdalso mentions it in the general rules, in addition to the skills index.The pnpm catalogs PR stacked on top of this one applies it to its new
lintCatalogs.jsscript.(AI-assisted)
Test Plan
N/A, agent instructions only.
Test links
Deploy preview: https://deploy-preview-12700--docusaurus-2.netlify.app/
Related issues/PRs
🤖 Generated with Claude Code