What problem does it solve?
Removing a workflow node outright breaks existing user workflows that still reference it. This Skill standardizes the deprecation process in the FastGPT codebase so a node is hidden from the template panel for new workflows while old workflows continue to load, render, and run.
Core Features & Use Cases
- Guided deprecation checklist: Covers every touchpoint including template definitions, dispatchers, constants files, callback maps, and UI references.
- Node-level status badges: Adds
status: PluginStatusEnum.SoonOffline so deprecated nodes show a yellow "coming offline" badge with replacement tooltip in the canvas.
- Anti-pattern guardrails: Explicitly prevents deleting enum values, removing entries from
moduleTemplatesFlat or the dispatch callbackMap, and deleting i18n keys.
- Use Case: When the team decides to retire the
LoopNode or RunAppModule node, follow this Skill to move files into abandoned/ directories, update constants, and verify old workflows still run.
Quick Start
Ask the AI to deprecate the workflow node named LoopNode while keeping existing workflows functional.