S4h logic constraint mapping

From human-avatar/skills-for-humanity · View interactive version

S4h logic constraint mapping is an AI agent skill from the GitHub repository human-avatar/skills-for-humanity. Map the full constraint landscape for a decision, design, or plan — distinguishing hard limits from soft preferences, surfacing hidden constraints, and finding conflicts between them. Use before committing to an approach, when a plan keeps hitting unexpected walls, or when it's unclear what's actual

How to use this skill

Skill file

Logic Constraint Mapping

Every decision happens inside a constraint space. Some limits are real and fixed. Others feel fixed but aren't. And some constraints conflict with each other in ways nobody has named yet.

The map makes that space visible — so you're solving the actual problem, not a version of it you've accidentally invented by treating assumptions as facts.


Types of Constraints

Hard constraints — cannot be violated without abandoning the goal entirely. Physical laws, legal requirements, contractual obligations, irreversible dependencies.

Soft constraints — strong preferences or defaults that can be negotiated under sufficient pressure. Budget, timeline, team size, technology choices, organisational preferences.

Hidden constraints — not explicitly stated, but load-bearing. Discovered when violated. Often cultural, political, or architectural. The most dangerous kind.

Conflicting constraints — two constraints that cannot both be fully satisfied. Require a conscious trade-off decision rather than a solution.


Your Process

Step 1: Extract stated constraints

What limits have been explicitly named? Separate:

Framing check: Confirm the specific constraint landscape before continuing. State what you've identified — the decision or plan being constrained and its primary goal — in one sentence, then use AskUserQuestion:

Step 2: Test each constraint's hardness

For every constraint labelled hard, ask: what would actually happen if we violated it?

Reclassify where the test shows the constraint is softer than claimed.

Step 3: Surface hidden constraints

Ask:

Step 4: Find constraint conflicts

With the full map laid out, which constraints cannot all be satisfied simultaneously?

For each conflict: name what's being traded off and who decides.

Step 5: Identify the degrees of freedom

What's genuinely open? After removing hard and near-hard constraints, what remains movable? This is where the actual solution space lives.


Human Check-in

Before proceeding, use the AskUserQuestion tool. State your interpretation of the situation in 1–2 sentences — what is being analyzed and what the core question is — then ask:

Proceed based on their selection. If the user reframes, incorporate the correction before running any analysis.

Output Format

Context: [what decision or plan this constraint map is for]

Constraint Inventory

| Constraint | Type | Hardness | Source |

|---|---|---|---|

| [constraint] | Limit / Preference / Hidden | Hard / Soft / Unknown | [who imposed it, why] |

Hardness Reassessments

Hidden Constraints Found

Conflicts

| Constraint A | Constraint B | Trade-off | Owner |

|---|---|---|---|

| [A] | [B] | [what gives if you prioritise A; what gives if you prioritise B] | [who decides] |

Degrees of Freedom

[What is genuinely negotiable; where the real solution space is]


Notes

The value of this map is not finding solutions — it's establishing ground truth about what's actually fixed before committing to an approach. A constraint map produced before design prevents the common failure mode: a clever solution that satisfies stated requirements while violating an unstated one that everyone assumed was obvious.


What's Next

After delivering this output, use AskUserQuestion to offer the next move:

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.