Explain by Allegory
Purpose
Use this skill when the user asks to understand a difficult concept through a story, allegory, analogy, metaphor, or intuitive example.
The goal is teaching support: make the idea easier to grasp, then clearly translate the story back into accurate formal terms.
When to Use
Use for prompts such as:
- "用寓言解释 embeddings,并说明哪里不准确。"
- "Explain consensus algorithms with a story."
- "Give me an analogy for DCP/context compression and then map it to the real workflow."
When Not to Use
Do not use this as the primary skill when the user asks to:
- implement code, fix a bug, or change files;
- design a public API or acceptance contract;
- follow current official framework/library documentation;
- produce source-cited technical instructions;
- write fiction where the story itself is the deliverable.
If the concept affects an implementation, architecture, workflow, or spec decision, keep the allegory separate from the formal decision and route the decision through the appropriate workflow.
🔴 CHECKPOINT: If the user asks for a decision, implementation, spec, or source-cited guidance, stop allegory-only mode and route to the appropriate workflow instead of continuing the story.
Workflow
- Identify the real concept and the user's desired depth.
- Choose a compact allegory that preserves the most important structure of the concept.
- Tell the allegory in a few paragraphs; avoid overfitting every detail.
- Map story elements back to formal concepts.
- Give the formal explanation in direct technical language.
- State where the allegory breaks down, including boundary cases and misconceptions it could create.
- If the user needs action after understanding, recommend the next workflow, such as source-driven development, spec-driven development, implementation, documentation, or ADRs.
Failure Modes
| Trigger | First action | If still unresolved |
|---|
| Concept is too broad | Ask one scope/depth question before writing the allegory | Use a tiny overview allegory and mark the missing depth as an open follow-up |
| User needs citations, current APIs, or official guidance | Route to source-driven or documentation workflow | Mark source-dependent claims Unverified; do not invent citations |
| Allegory becomes misleading | State the limit and switch to formal explanation | Drop the story and answer directly |
| User asks for implementation, spec, or architecture decisions | Keep the allegory explanatory only | Route the decision to the appropriate lifecycle or design workflow |
Output Contract
Return these sections unless the user asks for a different format:
Allegory:
- <short story or analogy>
Mapping:
- <story element> -> <formal concept>
Formal Explanation:
- <plain technical explanation>
Limits and Misconceptions:
- <where the allegory fails or can mislead>
Next Step, if needed:
- <appropriate workflow or question>
Rules:
- Keep the story normally at three short paragraphs or fewer.
- Include at least three meaningful mapping bullets when the concept has enough parts.
- Include at least two limits or misconception bullets unless the user asks for a very short answer.
- Match the user's language unless they request another language.
Do Not
- Do not present the metaphor as proof, source evidence, or a formal model.
- Do not invent source claims, citations, or current API behavior.
- Do not make implementation, architecture, spec, or acceptance decisions inside the allegory.
- Do not over-map every story detail; map only details that clarify the real concept.
- Do not continue story mode when direct formal explanation would be safer or clearer.
Verification
Before answering, check:
- The output includes both the story and the formal explanation.
- Important story elements are mapped back to real concepts.
- Limits, boundary cases, or common misconceptions are stated.
- The story is not presented as an authoritative spec, source citation, implementation plan, or acceptance contract.
- Any needed next workflow is named without doing out-of-scope work.