Doc Research and Improvement (GPT-5.2)
Use this skill to analyze a single doc (architecture or idea), research its referenced concepts,
and propose improvements with external sources and implementation candidates.
Input Parameters
| Parameter |
Description |
Required |
doc_path |
Path to the doc to analyze. |
Required (unless doc_text) |
doc_text |
Raw doc content if not reading from file. |
Optional |
focus_areas |
Comma list: architecture, data-model, orchestration, security, observability, testing, UX, scaling, cost. |
Optional |
depth |
quick (top 3 items) or standard (top 5-8 items). |
Optional |
constraints |
Explicit constraints to respect (ex: local-first, SQLite, no background jobs). |
Optional |
Repository Context (Align To)
These are core assumptions for the project (see the documentation at https://existentialbirds.com/projects/amelia):
- Amelia is a local-first, agentic coding orchestrator with LangGraph, FastAPI, and SQLite.
- Primary workflow: Architect -> Developer -> Reviewer with human approval gates.
- Design principles: structured handoffs, verify before done, environment as truth.
- Drivers and trackers are pluggable abstractions.
- Ideas are exploratory; suggest improvements without assuming commitment.
Use these as guardrails when proposing changes.
Required Workflow
Ingest and summarize the doc
- Identify goals, scope, non-goals, and assumptions.
- Note dependencies on current architecture or roadmap phases.
Extract concepts, frameworks, and techniques
- List all explicit or implied frameworks (ex: LangGraph, RAG, SOX/ICFR, BDD).
- Classify each as architecture, process, data, evaluation, or UI.
Research and validate
- Use authoritative sources: specs, official docs, standards, reputable research.
- Capture at least 1 source per key concept. If none, label as hypothesis.
- Summarize evidence in 1-2 lines with citations.
Propose improvements
- Prioritize items by impact and feasibility.
- Provide rationale tied to evidence and Amelia constraints.
- Include tradeoffs and risks.
- Call out where changes touch existing modules (ex:
amelia/core/, amelia/server/).
Recommend OSS candidates
- Suggest open-source libraries or frameworks needed to implement changes.
- Include license, maturity, and integration notes.
- Prefer Python 3.12, FastAPI, React, SQLite compatible stacks.
Output Format
Doc Snapshot
- Goal, scope, non-goals, assumptions
Extracted Concepts
| Concept | Category | Why it matters | Sources |
Evidence and Research Notes
- Bullet list of sources with 1-line relevance
Improvements (Ranked)
- Title
- Rationale + evidence (cite)
- Tradeoffs/risks
- Implementation notes (files/modules)
OSS and Framework Candidates
| Need | Options | License | Why it fits |
Open Questions
- Any missing inputs or decisions required
Guardrails
- Do not contradict architecture principles unless the doc explicitly proposes it.
- If the doc is exploratory, frame improvements as experiments or phased probes.
- Avoid proprietary SaaS recommendations unless the doc already assumes them.
- No hallucinated citations; if unsure, say so and suggest verification.
1---2name: doc-research-improvements3description: Research-driven critique and enhancement of Amelia architecture or ideas docs. Use with GPT-5.2 when given a design/architecture doc to analyze concepts, find sources, and propose improvements plus OSS candidates.4---56# Doc Research and Improvement (GPT-5.2)78Use this skill to analyze a single doc (architecture or idea), research its referenced concepts,9and propose improvements with external sources and implementation candidates.1011## Input Parameters1213| Parameter | Description | Required |14|---|---|---|15| `doc_path` | Path to the doc to analyze. | Required (unless `doc_text`) |16| `doc_text` | Raw doc content if not reading from file. | Optional |17| `focus_areas` | Comma list: architecture, data-model, orchestration, security, observability, testing, UX, scaling, cost. | Optional |18| `depth` | `quick` (top 3 items) or `standard` (top 5-8 items). | Optional |19| `constraints` | Explicit constraints to respect (ex: local-first, SQLite, no background jobs). | Optional |2021## Repository Context (Align To)2223These are core assumptions for the project (see the documentation at https://existentialbirds.com/projects/amelia):2425- Amelia is a local-first, agentic coding orchestrator with LangGraph, FastAPI, and SQLite.26- Primary workflow: Architect -> Developer -> Reviewer with human approval gates.27- Design principles: structured handoffs, verify before done, environment as truth.28- Drivers and trackers are pluggable abstractions.29- Ideas are exploratory; suggest improvements without assuming commitment.3031Use these as guardrails when proposing changes.3233## Required Workflow34351. **Ingest and summarize the doc**36 - Identify goals, scope, non-goals, and assumptions.37 - Note dependencies on current architecture or roadmap phases.38392. **Extract concepts, frameworks, and techniques**40 - List all explicit or implied frameworks (ex: LangGraph, RAG, SOX/ICFR, BDD).41 - Classify each as architecture, process, data, evaluation, or UI.42433. **Research and validate**44 - Use authoritative sources: specs, official docs, standards, reputable research.45 - Capture at least 1 source per key concept. If none, label as hypothesis.46 - Summarize evidence in 1-2 lines with citations.47484. **Propose improvements**49 - Prioritize items by impact and feasibility.50 - Provide rationale tied to evidence and Amelia constraints.51 - Include tradeoffs and risks.52 - Call out where changes touch existing modules (ex: `amelia/core/`, `amelia/server/`).53545. **Recommend OSS candidates**55 - Suggest open-source libraries or frameworks needed to implement changes.56 - Include license, maturity, and integration notes.57 - Prefer Python 3.12, FastAPI, React, SQLite compatible stacks.5859## Output Format6061**Doc Snapshot**62- Goal, scope, non-goals, assumptions6364**Extracted Concepts**65| Concept | Category | Why it matters | Sources |6667**Evidence and Research Notes**68- Bullet list of sources with 1-line relevance6970**Improvements (Ranked)**711. Title72 - Rationale + evidence (cite)73 - Tradeoffs/risks74 - Implementation notes (files/modules)7576**OSS and Framework Candidates**77| Need | Options | License | Why it fits |7879**Open Questions**80- Any missing inputs or decisions required8182## Guardrails8384- Do not contradict architecture principles unless the doc explicitly proposes it.85- If the doc is exploratory, frame improvements as experiments or phased probes.86- Avoid proprietary SaaS recommendations unless the doc already assumes them.87- No hallucinated citations; if unsure, say so and suggest verification.