# Atomic Audit

> Audit a React component (or folder) for Atomic Design correctness and refactor recommendations. Use when components are too large, props are exploding, or responsibilities are unclear.

- Skill: `majiayu000/atomic-audit` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/atomic-audit`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/atomic-audit/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/atomic-audit

---


# Atomic Design Audit (React)

Audit `$ARGUMENTS` for Atomic Design boundaries.

## What to do

1. Identify the component’s *current* layer (atom/molecule/organism/template/page) and justify.
2. Flag boundary violations:
   - Atom doing fetching/business logic
   - Molecule importing routing
   - Organism hard-coding domain decisions
   - Template binding to real data
   - Page containing large presentational trees
3. Propose a refactor plan:
   - New component split list with target layers
   - Suggested props contracts (data in, events out)
   - Files to create/move and exports to update
4. Provide a minimal diff-style summary of changes (high level, not full patch) and a test plan.

## Output format

- **Findings** (bullet list)
- **Recommended layer** (one line)
- **Refactor plan** (numbered steps)
- **New structure** (tree)
- **Test plan** (checklist)

