omh-backend
Fungsinya
Skill ini menyiapkan kontrak untuk perubahan server atau API, termasuk siapa yang boleh mengakses apa, bagaimana error ditangani, format respons, dan urutan perubahan skema. Ditujukan untuk pengembang yang merancang layanan backend.
Kapan dipakai
- ✓Saat Anda merancang fitur API atau server baru.
- ✓Saat Anda perlu merencanakan autentikasi dan penanganan error untuk sebuah layanan.
- ✓Saat Anda ingin skema database dan urutan migrasi direncanakan sebelum mulai menulis kode.
Link skill
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-backend/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Rancang REST API dengan skema Postgres dan migrasi untuk layanan penagihan kami sebelum kami mulai menulis kode.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent menuliskan kontrak API, aturan akses, jalur error, dan urutan migrasi untuk Anda tinjau. Implementasi dilakukan setelah rencana ini disepakati.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apakah ini menulis kode server?
Tidak. Skill ini menyiapkan kontrak terlebih dahulu; membangun kodenya adalah langkah terpisah.
Apakah ini untuk penyetelan performa database?
Tidak. Kecepatan query, indeks, dan kunci tabel dicakup oleh skill database relasional.
Apakah ini untuk tinjauan keamanan?
Tidak. Tinjauan postur keamanan ditangani oleh skill tinjauan keamanan yang terpisah.
Detail
Deskripsi asli dari pembuat
[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
Popularitas
- Bintang GitHub
- 5.1k
- Peringkat
- #15080
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
omh-accessibility-audit
5.1kMembantu agent Anda memeriksa layar atau alur untuk celah aksesibilitas, seperti penggunaan keyboard, label pembaca layar, kontras, dan ukuran area sentuh.
omh-adversarial-consensus
5.1kMembantu agent Anda menyerang sebuah proposal teknis dari beberapa sudut pandang independen sebelum Anda berkomitmen, lalu merangkum apa yang bertahan.
omh-agent-debug
5.1kMembantu agent Anda mencari tahu mengapa agent AI lain macet, berputar, atau melenceng, dan menyarankan cara pemulihan yang kecil dan aman.
omh-agent-instructions
5.1kMembantu agent Anda menulis atau memperbarui file instruksi, seperti AGENTS.md atau CLAUDE.md, yang memberi tahu alat AI cara bekerja dalam sebuah proyek.
Skill serupa
api-connector-builder
280kMembuat agent Anda membangun koneksi API baru mengikuti pola yang sudah ada. Gunakan saat ingin menambah integrasi lagi tanpa membuat cara baru.
api-design
280kMembantu agent Anda merancang REST API sesuai praktik terbaik. Berguna untuk mengatur cara API berkomunikasi, menampilkan error, dan mengorganisasi data.
backend-patterns
280kMembantu agent Anda dengan pola arsitektur sisi server dan optimasi database. Berguna untuk membangun atau meninjau kode yang berjalan di server.