System Study — Systematic Learning Material Generation
You want to learn a new field. AI conducts independent research + builds a knowledge system + generates HTML learning materials.
Essential Differences from Existing Skills:
- vs long-research: That one is "have confusion → seek conclusions"; this one is "want to learn → seek a systematic framework"
- vs case-radar: That one provides scattered case collections; this one delivers a systematic full picture
- vs readable-output: That one processes existing materials; this one independently gathers materials + builds a system (it can call readable-output for final drafting, but that's not the core)
Differentiating Core of This Skill: In addition to textbook-standard sections like "framework + cases + engineering", it is mandatory to produce two sections: "Controversy Focuses + Blind Spot List" — these are not found in ordinary learning materials, and are goldmines for user research → content/product development.
Overview of 5-Stage Process
| Stage | Name | Number of Interventions | Deliverables | Detailed Operations |
|---|
| 1 | Topic Narrowing | 1 time (mandatory) | | reference/stage-1-topic-narrow.md |
| 2 | Research Plan | 1 time (default) | | reference/stage-2-research-plan.md |
| 3 | Sub-agent Parallel Research | 0 times | | reference/stage-3-subagent-templates.md ⭐ |
| 4 | System Building + Outline Confirmation | 1 time (default) | | reference/stage-4-synthesis.md |
| 5 | HTML Learning Materials | 0 times | | reference/stage-5-html-spec.md |
Default Strict Logic: The system will consult the user in Stages 1/2/4. However, the user can say "Don't disturb me throughout, directly output HTML" to skip Stages 2 and 4. Stage 1 can never be skipped — if the topic is wrong, all subsequent work will be in vain.
Fast Track with User Authorization of "No Disturbance Throughout"
If the user says phrases like "Just do it / Just give me the result / You decide / You judge / No disturbance throughout" in Stage 1 / 2 / any stage — the main thread immediately switches to the fast track:
- Stage 1 still requires consultation (use AskUserQuestion to send options) — the topic can never be decided by AI on behalf of the user
- Stage 2 still writes for archiving, but no longer consults the user, directly proceeds to Stage 3
- Stage 4 still writes for archiving, but no longer consults the user, directly proceeds to Stage 5
- Mark "User authorized no disturbance throughout" in PLAN.md — this is an audit trail
Switching Condition: The user's words explicitly contain authorization terms like "directly / no disturbance / you decide / you judge / you do it". Vague expressions (e.g., "do as you see fit") do not count — continue with the default strict process.
Core Design Principles (5 Rules)
These 5 rules are refined from initial practical applications and are the design philosophy that runs through the entire skill. All stages must follow them:
- Mandatory checkpoints cannot be skipped — Stage 1 topic narrowing can never be skipped. Other checkpoints can be skipped with user authorization, but a wrong topic makes all work useless.
- Force dissenting opinions, avoid vague compromises — Agent E does not accept "both sides are right". Each issue must be given an X/10 inclination score.
- Blind Spot List is an independent section — Content without consensus, still controversial, or repeatedly paraphrased by AI must be in an independent paragraph, not mixed with other content.
- User research perspective-led — Do not follow the "basic → intermediate → advanced" textbook route; organize content around "what I can do with this". Judgments and perspectives are allowed, no need to pretend to be objective.
- HTML is written independently, do not call readable-output — Learning materials require sidebar navigation + chapter folding + controversy highlighting + independent blind spot section, which cannot be satisfied by long-text reading structures.
5 Sub-agent Lineup (A-D Flexible + E Mandatory)
Detailed prompt templates can be found in reference/stage-3-subagent-templates.md.
| Agent | Fixed Responsibilities | Topic Adaptation Method |
|---|
| A Framework | Official documents + schools of thought / mainstream methods | Determine specific sources based on the topic (prompt engineering → Anthropic/OpenAI documents; memory systems → various memory documents; MCP → protocol documents + implementations) |
| B Cutting-edge | New forms, new trends, latest discussions | Flexible based on the topic — define "what's the latest in this field" in one sentence |
| C Authentic Cases | Top-tier cases / real code / original text breakdown | Must refer to original texts; number of cases depends on how many can be found from credible sources |
| D Ecosystem | Tool landscape / engineering / application scenarios | Directly align with the user's product decisions |
| E Controversies + Blind Spots | Mandatory, forced dual-track presentation + inclination score + blind spot list | Differentiating core — the key difference from mainstream learning materials |
After the main thread receives the topic, fine-tune the specific research scope of each sub-agent based on the topic (not changing the responsibility type, but changing "which sources to check"), then dispatch all in batches.
Workflow (What the Main Thread Needs to Do)
Step 0: Create Working Directory
<Topic>Learning/ # Default directory name, can be modified
├── PLAN.md # Master control
├── 01-题目确认.md
├── 02-调研计划.md
├── 03-调研笔记/
│ ├── A-{Framework Slice Name}.md
│ ├── B-{Cutting-edge Slice Name}.md
│ ├── C-{Authentic Case Slice Name}.md
│ ├── D-{Ecosystem Slice Name}.md
│ └── E-争议与盲区.md
├── 04-体系大纲.md
└── 05-学习材料.html
Step 1: Topic Narrowing
- Use (multiSelect: true) to provide the user with 4 slice options to check
- Slice descriptions should be specific to "what is covered", not vague
- The user can select all 4 (as in this prompt learning case)
- Write to record the topic + learning perspective
Step 2: Research Plan
- List the sources each sub-agent needs to check (official documents, communities, case libraries, controversial topics)
- Let the user review, they can remove or add items
- Proceed to Step 3 when the user says "Start"
- Write
Step 3: Dispatch 5 Sub-agents in Parallel
- Each sub-agent is called via an independent Agent (subagent_type: general-purpose)
- Dispatch all 5 at once in the same message (parallel execution)
- Prompt templates can be found in reference/stage-3-subagent-templates.md
- Mandatory hard constraints (see anti-patterns.md):
- Write to files in segments (Write once after completing 1-2 sections)
- Anti-AI fluff list
- Traceable sources
- Controversies must have dual-track presentation + inclination score
Step 4: Synthesis + Outline Confirmation
- Read all 5 research notes
- Design an 8-chapter structure (Introduction / Framework / Practical Application / Advanced / Cases / Engineering / Controversies / Blind Spots / Appendix)
- Write
- Let the user review the structure
Step 5: HTML Output
- Follow the design tokens and component specifications in stage-5-html-spec.md
- Single-file HTML with all CSS embedded
- Must include: fixed left sidebar navigation / 4 types of callouts / collapsible case details / controversies with inclination scores / blind spot list
- Write in one go, do not split into multiple Write operations (to avoid interruption by intermediate states during truncation)
Key Hard Constraints (Be Sure to Read anti-patterns.md)
- Sub-agents must write to files in segments — Do not wait until the end to write all at once. Socket crashes will cause loss of all content.
- Agent E must have dual-track presentation + inclination score — "Both sides are right" is not acceptable.
- Case-focused agents must include 3+ original text fragments + credibility ratings — Second-hand cases summarized by AI are not acceptable.
- AI fluff blacklist — Skip Chinese blogs with high density of obvious clichés.
- The main thread handles synthesis, do not delegate to sub-agents — Sub-agents only produce materials.
- PLAN.md as master control — Update the progress chart every time the status changes.
Flexible Parameters
| Parameter | Default | Adjustable |
|---|
| Number of Slices | 4 (A-D) + 1 (E) = 5 | 3-6 (E must be included) |
| Intervention Level | 1 time each in Stages 1/2/4 | User can authorize skipping Stages 2 and 4 entirely |
| Deliverable Directory Name | | Can be modified by the user |
| HTML Style | Light warm white | Can be extended to dark / dark purple (not yet implemented) |
| Sub-agent Dispatch Method | 5 dispatched at once in parallel | Do not split into two batches |
Not Applicable (Clear Boundaries)
- "Is X feasible / Why Y / Evaluate X's feasibility" →
- "What interesting cases are there in X / See what everyone is experimenting with" → (scattered vs systematic)
- "Organize these materials into HTML" → (processing existing materials vs independent material gathering)
- "Write an article / produce a draft" →
- "Create design drafts / UI prototypes" → /
- "PRD / requirement documents" →
Reference Example
Initial Practical Application: Root directory
(real case completed on 2026-05-14)
- Topic: Prompt Learning (all 4 slices selected)
- Actual time taken: ~30 minutes
- Deliverables: 5 research notes ~180KB → HTML learning materials 120KB (1635 lines)
- Checkpoint lessons: See the "Agent B socket crash" case in anti-patterns.md
After running a new topic, it is recommended to make a note in
as a reference for future topics.