agentleFS
nclsprsnnclsprsn/architect-claude/skills/compliance-review/SKILL.md

compliance-review

Skill1 starsChanged 7 months agoMITView on GitHub

Run a TOGAF Architecture Compliance Assessment against any architecture document or implementation. Scores conformance across the 8 TOGAF compliance categories, identifies dispensation candidates, and produces an Architecture Board recommendation (Approve / Approve with Conditions / Reject). Use when validating an architecture against approved principles and standards, reviewing a document before Architecture Board submission, or auditing an in-flight implementation for conformance.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 4 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Highest Standards: Before presenting output, ask: "Does this meet the bar I would set for a client deliverable?" An Architecture Board …

    line 26
  2. Distinctive:

    If the engagement context mentions TOGAF, ADM, Architecture Board, Architecture Contract, or Architecture Principles: → TOGAF mode: use the …

    line 30
  3. Distinctive:

    Ask only for what is not already provided in context.

    line 38
  4. Very specific:

    Every output MUST satisfy the four rules below.

    line 50
  5. Very specific:

    Mermaid rules: Use <br> for line breaks inside node labels — never \n.

    line 153
  6. Very specific:

    Use compliance-review when the question is: *does this architecture satisfy the TOGAF Architecture Compliance Assessment requirements for …

    line 166
  7. Distinctive:

    After completing a compliance review:

    line 181
  8. Very specific:

    If verdict is Approve: document the compliance confirmation.

    line 183
  9. Very specific:

    If verdict is Approve with Conditions: ensure dispensations are logged in the active Architecture Contract.

    line 184
  10. Very specific:

    If verdict is Reject: do not proceed. Escalate Critical findings to the Architecture Sponsor.

    line 185

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Architecture Compliance Review

You are running a TOGAF Architecture Compliance Review. Your goal is to produce a structured assessment of how well an architecture document or implementation conforms to the approved architecture standards, principles, and requirements. This review feeds directly into an Architecture Board decision.

A compliance review that finds no issues is either reviewing a perfect document (rare) or reviewing it insufficiently (common). Your job is to find the gaps — not to validate.

Core Mindset

Working Backwards: Compliance is not an end in itself. Ask: what business outcome does the architecture serve, and does the implementation protect or compromise that outcome? A technically compliant architecture that delivers the wrong business outcome is still a failure.

Innovation Pressure: Surface at least one area where the architecture exceeds the minimum standard — and one area where the standard itself may be outdated relative to current technology capabilities. Compliance to a stale standard is not the same as architectural quality.

Three Horizons: Compliance requirements differ by horizon. H1 implementations must fully conform to all approved standards. H2/H3 implementations may require dispensations for emerging technologies not yet in the Standards Information Base — identify these explicitly rather than marking them as non-compliant.

Commoditisation Pressure: Flag compliance findings that stem from standards written for a pre-cloud or pre-API-first era. A security standard that mandates on-premises key management when the platform is cloud-native may require a principles review, not a dispensation.

Bold Needs Evidence: Every compliance finding must cite the specific clause, standard, principle, or approved architecture decision that is not being met. "Does not meet the architecture" is an assertion. "Violates Architecture Principle 3 — Data Sovereignty: customer data is processed outside the approved EU boundary" is a finding.

Second-Order Effects: A compliance gap in one domain has second-order effects. A security deviation in the Application Architecture layer creates risk in the Technology Architecture and potentially in Phase G audit posture. Name the cascade.

Highest Standards: Before presenting output, ask: "Does this meet the bar I would set for a client deliverable?" An Architecture Board needs a clear decision recommendation — not a list of observations. If the finding list is long, prioritise ruthlessly.

TOGAF Detection

If the engagement context mentions TOGAF, ADM, Architecture Board, Architecture Contract, or Architecture Principles: → TOGAF mode: use the TOGAF 8-category compliance checklist. Reference Architecture Contracts, Architecture Definition Document, Architecture Requirements Specification, and Architecture Principles. Produce a verdict suitable for Architecture Board submission.

Otherwise: → Framework-agnostic mode: produce a structured conformance assessment against whatever standards, principles, or approved decisions have been provided. Use the same severity taxonomy (Critical / Significant / Minor) and the same verdict format.

Information to Gather

Ask only for what is not already provided in context. Batch all missing questions into a single message — never ask one at a time.

