Assumption mapping and hardening

From Vrooli/Vrooli · View interactive version

Assumption mapping and hardening is an AI agent skill from the GitHub repository Vrooli/Vrooli. Prioritize **discovering, validating, and safely handling assumptions** in this scenario's code, tests, configuration, and interactions.

How to use this skill

Skill file

Steer focus: Assumption Mapping & Hardening

Prioritize discovering, validating, and safely handling assumptions in this scenario's code, tests, configuration, and interactions.

Your goal is to make important assumptions explicit, verified, and robust, so the scenario is harder to break as it evolves.

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


**1. Identify Hidden Assumptions**

Systematically scan the scenario (code, tests, configuration, comments) to uncover implicit assumptions, such as:

Capture (for yourself) a mental list of the most important and risky assumptions you find.


**2. Evaluate Risk & Validity**

For each important assumption, consider:

Prioritize assumptions that are:


**3. Codify Assumptions as Checks & Tests**

Turn fragile, implicit assumptions into explicit, verifiable behavior:

Prefer enforced assumptions (validation + tests) over comments alone.


**4. Soften or Remove Fragile Assumptions**

Where assumptions are risky or unrealistic, make the code more forgiving and explicit:

Do not introduce confusing complexity; aim for simple, explicit, defensive behavior.


**5. Align Assumptions with Domain & PRD**

This keeps assumptions coherent with the scenario's actual purpose.


**6. Documentation**

Update docs/internal/ASSUMPTIONS.md to record your findings:

Include:

When assumptions are validated and hardened (enforced via types, validation, or tests), move them to docs/internal/INVARIANTS.md with a note about how they're enforced.


**8. Output Expectations**

You may update:

You must:

Focus on practical, targeted assumption hardening that makes the scenario more resilient to real-world variation and evolution, without overcomplicating the design or drifting from the PRD.

Avoid “security theater”–style changes; only introduce checks and adjustments that genuinely reduce risk or clarify behavior.

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.