review-react
Review React components for test coverage, including unit tests and Storybook stories with requirement traceability.
Skill by agent-ix
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/agent-ix-review-react
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend, testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/review-react
What's inside
- Skill name
review-react- Description
- Review React components for test coverage, including unit tests and Storybook stories with requirement traceability.
- License
- MIT
- Instructions
- 141 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# React Code Review
If this plugin is not initialized or an Agent IX command fails, read [the dev-tools setup guide](https://github.com/agent-ix/dev-tools/blob/main/setup.md) for its prerequisites and local diagnosis.
React component review with separate trace checks for unit tests and Storybook stories.
Tests and stories bind to acceptance criteria by criterion id; the Test Matrix is
computed from those tags by `quire matrix`, never written by hand.
## Detection
Identify React projects by:
- `spec/spec.md` has `component-type: react-component`, OR
- `package.json` has `react` in dependencies/devDependencies
## Unit Test Traceability
Scan `tests/` for RTL tests covering functional requirements.
| Check | Pass | Fail |
|-------|------|------|
| Test file per FR | `tests/unit/<Component>.test.tsx` exists | Missing file |
| AC trace | JSDoc `Trace:` line (or `// Trace:` comment) lists the FR-XXX-AC-Y ids the test asserts | No `Trace:` line, or ids only in Description/Criteria |
## Package and Import Verification
Verify exports, dependency wiring, and import integrity. Import and resolution errors are real errors — they indicate broken peer dependencies, missing ESM config, or incorrect exports maps. Fix the root cause. Never hide errors with workarounds.
### Checks
Exports:
- `src/index.ts` explicitly exports all public components and utilities
- Interfaces/types used by consumers are exported (not implicitly `any`)
- `package.json` has `main`, `types`, and `exports` block pointing to `dist/` outputs
- A test file (e.g. `tests/exports.test.ts`) imports `*` from `../src` and asserts all public members are defined
Dependencies:
- All versions use proper SemVer (`^0.1.0`), not branch names or invalid tags
- Heavy/shared deps (e.g. `mermaid`, `react`, framework libs) are in `peerDependencies`, not `dependencies`
Import integrity:
- All imports use string literals: `import('pkg')` or `import pkg from 'pkg'`
- No variable-expression dynamic imports: `const m = 'pkg'; import(m)` — webpack emits `Critical dependency: the request of a dependency is an expression` and breaks tree-shaking in all downstream consumers
- No workaround comments: `// Hide from static analyzer`, `// Avoid ESM resolution`, `/* @vite-ignore */`
- Jest ESM issues handled via config (`transformIgnorePatterns`, `moduleNameMapper`), never by modifying source imports
### Export test example
```typescript
// tests/exports.test.ts
import * as PublicApi from '../src';
describe('Public API Exports', () => {
it('should export all public components and hooks', () => {
expect(PublicApi.MyComponent).toBeDefined();
expect(PublicApi.useMyHook).toBeDefined();
});
});
```
## Storybook Traceability
Scan `src/components/` for story files. Each story documents the FR/AC ids it
demonstrates with a JSDoc `Trace:` line. That line is documentation only: quire binds
only test, bench and fuzz functions, so a story never tags a criterion. A criterion
covered only by a story is not a Storybook gap; report it under Coverage Check as
needing a binding Jest/RTL test.
### File Requirements
| Check | Pass | Fail |
|-------|------|------|
| Story file per component | `<Component>.stories.tsx` co-located | Missing file |
### Story Requirements (Per Story)
| Check | Pass | Fail |
|-------|------|------|
| Trace Sync | AC IDs in Story traces match the exact list in corresponding `spec.md` frontmatter | Found outdated or missing AC IDs |
| AC doc trace | JSDoc `Trace:` line lists the FR-XXX-AC-Y ids the story demonstrates (documentation) | No `Trace:` line |
| Controls | `argTypes` for configurable props | Missing interactivity |
| Actions | Callbacks wired to `@storybook/test` actions | No action logging |
| Interactions | `play` function for stateful behaviors | No interaction tests |
### Coverage Check
Do not author a coverage matrix or add rows to `spec/tests.md`. Run
`quire matrix --strict` in the reviewed repo. Every criterion the matrix reports
as untagged — including one only a story traces — is a finding that it needs a
binding Jest/RTL test. `quire matrix` needs quire-cli 0.34.0 or later. `--strict` exits non-zero when a
criterion is `untagged`, when it is `tagged-by-ignored-test`, or when the spec has
zero criteria (FR-026 §G).
### Story Docstring Format
```typescript
/**
* Description:
* Demonstrates editor with placeholder text.
*
* Assumptions:
* - Editor accepts placeholder prop
*
* Criteria:
* - Configurable placeholder renders
* - Placeholder disappears on focus
*
* Trace: FR-001-AC-1, FR-001-AC-2
*/
export const WithPlaceholder: Story = { ... };
```
## Component File Structure
Each file in `src/components/` MUST export exactly one React component. Co-located helpers (hooks, types, constants) that are private to that component are permitted, but a second exported component must live in its own file.
| Check | Pass | Fail |
|-------|------|------|
| One component per file | File exports a single React component | File exports multiple React components |
| Co-located types | Types/interfaces specific to the component live in the same file or a sibling `*.types.ts` | Shared types scattered across component files |From agent-ix/dev-tools, MIT.
More from agent-ix/dev-tools
- 0.570score
security-deepsec
agent-ix
Run a generic DeepSec-backed security review and remediation burndown for one or more target repositories.
SkillAFreshness: AClaude Code +9 - 0.570score
docs-figures
agent-ix
Draw diagrams, charts and CSS animations for GitHub READMEs and documentation as transparent light and dark SVG pairs, with text drawn as glyph outlines so…
SkillAFreshness: AClaude Code +9 - 0.570score
rust-review
agent-ix
Review Rust changes against Agent IX Rust style, repository conventions, behavior, test evidence, safety and concurrency, wire contracts, resource bounds, and…
SkillAFreshness: AClaude Code +9 - 0.567score
new-project
agent-ix
Scaffold a new repository from an Agent IX template, verify it locally, establish AGPL and content-rights controls, and create its GitHub repository privately.
SkillAFreshness: AClaude Code +9 - 0.567score
rust-style
agent-ix
Agent IX Rust conventions for every Rust coding and review task.
SkillAFreshness: AClaude Code +9 - 0.560score
writing-tests-react
agent-ix
Index to React component testing guides.
SkillAFreshness: AClaude Code +9 - 0.558score
backport-code
agent-ix
A skill for systematically backporting bug fixes and features across specs, templates, and downstream repositories.
SkillAFreshness: AClaude Code +9 - 0.558score
writing-tests-pg-data
agent-ix
Instructions for writing tests for PG Data services, likely involving database fixtures and integration tests.
SkillAFreshness: AClaude Code +9 - 0.558score
writing-tests-python
agent-ix
Instructions for writing Python tests (pytest), including mocking, fixtures, and golden path standards.
SkillAFreshness: AClaude Code +9 - 0.558score
writing-tests-typescript
agent-ix
Instructions for writing TypeScript tests (Jest), including typed mocks and testing patterns.
SkillAFreshness: AClaude Code +9 - 0.553score
code-review
agent-ix
Review code for Agent-IX Golden Path compliance, focusing on test style, mock boundaries, implementation gaps, and code-test alignment.
SkillAFreshness: AClaude Code +9 - 0.550score
assurance-onboarding
agent-ix
Capture a generic handoff in the fixture host.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 4, 2026 (24 days ago)
- Last release
- Oct 22, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/agent-ix/dev-tools
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from agent-ix
- 0.570score
security-deepsec
agent-ix
Run a generic DeepSec-backed security review and remediation burndown for one or more target repositories.
SkillAFreshness: AClaude Code +9 - 0.570score
docs-figures
agent-ix
Draw diagrams, charts and CSS animations for GitHub READMEs and documentation as transparent light and dark SVG pairs, with text drawn as glyph outlines so…
SkillAFreshness: AClaude Code +9 - 0.570score
rust-review
agent-ix
Review Rust changes against Agent IX Rust style, repository conventions, behavior, test evidence, safety and concurrency, wire contracts, resource bounds, and…
SkillAFreshness: AClaude Code +9 - 0.567score
new-project
agent-ix
Scaffold a new repository from an Agent IX template, verify it locally, establish AGPL and content-rights controls, and create its GitHub repository privately.
SkillAFreshness: AClaude Code +9 - 0.567score
rust-style
agent-ix
Agent IX Rust conventions for every Rust coding and review task.
SkillAFreshness: AClaude Code +9 - 0.560score
writing-tests-react
agent-ix
Index to React component testing guides.
SkillAFreshness: AClaude Code +9
Cite this page
review-react skill. Agent Mart. https://agentmart.dev/skills/agent-ix-review-react (last updated 2026-10-24)