AI front end code review guidelines and claude skills#1292
Open
labkey-martyp wants to merge 1 commit intodevelopfrom
Open
AI front end code review guidelines and claude skills#1292labkey-martyp wants to merge 1 commit intodevelopfrom
labkey-martyp wants to merge 1 commit intodevelopfrom
Conversation
labkey-jeckels
approved these changes
Feb 26, 2026
Contributor
labkey-jeckels
left a comment
There was a problem hiding this comment.
I don't have React or Jest changes handy to test this out, but the overall structure seems reasonable.
Others can better comment on whether these are the right items to highlight, but this might be best evaluated through actual testing.
I can see pulling some of this guidance into more general areas in the future. For example, the rules for code comments should be applicable to any language, not just React/TypeScript/JavaScript.
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.
Rationale
This is a starting point for frontend ai code review guidelines. There are two code review checklists and claude skills, /code-review-react and /code-review-jest. The claude skills have two modes,
/code-review-react <directory or file path>/code-review-jest --full <directory or file path>.claude/skills/<skill name>/skill.mdfor the expected output. Note: If there are more than 10 "suggested" changes (non-urgent), only the first 10 will be shown in each run..agents/review-checklists/<react or jest>/*.mdfor the code review checks.It is recommended to run the code reviews multiple times until all the feedback is addressed.
These guidelines can be used by other ai agents as well, just point them to the directory.
Changes
.claude/skill/<skill name>/skill.mddefine the claude skill using these guidelines