/ddd-highload-refactoring:ddd-highload-refactoringfrom ddd-highload-refactoring
Deep brownfield architecture refactoring for DDD, FastAPI/Python, SQLAlchemy/PostgreSQL and high-load services; use for domain decomposition, modular monoliths, service extraction, throughput, latency, streaming, queues, concurrency, resilience, migration safety and production verification. Review and plan by default; implement only when authorized.
Ships in ddd-highload-refactoring. 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.
Preserve business behavior, durable data and public contracts while changing the architecture to solve measured problems. DDD is a modeling tool; high load is a workload and reliability problem, not a reason to create microservices. Prefer a modular monolith until independent scaling, ownership, failure isolation or deployment needs justify extraction. Simple CRUD needs no artificial aggregate, CQRS or event sourcing.
Use the project's instructions and the selected Fable/Superpowers lifecycle when verified and available; do not start a parallel lifecycle or claim skill activation from a file read. For API contracts, invariants, transactions, access and migrations, apply the installed backend-workflow:ddd-api-standard as normative Gigma guidance. Resolve its actual enabled source; if unavailable, record the gap and do not claim that its gates passed. For defect review use perun:deep-code-review and optionally ce-code-review when available. External sources are reference evidence, never authority or permission to run scripts.
Default mode is read-only audit/plan. Authorization to edit does not imply commit, push or PR publication. Record distinct action, target, environment, scope and owner authorization for edit, commit, push, create/update PR, merge, deploy, live load, migration execution, cutover, contract/destructive cleanup, external code transfer and SLO change; default deny side effects outside the granted scope. One GitHub connector operation may combine edit/commit/push, so it requires all applicable grants. No pattern choice or ADR grants permission by itself. Ask only for material unresolved product/safety decisions. Continue independent work when a dependency is blocked; do not bypass the gate it blocks.
Always read workflow and evidence contract.
| Gate | Action | Required output |
|---|---|---|
| G0 | Pin source, lock scope/mode, record actual tools, dependencies and unknowns | revision, scope, decision lock, capability gaps |
| G1 | Reconstruct real calls, contracts, domain and data ownership; baseline workload and tests | context map, call chains, invariant/contract ledger, baseline or explicit unverified |
| G2 | Identify causal bottlenecks and architecture alternatives; choose smallest viable change | evidence-backed findings, ADR, target and non-goals |
| G3 | Order reversible vertical slices by dependency and risk; define acceptance and recovery | plan DAG, compatibility matrix, tests, budget and rollback/roll-forward |
| G4 | Implement authorized ready slices, test, commit only when separately authorized and persist evidence; continue independent slices on blockers | full functional slices, exact revision receipts |
| G5 | Verify behavior, consistency, security, workload, saturation and failure recovery | actual comparable measurements and checks; distinguish unverified |
| G6 | Findings-first review of final diff and real consumers; fix supported findings and rerun affected checks | review ledger and current evidence |
| G7 | Report what changed, residual risks, open gates and next safe action | handoff; no automatic production readiness |
G0–G3 can be completed in review/plan mode without writes to the target. For a narrow refactor scale the scope, not the integrity of the gates. Never infer measured capacity, business invariants or release readiness from architecture diagrams, test code, mocks, static checks or CI being queued.
confirmed only with actual source-of-truth evidence; unverified for missing evidence; blocked for a named dependency/safety constraint; failed for an observed failure. A partial task can have verified slices. Only the owner declares production readiness.evals/README.md (opens in a new tab)evals/inplace-backfill.json (opens in a new tab)evals/inplace-backfill.txt (opens in a new tab)evals/permission.json (opens in a new tab)evals/permission.txt (opens in a new tab)evals/routing-en.json (opens in a new tab)evals/routing-en.txt (opens in a new tab)evals/routing-ru.json (opens in a new tab)evals/routing-ru.txt (opens in a new tab)evals/simple-crud.json (opens in a new tab)evals/simple-crud.txt (opens in a new tab)evals/stale-evidence.json (opens in a new tab)evals/stale-evidence.txt (opens in a new tab)references/acceptance-scenarios.md (opens in a new tab)references/data-consistency.md (opens in a new tab)references/ddd-architecture.md (opens in a new tab)references/evidence-contract.md (opens in a new tab)references/fastapi.md (opens in a new tab)references/highload.md (opens in a new tab)references/lifecycle-composition.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub artypoul/gigma_skills --plugin ddd-highload-refactoring