zekainie/universal-examprep-skill/exam-study-guide
Claude Code and agent skill by zekainie/universal-examprep-skill
- community
Checking that the SKILL.md file is still in the repository.
将已经讲完但尚未完成阶段门禁的一个章节整理成强类型教材清单,并在视觉模式下编译为公式可读、图片可见、知识点与全部对应例题逐项精讲的自包含 HTML/PDF。结构化工作区准备阶段完成证据、用户说 Markdown 公式仍是 raw LaTeX、图片缺失、要含课件/作业/Quiz/模拟考试题及答案的零基础讲义,或要求打印版时使用。
Install
npx vskill@latest install zekainie/universal-examprep-skill/exam-study-guideSKILL.md
Exam Study Guide
Purpose
After teaching the current chapter, build its validated typed Study Guide manifest; in visual mode, compile that manifest into a readable, self-contained HTML Study Guide and printable PDF before phase completion. A Study Guide is a teaching artifact, not a dump of the wiki and bank: it groups knowledge points with every mapped lecture, homework, Quiz, mock-exam, past-exam, or textbook example and explains each one through formula selection, variable mapping, substitution, solution, a beginner-first explanation of why the answer follows, and source trace. Keep Markdown/JSON as auditable sources and never overwrite them with a derived artifact.
Activation
Require explicit study_state.json.processing_mode=full. Lightweight mode never invokes this module, even for a one-shot handout request; explain that Study Guide generation requires switching to full processing and reconfirming the start gate.
Use this module after the exam workspace/current chapter are confirmed and its substantive teaching is persisted, but before complete-phase in a structured workspace. Restore the current phase and effective artifact_mode from study_state.json before selecting <N>. chat still builds and imports the mandatory typed profile=full manifest, then stops without HTML/PDF; a recognized standing visual preference continues through rendering, receipt binding, and all-page QA. A direct one-shot handout request follows its explicit output scope without rewriting the stored preference. Never inspect or infer the student's subscription. Preserve the parent exam-coach language and provenance contracts in all chat summaries.
Inputs
- Exactly one current-chapter
references/wiki/chNN*.mdfile, used as source evidence rather than pasted wholesale. - Optional
study_state.json; its canonical language-neutrallanguagecode (zh/en/bilingual; legacy/display aliases中文/English/双语migrate on read) controls all agent-generated headings, notices, explanations, labels, and summaries. Missing state follows the session default (English unless the student opened in Chinese); the script's Chinese empty-value fallback exists only for legacy workspaces and is not a new-session language decision. - The current-chapter slice of
references/teaching_examples.json, every current-chapter entry inreferences/quiz_bank.json, and every typed current-chapter question unit, de-duplicated by item ID. A legacygradable=falserecord remains a teaching example in the guide but is never served or graded as a quiz. - A substantive
notebook/chNN.mdplus the validated typed teaching manifestnotebook/chNN.guide.json. - Workspace-local images under
references/assets/referenced by the typed manifest. - For ingestion-v2 workspaces, current validated
.ingest/canonical_groups.jsonland.ingest/source_conflicts.jsonlfacts. These are revision-bound derived facts, not replacements for source occurrences or item/unit IDs. Do not preload unrelated chapters or hand-fold near matches. - For ingestion-v2,
.ingest/claim_records.jsonland the matching.ingest/claim_verification_receipts/chNN.jsonare mandatory typed-guide inputs. The validator recomputes them against the current manifest and live source/content/group/conflict facts. The receipt'sfact_snapshot_sha256also binds current build/parser/page-quality/review facts into its ID, so a parser identity revision requires re-verification even when content units are unchanged. Legacy/v1 compatibility is read-only for an existing canonical manifest and must not be described as having this v2 evidence. The receipt scope islocation_only, never semantic proof.
Use only $...$ and $$...$$ as formula delimiters in source Markdown. Forms such as (A\cup B), [P=\frac{...}], \(...\), and \[...\] are not valid framework input. Confirm and migrate the source explicitly; never guess-rewrite a formula.
Workflow
- Restore
study_state.json, resolve output intent, and runvalidate_workspace.py <ws> --json. Read the explicit.ingest/build_manifest.json.pipeline_version; never infer or delete it. Onlyingestion-v2follows the author/compiler/claim path in steps 2-6. An explicitingestion-v1workspace may only read its existing canonical manifest through the legacy compatibility path below; it cannot import, relocalize, or render a new Study Guide and must never claim the v2 claim/receipt gate. A failed v2 command does not authorize downgrading to v1.chatstops after the canonicalprofile=fullmanifest import;visualcontinues through rendering and all-page QA. Persist a standing choice only throughupdate_progress.py set --artifact-mode chat|visual. Separately resolveanswer_explanation_mode=ordinary|isolated. Missing, legacy, or invalid state has stored-schema fallbackordinary, which still requires a detailed beginner-first explanation for every item without an isolation claim. Before authoring a full-v2 Guide, perform a native-child capability handshake: require one fresh independent child context per item plus enforceable restriction of that child's task input and tools to the exact request. When verified, default toisolatedunless the user opted out, persist it, and disclose once that it consumes extra host quota/time; no separate API key or external-upload consent is needed. Any missing, inherited, or unverified boundary keepsordinaryand must be named. A separately billed external Provider is available only when the user explicitly requests it; before persisting that fallback, retain the two-stage no-upload exact plan and exact-plan pricing/privacy/upload consent. Never infer either capability or upload permission from a model family, subscription, API key,full, orvisual. - For ingestion-v2, prepare the revision-bound current-chapter packet and annotation template; do not hand-copy source facts or reverse-engineer the compiler source:
``text python scripts/study_guide_author.py --workspace <ws> prepare --chapter <N> --json ``
This fixed command atomically writes notebook/chNN.authoring-packet.json and the deliberately incomplete notebook/chNN.authoring-annotations.template.json; its JSON result reports both paths plus the template hash. Exit 10/status=blocked forbids authoring until every reported review, conflict, source, asset, and denominator blocker is resolved. The packet binds source/fact/asset revisions and contains the exact semantic units, formulas, items, prompt/answer assets, and source locations the agent may use.
- Read the generated template instead of guessing the annotation schema. Copy only its
annotationsobject tonotebook/chNN.authoring-annotations.json, then replace every empty value and__...__sentinel. The template already contains the exact ID and field shape for every formula group and walkthrough item, plus an explicit knowledge-point schema placeholder and the full inventories to partition. The wrapper saystemplate_status=incompleteandvalid_annotations=false; the template itself and its untouched inner object are intentionally invalid and cannot satisfy persistence, compilation, or completion. Author only explanations in the target file, bound to the packet'spacket_sha256. Do not change packet IDs, source text, exact LaTeX, assets, locations, or source roles. Use the canonicalzh|en|bilinguallanguage shape and explicit provenance for every authored field. A translation must beai_translationand remain visibly AI-labelled; unsupported reasoning uses visibly labelledai_supplement, never fake material provenance. Inordinary, the template also requires each item's detailed zero-prerequisiteanswer_explanationand exact per-languageai_supplementprovenance; it must explain symbols, formula/rule choice, substitutions or reasoning, every subpart, and final meaning without merely repeating the answer. Inisolated, do not author that field in annotations; step 4 supplies it through the receipt-bound extension. Each item must map to at least one knowledge point. A knowledge point may haveexample_ids=[]when the materials truly provide no matching item; the compiler emits the active-language “materials do not provide a corresponding example” notice. Knowledge points still exactly partition semantic units/formula groups, and all items remain globally covered. If a crop-receipt-only upgrade changes the packet after a large canonical annotations file was already authored, runstudy_guide_author.py rebase-annotations --chapter <N>instead of hand-editing or regenerating it. That command may change onlypacket_sha256, add a missing mode binding on the compatible path, and remove paired legacyself_checkfields; it atomically publishes only after the entire current annotation validator passes against the new packet. Any item/formula/knowledge-point drift is refused. - Only when
answer_explanation_mode=isolated, generate exactly one isolated answer explanation per item before persistence. Inordinary, skip this entire step:study_guide_explain.py statusreportsdisabled/not_applicable, and every mutating explainer command must fail. The protocol script never calls a provider itself: it emits one hash-bound request at a time. The preferred host-native route must create a fresh independent, tool-disabled child context containing only that request's fixed instruction, exact question, exact answer when present, target language, and listed item-scoped assets; it uses the current host allowance and no separate API key. Do not batch multiple items into one context, add the parent conversation, course history/wiki/retrieval, expose a whole page containing unrelated questions or answers, or let the child browse the workspace/network. If the host cannot enforce these boundaries, useordinary. A bundled external-Provider adapter is only an explicit-user-request fallback: it may prepare a non-uploading exact plan after the first consent, and itsrunrequires the second exact-plan consent. Adapter completion finalizes only the isolated explanation receipt, not notebooks, compiled Guide, claims, import, rendering, QA, or phase completion.
``text python scripts/study_guide_explain.py --workspace <ws> prepare --chapter <N> --json python scripts/study_guide_explain.py --workspace <ws> status --chapter <N> --json python scripts/study_guide_explain.py --workspace <ws> show --chapter <N> --request-id <request_id> --json # Call one fresh/stateless tool-disabled model with exactly that request. The model result contains only answer_explanation plus non-rendered coverage. python scripts/study_guide_explain.py --workspace <ws> make-host-receipt --chapter <N> --request-id <request_id> --invocation-id <unique_id> --isolation-mode <fresh_context|stateless_api> --provider <provider> --model <model> --json python scripts/study_guide_explain.py --workspace <ws> import-result --chapter <N> --request-id <request_id> --input <one-model-result.json> --host-receipt <one-host-receipt.json> --json python scripts/study_guide_explain.py --workspace <ws> finalize --chapter <N> --json ``
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingfull/skills/exam-study-guide/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zekainie/universal-examprep-skill/exam-study-guide)