Skip to content

docs: add frontend-review skill for pre-PR FE rule audits#27408

Open
ibetitsmike wants to merge 1 commit into
mike/frontend-patterns-contractfrom
mike/frontend-review-skill
Open

docs: add frontend-review skill for pre-PR FE rule audits#27408
ibetitsmike wants to merge 1 commit into
mike/frontend-patterns-contractfrom
mike/frontend-review-skill

Conversation

@ibetitsmike

@ibetitsmike ibetitsmike commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

What

Adds .claude/skills/frontend-review, a diff-scoped self-review skill that audits changes under site/src/ against the FE1 to FE10 rule contract before a PR is created or updated. Each rule has a concrete "what to look for in a diff" checklist, and the output format is a terse per-rule PASS/FAIL table with file:line findings.

Wiring:

  • site/AGENTS.md Pre-PR Checklist gains step 6: run the audit when the diff touches site/src/.
  • .claude/skills/code-review now cites FE rule IDs for frontend findings.
  • The deep-review frontend-reviewer role audits against the same contract.

Why

Most frontend review findings are semantic (missing interaction coverage, clobbered form state, near-duplicate components) and cannot be linted. Today they are caught post-hoc by reviewers and the review bot, which is exactly the "PRs get complaints" experience. Running the same rubric before the PR exists converts review rounds into pre-push fixes.

Stacked on #27407 (the rule contract). The deterministic-checks follow-up (#27409) was closed; that subset will be enforced through proper linting instead.

This PR was written by Mux, an AI coding agent, on behalf of Mike.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0f8489b3ce

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .claude/skills/frontend-review/SKILL.md Outdated
Comment thread .claude/skills/frontend-review/SKILL.md Outdated
@ibetitsmike
ibetitsmike force-pushed the mike/frontend-review-skill branch from 96d9ed2 to a166ce3 Compare July 22, 2026 09:26
@ibetitsmike
ibetitsmike force-pushed the mike/frontend-patterns-contract branch from 722f15b to 2f60b6c Compare July 22, 2026 09:26
@ibetitsmike
ibetitsmike force-pushed the mike/frontend-review-skill branch 2 times, most recently from a166ce3 to 759a612 Compare July 22, 2026 11:11
@ibetitsmike
ibetitsmike force-pushed the mike/frontend-patterns-contract branch from 2f60b6c to c4bbbd4 Compare July 22, 2026 11:11
@ibetitsmike

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 759a6125e1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread site/AGENTS.md Outdated
Adds .claude/skills/frontend-review, a diff-scoped self-review gate
that audits site/src changes against the FE1-FE10 rule contract before
a PR is created or updated. Wires it into the site/AGENTS.md Pre-PR
Checklist and references the FE rule IDs from the code-review skill
and the deep-review frontend-reviewer role.
@ibetitsmike
ibetitsmike force-pushed the mike/frontend-review-skill branch from 759a612 to 0e80cef Compare July 22, 2026 11:18
@ibetitsmike

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 0e80cefb92

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants