跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
其他技能

find-state-machines

Find implicit state machines, where one lifecycle's state, transitions, and ownership are scattered across flags, effects, callbacks, and async work, and make them explicit. Use when auditing lifecycle coordination, async flows, impossible states, or a proposed stateful refactor.

rknightion · 已有静态检查记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add rknightion/paperless-ngx-dedupe --skill find-state-machines

技能说明


name: find-state-machines description: Find implicit state machines, where one lifecycle's state, transitions, and ownership are scattered across flags, effects, callbacks, and async work, and make them explicit. Use when auditing lifecycle coordination, async flows, impossible states, or a proposed stateful refactor.

Find State Machines

Find implicit state machines: one lifecycle whose state, transitions, and ownership are spread across the code instead of held in one place. Make sure every non-terminal state has a guaranteed way out — failure, cancel, timeout, or recovery after restart — not just the happy-path callback. Make small fixes that preserve behavior or fix bugs right away; confirm larger restructures with the user first.