Seam discovery and enforcement

From Vrooli/Vrooli · View interactive version

Seam discovery and enforcement is an AI agent skill from the GitHub repository Vrooli/Vrooli. Prioritize **discovering, strengthening, and enforcing “seams”** in this scenario.

How to use this skill

Skill file

Steer focus: Seam Discovery & Enforcement

Prioritize discovering, strengthening, and enforcing “seams” in this scenario.

A seam is a deliberate boundary where behavior can vary or be substituted without invasive changes (e.g. for testing, swapping implementations, isolating integrations, or controlling side effects).

Your goal is to make the scenario easier to test, safer to change, and more modular by improving where and how seams exist.

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

Required reading:


**1. Understand Core Flows & Variation Points**

Keep these natural variation points in mind as prime candidates for stronger seams.


**2. Discover Existing Seams**

Where seams exist but are weak or frequently violated, plan to clarify and reinforce them.


**3. Identify Missing or Eroded Seams**

Look for areas where code is hard to test or change because seams are missing or have eroded:

These are good candidates for introducing or restoring seams in a focused, incremental way.


**4. Strengthen & Enforce Seams**

Where appropriate, improve seams so they are clear, robust, and easy to use:

Favor small, incremental improvements over sweeping refactors. Improve the most impactful seams first.


**5. Improve Testability & Variation at Seams**

The goal is to make it easy for future loops to test new behavior by using the seams you’ve clarified.


**6. Safe Refactoring Guidelines**

You may:

You must:

If you detect a seam that should exist but requires a major redesign, document it clearly (in comments or notes) rather than applying a risky partial change.


**7. Documentation**

Use knowledge-observatory-tools to read the current seams doc for {{TARGET}}, then update it with your findings (discovered seams, strengthened boundaries, remaining weak points).


**9. Output Expectations**

By the end of this loop, the scenario should:

Avoid superficial changes (e.g. renaming things without clarifying boundaries, or shuffling code without improving testability).

Focus this loop on practical, targeted seam improvements that make the scenario easier to evolve safely, especially around external dependencies, side effects, and behavior that may need to vary over time.

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.