folder-structure

Organize frontend folders using domain-first and fractal architecture.

8|2|Updated Nov 1, 2023
Ready to run
npx skills add https://github.com/Let-s-intern/lets-intern-client --skill folder-structure
πŸ’¬ Prompt for ChatGPT / Claude Chatβ–Ό
Please help me install this Agent Skill.
Skill: folder-structure
Source: https://github.com/Let-s-intern/lets-intern-client/tree/main/.claude/skills/folder-structure
Command: npx skills add https://github.com/Let-s-intern/lets-intern-client --skill folder-structure

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

렛츠컀리어 ν”„λŸ°νŠΈμ—”λ“œ ν”„λ‘œμ νŠΈμ—μ„œ 폴더 ꡬ쑰의 체계λ₯Ό ν™•λ¦½ν•˜κ³  μœ μ§€λ³΄μˆ˜μ„±μ„ 높이기 μœ„ν•΄ μžλ™ ν™œμ„±ν™”λ₯Ό μ œκ³΅ν•œλ‹€. 도메인 μš°μ„ (DDD)κ³Ό ν”„λž™νƒˆ μ•„ν‚€ν…μ²˜ 원칙을 μ μš©ν•΄ 파일 μœ„μΉ˜ κ²°μ •, import ꡬ쑰 섀계, 계측 κ°„ μ˜μ‘΄μ„± 관리 등을 μ•ˆλ‚΄ν•œλ‹€.

Core Features & Use Cases

  • 도메인 μš°μ„  ꡬ쑰 λ„μž…: src 폴더λ₯Ό λ„λ©”μΈλ³„λ‘œ λΆ„λ¦¬ν•˜κ³  각 도메인에 ui/ hooks/ types/ utils/ λ“± λ ˆμ΄μ–΄λ₯Ό λͺ…μ‹œμ μœΌλ‘œ κ΅¬μ„±ν•œλ‹€.
  • ν”„λž™νƒˆ μž¬κ·€ 적용: 도메인이 λ³΅μž‘ν•΄μ§€λ©΄ ν•˜μœ„ 도메인을 λ§Œλ“€μ–΄ λ™μΌν•œ νŒ¨ν„΄μ„ μž¬ν˜„ν•œλ‹€.
  • 독립 μ‚­μ œ κ°€λŠ₯: 도메인 폴더λ₯Ό λ…λ¦½μ μœΌλ‘œ μ‚­μ œν•΄λ„ 타 μ˜μ—­μ— 영ν–₯이 없도둝 μ„€κ³„ν•œλ‹€.
  • μžλ™ ν™œμ„±ν™” κ°€μ΄λ“œ: μƒˆ νŒŒμΌμ΄λ‚˜ μ»΄ν¬λ„ŒνŠΈλ₯Ό λ§Œλ“€ λ•Œ μžλ™μœΌλ‘œ μ μš©λ˜λ„λ‘ λ¬Έμ„œλ₯Ό λͺ…μ‹œν•œλ‹€.

Quick Start

μƒˆ νŒŒμΌμ΄λ‚˜ μ»΄ν¬λ„ŒνŠΈλ₯Ό λ§Œλ“€ λ•Œ 도메인 μš°μ„  ꡬ쑰와 ν”„λž™νƒˆ μž¬κ·€ 원칙에 따라 폴더 ꡬ쑰λ₯Ό κ΅¬μ„±ν•˜λΌ.

Frequently Asked Questions about folder-structure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I organize a frontend folder structure using domain-driven design?β–Ό

Organize frontend folder structure using domain-driven design by separating the src directory into domain folders, each containing explicit ui, hooks, types, and utils layers for clear domain separation and maintainability.

What is fractal architecture in frontend projects?β–Ό

Fractal architecture in frontend projects is a recursive folder structure pattern where complex domains create sub-domains that replicate the same ui, hooks, types, and utils layers to maintain consistent scalability.

How do I manage import guidelines and dependencies across domain folders?β–Ό

Manage import guidelines and dependencies by designing independent domain folders that can be safely deleted without impacting other areas, ensuring strict layer separation and controlled cross-domain imports.

When should I apply a domain-first folder structure to my frontend architecture?β–Ό

Apply a domain-first folder structure to frontend architecture when teams need clear domain separation, layered structure management, and recursive sub-domain expansion to handle growing project complexity.

How do I structure a new component file in a domain-first architecture?β–Ό

Structure a new component file in a domain-first architecture by placing it inside the appropriate domain folder and assigning it to the correct layer, such as ui or hooks, following fractal recursion rules.