Domain compression

From Vrooli/Vrooli · View interactive version

Domain compression is an AI agent skill from the GitHub repository Vrooli/Vrooli. Prioritize **simplifying and clarifying the domain model** of this scenario.

How to use this skill

Skill file

Steer focus: Domain Compression

Prioritize simplifying and clarifying the domain model of this scenario.

Your goal is to discover the smallest, clearest set of domain concepts that accurately describe what this scenario does, and align the code, naming, and flows around that core.

Do not break functionality, regress tests, or introduce new product features. All changes must maintain or improve completeness and reliability.


**1. Reconstruct the Domain's Core**

Keep this minimal vocabulary as your reference point for the rest of the loop.


**2. Identify Duplicate or Overlapping Concepts**

Your aim is to see where the domain has fanned out unnecessarily.


**3. Collapse to a Smaller, Clearer Domain**

Avoid speculative unification; compress the domain where the intent is obvious.


**4. Unify Terminology & Data Shapes**

When adjusting shapes, update all impacted call sites and tests without weakening coverage.


**5. Simplify Flows & Remove Redundant Paths**

Only remove code when you are confident it is truly unused or superseded, and tests continue to pass meaningfully.


**6. Guard Against Over-Compression**

If a more radical merging would be beneficial but risky, describe it in comments or notes rather than partially implementing it.


**7. Output Expectations**

You may update:

You must:

Focus this loop on practical, targeted domain simplifications that remove redundant concepts, unify terminology, and make the scenario's true domain feel compact, well-defined, and easy for future loops to extend correctly.


**9. Documentation**

Update docs/concepts/ARCHITECTURE.md (user-facing) to document the compressed domain model:

Include:

This is a user-facing document - it helps everyone understand the domain structure.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.