/wings-authoring:sec-fail-operationalfrom WINGS Authoring
Applies Apollo AGC fail-operational principles (priority shedding, bounded loops, restart protection) to WINGS Go/WASM apps — keep the app rendering when one part fails.
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.
The Apollo 11 landing survived the 1201/1202 alarms because the guidance
computer assumed things would go wrong in flight and shed low-priority work
instead of failing whole. In your WINGS app the stakes are a blank page, not a
crater — but the architecture is the same: one wasm module, one Go runtime, so
one feature's failure must not take the page down with it (see sec-wasm-go).
Render can run again. Your initialization and
effects should be safe to re-run — re-fetching or re-subscribing on a second
Render must not double-count or leak.obj.Element.Get("isConnected").Bool() since there is no teardown hook.error; never
assume a js.Value is the type you expect. For anything "impossible," check
it, log loudly, and take the degraded path. In a component prefer
log + degrade over panic — a panic kills the whole app, the opposite of
shedding (sec-wasm-go). recover only at a deliberate top-level boundary,
and log the recovery as the bug it is.w-dialog (buttons="save,discard,overwrite,cancel") rather than
hand-rolling one (see wings-widgets).isConnected)? No teardown hook will do it for you.Render safe to run twice (no double fetch / double subscription)?select{}
deadlock — use a buffered channel or go, never block the event loop.)w-dialog confirm?if err != nil { return err } chains that lose context until something at
the top logs a bare "error" with no idea which fetch/locale/index failed.recover() used to paper over a bug instead of fixing it.for {} or for range ticker.C in Render with no isConnected exit.Sibling skills: sec-wasm-go (panic = total, single thread),
wings-component (the async/teardown pattern), wings-widgets (w-dialog).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub luisfurquim/wings --plugin wings-authoring11 skills in this plugin
/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./sec-hostile-inputInput validation and parsing discipline for WINGS apps (djb "don't parse" + Margaret Hamilton's defensive design) — applied to YOUR boundaries — fetch/API responses, form fields, URL hash/query, postMessage, localStorage, and js.Values. Use when writing or changing any code in your app that reads data from outside the wasm module./sec-minimal-trusted-codedjb's trusted-code minimization applied to YOUR WINGS app — keep parsing at build time, design misuse-resistant APIs, add the fewest deps and config knobs, don't evaluate user strings at runtime. Use when designing a new component/package/public helper, adding a dependency or config option, or reviewing a diff that grows your app./sec-supply-chainDependency and artifact integrity for YOUR WINGS app — adding/updating Go modules, pinning the wings version, govulncheck (native + GOOS=js passes), SRI on served scripts, signing the catalogs you ship, Docker FROM wings, never baking secrets into images. Use whenever your go.mod/go.sum changes, you prepare a release, or you serve/fetch an artifact./sec-wasm-goSecurity peculiarities of Go-to-WASM in the browser, for apps you build with WINGS — the syscall/js trust boundary, panic = whole-app death, the innerHTML/XSS invariant, secrets in browser memory, single-thread concurrency, GOOS=js tooling gaps. Use when writing or reviewing any component (GOOS=js code), DOM interop via syscall/js, fetch, or browser-delivered features in your app./wings-buildSet up, build, and serve a WINGS app — Go module setup, the WASM build (GOOS=js), copying the JS runtime helpers, a static dev server, and the cross-platform cmd/build orchestrator (targets + the camelCase binding lint + rebuild-on-save dev mode). Use when scaffolding a new WINGS project, configuring its build, wiring main.go, or setting up a dev server / dev loop.Other plugins' skills for the same job