backend-engineering-edho-ferdian
Write server-side code well: service layering and ports/adapters, typed errors, retry with backoff and circuit breakers, background jobs and queues, structured logging, new integrations; NestJS and Rails guides. Use for "struktur service layer", "error handling di backend", "retry/circuit breaker", "background job / queue", "tambah integrasi baru", "bikin app Rails".
- License 许可
- MIT
- 所属仓库
- edhoferdian/EEF
- 最近更新
- 2026-10-30
- Stars
- ★ 22
- Forks
- 0
01 前言 Front Matter
- name
- backend-engineering-edho-ferdian
- metadata
- { "last_reviewed": "2026-09-24" }
- description
- Write server-side code well: service layering and ports/adapters, typed errors, retry with backoff and circuit breakers, background jobs and queues, structured logging, new integrations; NestJS and Rails guides. Use for "struktur service layer", "error handling di backend", "retry/circuit breaker", "background job / queue", "tambah integrasi baru", "bikin app Rails".
02 资源文件 7
- 参考文档references/error-and-resilience.md3.4 KB
- 参考文档references/jobs-and-queues.md12.5 KB
- 参考文档references/layering-and-boundaries.md12.6 KB
- 参考文档references/llm-pipelines.md8.1 KB
- 参考文档references/nestjs.md7.0 KB
- 参考文档references/rails.md8.0 KB
- 参考文档references/scheduled-collection.md9.4 KB
03 SKILL.md 正文
Backend Engineering — Edho Ferdian Mode
Where this sits
api-design-edho-ferdiandecides the contract at the boundary.data-layer-patterns-edho-ferdiandecides 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-ferdianreviews the result — in particularsilent-failure-lens.md, which is the review-side mirror ofreferences/error-and-resilience.mdhere. 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 (globalValidationPipe,ClassSerializerInterceptor,HttpExceptionFilter), env validation at boot, repository/transaction placement, and background jobs/event consumers in their own modules. Not speculative — this is the framework behindghostfolio, 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, nodefault_scope), idempotent jobs, Hotwire, and the Rails 8 Solid stack. Review and build-failure lenses for Ruby live inlanguage-code-review-edho-ferdianandbuild-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 fromreferences/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.
04 同仓库更多 Skills
video-style-edho-ferdian
Measure a reference video's look and pacing (colour grade as a 3D LUT, cut rhythm, overlays) and reproduce it: grade, cut and composite new footage, verify numerically, hand off an NLE timeline. Use for "tiru look video ini", "samakan grading", "bikin video dengan gaya referensi", "LUT dari referensi", "cut rhythm".
test-authoring-edho-ferdian
Write unit and component tests well: React Testing Library, pytest, Go and Vue, plus regression-test patterns. Use for "tulis test untuk component ini", "bagaimana test hook ini", "test yang bagus untuk fitur X", "tulis test pytest/Go/Vue", or dev-kickoff's TEST stage.
system-design-edho-ferdian
Mid-project architecture decisions: ADRs, trade-off analysis, non-functional requirements, scaling tiers and blast radius. Use for "desain arsitektur", "keputusan teknis besar", "bikin ADR", "trade-off antara X dan Y", "microservices atau monolith", "apa yang rusak kalau X diubah", or a capacity question.
spec-mining-edho-ferdian
Extract behavioural specs from a codebase with none: WHEN/THEN requirements and invariants, each anchored to the code that enforces it, unclear behaviour recorded as uncertainty. Use for "ekstrak spec", "buat spec dari kode", "reverse-engineer the spec", "repo ini tidak ada dokumentasi", or a missing BEHAVIOR_SPEC in dev-kickoff.
skill-authoring-edho-ferdian
Create and govern this ecosystem's skills: search before building, a quality bar, compliance checks, promoting repeated principles to rules, and packaging dist/*.skill. Use for "bikin skill baru", "ada skill buat X gak", "fork skill ini", "skill gue kepake gak sih", "package skill ini", "buatkan .skill-nya".
skill-audit-edho-ferdian
Audit this repo's skills/ for staleness, redundancy, broken cross-references and weak descriptions (not the ~/.claude setup: that is config-hygiene). Use for "audit skill saya", "cek skill yang sudah dibuat", "ada yang redundan gak", "skill mana yang basi".