structure-project-organization

Analyzes and restructures project folder organization using layered, feature-based, and domain-driven architectures.

Updated Jun 30, 2026
One-click install
npx skills add https://github.com/kaitoartz/dotfiles --skill structure-project-organization-kaitoartz
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: structure-project-organization
Source: https://github.com/kaitoartz/dotfiles/tree/main/dot_gemini/config/skills/structure-project-organization
Command: npx skills add https://github.com/kaitoartz/dotfiles --skill structure-project-organization-kaitoartz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Growing codebases often become chaotic, with files scattered across folders and features hard to locate. This Skill analyzes your current project structure and applies industry-standard architectural patterns to improve maintainability and scalability. ## Core Features & Use Cases - Architecture Selection: Compares layered (by type), hybrid (type & feature), and screaming architecture (feature-based) patterns with pros and cons for each scale. - Domain-Specific Templates: Provides ready-made folder structures for SaaS dashboards, e-commerce, games, and eLearning platforms. - Guided Migration Workflow: Follows a five-step process—analyze, propose, plan, execute with git mv, and verify via tests or builds. - Use Case: When refactoring an MVP into a complex application, use this Skill to reorganize scattered components into self-contained feature modules like src/features/auth/ and src/shared/ui/. ## Quick Start Analyze my current project structure and propose a feature-based folder organization for a medium-sized web application.

Frequently Asked Questions about structure-project-organization

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

FAQPage Schema
How do I organize a React project folder structure?▼

Choose based on scale: small projects use layered structure grouping by type (components, hooks, utils), medium projects use hybrid type-and-feature grouping, and large applications use feature-based modules where each feature folder contains its own components, hooks, and API logic.

What is screaming architecture in software projects?▼

Screaming architecture is a feature-based, domain-driven folder structure where directories reflect what the application does rather than its tech stack. Features like auth, products, and cart become self-contained modules, making codebases highly scalable and easy to refactor in isolation.

How to restructure a project without breaking imports?▼

Use git mv to move files so history is preserved, then update all affected import statements. Follow the workflow: analyze the current structure, propose a new layout, create a migration plan, execute moves, and verify by running tests or builds.

When should I not use feature-based folder structure?▼

Feature-based structure is overkill for small projects, MVPs, and proof-of-concepts where a simple layered structure is faster to set up. It also requires team discipline to avoid circular dependencies between feature modules.

What folder structure works best for game development?▼

Web and JavaScript games benefit from separating engine core (loop, physics, renderer), entities (player, enemies), systems (collision, input, audio), scenes (menu, levels), and assets (sprites, sounds, shaders) into distinct top-level directories.