Feature-first frontend architecture
БесплатноБез исполняемых скриптовНе проверенExplain feature-first frontend architecture. Define capability ownership, layers as needed, source dependencies, and cross-feature collaboration.
от 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/
presentationowns the UI, interactions, and UI state.domaindefines business models and rules. It owns repository contracts when the business needs external data.dataimplements repository contracts and handles external data access and mapping.applicationcoordinates use cases that span multiple operations or capabilities.appwires dependencies and manages routes.sharedprovides 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), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic