patronum
Patronum Skill
Use this skill to solve Patronum usage questions quickly and consistently. Target Patronum v2.x by default.
Workflow
- Classify request:
operator-choice: choose one or several operators for a task.api-explain: explain signature, overloads, and return value.compose: combine multiple operators into one flow.debug: usedebugand scope-aware debugging notes.migration: map legacy forms to modern usage.
- Load references progressively:
- Start with
references/operator-matrix.md. - Add
references/recipes.mdfor task-to-solution mapping. - Add
references/pitfalls.mdfor caveats and anti-patterns. - Add
references/migration-notes.mdwhen legacy forms appear.
- Build answer contract:
- Start with decision: selected operator(s) and why.
- Provide minimal practical snippet.
- Add caveats (imports, overload differences, behavior traps).
- For uncertain versions, explicitly state v2 assumption and show migration note.
Defaults
- Prefer Patronum v2.x shorthand where available.
- Prefer concise examples with explicit imports.
- Keep examples deterministic and composable with Effector primitives.
- Prefer
patronum/<operator-kebab-name>imports when clarity matters.
Guardrails
- Do not suggest outdated signatures as default.
- Do not invent operators outside the official list.
- Do not hide behavior differences between overloads.
- Do not skip edge cases for
pending,condition,interval,time, anddebug.
Output Template
Use this structure in answers:
Use <operator>: one-line reason.Example: minimal code block.Caveats: version or overload notes.
More from aiko-atami/effectorjs-skills
effectorjs
Design, refactor, and review Effector state management using modern v23+ patterns. Use when tasks involve createStore/createEvent/createEffect modeling, dataflow with sample/attach/split, scope-safe SSR with fork/allSettled/serialize/hydrate, React integration with useUnit, Solid/Vue integration patterns, fixing scope loss, or replacing anti-patterns such as business logic in watch, imperative calls in effects, and direct getState business reads.
30effector-storage
Choose and implement effector-storage persistence patterns for Effector apps. Use when tasks involve persist/createPersist usage, selecting adapters (local/session/query/broadcast/storage/asyncStorage/memory/nil/log), configuring clock/pickup/context/keyPrefix, validating data with contracts, handling done/fail/finally flows, SSR-safe adapter fallback with either, or debugging sync and serialization issues.
16argon-router
Integrate and use argon-router in React web applications with Effector. Use when tasks involve creating routes and routers, wiring RouterControls/history adapters, composing routes with chainRoute/group/createVirtualRoute, rendering views with RouterProvider/createRoutesView/Outlet, building links with Link/useLink, and managing URL query state with trackQuery and @argon-router/paths.
10