From grimoire
Enforces established rules consistently when violated by high-status or personally connected individuals, based on historical precedent and management principles. Useful for maintaining credibility in code review governance and standards enforcement.
How this skill is triggered — by the user, by Claude, or both
Slash command
/grimoire:apply-institutional-integrityThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
When a rule you have established is visibly violated by someone with exceptional talent or close personal relationship, enforce the rule consistently — with genuine acknowledgment of the cost — because the exception destroys the institution's credibility more thoroughly than any external attack, and consistently-enforced rules are the foundation of all subsequent authority.
When a rule you have established is visibly violated by someone with exceptional talent or close personal relationship, enforce the rule consistently — with genuine acknowledgment of the cost — because the exception destroys the institution's credibility more thoroughly than any external attack, and consistently-enforced rules are the foundation of all subsequent authority.
Origin: In 228 AD, Zhuge Liang launched the first of his northern expeditions against Cao Wei. He assigned the defence of Jieting — a critical mountain pass — to Ma Su, despite the warnings of other officers that Ma Su's confidence exceeded his battlefield experience. Ma Su, in command at Jieting, disobeyed Zhuge Liang's specific written orders: instead of fortifying the road junction as ordered, he positioned his troops on the mountain, believing the high ground would be advantageous. Zhang He of Wei cut off the water supply to the mountain and destroyed the Shu force. Jieting fell; the entire northern expedition had to be abandoned. Zhuge Liang returned to Hanzhong, wept, and signed Ma Su's execution order. The Records of the Three Kingdoms record that he publicly acknowledged the warmth of the relationship and the depth of his regard for Ma Su before confirming the sentence. The sentence was enforced. Shu Han's military command retained its credibility through the remaining five northern expeditions because every officer understood that orders were enforced absolutely, regardless of the relationship between the enforcer and the violator.
Adopted by: Ray Dalio's Bridgewater Associates built its culture on explicit, published principles that applied to everyone — including Dalio himself, who submitted to the same performance review process as all employees. The credibility of the system depended on visible self-application; exceptions for Dalio would have destroyed the principle that rules applied regardless of position. Netflix's "keeper test" and its culture of high-performance standards became credible specifically because the company was willing to apply the standard to senior tenured employees — the visibility of those departures established that the standard was real. The Federal Reserve's credibility on inflation depends on demonstrating willingness to cause economic pain to enforce its inflation targets; the moment the Fed blinks under political pressure, its forward commitments become less credible.
Impact: Institutional rules exist to coordinate behaviour across many people and many future situations. Their value is not in the specific outcomes of the individual case but in the general expectation they create: everyone who observes the enforcement of the rule updates their understanding of what the rule means and whether it will apply to them. The exception made for the high-performer or the close relationship transmits a specific message: the rule is conditional, the condition is relationship or status, and those who have sufficient relationship or status are not bound by the rule. This message propagates through every subsequent interaction with the institution. The rule becomes a preference rather than a constraint, and the authority built on the rule decays with it.
Why best: The alternative to enforcing institutional integrity when a violation occurs is either (a) making an exception, which signals conditional authority, or (b) applying a modified penalty that acknowledges the relationship, which produces ambiguity about what the rule requires. Zhuge Liang's approach — genuine grief, explicit acknowledgment of the relationship, and uncompromising enforcement — is the third option: it separates the institutional dimension (the rule applies) from the personal dimension (the relationship is real and the cost is genuinely felt). This separation is what allows institutions to function across relationships rather than being constrained by them.
Sources: Chen Shou, Records of the Three Kingdoms 三国志 — "Zhuge Liang Zhuan" 諸葛亮傳 (280–290 AD); Luo Guanzhong, Romance of the Three Kingdoms 三国演义 (~1400 AD); Dalio, Principles (2017); Cialdini, Influence (1984)
Rules that people understand the logic of are followed more consistently, enforced more credibly, and violated less frequently. Before a visible violation occurs, invest in rule clarity:
The impulse to make an exception is not always wrong. Distinguish the legitimate exception from the relational exception:
| Exception impulse source | Legitimate? | Response |
|---|---|---|
| "The rule has a genuine carve-out that applies here — the situation is outside the rule's intended scope" | Yes | Apply the carve-out explicitly and document it so the boundary is clear |
| "The rule was wrong and this case has revealed it — we should change the rule" | Yes | Enforce the current rule, then formally revise it. Do not bypass enforcement retroactively. |
| "This person is too important / too close to hold to the rule" | No | Enforce the rule |
| "The cost of enforcement is too high in this specific case" | Depends | Evaluate whether the cost of enforcement is genuinely higher than the institutional credibility cost of the exception — almost always it is not |
The relational exception impulse — which Zhuge Liang explicitly had and explicitly overrode — is the dangerous one. It is also the most common. Name it accurately before deciding.
The framing of enforcement determines whether it strengthens or complicates the institution:
The institutional framing locates authority in the rule. The personal framing locates authority in the enforcer's judgment, which means the enforcer's judgment in other situations becomes the relevant variable — not the rule. Enforce on the basis of the rule, not on the basis of your personal assessment of the violation.
This does not require removing personality from the enforcement. Zhuge Liang wept. The grief was institutional too: the rule required enforcing the execution of someone he regarded with genuine warmth. Both are true simultaneously.
The tears are not theatrical. They communicate three things simultaneously:
The enforcer understands the human cost. This distinguishes principled enforcement from indifferent bureaucracy. The officer who enforces a rule without any acknowledgment of its cost signals that they are not a full moral agent making a difficult decision — they are a mechanism. Mechanisms are not respected; they are gamed.
The relationship is real. Acknowledging genuine regard for the person being enforced against demonstrates that the enforcement is not motivated by dislike, personal rivalry, or indifference. The enforcement is costing the enforcer something. That cost is visible. This makes the institutional principle legible: the rule applies even when enforcement is personally costly to the enforcer.
The enforcement is deliberate. Tears alongside a signature communicate that the decision was made fully consciously, with complete awareness of what it required. This is the opposite of enforcement-by-policy ("the system requires this"). The deliberate enforcement of a costly rule creates a different institutional precedent than the mechanical application of a procedure.
Acknowledge the cost in whatever form is authentic. Do not perform grief. Do not suppress genuine grief. The acknowledgment must be real to carry the weight the institution needs it to carry.
Every high-visibility enforcement event defines the rule's scope for all subsequent cases. After the enforcement:
Institutional integrity requires enforcement of the rule; it does not require maximally punitive treatment of the violator beyond the rule's consequences. Zhuge Liang executed Ma Su — the required consequence — and honoured Ma Su's family. The distinction:
Over-enforcement — imposing consequences beyond what the rule requires, leveraging the enforcement event for other purposes — signals that the enforcement is at least partly personal or political. Under-enforcement — formally applying the consequence while practically reducing its effect — signals that the consequence is negotiable. The enforcement should be the rule's required consequence, completely, and nothing beyond it.
Netflix performance standards applied to senior tenured employees: Netflix's culture document states that adequate performance gets a generous severance. The credibility of this standard was established by applying it to senior, tenured employees — not only to new hires or underperformers who were already marginal. The visible departures of high-status employees under the performance standard created the institutional reality that the standard was genuinely universal. If departures had occurred only among employees with no status, the standard would have been perceived as applicable only to the powerless. The Ma Su enforcement pattern: the highest-cost visible enforcement cases establish the rule's universality.
Ray Dalio submitting to Bridgewater's performance review process: Bridgewater's culture of radical transparency and algorithmic performance tracking was built on Dalio submitting to the same evaluation processes as every other employee — including public performance feedback that was at times unflattering. The institutional credibility of the system depended on Dalio's visible subjection to it. If Dalio had exempted himself, the system would have become an instrument for evaluating employees by the founder's standards without reciprocal accountability. The principle: the enforcer's self-application is the foundation of the institution's authority to apply the rule to others.
Enforcing a security review gate for a critical deadline: A software company has a mandatory security review gate before any production deployment. A senior engineer with an impeccable track record needs to deploy a critical fix 30 minutes before an important customer demonstration; the security review would take two hours. The temptation: allow an exception for a trusted engineer under justified time pressure. The enforcement: require the security review, delay or modify the demonstration, and explicitly acknowledge the cost to the engineer and to the company. The first exception for a trusted engineer under genuine pressure establishes the precedent that the gate is conditional on time pressure and relationship — and the next engineer who wants to skip the review will reference the exception. The second exception is always easier than the first.
Investment firm enforcing thesis discipline on an exceptional deal: A venture fund with a clear investment thesis (enterprise software, Series A, $10–30M revenue) is presented with a pre-revenue consumer deal by one of its most respected partners, who believes it is exceptional. The fund's LPs invested on the thesis; the fund's value to entrepreneurs is the credibility of a thesis specialist. Investing outside the thesis — even in a genuinely exceptional deal — signals that the thesis is a preference, not a constraint. The managing partner declines, acknowledges the quality of the deal, and confirms the thesis. The partner takes the deal through a personal vehicle. The fund's thesis credibility is preserved; the exception is made through a mechanism that does not bind the fund.
Making the relational exception and calling it a carve-out: Deciding that the rule does not apply because of relationship or status, while framing the exception as a legitimate edge case. This produces the institutional damage of an exception combined with the precedent-confusion of a claimed carve-out. If the exception is relational, acknowledge it and accept the institutional cost, or enforce the rule and accept the personal cost. Do not dress relational exceptions in rule language.
Enforcing the rule but mitigating the consequence informally: Formally recording the enforcement while practically reducing the consequence through informal means. The enforcement is visible; the mitigation is visible only to insiders. This produces an institution that appears to have clear standards for external audiences and conditional standards for insiders — the most corrosive possible configuration for institutional credibility.
Expressing indifference rather than genuine cost: Enforcing the rule while performing emotional distance ("this is just how rules work"). The enforcer who appears genuinely unaffected by the cost of enforcement is not communicating institutional principle — they are communicating that they do not regard the relationship as meaningful. The tears are not optional. Whatever authentic form acknowledgment takes, it is required.
Waiting for the second or third violation before enforcing: The first violation by a high-status or close-relationship party is the one that defines the rule's universality. If the first violation is permitted and enforcement begins at the second, the rule is now understood as having a tolerance for first violations by high-status parties. The subsequent enforcement is more costly to execute and less credible as an institutional signal.
Changing the rule retroactively to accommodate the specific case: Revising the rule in response to the violation, before enforcing it, so that the violation technically no longer applies. This produces an institutional record that shows the rule changing whenever enforcement would be costly — the opposite of consistent standards. If the rule requires revision, enforce it first, then change it through proper process.
npx claudepluginhub jeffreytse/grimoire --plugin grimoirePublishes rules explicitly and permanently before situations arise, so enforcement is predictable and independent of discretion. Useful for governance, organizational policy, and team operating standards.
Authors enforceable project constitutions for greenfield projects with testable principles, enforcement mechanisms, rationale, and amendment processes.
Encodes human-readable governance policies into machine-executable JSON constraints for AI agents and CI pipelines to validate automatically. Outputs rule files in .ai/governance/.