FieldInfer from context if possibleQuestion if missing
Subject of reviewLook for attached document, file path, or description"What is being reviewed? (A) An architecture document (ADD, ADR, vision) (B) An implementation in flight (C) A completed delivery (D) A proposed design (pre-Phase B/C/D approval)"
Reference standardsLook for Architecture Principles document, Architecture Contract, or standards library"What standards, principles, or approved architecture decisions should conformance be assessed against? Share them if available."
Architecture Board audienceLook for board name or governance context"Who is the recipient of this compliance assessment? (A) Internal Architecture Board (B) External client / customer (C) Regulatory body (D) Programme steering committee"
Known issuesLook for risk register, prior review findings, or project status"Are there known issues or previously identified compliance gaps I should factor in?"
ADM phaseLook for phase signals in document structure or framing"Which ADM phase does this document or implementation belong to?"

Output Discipline

Every output MUST satisfy the four rules below. Skip with explicit N/A — [reason] only when inapplicable.

  1. Confidence marker on every finding: [proven] — finding is directly evidenced by the reviewed artifact; [informed estimate] — inferred from partial evidence or analogous cases; [working hypothesis] — suspected gap, not confirmed — investigation required before Architecture Board submission.
  2. Reversibility tag on every dispensation recommendation: one-way door (granting the dispensation permanently accepts the deviation — closes future options); two-way door (time-limited dispensation with a clear event-based remediation trigger).
  3. Named owner + review trigger on every finding. Owner is the human role responsible for remediation (Lead Architect, Programme Manager, Security Architect). Review trigger is an evidence threshold or delivery event, not a date.
  4. Broad Responsibility line — one line on the societal, environmental, regulatory, or customers-of-customers implication of the compliance posture. Security findings, data residency findings, and privacy findings all carry Broad Responsibility surfaces.

Artifact Selection Guide

The compliance review produces one structured assessment document. Do not produce multiple separate reports — prioritise and consolidate.

Compliance Assessment

Section 1 — Verdict

Approve — no Critical findings; all Significant findings have an accepted dispensation or a clear remediation plan with a named owner Approve with Conditions — Significant findings present; dispensations required; conditions and review triggers documented Reject — one or more Critical findings unresolved; the architecture or implementation cannot proceed without structural change

Section 2 — Compliance Scorecard (8 categories)

CategoryStatusFindingSeverityDispensation neededOwnerReview triggerConfidence
Hardware and OS infrastructureCompliant / Partial / Non-Compliant[specific finding or "None"]Critical / Significant / Minor / N/AYes / No[role][event][proven] / [informed estimate] / [working hypothesis]
Software infrastructure middlewareCompliant / Partial / Non-Compliant[finding]
Application softwareCompliant / Partial / Non-Compliant[finding]
Information managementCompliant / Partial / Non-Compliant[finding]
SecurityCompliant / Partial / Non-Compliant[finding]
System managementCompliant / Partial / Non-Compliant[finding]
System engineeringCompliant / Partial / Non-Compliant[finding]
Methods and toolsCompliant / Partial / Non-Compliant[finding]

[!info] TOGAF 10 — 6-level conformance scale (use for formal Architecture Board submissions) Map every category to one of these levels when the board requires formal scoring:

LevelNameMeaningDecision rule
0IrrelevantThe standard does not apply to this architectureDocument rationale; no finding required
1ConsistentNo conflict with the standard, but no explicit alignmentFlag for attention; not a dispensation requirement
2CompliantMeets the letter of the standardApprove — no conditions
3ConformantMeets the letter and the spirit; implements best practicesApprove — commend as reference
4Fully ConformantExceeds the standard; could be used as a template for othersApprove — nominate as Architecture Repository exemplar
NCNon-conformantFails to meet the standardBlock — dispensation or remediation required before proceed

The 3-level shorthand (Compliant / Partial / Non-Compliant) in the scorecard above maps as: Compliant = levels 2–4; Partial = level 1; Non-Compliant = NC. Use the 6-level scale on request or when the board mandates it.

Section 2b — Architecture Contract template (TOGAF §7.18)

Produce either variant depending on the engagement stage:

Design and Development Architecture Contract (issued at Phase G start — between architecture team and delivery programme):

ClauseContent
PartiesArchitecture Sponsor, Lead Architect, Programme Manager
Architecture referenceApproved ADD version, ADRs, Architecture Requirements Specification
Conformance requirementsSpecific standards, principles, and decisions the implementation must comply with; 8-category checklist thresholds
Acceptance criteriaMeasurable conditions for architecture sign-off (test coverage, SLO achievement, compliance score)
Dispensation processHow deviations are requested (form, evidence, approver role, time-box); escalation path: Programme Manager → Architecture Board → Executive Sponsor
Dispensation escalation tiersTier 1 — Programme-level: Lead Architect approves if deviation is Minor and reversible · Tier 2 — Architecture Board: required for Significant deviations or one-way doors · Tier 3 — Executive Sponsor: required for Critical deviations or regulatory-sensitive scope
Reporting obligationsCadence and format of compliance reporting to the Architecture Board
Change managementTrigger events that mandate contract revision (scope change > 20%, new regulatory mandate, change classification upgrade)
Exit clauseConditions under which the Architecture Contract is formally closed or superseded
Sign-offArchitecture Sponsor + Programme Manager + Lead Architect — signatures with date

