mcp-work-discipline

Enforce discipline and self-audit rules for idu-pi refactorings.

Updated May 23, 2026
One-click install
npx skills add https://github.com/Wladimirfn/IDU-PI --skill mcp-work-discipline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-work-discipline
Source: https://github.com/Wladimirfn/IDU-PI/tree/main/.agents/skills/mcp-work-discipline
Command: npx skills add https://github.com/Wladimirfn/IDU-PI --skill mcp-work-discipline

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill ensures that behavior-preserving refactorings and changes in the idu-pi project adhere to strict discipline and self-audit rules, preventing unintended side effects and maintaining project integrity.

Core Features & Use Cases

  • Discipline and Self-Audit: Enforces mandatory checks before reporting refactorings, ensuring no behavior changes are overlooked.
  • Refactoring Guidance: Provides clear guidelines for pure moves, case/tool extraction, and other refactorings.
  • Gate Lessons: Implements hard-won rules for gate verification, ensuring robust code quality.
  • Honest Reporting: Encourages accurate reporting of changes and their impact.

Quick Start

Run the mcp-work-discipline skill before reporting any refactor in the idu-pi project to ensure it adheres to discipline and self-audit rules.

Frequently Asked Questions about mcp-work-discipline

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

FAQPage Schema
How do I ensure behavior-preserving refactoring does not introduce unintended side effects?

Behavior-preserving refactoring requires strict discipline and self-audit checks before reporting changes. You must enforce mandatory gate verification rules to ensure no behavior changes are overlooked, preventing unintended side effects and maintaining project integrity.

What is a self-audit check for pure moves and case extraction in code refactoring?

A self-audit check for refactoring verifies that pure moves and case extraction maintain original behavior. It enforces specific discipline rules and gate verification, requiring honest reporting of changes and their impact before finalizing the process.

How to apply gate verification rules for CLI and MCP server refactorings?

To apply gate verification for CLI and MCP server refactorings, run discipline checks before reporting. This enforces adherence to specific rules, ensuring robust code quality and verifying that the refactorings preserve existing behavior without side effects.

Does the idu-pi refactoring discipline process work with implementer models like Claude and Qwen?

Yes, the idu-pi refactoring discipline process is designed for use by implementer models including Claude, Qwen, MiniMax, and KM5. It enforces self-audit rules on refactorings generated by these models to maintain project integrity.

When do I need to run discipline checks before reporting a code refactor?

You need to run discipline checks before reporting any refactor in the idu-pi project to ensure it adheres to strict self-audit rules. This applies to pure moves, case extraction, and other behavior-preserving changes to prevent unintended side effects.

What are the limitations of relying on self-audit for behavior-preserving refactorings?

The limitation is that self-audit requires strict adherence to hard-won gate lessons and specific discipline rules. If implementer models bypass these mandatory checks before reporting, unintended side effects may occur, compromising the intended behavior-preserving nature of the refactoring.