What problem does it solve? When a user points out that generated code violates a project rule or implements something incorrectly, the fix alone is not enough—the same mistake will recur unless the project knowledge base is updated. This Skill corrects the code and automatically propagates the corrected rule into the .Knowledge/ topics, stock-docs, index, and routing manifest. ## Core Features & Use Cases - Code correction with scope clarification: Identifies the violation point and affected range, asks when unclear, and fixes the implementation within the minimal viable scope. - Automatic knowledge base sync: Converts the corrected rule into a kb-delta draft, previews it with flow2spec kb plan, applies it with kb apply, then runs kb build and kb check without requiring the user to run commands manually. - Task tracking integration: When changeTracking.fix is enabled, matches or creates tasks under TASK_ROOT, checks off steps on disk as they complete, and records user-facing to-dos. - Use Case: A user reports that a callback interface's idempotency implementation is wrong. The Skill fixes the callback handling chain, updates the idempotency rules in the relevant topic, refreshes the index, and outputs a summary of both code and knowledge base changes. ## Quick Start Tell the agent to run f2s-kb-fix and describe the incorrect implementation and the correct rule so it fixes the code and syncs the knowledge base.