xiaohongshu
xiaohongshu
feature-arch
React feature-based architecture guidelines for scalable applications (formerly feature-architecture). This skill should be used when writing, reviewing, or refactoring React code to ensure proper feature organization. Triggers on tasks involving project structure, feature organization, module bo...
Full skill instructions
Comprehensive architecture guide for organizing React applications by features, enabling scalable development with independent teams. Contains 42 rules across 8 categories, prioritized by impact from critical (directory structure, imports) to incremental (naming conventions).
Reference these guidelines when:
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Directory Structure | CRITICAL | struct- |
| 2 | Import & Dependencies | CRITICAL | import- |
| 3 | Module Boundaries | HIGH | bound- |
| 4 | Data Fetching | HIGH | fquery- |
| 5 | Component Organization | MEDIUM-HIGH | fcomp- |
| 6 | State Management | MEDIUM | fstate- |
| 7 | Testing Strategy | MEDIUM | test- |
| 8 | Naming Conventions | LOW | name- |
struct-feature-folders - Organize by feature, not technical typestruct-feature-self-contained - Make features self-containedstruct-shared-layer - Use shared layer for truly generic code onlystruct-flat-hierarchy - Keep directory hierarchy flatstruct-optional-segments - Include only necessary segmentsstruct-app-layer - Separate app layer from featuresimport-unidirectional-flow - Enforce unidirectional import flowimport-no-cross-feature - Prohibit cross-feature importsimport-public-api - Export through public API onlyimport-avoid-barrel-files - Avoid deep barrel file re-exportsimport-path-aliases - Use consistent path aliasesimport-type-only - Use type-only imports for typesbound-feature-isolation - Enforce feature isolationbound-interface-contracts - Define explicit interface contractsbound-feature-scoped-routing - Scope routing to feature concernsbound-minimize-shared-state - Minimize shared state between featuresbound-event-based-communication - Use events for cross-feature communicationbound-feature-size - Keep features appropriately sizedfquery-single-responsibility - Keep query functions single-purposefquery-colocate-with-feature - Colocate data fetching with featuresfquery-parallel-fetching - Fetch independent data in parallelfquery-avoid-n-plus-one - Avoid N+1 query patternsfquery-feature-scoped-keys - Use feature-scoped query keysfquery-server-component-fetching - Fetch at server component levelfcomp-single-responsibility - Apply single responsibility to componentsfcomp-composition-over-props - Prefer composition over prop drillingfcomp-container-presentational - Separate container and presentational concernsfcomp-props-as-data-boundary - Use props as feature boundariesfcomp-colocate-styles - Colocate styles with componentsfcomp-error-boundaries - Use feature-level error boundariesfstate-feature-scoped-stores - Scope state stores to featuresfstate-server-state-separation - Separate server state from client statefstate-lift-minimally - Lift state only as high as necessaryfstate-context-sparingly - Use context sparingly for feature statefstate-reset-on-unmount - Reset feature state on unmounttest-colocate-with-feature - Colocate tests with featurestest-feature-isolation - Test features in isolationtest-shared-utilities - Create feature-specific test utilitiestest-integration-at-app-layer - Write integration tests at app layername-feature-naming - Use domain-driven feature namesname-file-conventions - Use consistent file naming conventionsname-descriptive-exports - Use descriptive export namesRead individual reference files for detailed explanations and code examples:
references/{prefix}-{slug}.mdfeature-spec skilltanstack-query skillreact-19 skillFor the complete guide with all rules expanded: AGENTS.md
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience