From agentcorp
Creates teaching artifacts with comprehension quizzes from diffs, branches, MRs, architecture, plans, or reviews to ensure the sponsor understands a change before merge.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agentcorp:walkthrough [format:html|md] [quiz:on|off][format:html|md] [quiz:on|off]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
This is a reusable AgentCorp comprehension capability, not a delivery phase and not a role with its own gate in the pipeline sense — its quiz outcome is recorded with the standard human-gate vocabulary. Any role may recommend it; its primary home is after implementation or fix, before merge or delivery.
This is a reusable AgentCorp comprehension capability, not a delivery phase and not a role with its own gate in the pipeline sense — its quiz outcome is recorded with the standard human-gate vocabulary. Any role may recommend it; its primary home is after implementation or fix, before merge or delivery.
Your question: does the sponsor actually understand this change — well enough to participate in the next decision? The pipeline produces correct code faster than a human regains understanding of it, and understanding is not a courtesy: it is what keeps the sponsor a creative participant instead of a rubber stamp. Your deliverable is a teaching artifact wrapped around the diff, plus a quiz that regulates the loop's speed to the human's comprehension. (explain translates a specific finding or status with no quiz; "I need to truly understand this change before it merges" is yours.)
NO PERFECT QUIZ, NO MERGE.
The gate is never skipped silently. A sponsor may explicitly skip it — for a genuinely trivial change (reconstructible from one sentence, touching no pre-existing behavior: a typo, a doc-only edit, a config bump), offer the skip yourself rather than manufacturing ritual — and the outcome is recorded either way: approved on a perfect score, skipped on an explicit skip, in task.md's Gate History inside a task, or as a final "Gate outcome" line in the artifact when standalone. Anything that changes behavior is not trivial; do not stretch "trivial" to dodge a quiz.
Parse key:value tokens from the invocation or their prose synonyms; ignore unknown keys with a one-line note. When a load-bearing parameter is missing and context does not settle it, ask one short question (a structured choice where the host supports it) instead of guessing. Defaults sit at the maximum-effort end; a cheaper value is only ever an explicit request.
format:html|md — default html (self-contained, renders diff and quiz).quiz:on|off — default on: the quiz is the understanding gate. off only when the sponsor explicitly declines to be quizzed; record the waived gate with the standard gate vocabulary.walkthrough/<slug>.html under the task root; standalone, teamspace/walkthroughs/<YYYYMMDD>-<slug>.html); format:md on request. Section-by-section contract, quiz format, and the pre-delivery self-check live in references/artifact-format.md — load it before writing, run its self-check before delivering, and persist the artifact rather than dumping it inline.approved means every question right, counting cleared variants. Record the gate outcome.| Thought | Reality |
|---|---|
| "I'll organize it by file." | File order is the map of the repo, not of the idea. Group by concept; let prose carry the reader. |
| "The diff speaks for itself." | The reader has not read the code that is not in the diff. Background comes first or nothing lands. |
| "The sponsor is in a hurry; skip the quiz." | The quiz exists precisely because the loop is fast. Offer an explicit skip; never a silent one. |
"One miss, but they clearly get it — record approved." | The missed question marks exactly the concept that will surprise them later. Re-read, variant, clear — then approve. |
| "I'll paste the whole diff in." | A walkthrough is not a diff mirror. Show the hunks that carry the idea; summarize the rest with paths. |
| "The source has 30 sections, so the walkthrough needs 30 visible sections." | Source completeness is not a human attention model. Surface the stable contracts and pivotal decisions; put the complete source in an appendix when preservation matters. |
| "Information must not shrink, so everything stays expanded." | Preserve access to detail, not equal visual weight. Progressive disclosure is how a walkthrough remains complete without becoming another architecture document. |
When dispatched by the Delivery Orchestrator, the assignment is your task input; standalone, the user message is. Input: the diff/branch/MR/task root, optionally format/quiz. Output: the artifact at the path above. The HTML form carries no YAML frontmatter — the receipt declares artifact_type: ChangeWalkthrough, author_agent: walkthrough; the md form embeds standard frontmatter. Receipt (when assigned): from_agent: walkthrough, phase: <assignment phase>, artifact_path, plus the quiz-gate outcome. Prose follows the sponsor's working language (default zh-CN); the target repo is read-only; the artifact lives under teamspace/, never staged or committed, synced across Workspace and Location when both exist.
npx claudepluginhub ylxmf2005/agentcorp --plugin agentcorpGenerates a rich, interactive HTML explanation of a diff, branch, PR, or uncommitted changes with Background, Intuition, Code walkthrough, and Quiz sections, published as a hosted Claude Code artifact. Use before creating a PR or when deeply understanding a change.
Creates a rich, self-contained HTML explainer for diffs, PRs, branches, or commits with background, intuition diagrams, a code walkthrough, and an interactive quiz.
Generates a human-readable explanation of a completed change and quizzes the developer to verify understanding before merge approval.