Command Palette

Search for a command to run...

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

oma-backend

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

Implement server APIs, authentication, and application data access. Schema modeling and query tuning use oma-db.

first-flukeот first-fluke★ 228 звёзд на GitHub

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

Backend Agent - API & Server Specialist

Scheduling

Goal

Implement or review backend APIs, authentication, database integration, server-side business logic, and migrations using the project's existing backend stack and clean architecture boundaries.

Intent signature

  • User asks for API, endpoint, REST, GraphQL, auth, server, migration, repository, service, router, or background job work.
  • User needs backend code that coordinates validation, business logic, persistence, transactions, and backing services.

When to use

  • Building REST APIs or GraphQL endpoints
  • Data access code and migrations that an API change needs
  • Authentication and authorization
  • Server-side business logic
  • Background jobs and queues

When NOT to use

  • Frontend UI -> use Frontend Agent
  • Mobile-specific code -> use Mobile Agent
  • Schema modeling, index design, and query tuning -> use oma-db

Expected inputs

  • Target feature, endpoint, migration, auth flow, or server behavior
  • Existing backend stack files such as manifests, routes, services, models, and database config
  • API contracts, schemas, validation rules, and persistence requirements
  • Required verification commands or project conventions

Expected outputs

  • Backend code changes in router, service, repository, model, migration, or test files
  • Validated inputs, safe queries, transaction boundaries, and error handling
  • Verification status: which checks ran, and what was not verified

Dependencies

  • Project stack manifests and existing backend conventions
  • resources/execution-protocol.md, resources/checklist.md, and resources/orm-reference.md
  • Optional stack reference (stack/, or the matching variants/<language>/): stack.yaml, tech-stack.md, snippets, and API templates
  • The project's own toolchain: ORM or database client, and its test, lint, typecheck, and migration commands
  • Database, queue, cache, mail, auth, or external API resources configured through environment or secret managers

Structural Flow

Transitions

  • If stack files exist, follow them before generic guidance.
  • If ORM performance, relationship loading, transactions, or N+1 risk appears, use resources/orm-reference.md.
  • If database schema impact is primary and API work is secondary, coordinate with oma-db.
  • If auth server setup touches DB adapters or server libraries, keep it in backend scope.

Failure and recovery

  • If stack cannot be determined, ask the user or suggest running /stack-set.
  • If a required check fails, fix the root cause before handoff.
  • If required secrets or services are unavailable, document the blocker and keep code configurable.

Exit

  • Success: backend change is implemented, covered by tests, and aligned with local architecture.
  • Partial success: blocker, missing dependency, or verification gap is explicit.

Logical Operations

Canonical workflow path

  1. Detect the stack (see Stack Detection) and identify the affected router, service, repository, model, migration, and test boundaries.
  2. Locate files and inspect symbols or content with the configured code-intelligence provider. For Serena, call serena_repl with the session ID from initial_instructions. Use s.fs for path and text queries and s.lsp for symbols. Native search is limited to the provider exclusions and non-code paths permitted by the project's search policy.
  3. Read the existing routes, services, repositories, models, schemas, and config. Load a stack-specific reference only when the task needs it.
  4. Implement the change with validation, business logic, persistence, and tests, following the Core Rules.
  1. Select the project's verification commands (lint, typecheck, tests, and migrations when schema changes are involved), preferring the verify: commands in stack/stack.yaml when present. Run them only when the user or the active workflow requires it; otherwise report what was not verified.
  1. Review the applicable checklist items and report the changed behavior, the verification status, and unresolved risks.

Resource scope and effects

Reads and edits backend source, tests, schemas, and migrations. A change may alter the database schema, API or auth behavior, or a service contract, and may require regenerated clients or migration artifacts. Credentials (DB URLs, API keys, secrets) stay in the environment or a secret manager; external APIs and backing services are called only when the task requires them.

Guardrails

Apply framework, library, architecture, and data-model defaults only when the target project has no established choice. Scoped edits do not authorize a stack migration or unrelated infrastructure.

Architecture Pattern

Router (HTTP) → Service (Business Logic) → Repository (Data Access) → Models
  • Router: receives HTTP requests, validates input, calls the Service (injected throu
Полный SKILL.md на GitHub

Установить oma-backend в Claude Code и Claude Desktop

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

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

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

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

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

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

Вложенные файлы

resources/checklist.mdresources/error-playbook.mdresources/examples.mdresources/execution-protocol.mdresources/orm-reference.mdresources/stack-generation.md

FAQ

Что делает скилл oma-backend?

Implement server APIs, authentication, and application data access. Schema modeling and query tuning use oma-db.

Как установить скилл oma-backend?

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

Скилл oma-backend запускает скрипты?

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

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

Сравнить oma-backend с