principle-redesign-from-first-principles

Redesigns existing code as if new requirements were foundational assumptions from day one.

Updated Jul 29, 2026
One-click install
npx skills add https://github.com/mmdmcy/fluttAIrbar --skill principle-redesign-from-first-principles-mmdmcy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: principle-redesign-from-first-principles
Source: https://github.com/mmdmcy/fluttAIrbar/tree/main/plugins/pstack/skills/principle-redesign-from-first-principles
Command: npx skills add https://github.com/mmdmcy/fluttAIrbar --skill principle-redesign-from-first-principles-mmdmcy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When new requirements get bolted onto an existing design, the codebase accumulates awkward patches and loses coherence. This Skill guides the AI to redesign the affected system as if the new requirement had been a foundational assumption from the start, preserving design integrity and option value. ## Core Features & Use Cases - Holistic Design Review: Reads all affected files to understand the current design before proposing changes. - First-Principles Redesign: Asks what the system would look like if built from scratch with the new requirement in mind. - Complete Propagation: Updates every reference including types, docs, examples, and rationale sections. - Use Case: When adding a new feature like multi-tenancy to an existing application, use this Skill to restructure the design cleanly instead of layering conditional logic on top of single-tenant assumptions. ## Quick Start Use the principle-redesign-from-first-principles skill to integrate this new requirement into the existing design as if it had been there from day one.

Frequently Asked Questions about principle-redesign-from-first-principles

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

FAQPage Schema
How do I integrate a new requirement into an existing design?

Read all affected files to understand the current design holistically, then ask what you would build from scratch with the new requirement included. Propagate the change through every reference including types, docs, and examples, delivering the redesign incrementally.

What is redesign from first principles in software engineering?

Redesign from first principles means treating a new requirement as if it had been a foundational assumption from day one, rather than bolting it onto the existing design. The result should look like what the team would have built originally with full knowledge.

When should I redesign instead of patching existing code?

Redesign when a new requirement conflicts with core assumptions of the current design, such as adding multi-tenancy to a single-tenant system. Patching works for peripheral changes, but foundational shifts need holistic redesign to preserve option value.

Does this approach require rewriting the entire codebase?

No, the redesign is thought about holistically but delivered incrementally. Only the affected files and references are reworked, with changes propagated through types, documentation, examples, and rationale sections as needed.

What are the limitations of first-principles redesign?

It requires reading and understanding all affected files upfront, which takes more effort than a quick patch. It is also unnecessary for small, peripheral changes that do not challenge the existing design's core assumptions.