Agent skill

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.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/atomic-audit

SKILL.md

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)

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results