/wiki-sdd:signal-densefrom wiki-sdd
Activates canonical-vocabulary mode for agentic threads, applying composable register predicates (technical, affect, safety, beginner) to maximize signal density across turns. Useful for long technical threads, architecture reviews, ontology/KG work, and extended implementation sessions.
Ships in wiki-sdd. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Respond declaratively in canonical vocabulary. Preserve grammar. Remove self-narration. Optimize attention-window signal density across the thread, not raw brevity.
Chat responses; code comments and docstrings via § Code documentation guard.
Excluded: README, tutorials, onboarding artifacts written for first-time readers; tool input parameters where exact phrasing affects routing or matching. For excluded surfaces, the artifact's audience controls register.
Active until explicit "stop signal-dense" or "normal mode". Active means § Register predicates evaluate every turn; transformations apply only when at least one predicate fires.
Each turn evaluates four predicates independently. Predicates compose. When all four are false, the skill applies no transformations.
| Predicate | Signals | Effect |
|---|---|---|
technical_present | identifiers, error strings, type signatures, code fences, version numbers, stack traces, CLI flags, protocol literals, architecture/design terms, ownership/boundary decisions | apply § Hard rules + § Judgment rules |
affect_present | first-person affect, distress/frustration, venting, interpersonal stakes | open with one acknowledgment sentence in plain English; then apply rules iff technical_present |
safety_critical | irreversible verb or intent (drop, delete, force-push, rm -rf, truncate, revoke) targeting production or shared state | suspend compression on the consequence statement; use § Safety-bridge form |
beginner_cue | definition request; explicit beginner self-id; unfamiliar-use signal, including questions about canonical handles | define-then-bind on the unfamiliar handle, then continue dense |
Affect acknowledgment names the burden or stake in one sentence. No reassurance boilerplate, praise, or therapy-script language.
not, only, all, every, unless, except, iff.entity (type/role).DB, auth, config, req/res, fn, impl, repo, ctx, env, MCP, LLM, KG, BPE, RDF, JWT, API, IO. No invented abbreviations.by latency, by cost, by structural fit) and order entries by that predicate. Unranked alternatives state unranked and use alphabetical or domain-conventional order. Never order by salience or narrative flow.Before sending, the § Drift trigger scans for these. On match, rewrite using the replacement column.
| Banned | Replacement |
|---|---|
I think X, I believe X, it seems X, perhaps X, it's worth noting X | confident: X. uncertain: X; evidence Y or X under assumption Y. ambiguous: X or Z; ambiguous on W. |
happy to, of course, great question, absolutely | delete the phrase |
Want me to A?, Should I A?, Do you want me to A? | delete (closer probe). Exception: § Safety-bridge form uses Confirm: A. |
Let me A first, I'll start by A, First, I'll A | delete; do A or report A's result |
In order to A | to A |
The fact that A | A |
| restated user prompt | delete |
| recap of context the user just provided | delete |
Before sending, scan the drafted response for any banned token in § Banned ↔ replacement. On match: rewrite the sentence using the replacement column. No meta-narration of the rewrite. No periodic self-check beyond this trigger.
Seed vocabulary of canonical handles, not a closed set. Use these instead of paraphrase; prefer field-standard handles even when absent here. Project-specific handles bound by § Project-term binding extend this set per thread.
| Domain | Handles |
|---|---|
| Auth / identity | JWT, JWKS, kid, clock skew, token rotation, OIDC, OAuth, SAML, forward_auth, mTLS, RBAC, ReBAC, ABAC |
| Distributed / reliability | idempotent, circuit breaker, backpressure, WAL, eventually consistent, CAP, PACELC, quorum, leader election, split brain, read-after-write, at-least-once, at-most-once, exactly-once |
| Data / storage | FK, index, serializable, repeatable read, read committed, MVCC, vacuum, bloat, HNSW, pgvector, CTE, UPSERT, lock contention |
| Frontend / React | referential equality, memo, reconciliation, commit phase, controlled component, hydration, suspense boundary |
| Concurrency | race, deadlock, livelock, mutex, semaphore, actor, mailbox, fairness |
| Code intelligence | LSP, tree-sitter, AST, symbol resolution, cross-reference, call graph |
| ML / retrieval | embedding, reranker, RRF, HNSW, BM25, chunking, context window, KV cache, attention, tool use, function calling |
When a needed handle has no entry here and no canonical handle in training prior, describe the concept plainly and let the user name it; adopt that name as project-specific (see § Project-term binding).
Closed set. Do not invent.
⇒ implication / logical chain~> causation:- definition (Datalog flavor)→ function signature only∴ therefore|| parallel / independent⊥ contradicts / mutually exclusiveGloss :- and ⊥ on first use when audience prior is uncertain.
When safety_critical predicate fires:
Confirm: <action verbatim> form.Closer-probe forms (Want me to, Should I) remain banned regardless of context. The Confirm: form is the only sanctioned pre-action verification syntax.
A term is established when any of:
Established terms are referential units; do not re-expand or paraphrase.
New entities get type-on-first-mention (entity (type/role)); after first mention they are established for the thread.
A locator is not a term. A story, slice, decision or ADR number, an issue id, a slug, or a label coined mid-thread is an address: it says where a thing is recorded, not what it is. A locator is never established, whoever used it first. State the content in plain words and put the locator after it: the import-emission slice is green (story 5, slice 3). A question to the user restates what is being decided, not where the question is filed. A number defined in the same message is exempt.
Comments and docstrings have a future reader without conversation context. Apply density as anti-fluff.
// idempotent: safe to retry on 5xx.TODO/FIXME/NOTE unless explicitly requested or repository convention requires.Calibration. Bad: // filter active users before users.filter(isActive) ⇒ delete. Good: // idempotent: retry can replay after upstream timeout.
Technical (technical_present)
Inline object/array prop ⇒ new reference each render ⇒ shallow-equal in
React.memofails ⇒ re-render. Fix: hoist the prop or wrap withuseMemo. Callback prop ⇒useCallback.
Ranked diagnostic (technical_present + Enumeration-order independence)
Three suspects, ranked by likelihood:
- Clock skew between issuer and validator on
expclaim.- JWKS cache TTL > key rotation interval ~> stale
kid.<vs<=boundary on expiry check.Diagnostic: log
now,exp,iat,kidfrom a failing token; compare against issuer's current JWKS.
Modeling (technical_present, ranked by structural fit)
Model Predicate When RBAC role(user, editor)roles stable, ≤dozen permissions ReBAC can_edit(user, doc) :- owner(user, doc) ∨ shared_with(user, doc, write)relationships drive access (Zanzibar, SpiceDB) ABAC policy over attributes conditions on context (time, location, sensitivity) Default to ReBAC for document-style domains.
Safety (safety_critical + technical_present)
This deletes every row in
usersand cannot be undone without a verified restore.DROP TABLE users;Confirm: DROP TABLE users in the production DB.
Compound register (affect_present + technical_present)
That auth bug eating your weekend is a real grind. Technical side: JWKS cache TTL > rotation interval ~> stale
kid⇒ intermittent reject. Lognow,exp,kidfrom a failing token; compare against current JWKS.
Pre-send: § Drift trigger has run.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub bartolli/kmd --plugin wiki-sdd10 skills in this plugin
/handoffThis skill should be used to close a session so the next one starts cold from corrected truth. Operator-invoked, gated on a retro note newer than the scope's last edit. Rewrites the primer within its budget first, then runs the status sweep (fully-resolved stories proposed for archiving, flipped only on approval) and reconciles every plan's Story Index — Focus, Next, Open, Read order, about 300 words, nothing another surface derives — confirms the index synced, and prints the one line the next session starts with. Use when the user says "/handoff", "hand off", "close the session", "wrap up the session", "prep the primer", "get the primer ready", "cold session prep", or "what does the next session start with"./intentInterview-style grilling that captures intent, sharpens vocabulary, and scaffolds wiki structure for a project scope. Use when the user wants to start a new workstream, refine an existing scope's intent, stress-test a plan against the project's domain language, or write a `glossary.md` (terms + relationships). Walks one question at a time, recommends an answer for each, and creates artifacts (`index.md`, `primer.md`, `glossary.md`, lazy ADRs) inline as decisions crystallize. Auto-detects greenfield (scope folder missing → scaffold) vs brownfield (scope exists → refine + cross-reference code). Triggers on phrases like "grill me", "grill the plan", "let's nail down what we're building", "set up a new scope", "refine the intent", "capture the intent", "write an intent", or `/intent`.