encapsulation
This skill should be used when the user asks to \"audit plugin encapsulation\", \"check self-containment semantics\", \"find…
Use when the user asks to \"check zero-shot\", \"audit few-shot anchoring\", \"find example anchoring\", or invokes /zero-shot. Read-only audit of LLM-facing prose: principle over anchoring examples.
$ npx -y skills add jongwony/epistemic-protocols --skill zero-shot --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/zero-shotContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when the user asks to \"check zero-shot\", \"audit few-shot anchoring\", \"find example anchoring\", or invokes /zero-shot. Read-only audit of LLM-facing prose: principle over anchoring examples.
name: zero-shot description: "Use when the user asks to \"check zero-shot\", \"audit few-shot anchoring\", \"find example anchoring\", or invokes /zero-shot. Read-only audit of LLM-facing prose: principle over anchoring examples." user_invocable: true allowed-tools: Read, Grep, Glob
A semantic audit of LLM-facing prose for the Zero-Shot Instruction Preference: state principles, not anchoring examples. Read-only — it emits structured findings and writes no fixes. The human author decides which to rewrite, mark as scope-clarifying, or dismiss.
Surface few-shot patches that anchor the model to specific instances rather than letting it apply the principle to novel contexts. Anchoring drift survives deterministic structural checks — it is a meaning-level pattern, so a semantic reviewer catches what literal pattern matching cannot.
**Manual invocation only** (interactive `/zero-shot`):
**In scope** (LLM-facing prose where this principle applies):
**Out of scope** (the principle does not apply or examples serve a different purpose):
**The principle (stands alone).** LLM-facing instructions state principles, not examples. When a rendering rule, behavioral guideline, or structural constraint can be expressed as a principle, it does not need few-shot examples or category-level mapping lists appended to it. Few-shot examples create a soft-table effect — anchoring the model to specific instances rather than letting it apply the principle to novel contexts. A principle that needs examples to be understood is underspecified; the fix is to sharpen the principle, not to patch it with examples.
For each in-scope file, consider every prose passage outside formal blocks and code fences:
A **Zero-Shot signal** is a passage in LLM-facing prose where a principle is stated alongside few-shot examples or an enumerated example list whose primary effect is anchoring the model to specific instances rather than letting it apply the principle to novel contexts. The boundary test: "would removing this example increase the LLM's latitude in applying the principle to novel contexts, without losing the output-format or behavioral reliability that the containing instruction depends on?" If yes, the example is anchoring and a finding.
Two exemptions keep an example compliant:
Examples that instantiate a principle's *application* outside these two exemptions invite anchoring and are findings.
For each candidate finding, prefer the rewrite that strengthens the principle so application examples become unnecessary; retain a minimal high-signal exemplar when it stabilizes format or a subtle, high-failure-rate behavior. Treat ambiguous cases as `severity: low` and surface them for human triage.
Emit a single JSON object as the final assistant message.
{
"summary": {
"files_audited": 0,
"findings_total": 0,
"by_severity": {"high": 0, "medium": 0, "low": 0}
},
"findings": [
{
"file": "<repo-relative path>",
"line": 0,
"severity": "high",
"excerpt": "<verbatim text from the file — single line or short span>",
"rationale": "<one sentence: how the example anchors application rather than delineates scope, and how a principle-only restatement would land>",
"suggested_rewrite": "<a candidate restatement that preserves directive force without anchoring examples>"
}
]
}Severity calibration:
| Severity | Surface | |----------|---------| | `high` | Rules sections, Phase prose, agent system prompts — places where anchoring materially narrows downstream LLM application | | `medium` | Distinctions, Composition notes, scope-boundary descriptions in supporting sections | | `low` | Borderline cases where the example may serve scope clarification under one reading and anchoring under another |
When zero findings result, emit the JSON object with empty `findings` array and zero counts. The summary always emits.
This SKILL.md is itself LLM-facing prose and so is in scope. The audit may surface findings against the prose above, emitting a `suggested_rewrite` that preserves directive force like any other finding; the human author decides whether it lands.
| Surface | Mechanism | Failure mode handled | |---------|-----------|---------------------| | Deterministic static checks | Literal pattern matching and structural validation | Structural drift between coupled artifacts; literal pattern leaks | | `zero-shot` | Claude-judge semantic review of LLM-facing pr
한국어 When AI collaboration goes off-track, you redo everything. These protocols bring the decisions that set the direction to you early — often at the plan level, before a wrong one hardens into code or other downstream work — and leave each one yours to
This skill should be used when the user asks to \"audit plugin encapsulation\", \"check self-containment semantics\", \"find…
This skill should be used when the user asks to \"formal review\", \"formal lens review\", or invokes /formal-review. A…
This skill should be used when the user asks to "run the outcome eval", "paired bare vs protocol", "which decisions did the…
This skill should be used when the user asks to "run the eval", "test whether the protocol actually works at runtime", "check…
This skill should be used when a contributor names a skill whose Lean contract is to be re-derived — a core protocol, or a…