business-logic-guardian

Check planned code changes against documented business logic files.

6|Updated May 29, 2026
One-click install
npx skills add https://github.com/fusebase-dev/fusebase-flow --skill business-logic-guardian
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: business-logic-guardian
Source: https://github.com/fusebase-dev/fusebase-flow/tree/main/flow-skills/business-logic-guardian
Command: npx skills add https://github.com/fusebase-dev/fusebase-flow --skill business-logic-guardian

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When fixing or improving application code, it is easy to accidentally alter or break existing documented business rules and edge cases without realizing it, leading to unexpected user-facing behavior and costly rework.

Core Features & Use Cases

  • Documented Logic Guard Layer: Checks planned code changes against existing business logic documentation (either the AI-default retrieval index or human-readable narrative doc) to catch conflicts before commit.
  • Behavior Break Flagging: Explicitly flags any change that would alter, remove, or contradict documented business behavior or edge cases, so you can preserve intended functionality or update the documentation in the same change.
  • Use Case: If you are fixing a bug in a rental marketplace app that has documented rules for late fee calculations, this skill will verify your fix does not accidentally change those fee rules before you deploy the change.

Quick Start

Run the business-logic-guardian skill when you are working on a fix or improvement that touches business behavior for an app that has an existing documented business logic file in its docs folder.

Frequently Asked Questions about business-logic-guardian

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

FAQPage Schema
How do I prevent breaking existing business logic when fixing application code?

To prevent breaking business logic during code fixes, validate planned changes against documented business rules before committing. This process checks modifications to application code behavior and flags any alterations that contradict existing edge case documentation.

What is business logic behavior preservation in software development?

Business logic behavior preservation is the process of verifying that code changes do not silently alter documented business rules. It checks code modifications against existing application logic documentation to catch conflicts and flag behavior changes before deployment.

Do I need a business logic documentation file to validate code changes?

Yes, code change validation requires a business logic documentation file to operate. You need either a business-logic-index.md AI retrieval file or a business-logic.md human narrative document stored in your docs folder, otherwise validation does not run.

How do I check code changes against business logic documentation?

To check code changes against business logic documentation, run a validation check when working on fixes that touch app behavior. The process compares planned code modifications against stored business rules and explicitly flags any behavior that would be removed or contradicted.

What happens if there is no business logic file in the docs folder?

If there is no business logic file in the docs folder, the validation process functions as a silent no-op. You must have a business-logic-index.md or business-logic.md file present in the docs directory for the behavior break flagging to activate.

Can I update business rules and deploy code changes at the same time?

Yes, when behavior break flagging identifies a conflict, you can update the business logic documentation in the same change. This ensures your code modifications and business rules remain synchronized without unexpected user-facing behavior.