EEF / rules
Cursor rule21 starsChanged 2 months agoMITView on GitHub
Authoring server-side code between the API contract and the datastore — layering and ports/adapters boundaries, error taxonomy and resilience (typed errors, Result style, retry with backoff, circuit breakers), background jobs and queues, structured logging emission, and adding a new integration that matches the repo's existing connector pattern. The backend counterpart to frontend-engineering-edho-ferdian. Framework guides: NestJS and Ruby on Rails (service/form/query objects, Hotwire, Rails 8 Solid stack). Trigger phrases: \"struktur service layer\", \"error handling di backend\", \"retry/circuit breaker\", \"background job / queue\", \"tambah integrasi baru\", \"bikin app Rails\", \"Rails service object\".
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,533 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository115 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/api-design-edho-ferdian.mdcCursor rule
- .cursor/rules/billing-ops-edho-ferdian.mdcCursor rule
- .cursor/rules/build-fix-edho-ferdian.mdcCursor rule
- .cursor/rules/click-path-audit-edho-ferdian.mdcCursor rule
- .cursor/rules/code-quality-tooling-edho-ferdian.mdcCursor rule
- .cursor/rules/code-review-edho-ferdian.mdcCursor rule
- .cursor/rules/code-simplification-edho-ferdian.mdcCursor rule
- .cursor/rules/communications-triage-edho-ferdian.mdcCursor rule
- .cursor/rules/config-hygiene-edho-ferdian.mdcCursor rule
- .cursor/rules/container-ops-edho-ferdian.mdcCursor rule
- .cursor/rules/counterparty-comms-edho-ferdian.mdcCursor rule
- .cursor/rules/data-layer-patterns-edho-ferdian.mdcCursor rule
- .cursor/rules/dead-code-cleanup-edho-ferdian.mdcCursor rule
- .cursor/rules/deployment-ops-edho-ferdian.mdcCursor rule
- .cursor/rules/desktop-e2e-edho-ferdian.mdcCursor rule
- .cursor/rules/dev-kickoff-edho-ferdian.mdcCursor rule
- .cursor/rules/docs-sync-edho-ferdian.mdcCursor rule
- .cursor/rules/e2e-testing-edho-ferdian.mdcCursor rule
- .cursor/rules/frontend-engineering-edho-ferdian.mdcCursor rule
- .cursor/rules/gan-harness-edho-ferdian.mdcCursor rule
- .cursor/rules/git-and-release-ops-edho-ferdian.mdcCursor rule
- .cursor/rules/language-code-review-edho-ferdian.mdcCursor rule
- .cursor/rules/legal-ops-edho-ferdian.mdcCursor rule
- .cursor/rules/marketing-edho-ferdian.mdcCursor rule
- .cursor/rules/networking-ops-edho-ferdian.mdcCursor rule
- .cursor/rules/opensource-release-edho-ferdian.mdcCursor rule
- .cursor/rules/performance-audit-edho-ferdian.mdcCursor rule
- .cursor/rules/research-ops-edho-ferdian.mdcCursor rule
- .cursor/rules/safe-execution-edho-ferdian.mdcCursor rule
- .cursor/rules/security-review-edho-ferdian.mdcCursor rule
- .cursor/rules/seo-audit-edho-ferdian.mdcCursor rule
- .cursor/rules/skill-audit-edho-ferdian.mdcCursor rule
- .cursor/rules/skill-authoring-edho-ferdian.mdcCursor rule
- .cursor/rules/spec-mining-edho-ferdian.mdcCursor rule
- .cursor/rules/system-design-edho-ferdian.mdcCursor rule
- .cursor/rules/test-authoring-edho-ferdian.mdcCursor rule
- .cursor/rules/video-style-edho-ferdian.mdcCursor rule
- api-design-edho-ferdianSkill
- backend-engineering-edho-ferdianSkill
- billing-ops-edho-ferdianSkill
- build-fix-edho-ferdianSkill
- click-path-audit-edho-ferdianSkill
- code-quality-tooling-edho-ferdianSkill
- code-review-edho-ferdianSkill
- code-simplification-edho-ferdianSkill
- communications-triage-edho-ferdianSkill
- config-hygiene-edho-ferdianSkill
- container-ops-edho-ferdianSkill
- counterparty-comms-edho-ferdianSkill
- data-layer-patterns-edho-ferdianSkill
- dead-code-cleanup-edho-ferdianSkill
- deployment-ops-edho-ferdianSkill
- desktop-e2e-edho-ferdianSkill
- dev-kickoff-edho-ferdianSkill
- docs-sync-edho-ferdianSkill
- e2e-testing-edho-ferdianSkill
- frontend-engineering-edho-ferdianSkill
- gan-harness-edho-ferdianSkill
- The first 60 shown.
The file
We split this backend-engineering-edho-ferdian.mdc into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 60
Before using a fast-moving or rarely-touched framework/queue/ORM API surface (new integration, version upgrade, NestJS/BullMQ/pg-boss …
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule 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.
Files
--- description: "Authoring server-side code between the API contract and the datastore — layering and ports/adapters boundaries, error taxonomy and resilience (typed errors, Result style, retry with backoff, circuit breakers), background jobs and queues, structured logging emission, and adding a new integration that matches the repo's existing connector pattern. The backend counterpart to frontend-engineering-edho-ferdian. Framework guides: NestJS and Ruby on Rails (service/form/query objects, Hotwire, Rails 8 Solid stack). Trigger phrases: \"struktur service layer\", \"error handling di backend\", \"retry/circuit breaker\", \"background job / queue\", \"tambah integrasi baru\", \"bikin app Rails\", \"Rails service object\"." globs: alwaysApply: false --- # Backend Engineering — Edho Ferdian Mode ## Where this sits - `api-design-edho-ferdian` decides the **contract** at the boundary. - `data-layer-patterns-edho-ferdian` decides the **storage** behind it. - This skill is the **middle**: how the code between them is layered, how it fails, and how it defers work. - `code-review-edho-ferdian` reviews the result — in particular `silent-failure-lens.md`, which is the review-side mirror of `references/error-and-resilience.md` here. Cross-reference, never restate. ## References - `references/error-and-resilience.md` - `references/llm-pipelines.md` — regex-first parsing with confidence-scoring as the LLM gate, plus cost-aware model routing, budget tracking, retry policy, and prompt caching for pipelines that call an LLM API. - `references/scheduled-collection.md` — unattended collect/enrich/store pipelines (scrapers, feed pollers, report builders): source selection, per-source failure isolation, LLM-enrichment batching and fallback, prompt-injection rules for untrusted scraped content, idempotent upsert, and cron/alerting operations. Covers the background-job concerns (idempotency, dead-letter-style backfill, run scheduling) for this class of job — see the note below for what it does not cover. - `references/nestjs.md` — NestJS project structure (`common/`, `config/`, `modules/<fitur>/` with module-local DTOs), canonical bootstrap (global `ValidationPipe`, `ClassSerializerInterceptor`, `HttpExceptionFilter`), env validation at boot, repository/transaction placement, and background jobs/event consumers in their own modules. Not speculative — this is the framework behind `ghostfolio`, a real project in Edho's stack. - `references/rails.md` — Rails 7.1+/8.x authoring: directory contract, when to extract a service/form/query object or ViewComponent, service result objects and transactions, ActiveRecord discipline (eager loading, callbacks, no `default_scope`), idempotent jobs, Hotwire, and the Rails 8 Solid stack. Review and build-failure lenses for Ruby live in `language-code-review-edho-ferdian` and `build-fix-edho-ferdian`. - `references/layering-and-boundaries.md` — ports & adapters (hexagonal architecture) with a framework-agnostic dependency-direction diagram, the repository-vs-service layer split with a misplaced-concern test, the composition root (NestJS DI and hand-wired bootstrap variants), a six-step migration playbook for entangled/legacy code, and a checklist for adding a new integration cleanly through the same port/adapter seam. - `references/jobs-and-queues.md` — generic queue-backend reference, distinct from `references/scheduled-collection.md` (which covers the scheduled-collection job shape specifically): backend choice (BullMQ vs SQS vs Postgres-based pg-boss/graphile-worker), worker-pool concurrency sizing, retry/backoff classification, dead-letter queues generically, job idempotency keys, and queue observability. ## External docs (fixed — see skill-authoring-edho-ferdian's canonical contract) Before using a fast-moving or rarely-touched framework/queue/ORM API surface (new integration, version upgrade, NestJS/BullMQ/pg-boss specifics), resolve it live via Context7 rather than from memory. Full contract: `skill-authoring-edho-ferdian` §9. ## Surgical changes (fixed — see skill-authoring-edho-ferdian's canonical contract) This skill inherits the default as-is: when extending or fixing an existing service, error path, or job, change only what the task requires — don't relayer or restructure adjacent, already-working code as a side effect. Full contract: `skill-authoring-edho-ferdian` §10. ## Language routing (fixed — see skill-authoring-edho-ferdian's canonical contract) Communication to the user in Bahasa Indonesia; code, comments, and any generated files in English — fixed, never ask. Full contract: `skill-authoring-edho-ferdian` §7.
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
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.

