Repository navigation
Fix audit-pr output drift, extend its checks, and update packages - #624
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Accessibility reporting can omit offending selectors, and the showcase tests leave anchor accessible names, destinations, and the BAR-logo case insufficiently covered.
5 open issues
Flatten violation targets so every selector appears in the table · New Test each showcase link’s accessible name and destination · New Preserve finding-shape exceptions and credential-redaction rules · New Map only in-scope, automatically testable outcomes to regression tests · New Limit truthiness warnings to checks that discard meaningful falsy values · New
What changed in this PR
This PR standardizes the portfolio repository’s audit reports and expands their review guidance. It also updates dependencies and addresses project-control accessible names as part of issue #620’s broader accessibility work.
Changes:
- Defines fixed audit report formats with corrected-code examples and final checks.
- Extends testing, privacy, external-system, TypeScript, and accessibility guidance.
- Updates packages, configures Sentry bundle exclusions, and adds accessibility assertions and terminal diagnostics.
| File | Description |
|---|---|
| src/components/projects/ProjectsGrid.tsx | Removes explicit accessible-name overrides. |
| src/components/projects/ProjectsGrid.test.tsx | Adds an accessible-name and tooltip assertion. |
| package.json | Updates runtime and development dependencies. |
| next.config.js | Configures Sentry debug and replay-code exclusions. |
| cypress/support/commands.ts | Sends accessibility violations to a terminal task. |
| cypress.config.ts | Adds the accessibility-reporting task. |
| CLAUDE.md | Documents Git and GitHub permission requirements. |
| .github/prompts/audit-quality.prompt.md | Standardizes the quality-audit report format. |
| .github/prompts/audit-pr.prompt.md | Expands checks and standardizes review output. |
| .github/copilot-instructions.md | Revises TypeScript and accessibility guidance. |
| .claude/skills/write-tests/SKILL.md | Updates description wording. |
| .claude/skills/typescript-code-and-test-standards/SKILL.md | Adds type-system and accessibility references. |
| .claude/skills/typescript-code-and-test-standards/references/typescript-handbook-digest.md | Adds a TypeScript Handbook digest. |
| .claude/skills/typescript-code-and-test-standards/references/test-standards.md | Expands accessibility-testing guidance. |
| .claude/skills/typescript-code-and-test-standards/references/project-detection.md | Adds compiler-option detection guidance. |
| .claude/skills/typescript-code-and-test-standards/references/google-typescript-style-digest.md | Revises rules and adds source citations. |
| .claude/skills/typescript-code-and-test-standards/references/accessibility.md | Adds source-based accessibility guidance. |
| .claude/skills/typescript-code-and-test-standards/README.md | Describes the expanded guidance. |
| .claude/skills/typescript-code-and-test-standards/assets/project-rules.template.md | Corrects the underscore-prefix override example. |
| .claude/skills/typescript-code-and-test-standards/assets/copilot-instructions.template.md | Adds type-system and accessibility rules. |
| .claude/skills/typescript-code-and-test-standards/agents/test-quality-reviewer.md | Adds a contents list. |
| .claude/skills/typescript-code-and-test-standards/agents/comment-and-jsdoc-auditor.md | Adds a contents list. |
| .claude/skills/typescript-code-and-test-standards/.claude-plugin/plugin.json | Updates the plugin description. |
| .claude/skills/audit-quality/SKILL.md | Defines the fixed report shape and checklist. |
| .claude/skills/audit-quality/README.md | Documents the report structure. |
| .claude/skills/audit-quality/.claude-plugin/plugin.json | Updates the plugin description. |
| .claude/skills/audit-pr/SKILL.md | Expands triage and defines the report contract. |
| .claude/skills/audit-pr/references/security-and-privacy.md | Expands sensitive-data logging checks. |
| .claude/skills/audit-pr/references/review-categories.md | Extends testing, design, and external-system checks. |
| .claude/skills/audit-pr/README.md | Describes expanded checks and corrected-code output. |
| .claude/skills/audit-pr/assets/review-summary.template.md | Adds fenced fixes to finding examples. |
| .claude/skills/audit-pr/agents/finding-refuter.md | Adds a contents list. |
| .claude/skills/audit-pr/.claude-plugin/plugin.json | Updates the plugin description. |
| .claude/skills/audit-docs/SKILL.md | Updates description wording. |
| .claude/skills/audit-docs/agents/surface-auditor.md | Adds a contents list. |
| .claude/skills/audit-docs/agents/diagram-reviewer.md | Adds a contents list. |
| .claude/skills/audit-docs/agents/curation-reviewer.md | Adds a contents list. |
| .claude/skills/audit-docs/agents/coverage-mapper.md | Adds a contents list. |
| .claude/skills/audit-docs/agents/claim-verifier.md | Adds a contents list. |
| .claude/skills/audit-docs/.claude-plugin/plugin.json | Updates description wording. |
| .claude/rules/code-style.md | Corrects Google style-guide carve-outs. |
| .claude-plugin/marketplace.json | Synchronizes plugin descriptions. |
Review effort: Balanced
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
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
audit-prskill now returns one report in a fixed shape, and every fixable finding carries its corrected code.The skill said the run "does not fix what it finds" while also requiring a
Suggested fix. Its only output template sat in the middle of the file. The report shape now lives in one section at the end of the file, with a filled example and a five-point check before sending.audit-qualitygets the same structure, plus a section on what the run does when its mode allows edits.audit-pralso checks tests against the ticket's goals at each test level the project runs. It checks SOLID and DRY across every changed file, simpler forms of the same code, comments against the code, idempotency, and personal or health data in logs. A new category checks calls to external systems against the provider's current documentation.typescript-code-and-test-standardsnow cites the Google TypeScript Style Guide for each section and corrects seven digest rules against it. One example from the guide: "An underscore prefix indicates a syntactically-required identifier will not be used." The skill adds a TypeScript Handbook digest and an accessibility reference sourced from MDN. Its two subagents and its Copilot instructions template carry the new rules.PR also includes the following changes:
audit-docsis rewritten around three phases: sync with the change, audit the Markdown pages, and audit the comments in code. Its five subagents each gain a contents list.voice-and-ai-tells.mdis restructured around the target style, with examples, andSKILL.mdgains an ordered list of tests applied to each existing comment.audit-docs.prompt.md,audit-pr.prompt.md, andaudit-quality.prompt.mdcarry the same changes as their skills.check-skill-publishability.mjsgains checks drawn from the skill authoring best practices: every file inreferences/andassets/is linked fromSKILL.md, every bundled Markdown file over 100 lines opens with a contents list naming each section, and adescriptionis in the third person. Anameordescriptioncannot hold an XML tag, anamecannot containanthropicorclaude, and a file path cannot use a backslash. The script's test file gains cases for each check.CLAUDE.md,.github/copilot-instructions.md, and the rules under.claude/rules/state the same conventions: the Git and GitHub permissions, the comment-tightening rule, the@ts-expect-errorguidance, and an accessibility section for reviews.CLAUDE.mdnow names thewriting-testsandchecking-skillsskills by their directory names.CC-BY-4.0andMPL-2.0, the licences ofcaniuse-liteandaxe-corein the lockfile.bundleSizeOptimizationsinnext.config.jsremoves the SDK's debug code and the unused Session Replay code. The Sentry build options say: "If set totrue, the Sentry SDK will attempt to tree-shake any debugging code within itself during the build."label-content-name-mismatch("Elements must have their visible text as part of their accessible name") on the eFP-Seq Browser "Web App" button, whose BAR logo contains SVG text. The project link buttons now take their accessible name from their visible text, and a Jest test covers it.logA11yViolationstask incypress.config.ts.brag.mp4