self-healing-policies

Detect recurring repository failures and convert them into self-healing policies.

20|3|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/DVNghiem/FlowDeck --skill self-healing-policies
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: self-healing-policies
Source: https://github.com/DVNghiem/FlowDeck/tree/main/src/skills/self-healing-policies
Command: npx skills add https://github.com/DVNghiem/FlowDeck --skill self-healing-policies

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

FlowDeck can learn from its own mistakes. When the same type of failure recurs, a new policy is added to .codebase/POLICIES.json to prevent it from happening again.

Core Features & Use Cases

  • Policy lifecycle automation: detects recurrent failures, proposes policy changes, and supports human review for activation.
  • Active enforcement: ensures new policies are checked before relevant edits
  • Governance and auditing: tracks violations and pruning candidates to maintain policy quality.

Quick Start

Initialize the self-healing policy workflow and trigger a failure study to generate the first policy.

Frequently Asked Questions about self-healing-policies

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically prevent recurring code failures in my repository?▼

Self-healing policies detect recurring repository failures and convert them into enforceable rules within .codebase/POLICIES.json. This prevents identical mistakes by actively checking new policies before relevant edits are applied.

What is the lifecycle of an automated policy management workflow?▼

Automated policy management lifecycle detects recurrent failures, proposes policy changes, and supports human review for activation. It tracks violations and designates pruning candidates to eventually deprecate stale policies.

How do I start generating self-healing policies from past failures?▼

Initialize the self-healing policy workflow and trigger a failure study. This generates your first policy proposal by analyzing past errors to guide automated governance and human review.

Does policy enforcement check rules before or after code edits?▼

Policy enforcement checks active rules before relevant edits are applied. This proactive validation ensures new governance policies prevent failures rather than just detecting them post-edit.

Can I automate governance and auditing for stale repository policies?▼

Self-healing policy governance tracks violations and identifies pruning candidates to maintain policy quality. It automatically applies deprecation rules to remove stale policies from the active workflow.