feature-arch

Analyze React project structure to identify feature-based skill units.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/remiconnesson/insights-garden --skill feature-arch-remiconnesson
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feature-arch
Source: https://github.com/remiconnesson/insights-garden/tree/main/.agents/skills/feature-arch
Command: npx skills add https://github.com/remiconnesson/insights-garden --skill feature-arch-remiconnesson

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

This Skill helps teams keep React codebases scalable by turning architecture rules into clear guidance for feature boundaries, imports, state, testing, and composition.

Core Features & Use Cases

  • Feature-Based Organization: Structure code by business feature instead of technical type so related logic stays together.
  • Dependency and Boundary Rules: Prevent cross-feature coupling, deep imports, and shared-state sprawl.
  • Practical Refactoring Support: Use it when reviewing an app structure, planning a new feature folder, or correcting architecture violations in an existing React project.

Quick Start

Ask for a review of your React folder structure and request concrete refactoring guidance that follows feature-based architecture rules.

Frequently Asked Questions about feature-arch

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

FAQPage Schema
How do I structure a React project by feature instead of file type?

Feature-based React organization groups code by business feature so related logic stays together. This approach keeps feature folders cohesive, preventing shared-state sprawl and making large codebases scalable by turning architecture rules into clear boundary guidance.

What is the best way to prevent cross-feature imports and coupling in React?

To prevent cross-feature coupling, apply dependency and boundary rules that block deep imports and shared-state sprawl. Reviewing your React folder structure helps identify architecture violations and provides concrete refactoring guidance to enforce strict module boundaries between features.

How do I refactor an existing React app to use feature-based architecture?

Refactoring to feature-based architecture requires analyzing your React project structure to identify valid feature units from repository directories. Request a folder structure review to get concrete refactoring guidance that corrects architecture violations and enforces proper module boundaries.

Does feature-based architecture work for state management and testing in React?

Feature-based architecture applies directly to React state management and testing by keeping related logic together within feature folders. This organization prevents shared-state sprawl and ensures testing logic remains colocated with the feature it validates.

Can I review my React folder structure for architecture violations without restructuring everything?

You can review your React folder structure to identify architecture violations and receive concrete refactoring guidance without a full rewrite. The analysis identifies valid feature-based units from existing repository directories and highlights where to correct module boundaries and naming conventions.