omh-backend
できること
サーバーやAPIの変更の契約を準備します。誰が何にアクセスできるか、エラーをどう扱うか、応答の形式、スキーマ変更の順序を含みます。バックエンドのサービスを設計する開発者が対象です。
使う場面
- ✓新しいAPIやサーバーの機能を設計しているとき。
- ✓サービスの認証とエラー処理を計画する必要があるとき。
- ✓コーディングの前に、データベースのスキーマと移行の順序を計画したいとき。
スキルのリンク
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-backend/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“当社の課金サービスのために、PostgresのスキーマとマイグレーションつきのREST APIを、コードを書く前に設計してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、APIの契約、アクセス規則、エラーの経路、移行の順序を書き、あなたが確認できるようにします。実装は、その計画に合意した後に行われます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Backend
This is an OMH backend workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
backend gives OMH a first-class server-side workflow so Hermes can prepare auth boundaries, error paths, response shapes, and migration order without becoming the hidden runtime that executes them.
Do Not Use When
- The work is the database itself -- a slow query and the index that fixes it, DDL that locks a live table, N+1 queries, or when to partition or shard; use
omh-relational-db, which owns the lock behaviour and rollback of each statement. - The request is about web UI, layout, or a design system; use
omh-frontend. - The request is a security posture or threat review rather than a service design; use
omh-security-safety-review. - The request is to run or judge the verification of an already-built service; use
omh-verification-gate. - The request is a Rust-language change whose risk is compiler, ownership, or
unsafediscipline; useomh-rust. - The work is a batch or streaming job's rerun, backfill, duplicate rows, or a warehouse table's downstream readers; use
omh-data-pipelines.
Examples
Good example:
- Prompt: Design a REST API with a Postgres schema and migrations for the billing service.
- Expected behavior: Prepare backend_service_contract/v1, auth_boundary_map/v1, error_path_table/v1, response_shape_contract/v1, and schema_migration_plan/v1, then hand off with the per-stack reference named.
- Why: The request is server-side design across an endpoint surface and its storage, before any code exists.
Bad example:
- Prompt: The migration is written, so mark the schema as migrated and the API as live.
- Expected behavior: Mark migration application, integration runs, and deployment as not_observed and name the smallest observed proof for each.
- Why: A prepared migration plan is not an applied migration, and a contract is not a running service.
Completion Checklist
- The surface, its callers, and each caller's trust level are named.
- The auth_boundary_map/v1 states where trust changes and which check enforces it on every path.
- The error_path_table/v1 covers each failure mode with status, body shape, retryability, and redaction rule.
- The response_shape_contract/v1 is consistent across endpoints rather than per-endpoint improvisation.
- Storage changes carry an expand/backfill/switch/contract order with a rollback point per step.
- A change to an existing contract carries its consumer list or an explicit
consumers_not_enumerable, plus the compatibility window, migration path, and sunset date. - The handoff names the executor, the stack, and the per-stack reference to load first.
- Implementation, migrations, integration runs, and deployment stay observed-only.
Recovery Notes
- If the stack or datastore is unknown, prepare the contract stack-neutral and name the stack as the one blocking input.
- If the auth model cannot be established, stop at the auth boundary gap instead of designing endpoints that assume a trust level.
When to Use
Use when Hermes should shape a server, API, or data-layer change before implementation: authentication boundary, contract error paths, response consistency, schema and migration discipline, and the per-stack reference the executor loads first.
Strong routing signals: `backend`, `back-end`, `back end`, `backend skill`, `server side`, `server-side`, `api design`, `api contract`, `rest api`, `graphql api`, `grpc service`, `endpoint design`, `auth boundary`, `authentication flow`, `authorization rules`, `idempotency key`, `pagination contract`, `database schema`, `postgres schema`, `schema migration`, `db migration`, `orm mapping`, `connection pool`, `message queue`, `webhook handler`, `openapi`, `openapi spec`, `deprecate endpoint`, `deprecate this endpoint`, `deprecation window`, `sunset date`, `sunset schedule`, `api versioning`, `breaking api change`, `バックエンド`, `エンドポイント設計`, `認証フロー`, `スキーマ移行`, `백엔드`, `서버 개발`, `서버 api`, `api 설계`, `인증 흐름`, `권한 체크`, `디비 스키마`, `db 스키마`, `스키마 마이그레이션`, `엔드포인트 설계`, `后端`, `後端`, `接口设计`, `认证流程`, `数据库迁移`, `rancang API backend`, `buat kontrak endpoint`, `desain layanan sisi server`, `bantu rancang alur autentikasi backend`, `tentukan format respons API`, `susun penanganan error di backend`, `thiết kế API backend`, `quy định contract của endpoint`, `thiết kế dịch vụ phía máy chủ`, `giúp thiết kế luồng xác thực backend`, `xác định định dạng phản hồi
よくある質問
サーバーのコードも書きますか?
まず契約を準備します。コードの構築は別の工程です。
データベースの性能チューニングのためのものですか?
いいえ。クエリの速度、インデックス、テーブルのロックは、リレーショナルデータベースのスキルで扱われます。
セキュリティレビューにも使えますか?
いいえ。セキュリティの態勢のレビューは、別の安全性レビューのスキルで扱われます。
詳細
作者による元の説明
[omh] Designing an API, server, or data-layer change: prepare server, API, and data-layer contracts — auth boundary, error paths, response shape, and schema/migration discipline — before implementation. Use when the user says: backend, back-end, back end, backend skill, server side, server-side, api design, api contract.
repo: rlaope/oh-my-hermes
人気
- GitHubのスター
- 5.1k
- ランキング
- #15080
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
omh-accessibility-audit
5.1kエージェントが、画面やフローのアクセシビリティ上の不足(キーボードでの操作、スクリーンリーダーのラベル、コントラスト、タッチの対象の大きさなど)を確認できるよう支援します。
omh-adversarial-consensus
5.1kエージェントが、技術的な提案を、いくつかの独立した視点から攻撃して、それに踏み切る前に検証し、生き残った点を要約できるよう支援します。
omh-agent-debug
5.1kエージェントが、ほかのAIエージェントがなぜ止まっているか、ループしているか、方向を外れているかを突き止め、最も小さく安全な回復方法を提案できるよう支援します。
omh-agent-instructions
5.1kエージェントが、AIツールにプロジェクトでの作業方法を伝える指示ファイル(AGENTS.mdやCLAUDE.mdなど)を書いたり更新したりできるよう支援します。
似ているスキル
api-connector-builder
280kエージェントが既存のパターンに従って、新しいAPI連携を構築します。新しい方式を作らずに、もう一つ連携を追加したいときに使います。
api-design
280kエージェントがベストプラクティスに沿ってREST APIを設計できるようにします。APIの通信方法、エラーの表示方法、データの整理方法を決めるのに役立ちます。
backend-patterns
280kエージェントのサーバーサイドのアーキテクチャパターンとデータベースの最適化を支援します。サーバー上で動くコードを作成またはレビューするときに役立ちます。