jsmithchollacreative/.opencode/atomic-design
Claude Code and agent skill by jsmithchollacreative/.opencode
- community
Checking that the SKILL.md file is still in the repository.
Atomic Design methodology for building scalable component systems
Install
npx vskill@latest install jsmithchollacreative/.opencode/atomic-designSKILL.md
The same SKILL.md was published earlier as david-li0406/meta-skill-evloving/atomic-design.
What I do
I guide the implementation of Atomic Design principles for building scalable, maintainable component systems:
- Atoms: Smallest building blocks (buttons, inputs, labels)
- Molecules: Simple groups of atoms (form fields, search bars)
- Organisms: Complex groups of molecules (headers, forms, cards)
- Templates: Page-level layouts with placeholder content
- Pages: Specific instances of templates with real content
When to use me
Load this skill when you need to:
- Structure a component library or design system
- Organize components in a scalable way
- Improve component reusability and consistency
- Build a frontend architecture from scratch
- Refactor an existing component structure
Principles
1. Single Responsibility
Each component should do one thing well. Atoms should be pure and simple.
2. Composition Over Inheritance
Build complex components by composing simpler ones.
3. Prop Drilling Mitigation
Use composition and context to avoid excessive prop drilling.
4. Co-location
Keep related files together (component, styles, tests, stories).
Directory Structure
Component Examples
Atom: Button
Molecule: FormField
Organism: LoginForm
Template: MainLayout
Best Practices
1. Keep Atoms Pure and Simple
- No business logic
- Minimal or no state
- Highly reusable
- Well-documented props
2. Molecules Should Be Self-Contained
- Handle their own layout
- Manage internal state if needed
- Expose clear, focused API
3. Organisms Can Be Complex
- Can fetch data
- Can manage complex state
- Should still be reusable
4. Use Barrel Exports
5. Co-locate Tests and Stories
When to Break the Rules
- Skip levels: Sometimes a molecule can skip directly to a template if it makes sense
- Cross-level composition: Pages can use atoms directly for simple cases
- Shared utilities: Common hooks, utilities can live outside the hierarchy
References
- Atomic Design by Brad Frost
- Component-Driven Development
- Storybook for component development
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/atomic-design/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jsmithchollacreative/.opencode/atomic-design)