Agent skill

atomic-template

Create a React TEMPLATE that defines layout and composition without binding to real data sources. Use for page shells, dashboards, list-detail layouts, etc. Templates wire organisms together and expose slots/regions.

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-template

SKILL.md

Atomic Design: TEMPLATE (React Functional Components)

You are creating a TEMPLATE: page-level layout composition without real data binding.

Hard rules

  1. Functional components only.
  2. No real data fetching in templates. Templates define structure, regions, and composition.
  3. Slot-based design:
    • Prefer header, sidebar, content, footer regions via props/children.
    • Avoid hard-coding copy and domain-specific assumptions.
  4. Responsiveness & semantics:
    • Use proper landmarks and heading structure.
    • Ensure layout works across breakpoints (as dictated by project conventions).

Output expectations

  • Provide:
    1. Template.tsx
    2. Template.stories.tsx showing multiple compositions
    3. Optional Template.test.tsx (layout presence + landmark roles)

Recommended folder conventions

  • src/templates/<TemplateName>/...

Template checklist

  • Defines regions clearly
  • Minimal styling assumptions; flexible composition
  • No domain logic or data acquisition

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