This is the single source of truth for "which MDs and which skills for which task". The skill using-ldd references this file; user-project CLAUDE.md / AGENTS.md should reference it too. Each task type maps to one of the four gradients LDD optimizes across — code (inner), deliverable (refinement), method (outer), or reasoning chain (CoT).
| Task type | Required reading (in addition to using-ldd) |
Primary skills | Secondary skills |
|---|---|---|---|
| Bug / failing test / flaky run | debugging.md |
reproducibility-first → root-cause-by-layer → loss-backprop-lens → e2e-driven-iteration |
dialectical-reasoning (if fix has trade-offs) |
| Design decision / trade-off / architectural choice | design-decisions.md |
dialectical-reasoning |
loss-backprop-lens (step size) |
| Structural change / refactor / architectural edit | refactor.md |
loss-backprop-lens (step size) → root-cause-by-layer (to scope the change) |
method-evolution (if the refactor is a recurring pattern across tasks) |
| Polish a deliverable (doc / diff / design) | refinement.md |
iterative-refinement |
dialectical-reasoning (if scope is uncertain) |
| Pre-commit / pre-release / pre-merge | release.md |
docs-as-definition-of-done → drift-detection (if release-candidate) |
dialectical-reasoning (final ship/don't-ship) |
| Production incident / fast-path diagnosis | incident.md |
reproducibility-first → root-cause-by-layer (fast-path variant) |
loss-backprop-lens (avoid incident-fix overfitting) |
| Methodology maintenance (a skill isn't working) | method-maintenance.md |
method-evolution |
drift-detection (upstream check) |
| Architecture / greenfield design (opt-in; not default) | architect.md |
architect-mode (5-phase protocol — Constraints → Non-goals → 3 Candidates → Scoring+Dialectic → Deliverable) |
dialectical-reasoning (Phase 4 on winner), iterative-refinement (polish the doc after Phase 5) |
| General / multi-step / unsure | overview.md + getting-started.md |
loop-driven-engineering (entry, dispatches others) |
all |
- Match on user's own words — the trigger-phrase table in
../../skills/using-ldd/SKILL.mdmaps phrases to skills. If the user says "bug" / "failing test" / "error", the task is debugging regardless of what else is mentioned. - Load minimum required. A debugging task does NOT need
refinement.md. Loading the whole methodology wastes context and dilutes signal. - Ambiguity → ask. If two task types match equally (e.g. a refactor that's also a bug fix), ask the user for one sentence of clarification before loading.
LDD:prefix overrides auto-selection. When the user prefixes withLDD:, loadgetting-started.md+using-lddFIRST, then apply this table to their actual message.
For any task, do not pre-load:
convergence.md— only when the user asks about the mental model explicitlyin-awp.md— only when the user asks about AWP / the origin- All skill
SKILL.mdfiles at once — auto-triggered by their descriptions
These are on-demand references, not session-boot reading.
If a task-type-appropriate MD was consulted, the agent should reference it once in its response (e.g. "[per debugging.md, starting with reproducibility-first]"). If no MD is referenced and the response shows no LDD discipline, LDD is dormant — re-check install or prefix LDD:.
This file is the only place where the task-type → MD mapping lives. Every skill body that mentions a sibling skill links through this table, not around it. If you change the mapping, update only here — drift-detection's doc-model-drift indicator (§4 of convergence.md) will flag any duplicate/stale copy elsewhere.