agent-ops-project-sections
БесплатноБез исполняемых скриптовНе проверенIdentify and map different sections of a software project (API, frontend, database, CLI, domain). Use for context scoping and architecture documentation.
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
Project Section Identification Workflow
Purpose
Analyze a software project to identify and categorize its logical sections (backend API, frontend, database layer, CLI, domain logic, etc.). This enables:
- Context scoping: Focus agent work on specific project areas
- Architecture documentation: Generate structured overview
- Dependency analysis: Understand how sections relate
- Instruction optimization: Input for optimizing prompt/skill context
When to Use
- Starting work on an unfamiliar codebase
- Need to scope work to a specific layer (e.g., "just the API")
- Generating architecture documentation
- Preparing context for focused implementation
- Input for
agent-ops-context-mapor instruction optimization
Section Types
| Section Type | Description | Common Indicators |
|---|---|---|
api |
REST/GraphQL endpoints, route handlers | /api/, /routes/, controllers/, OpenAPI specs |
frontend |
UI components, pages, client-side code | /components/, /pages/, .tsx, .vue, .svelte |
backend |
Server-side logic, services | /services/, /handlers/, server entry points |
database |
Data access, migrations, models | /models/, /migrations/, /repositories/, ORM files |
cli |
Command-line interface | /cli/, __main__.py, bin/, Typer/Click/Commander |
domain |
Business logic, core entities | /domain/, /core/, /entities/, pure logic |
infrastructure |
Cloud, deployment, CI/CD | /infra/, /deploy/, terraform/, docker/ |
tests |
Test suites | /tests/, *.test.*, *.spec.* |
config |
Configuration files | /config/, .env*, *.config.*, settings.* |
docs |
Documentation | /docs/, *.md, OpenAPI, JSDoc |
scripts |
Build/utility scripts | /scripts/, Makefile, package.json scripts |
shared |
Shared utilities, types, constants | /shared/, /common/, /utils/, /types/ |
Procedure
Phase 1: Project Discovery
- Scan root directory for high-level structure
- Identify project type from indicators:
package.json→ Node.js/JavaScriptpyproject.toml/setup.py→ Python*.csproj/*.sln→ .NETgo.mod→ GoCargo.toml→ Rust
- Read existing documentation (README, constitution.md) for hints
- Check for monorepo patterns (workspaces, multiple packages)
Phase 2: Section Identification
For each top-level directory and key subdirectories:
- Analyze directory name against section type patterns
- Sample file contents (2-3 files per directory)
- Look for imports/dependencies that indicate purpose
- Classify into section type
Classification heuristics:
IF contains route definitions AND HTTP methods → api
IF contains React/Vue/Svelte components → frontend
IF contains ORM models OR SQL → database
IF contains CLI decorators (Typer/Click) → cli
IF contains pure business logic, no I/O → domain
IF contains test files → tests
Phase 3: Dependency Mapping
For each identified section:
- Trace imports to other sections
- Identify shared dependencies
- Build dependency graph
api → domain → database
↘ shared ↗
frontend → api (HTTP)
cli → domain
Phase 4: Generate Output
Produce structured output in two formats:
Format A: Summary Table
## Project Sections
| Section | Type | Root Path | Key Files | Dependencies |
|---------|------|-----------|-----------|--------------|
| API Routes | api | src/api/ | routes.py, handlers/ | domain, database |
| Web Frontend | frontend | web/ | App.tsx, components/ | api (HTTP) |
| Data Layer | database | src/models/ | user.py, migrations/ | — |
| CLI | cli | src/cli/ | __main__.py, commands/ | domain |
| Business Logic | domain | src/domain/ | entities/, services/ | shared |
| Utilities | shared | src/shared/ | utils.py, types.py | — |
Format B: Detailed Map
## Section: API Routes
**Type:** api
**Root:** src/api/
**Purpose:** REST API endpoints for issue management
### Key Files
- `routes.py` — Route definitions
- `handlers/issues.py` — Issue CRUD handlers
- `handlers/focus.py` — Focus endpoint
### Dependencies
- `domain` — Business logic for issue operations
- `database` — Data persistence
- `shared` — Common types and utilities
### Entry Points
- `app.py` — FastAPI application instance
### Notes
- Uses FastAPI framework
- OpenAPI spec auto-generated
Output Locations
| Output | Location | Purpose |
|---|---|---|
| Summary | Console / focus.md | Quick reference |
| Detailed map | .agent/sections.md |
Persistent reference |
| JSON export | .agent/sections.json |
Programmatic access |
Integration Points
| Skill | How It Uses Section Data |
|---|---|
| `agent |
Установить agent-ops-project-sections в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл agent-ops-project-sections?
Identify and map different sections of a software project (API, frontend, database, CLI, domain). Use for context scoping and architecture documentation.
Как установить скилл agent-ops-project-sections?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-ops-project-sections запускает скрипты?
Нет, скилл состоит только из инструкций (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