/wings-authoring:sec-minimal-trusted-codefrom WINGS Authoring
Applies djb's trusted-code minimization: eliminate code, keep parsing at build time, design misuse-resistant APIs, minimize dependencies, avoid config knobs. Use when designing new components, adding deps, or reviewing diffs.
Ships in WINGS Authoring. 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.
Source: D. J. Bernstein, "Some thoughts on security after ten years of qmail 1.0." Security holes are bugs; the bug rate scales with the amount of code that must be correct for security to hold. Three levers, strongest first:
gen_i18n parses all your HTML and flex syntax at build
time; the wasm runtime just consumes pre-indexed JSON. Don't undo that by
building a runtime template/expression evaluator that interprets
user-supplied strings in the browser. If a feature tempts you to "parse rich
syntax at runtime," push it to build time instead.wi18n.SetCatalogPublicKey (one call → all-or-nothing,
fail-closed signature enforcement), ApplySkin (returns a typed error
instead of panicking). The helpers and components you write should have no
"insecure but convenient" mode — no flag that disables escaping,
validation, or verification.sec-supply-chain).error instead of panicking? (A panic is total in
wasm — see sec-wasm-go.)interface{}/js.Value and "figures it out" — that's a
parser in disguise; type it at the boundary (see sec-hostile-input).Sibling skills: sec-hostile-input (boundary typing), sec-supply-chain
(dependency cost), sec-wasm-go (why panics are fatal here).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
11 skills in this plugin
/sec-fail-operationalApollo AGC fail-operational design (priority shedding, bounded everything, restart protection, NASA Power of 10) applied to YOUR WINGS app — loops, goroutines, timers, fetch error paths, recovery. Use when writing component effects, background goroutines, polling/retry, or any code that must keep the app rendering when one part fails./sec-fuzzingContinuous fuzzing with Go native fuzzing for any parser/decoder YOU add to a WINGS app — keeping parseable logic in portable (non-js) packages so it's fuzzable, writing targets, the properties to assert, corpus management. Use when you add or change any string/byte parser, custom wire format, or decoder in your app./npx claudepluginhub luisfurquim/wings --plugin wings-authoringOther plugins' skills for the same job