agentleFS
rlaoperlaope/oh-my-hermes/skills/omh-backend/SKILL.md

omh-backend

Skill3.1k starsChanged 3 months agoMITView on GitHub

[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.

Trending

Quiet since October.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 6 mentionsAug 2026: 3 mentionsSep 2026: 6 mentionsOct 2026: 1 mentionNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the rlaope/oh-my-hermes repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about rlaope/oh-my-hermes

The biggest 5 of 16 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 16

Talked about on GitHub and Bluesky (16 times).

On GitHub · 15

10 more on GitHub

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 11 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the stack or datastore is unknown, prepare the contract stack-neutral and name the stack as the one blocking input.

    line 57
  2. Distinctive:

    If the auth model cannot be established, stop at the auth boundary gap instead of designing endpoints that assume a trust level.

    line 58
  3. Very specific:

    If intent belongs to another lane, hand back to oh-my-hermes or name the adjacent workflow.

    line 63
  4. Distinctive:

    Use when Hermes should shape a server, API, or data-layer change before implementation: authentication boundary, contract error paths, …

    line 68
  5. Very specific:

    When the change touches storage, load references/schema-migration.md and order the migration as expand, backfill, switch, contract, with …

    line 84
  6. Distinctive:

    Keep implementation, migration application, integration runs, load testing, and deployment as observed-only evidence.

    line 88
  7. Distinctive:

    Keep the service contract, auth boundary, error-path table, and migration plan in Hermes.

    line 92
  8. Distinctive:

    Do not claim implementation, a running service, an applied migration, a passing integration suite, or a deployment from a prepared backend …

    line 127
  9. Distinctive:

    Treat a destructive or non-reversible migration step as a blocker until an explicit rollback point and backfill order exist.

    line 130
  10. Distinctive:

    Never place secrets, tokens, or connection strings in the contract, examples, or handoff text.

    line 132
  11. Distinctive:

    Do not call databases, HTTP services, LLM, or network endpoints from OMH core.

    line 133
  12. Distinctive:

    Treat wrapper memory/context summaries as advisory local context, not proof of opaque Hermes memory reads or changes.

    line 145
  13. Distinctive:

    Use Hermes-native subagent/delegation features when available: native subagents -> Hermes delegation when available, otherwise sequential …

    line 149

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Backend

This is a Hermes-native backend workflow skill.

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 relational-db, which owns the lock behaviour and rollback of each statement.
  • The request is about web UI, layout, or a design system; use frontend.
  • The request is a security posture or threat review rather than a service design; use security-safety-review.
  • The request is to run or judge the verification of an already-built service; use verification-gate.
  • The request is a Rust-language change whose risk is compiler, ownership, or unsafe discipline; use rust.
  • The work is a batch or streaming job's rerun, backfill, duplicate rows, or a warehouse table's downstream readers; use 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.

Workflow Lane

  • Current lane: Coding handoff (idea-to-deploy, llm-app-dev, cto-loop, deploy-and-monitor, code-review, build-failure-triage, verification-gate, security-safety-review, +28 more) - coding owners, handoffs, review, CI, and merge evidence.
  • If intent belongs to another lane, hand back to oh-my-hermes or name the adjacent workflow.
  • Shared product, routing, compatibility, and evidence rules: omh-routing/references/skill-common-rail.md.

Use When

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 스키마`, `스키마 마이그레이션`, `엔드포인트 설계`, `后端`, `後端`, `接口设计`, `认证流程`, `数据库迁移`

Catalog Metadata

Category: planning Phase: backend-design Hermes role: planner Quality tier: backend-contract-gated Reasoning demand: standard

Quality bar:

  • Name the surface, its callers, and their trust level before any endpoint or table is designed.
  • Load references/service-contract.md and fill the auth boundary, error-path table, and response-shape rules from it rather than improvising a per-endpoint shape.
  • When the change touches storage, load references/schema-migration.md and order the migration as expand, backfill, switch, contract, with the rollback point named per step.
  • Hold the api product-family expectations — authentication boundary, contract error paths, response consistency — as the standing bar for every prepared endpoint.
  • When an existing contract changes, name who consumes it before designing the change: each identified consumer with what breaks for it, then the compatibility window, migration path, and sunset date — the skill that owns a surface owns its evolution. Load references/consumer-impact.md for the enumeration sources and the window rules.
  • Name the per-stack reference the executor must read first; the stack is a routing input, not a detail discovered mid-implementation.
  • Keep implementation, migration application, integration runs, load testing, and deployment as observed-only evidence.

Handoff policy:

Keep the service contract, auth boundary, error-path table, and migration plan in Hermes. Record code changes, running servers, applied migrations, integration runs, and load results only from executor or wrapper observed evidence.

Required inputs:

  • the service, endpoint, or data surface being changed
  • callers and their trust level (public, partner, internal, machine)
  • language, framework, and datastore when known
  • authentication and authorization model in force
  • existing schema and migration tooling
  • backward-compatibility and rollout constraints
  • observed integration or load evidence for completion claims

Expected outputs:

  • backend_service_contract/v1
  • auth_boundary_map/v1
  • error_path_table/v1
  • response_shape_contract/v1
  • schema_migration_plan/v1 when the change touches storage
  • consumer_impact_and_sunset/v1 when an existing contract changes
  • backend_implementation_handoff/v1
  • observed_integration_evidence/v1 when observed

Artifact expectations:

  • backend_service_contract/v1 names each endpoint or job, its caller class, request and response shapes, and its idempotency and pagination rules
  • auth_boundary_map/v1 states where an untrusted caller becomes a trusted one, and which check runs on each path
  • error_path_table/v1 pairs every failure mode with its status/code, body shape, retryability, and log/redaction rule
  • response_shape_contract/v1 keeps success and error envelopes consistent across the surface instead of per-endpoint improvisation
  • schema_migration_plan/v1 orders expand, backfill, switch, and contract steps with the rollback point for each
  • consumer_impact_and_sunset/v1 lists each identified consumer with what breaks for it, then the compatibility window, the migration path, and the sunset date; a consumer set that could not be enumerated is reported as consumers_not_enumerable with the reason, never as zero breakage
  • integration runs, applied migrations, load numbers, and deployment only when observed

Safety rules:

  • Do not claim implementation, a running service, an applied migration, a passing integration suite, or a deployment from a prepared backend contract.
  • Require the auth boundary before endpoint work: an endpoint whose caller trust level is unnamed is not ready for handoff.
  • Require the error-path table before the happy path is called complete; an unlisted failure mode is a gap, not a default.
  • Treat a destructive or non-reversible migration step as a blocker until an explicit rollback point and backfill order exist.
  • Report an unenumerable consumer set as consumers_not_enumerable with what was searched; consumers outside the repository are unknowable from it, and an empty list is a claim that nothing breaks.
  • Never place secrets, tokens, or connection strings in the contract, examples, or handoff text.
  • Do not call databases, HTTP services, LLM, or network endpoints from OMH core.

Runtime Evidence

Preferred harness for this skill: coding-handling.

omh runtime record --skill backend --harness coding-handling --status started

Record observed delegation results; otherwise return not_available or not_observed. Prepared OMH routing is not execution, review, CI, merge-readiness, or merge evidence.

  • Treat wrapper memory/context summaries as advisory local context, not proof of opaque Hermes memory reads or changes. Preserve workflow intent and stop conditions; verify before claiming completion. Reply in the user's own words and the host's own voice: its SOUL.md persona owns reply language, tone, speech level, and sentence endings, progress updates included (where it sets no language, use the one the user wrote in), and OMH shapes structure and content only; OMH's record terms (surface, lane, wrapper, handoff, evidence boundary, not_observed) stay in records and tool calls, never in the sentence the user reads unless they ask about one; and when a stop condition or a decision the user owns ends the turn, offer the next action as a question rather than declaring what will not be done.

Use Hermes-native subagent/delegation features when available: native subagents -> Hermes delegation when available, otherwise sequential lanes.

Shared product, compatibility, topology, memory, harness, and execution rules: omh-routing/references/skill-common-rail.md. Load it when applicable; otherwise name an unavailable capability.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.