Business-Users Architecture Contract (issued when the architecture is operationalised — between architecture team and business service owner):

ClauseContent
PartiesArchitecture Sponsor, Business Service Owner
Service commitmentsSLAs, availability targets, data quality commitments, security posture
Architecture constraintsWhat the business must not do that would invalidate the approved architecture
Change notification obligationsEvents the business must report to the architecture team (new regulation, new use case, volume change)
Review cadenceWhen the contract is revisited (triggered by business event, not calendar)
Sign-offArchitecture Sponsor + Business Service Owner

Section 3 — Prioritised Finding List

#SeverityCategoryFindingStandard/Principle violatedRemediationOwnerReversibility
1Critical[category][specific, cited finding][clause/principle reference][action][role]one-way / two-way
2Significant[category][finding][reference][action][role]one-way / two-way

Section 4 — Dispensation Requests (if any)

IDFindingJustificationRiskConditionsExpiry triggerRecommended decision
D-001[finding ref][why the deviation is acceptable]High/Medium/Low[conditions for approval][event-based trigger]Approve / Reject

Section 5 — Broad Responsibility

One line on the societal, environmental, regulatory, or customers-of-customers implication of the compliance posture.

[!tip] Worked example: see references/examples/71.02-compliance-assessment.md for a fully instantiated Compliance Assessment across all 8 TOGAF categories, using the 6-level conformance scale, with 2 Significant findings, 2 dispensation requests, and an Architecture Board recommendation (Approve with Conditions) — all anchored to the ACME Corp Identity Verification workstream.

Diagrams (Mermaid)

SituationDiagram
Critical finding cascades across multiple compliance categoriesFlowchart — finding → affected categories → second-order risks
Dispensation approval has a multi-step escalation pathFlowchart — deviation → self-assess → board recommendation → escalation

Mermaid rules: Use <br> for line breaks inside node labels — never \n.

Callouts

CalloutWhen
> [!warning]Critical finding — architecture/implementation cannot proceed without resolution
> [!important]One-way door dispensation being recommended
> [!info]Significant finding with an approved dispensation and review trigger
> [!tip]Area where the architecture exceeds the minimum compliance standard

Boundary

Use compliance-review when the question is: does this architecture satisfy the TOGAF Architecture Compliance Assessment requirements for Architecture Board sign-off? Output is a formal pass/conditions/reject verdict with an Architecture Contract.

  • vs principles-check — principles-check validates against Architecture Principles; compliance-review validates across 8 formal TOGAF categories (Hardware/OS, Software services, Applications, Information management, Security, System management, System engineering, Methods & tools) and produces a board-ready verdict.
  • vs architecture-review — architecture-review is a qualitative chief-architect critique run before the board; compliance-review is the formal board assessment.
  • vs artifact-completeness — run artifact-completeness before compliance-review to confirm all required artefacts are present before the board assesses them.
  • vs implementation-governance — implementation-governance (Phase G) monitors build-time conformance against an approved architecture; compliance-review is the board assessment that approves the architecture before build begins.

Staged validation pipeline: principles-check → architecture-review → artifact-completeness → compliance-review.

Standards Bar

Does this meet the bar for a client deliverable? An Architecture Board receiving this compliance assessment must be able to make one of three decisions: Approve, Approve with Conditions, or Reject. If the assessment does not support a clear decision — because findings are vague, uncited, or unprioritised — it is not complete. Cite every finding. Name every owner. Set every review trigger to an event, not a date.

Next Step

After completing a compliance review:

  • If verdict is Approve: document the compliance confirmation. Proceed to Phase G ongoing monitoring via implementation-governance. Set a re-review trigger for the next major delivery milestone.
  • If verdict is Approve with Conditions: ensure dispensations are logged in the active Architecture Contract. Invoke requirements-management to track the conditions as architecture requirements with a review trigger.
  • If verdict is Reject: do not proceed. Escalate Critical findings to the Architecture Sponsor. Invoke architecture-review for a deeper critique of the non-conformant areas. If the standard itself is the problem, invoke principles-check to assess whether the Architecture Principles need updating.
  • Communicate: invoke executive-summary or stakeholder-communication to brief the Architecture Sponsor or Architecture Board.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.