Use this skill when a repo needs a durable foundations/<topic>/ packet rather than a one-off research summary.
The skill preserves the useful deep-research orchestration pattern:
It removes person-specific residue and treats foundations work as a canonical Miadi / Mighty Eagle stewardship contract.
Create academically grounded, repo-local foundation packets that help a branch, skill, runtime, issue, or artifact stand on recognized fields, explicit provenance, and readable intent.
Every repo owns its own local packet root:
foundations/<topic>/
Default rule:
Recommended minimum structure:
foundations/<topic>/
README.md
source-ledger.yaml
context-layer.md
intent-understanding.md
synthesis.md
For fielded packets, add one file or folder per field:
foundations/<topic>/
README.md
source-ledger.yaml
context-layer.md
intent-understanding.md
synthesis.md
<field-slug>.md
The context-layer captures the shared framing and durable metadata around the packet.
Include:
Questions this layer answers:
The intent-understanding layer captures why the packet exists and what structural tension it resolves.
Include:
Questions this layer answers:
[Broad: decompose question]
/ \
[Narrow: 3-6 parallel field agents] ← Wave 1
\ /
[Evaluate: gaps, cautions]
/ \
[Deep: 1-2 targeted agents] ← Wave 2 if needed
\ /
[Synthesize: foundations packet]
Start broad, go narrow in parallel, identify gaps, go deep on gaps, synthesize.
Record today’s date and include it in prompts, packet metadata, and the source ledger.
Before external research:
AGENTS.md, README.md, specs, skill docs, issue notes)foundations/ content if presentBreak the topic into mutually exclusive, collectively exhaustive fields.
Common field families:
Scale effort to complexity:
Each research lane should include:
Prompt skeleton:
You are researching [FIELD / ANGLE] for a repository-local foundations packet.
TODAY'S DATE: [date]
PURPOSE: [why this packet matters]
AUDIENCE: [who will use it]
ANGLE: [field scope]
BOUNDARIES: [what this lane does not cover]
SOURCE QUALITY: Prefer academic papers, standards, official docs, primary sources, and strong practitioner engineering writing.
OUTPUT: canonical concepts, key findings, cautions, engineering implications, provenance notes, and sources with URLs/DOIs.
Before synthesizing, assess each source for paradigmatic compatibility:
Record compatibility in source-ledger.yaml
Add a paradigm_compatibility field to each source entry:
sources:
- id: <short-id>
field: <field>
title: <title>
url: <url>
paradigm_compatibility: <compatible|incompatible|mixed>
incompatibility_notes: "<if incompatible or mixed, what specifically>"
registered_incompatible: <true|false>
Propose new registry entries If an unregistered source shows clear incompatibility, note it for potential registration in the Incompatible Sources Registry.
llms-pollution-detection-checklist.md for structured scoring when quick detection signals are inconclusive.Based on the compatibility assessment from Phase 3.5, follow the appropriate path:
| Rating | Action |
|---|---|
compatible |
Proceed to synthesis (Phase 5) normally. No special handling required. |
mixed |
Cite with explicit paradigmatic contextualization. Extract specific compatible claims with scoped citations. Name the incompatible layer explicitly. See Mixed Compatibility Protocol. |
incompatible |
Trigger the epistemological-counter-positioning workflow. Choose counter-article type using the mapping below. Register the source in the Incompatible Sources Registry before synthesizing. |
| Unregistered source scoring ≥ 9 on checklist | Propose registry entry before synthesizing. Document the detection signals in the source ledger. |
Incompatibility Type → Counter-Article Type Mapping:
| Incompatibility Type | Recommended Article Type | Reasoning |
|---|---|---|
| Problem-solving orientation | Type 4: Methodological Schism | Core assumption incompatibility — the schism is at the methodological foundation |
| Extractive epistemology | Type 2: Critical Review or Type 3: Genealogical Critique | Systemic institutional origin requires either direct paradigm mapping or historical power analysis |
| Autonomous agent ontology | Type 2: Critical Review | Requires full paradigm mapping (ontology → epistemology → methodology → consequences) |
| Linear progress methodology | Type 3: Genealogical Critique | Historical/power analysis of how linearity became naturalized |
| Unmarked Western universalism | Type 5: Epistemic Injustice or Type 6: Positioned Response | Silencing mechanism requiring either injustice analysis or standpoint foregrounding |
After all lanes return:
The final packet should synthesize, not concatenate.
Recommended outputs:
context-layer.mdintent-understanding.mdsynthesis.mdsource-ledger.yamlsource-ledger.yaml should include at minimum:
meta:
packet: <topic-slug>
generated: <date>
method: deep-research-foundations
verification_status: live-web-verified | training-knowledge-only | mixed
sources:
- id: <short-id>
field: <field>
title: <title>
url: <url>
doi: <doi-if-any>
supports: <claim-or-decision>
verified: true|false
Before calling the packet done:
foundations/<topic>/Do not call the packet complete unless: