From xonovex-skill-microkernel-pattern
Use when building an extensible system: a minimal core plus interchangeable plug-ins selected through a registry — the microkernel / plug-in architecture. Triggers on plugin/extension-point/registry design, adding a backend or driver without editing the core, open/closed extension, capability negotiation and fail-closed / secure-by-default gating, binding time (compile vs load vs run-time), dependency-injection vs service-locator wiring, lazy activation, or versioning a plug-in contract — even when the user doesn't say 'microkernel' and only says 'plugin architecture'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/xonovex-skill-microkernel-pattern:microkernel-pattern-guideThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A minimal core plus independent plug-ins, selected through a registry — extend the system by adding a plug-in, never by editing the core.
A minimal core plus independent plug-ins, selected through a registry — extend the system by adding a plug-in, never by editing the core.
// composition root: the only importer of concrete plug-ins
reg := Registry{Backends: map[string]Backend{
"s3": s3.New(), "gcs": gcs.New(), // adding "azure" = one leaf + one line
}}
b, ok := reg.Backends[kind] // open/closed: no central switch to edit
if !ok { return ErrUnknownBackend }
if !b.Guarantees().Has(Durable) { return ErrPolicy } // fail-closed, names no plug-in
Guides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Resolves in-progress git merge or rebase conflicts by analyzing history, understanding intent, and preserving both changes where possible. Runs automated checks after resolution.
npx claudepluginhub xonovex/platform --plugin xonovex-skill-microkernel-pattern