Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Feature-first frontend architecture

БесплатноБез исполняемых скриптовНе проверен

Explain feature-first frontend architecture. Define capability ownership, layers as needed, source dependencies, and cross-feature collaboration.

agenticweb4от agenticweb4213 установок в других каталогах

Об этом скилле

Feature-first frontend architecture

Based on Rémy Baudet’s Feature-First Clean Architecture.

A feature owns a business capability and the UI, models, and data access that change with it. Product list and detail screens can both belong to products. Changes to the capability stay within one module.

Shape and responsibilities

<source root>/
  app/
  features/<feature>/
    presentation/
    domain/
    data/
    application/
  shared/
  • presentation owns the UI, interactions, and UI state.
  • domain defines business models and rules. It owns repository contracts when the business needs external data.
  • data implements repository contracts and handles external data access and mapping.
  • application coordinates use cases that span multiple operations or capabilities.
  • app wires dependencies and manages routes. shared provides code independent of specific features.

Create folders as their responsibilities appear. A display-only feature can have just presentation. A headless feature can omit it. Entry points and routes follow framework conventions.

Dependency rules

Arrows show source dependencies. Apply each rule where the relevant layers exist.

presentation → domain
presentation → application → domain
data         → domain

Domain rules stay independent of UI frameworks and I/O implementations. The app injects implementations. Features collaborate through the owner's public contracts or use cases and keep dependencies acyclic. Features express navigation intent. The app router chooses the destination.

Related styles

Feature-first uses business capabilities as the primary boundary. Layer-first groups by technical role, and page-first by route or screen. Clean Architecture governs source dependencies. MVVM organizes presentation. Both can be used within a feature-first layout.

Установить Feature-first frontend architecture в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Feature-first frontend architecture?

Explain feature-first frontend architecture. Define capability ownership, layers as needed, source dependencies, and cross-feature collaboration.

Как установить скилл Feature-first frontend architecture?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Feature-first frontend architecture запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Feature-first frontend architecture с