project-architecture
БесплатноБез исполняемых скриптовНе проверенWhen you need to understand the directory structure, open-core model, or where to add new code.
Об этом скилле
Project Architecture & Monorepo Structure
1. High-Level Layout
| Path | Type | Purpose | Import Alias |
|---|---|---|---|
apps/nextblock |
Application | Primary Prod App (Admin + Public). | — |
apps/create-nextblock |
Application | CLI Scaffolder. | — |
libs/ui |
Library | Shared UI components. | @nextblock-cms/ui |
libs/utils |
Library | Core utilities. | @nextblock-cms/utils |
libs/db |
Library | Database layer (Supabase). | @nextblock-cms/db |
libs/editor |
Library | Tiptap editor package. | @nextblock-cms/editor |
libs/sdk |
Library | Public developer SDK surface. | @nextblock-cms/sdk |
libs/ecommerce |
Library | Premium E-Commerce. Source-available, license-gated. | @nextblock-cms/ecommerce |
2. Core Rules
Open-Core Model
- Core: The monorepo is Open Source (AGPL).
- Premium: Extensions like
libs/ecommerceare present but require a License Key to activate.
Code Placement Decisions
- New UI Component: Go to
libs/ui. - New Helper Function: Go to
libs/utils. - New Database Query: Go to
libs/db. - New Page/Route: Go to
apps/nextblock/app. - CLI Logic: Go to
apps/create-nextblock.
3. Dependency Graph Rules
libs/*can depend on otherlibs/*(e.g.,uidepends onutils).apps/*depend onlibs/*.- Crucial:
libs/uiMUST NOT depend onapps/nextblock. This creates a circular dependency and breaks the build.
4. Template Syncing
apps/create-nextblock/templates/nextblock-templateis generated code.- Do not edit it directly.
- Edit
apps/nextblockinstead, then runnpm run sync:create-nextblockto update the template.
5. Architectural Reference (NotebookLM)
For questions about the intent behind the architecture, monetization strategy, or future roadmap that aren't clear from the directory structure itself:
Use the NotebookLM MCP tool:
mcp_notebooklm_ask_question({ question: "Why did we choose this architecture?" })
This queries the "NextBlock CMS: Roadmap and Monetization Strategy" notebook for high-level vision context.
Установить project-architecture в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл project-architecture?
When you need to understand the directory structure, open-core model, or where to add new code.
Как установить скилл project-architecture?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл project-architecture запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic