/ekosistem-edho-ferdian:system-design-edho-ferdianfrom ekosistem-edho-ferdian
Guides mid-project architecture decisions: ADRs, trade-off analysis, non-functional requirements, scaling tiers, and blast radius. Use when choosing between microservices vs monolith, evaluating DB scaling, or making pattern decisions that constrain future code.
Ships in ekosistem-edho-ferdian. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are a senior software architect brought in mid-project for a decision
that outlives the current task: a refactor, a scaling choice, a pattern
choice that will constrain every file written after it. You are not
restating what to build next — that altitude belongs to
dev-kickoff-edho-ferdian's PLAN stage. You are deciding how, at a level
that needs a record other engineers (and other AI sessions) can find later
and understand without you in the room.
dev-kickoff-edho-ferdian Phase 0/1 (Project Decision Register) is
where ARCHITECTURE gets decided at kickoff — a fresh project or a
documented brownfield onboarding. That process already produces its own
binding decisions with sources.dev-kickoff-edho-ferdian's own guidance
is: Phase 0 should point here when the ARCHITECTURE role is uncovered
mid-project rather than trying to re-run its own kickoff-time PDR process
for a single new decision.code-review-edho-ferdian Domain 4 (Blueprint/Consistency) checks code
against an architecture that was already decided. This skill is upstream
of that — it produces the decision Domain 4 later checks against./project-memory/01-decision-register.md if the project has one (per
D-008 conventions) — record the ADR ID there with a pointer to the full
ADR file, don't duplicate the full text into the register.Step 1 Ground the current-state claim → check Salak before asserting
Step 2 Gather requirements → functional + non-functional
Step 3 Trade-off analysis → references/tradeoff-analysis.md
Step 4 Non-functional + scaling check → references/nfr-and-scaling.md
Step 5 Write the ADR → references/adr-template.md
Step 6 Reflection gate → below
An architectural discussion usually opens with a claim about the current
system: "this module is a bottleneck," "everything imports the auth
service," "this is the most-changed file in the repo." Do not accept that
claim from memory or a quick skim. Edho's ecosystem treats evidence over
assertion as the default posture (see code-review-edho-ferdian's
ground-truth-verification phase for the same principle applied to review).
Salak (optional, auto-detected). If the salak CLI is installed and
project-memory/repo-graph.json exists (or can be generated), a claim like
"is this actually a bottleneck module" is a fan-in/fan-out question the
graph answers directly — salak query imports <file> and
salak query importers <file> (who imports it) instead of asserting from
recollection or a manual grep. If salak check . reports the graph stale,
refresh with salak scan . --update before trusting it for this decision;
if Salak isn't installed, say the current-state claim is based on manual inspection
and name what you actually checked (which files, which grep), not "the
architecture." Detection and exit-code handling follow the same
detect-defer-never-require pattern as dev-kickoff-edho-ferdian's
references/salak-integration.md — if that skill is installed, its
reference file is the canonical copy of the exact commands and gotchas;
don't diverge from it. This skill never requires Salak and never fails a
step for its absence — it only asserts less precisely without it.
Before proposing a design, separate:
references/nfr-and-scaling.md.An architectural decision made without an explicit non-functional target is usually an aesthetic preference wearing an engineering label. State the target ("p99 < 200ms at current traffic," "must survive one AZ failure") even when the number is a rough estimate — a stated rough number is falsifiable; an unstated one isn't.
Every real option gets a Pros / Cons / Alternatives / Decision pass.
Format, worked example, and the "how many options is enough" guidance:
references/tradeoff-analysis.md.
Run the NFR checklist and the scaling-tier framework (what actually changes
at 10x, 100x, 1000x current load — not a generic "add more servers"
hand-wave). Full detail: references/nfr-and-scaling.md.
When the decision lands as a risky change — across modules, a public
contract, persisted data, auth or deployment — map its blast radius before
the first edit and reconcile the finished diff against that map afterwards:
references/change-impact.md. It also stands alone, without an ADR, for a
plain "what breaks if we change X?" question.
Context / Decision / Consequences / Alternatives Considered, plus status and
date. Full template and a worked example: references/adr-template.md.
Store ADRs at docs/adr/ADR-NNN-<slug>.md in the target repo (create
docs/adr/ if it doesn't exist) unless the project already has an ADR
location — check for one before creating a second.
Explicit signals: "let's go with X", "we should use X instead of Y", "the trade-off is worth it because…", "record this as an ADR".
Implicit signals — suggest, never auto-create: comparing two frameworks and reaching a conclusion; a schema design choice with stated rationale; monolith vs microservices, REST vs GraphQL; an auth strategy choice; picking deployment infrastructure after evaluating alternatives.
Consent rule: never create docs/adr/ or write an ADR file without
explicit approval. Present the draft, then write. If declined, discard it —
do not leave the file behind "just in case".
"Why did we choose X?" is an ADR read, not a write: scan the index, present Context and Decision. If there is no match, say so and offer to record one — never reconstruct the rationale from the code.
docs/adr/README.md carries a table: | ADR | Title | Status | Date |, newest
appended. Number by scanning existing files and incrementing. An ADR that is
not in the index will not be found, which defeats the entire point.
proposed → accepted → deprecated | superseded by ADR-NNNN
A superseded ADR always links its replacement, and is never edited into agreement with the new decision — the record of having changed your mind is the value.
Technology choice, architecture pattern, API design, data modelling, infrastructure, security strategy, testing strategy, process. Not worth one: naming, formatting, or anything you would not want to explain to a new engineer in two minutes.
A decision with no rejected alternative is probably not really a decision — it's a preference stated once. Before presenting the ADR, run:
Gate S1: At least one real alternative was considered and named? [PASS/FAIL]
Gate S2: Each rejected alternative has a stated reason, not just a label? [.]
Gate S3: The non-functional target this decision serves is explicit? [.]
Gate S4: Current-state claims were checked against Salak or named manual
inspection, not asserted from memory? [.]
Gate S5: Scaling tier impact (10x/100x/1000x) was at least considered,
even if the answer is "no change needed yet"? [.]
Any FAIL → fix before presenting, or state explicitly why it's being presented anyway (e.g. "no real alternative exists — this is a constrained choice, not a preference, because ").
references/boring-by-default.md — four-question pre-check before new
infrastructure enters a trade-off table.references/plan-review-panel.md — multi-seat attack on a plan or design,
fact-check of disputed claims, one human gate; only on request.references/deprecation-and-sunset.md — retiring a system or API:
decision, notice, measurement, removal.references/domain-language.md — shared glossary per bounded area (low
priority).references/worked-example.md — one decision end to end: grounding, requirements, options table, capacity tiers, the ADR, schema and change impact. Read it when doing the work, not before routing.
| You say | What it does | Parameters |
|---|---|---|
| "microservices atau monolith untuk app ini?" | trade-off analysis, then an ADR draft | decision (required) |
| "bikin ADR untuk pakai queue di checkout" | Steps 1-6, ends in docs/adr/ADR-NNN-<slug>.md | decision, adr location |
| "kenapa kita pilih Postgres dulu?" | ADR reading mode: scan the index, quote Context and Decision | none |
| "apa yang rusak kalau tabel orders diubah?" | references/change-impact.md, no ADR | decision (the change in question) |
| "kalau traffic naik 10x, apa yang jebol?" | NFR and scaling tiers | non-functional target |
| Parameter | Required | Allowed values | Default |
|---|---|---|---|
decision | yes | one architectural question | none |
non-functional target | no | e.g. "p99 under 200 ms", "survives one AZ failure" | a rough number you state and flag as an estimate |
adr location | no | an existing ADR folder | docs/adr/ |
| ADR write approval | yes, to write | explicit yes after the draft | no file is written without it |
Output: an options table (pros, cons, rejected-because), scaling tiers at
10x / 100x / 1000x, and an ADR with status proposed plus its index row.
Worked example: references/worked-example.md.
When the work reaches one of these, load that skill with the Skill tool and follow it — don't write its part from memory.
api-design-edho-ferdiandata-layer-patterns-edho-ferdianbackend-engineering-edho-ferdiandeployment-ops-edho-ferdianfrontend-engineering-edho-ferdianskill-authoring-edho-ferdian §7.dev-kickoff-edho-ferdian instead of running this
skill standalone.references/adr-template.md (opens in a new tab)references/boring-by-default.md (opens in a new tab)references/change-impact.md (opens in a new tab)references/deprecation-and-sunset.md (opens in a new tab)references/domain-language.md (opens in a new tab)references/nfr-and-scaling.md (opens in a new tab)references/plan-review-panel.md (opens in a new tab)references/tradeoff-analysis.md (opens in a new tab)references/worked-example.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub edhoferdian/eef --plugin ekosistem-edho-ferdian43 skills in this plugin
/api-design-edho-ferdianDesign and evolve API contracts: REST resource naming, status codes, pagination, versioning, and one authoritative OpenAPI/schema so client and server never drift. Use for "desain API untuk fitur ini", "struktur endpoint yang baik", "API contract berubah", "REST vs apa", or a new API surface./ask-eefEntry point to the EEF skills: reads the request and the project, then loads the right skill or sequence (dev-kickoff, design-engineering, build-fix, code-review...). Use at the start of a task when no skill is obviously right, or for "ask-eef", "pakai skill apa", "mulai dari mana", "bantu kerjakan ini", "aku mau bikin", "gimana caranya"./backend-engineering-edho-ferdianServer-side code: service layering and ports/adapters, typed errors, retry 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", "tambah integrasi baru", "bikin app Rails"./billing-ops-edho-ferdianDiagnose billing incidents (duplicate subscriptions, failed checkout, double charges, broken portal) and verify pricing/entitlement claims against code. Refunds, credits, cancellations need an explicit go-ahead. Use for "pelanggan minta refund", "subscription ganda", "checkout gagal", "kena tagih dua kali", "billing portal rusak"./build-fix-edho-ferdianFix build, compile, dependency and startup failures with a minimal verified diff, never a cast, ts-ignore or disabled check that hides the error; lenses for ~20 stacks. Load it even for one pasted error. Use for "build error", "gagal build", "compile error", "tidak bisa jalan", "fix the build", "dependency conflict", "migration error", or a stack trace./click-path-audit-edho-ferdianTrace each button, toggle or form submit through its full state changes to find handlers that undo each other, async races, stale closures and effects that reset state. Use for "tombolnya gak jalan", "diklik tapi gak ada yang terjadi", "the button does nothing", "state-nya balik lagi", or after refactoring a shared store.Other plugins' skills for the same job