feature-structure
БесплатноБез исполняемых скриптовНе проверенArchitecture patterns for organizing feature modules in the codebase. Use when creating new files, brand new features or pages.
от antoncoding★ 22 звезды на GitHubОб этом скилле
Tech Stack
React 18 · Next.js 15 · TypeScript · Wagmi · TanStack Query · Biome
Feature Structure
src/features/{feature-name}/
├── {feature-name}-view.tsx # Main orchestrator
├── components/ # Feature-specific components
│ ├── filters/
│ ├── table/
│ └── {component}.tsx
├── hooks/ # Feature-specific hooks (optional)
└── utils/ # Feature-specific utilities (optional)
Architecture
Project Structure
/app # Next.js App Router pages
/markets # Market listing
/market/[chainId]/[marketId] # Market detail
/positions/[account] # User positions
/autovault # Vault listing + detail
/rewards # Rewards dashboard
/history/[account] # Transaction history
/settings # User settings
/admin/stats # Admin stats
/src
/data-sources # Data fetching layer
/morpho-api/ # Morpho API fetchers (14 files)
/subgraph/ # Subgraph fallback fetchers
/hooks # 53 custom hooks
/queries/ # React Query hooks (13+)
/stores # Zustand stores (16 total)
/features # Feature modules (markets, positions, autovault, swap, rewards)
/constants # Static data (oracle cache, chain configs)
/utils # Utilities (types, networks, RPC, etc.)
File Naming
- Stores:
src/stores/use{Feature}{State}.ts - Queries:
src/hooks/queries/use{Entity}Query.ts - Derived hooks:
src/hooks/use{Processed|Filtered}{Entity}.ts - Features:
src/features/{name}/{name}-view.tsx
Установить feature-structure в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл feature-structure?
Architecture patterns for organizing feature modules in the codebase. Use when creating new files, brand new features or pages.
Как установить скилл feature-structure?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл feature-structure запускает скрипты?
Нет, скилл состоит только из инструкций (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