Adr

From Crapule421/tiger-team · View interactive version

Adr is an AI agent skill from the GitHub repository Crapule421/tiger-team. Write an Architecture Decision Record or a target-architecture note - options, criteria, trade-offs, decision, consequences, reversibility and compliance impacts. Use when a structural technical choice must be made or documented.

How to use this skill

Skill file

Task: Architecture Decision Record or target-architecture note

Input: $ARGUMENTS

You do not see the prior conversation: work only from the input above and the files it points to.

0. Intake

1. Confidentiality gate (mandatory, before any analysis)

Stop and ask the user for an anonymised version, without producing the deliverable, if the input contains any of:

Reply only with the category found (never the content) and what to redact. Generic product names, technologies and volumes are fine.

2. Load the knowledge

3. Method

  1. Reformulate the decision as one question; state scope, horizon, and what is out of scope.
  2. Context: facts, forces, constraints (business, technical, organisational, regulatory). Identify sector and data classes (personal, health, banking secrecy, classified) — they drive hosting and compliance.
  3. Knock-out criteria (must-haves): legal/regulatory, security policy, contractual, safety, principles that cannot be waived. Screen options pass/fail before scoring.
  4. Options: at least two realistic options plus "do nothing / defer". Describe each in 2-4 lines, neutrally.
  5. Weighted criteria (5-8, weights summing to 100 %, anchored 1-5 scale, evidence type per score: PoC, benchmark, vendor doc, estimate). Compute weighted scores exactly (show the arithmetic is consistent) and run a sensitivity check on the top weights.
  6. Decide: "We will …", with the decisive trade-off in two sentences. If the evidence is insufficient to decide, recommend a time-boxed PoC or spike with explicit success criteria instead of a forced decision, and keep status Proposed.
  7. Consequences: positive, negative, neutral; impacts per domain (integration, data/DB, infra/hosting, security, scheduling/batch, ERP, IBM i, operations/DEX, cost, skills).
  8. Compliance impacts: security and accreditation (homologation), DICT; GDPR (legal basis, DPIA need, transfers outside EEA); DORA if a financial entity (critical or important function, ICT third party, register of information, exit strategy, RTO/RPO); sovereignty/hosting class (SecNumCloud, HDS, II 901… as applicable); sector rules. Write "not applicable — reason" rather than omitting. Write "verify" on any regulatory detail you are not certain of.
  9. Reversibility: exit path, cost/duration to reverse, point of no return; technical debt created with sunset date; review date if assumptions are volatile.
  10. Run the ADR review checklist from adr.md before finalising.

4. Output (Markdown)

If ADR

Use the "Tiger Team extended template" from adr.md:

# ADR-NNNN: <decision title as imperative phrase> (keep NNNN unless the input gives a number), metadata line (Status: Proposed unless the input says the decision is taken; Date; Deciders/Consulted/Informed as roles; Review date; Supersedes), then sections 1-10 of the template, with:

If target-architecture note

Follow the "Target-architecture note structure" in adr.md (purpose and horizon, baseline, target with principles applied, integration patterns, data ownership, hosting by data class, NFR targets, gap analysis add/change/remove, transition architectures with coexistence bridges and sunset dates, decommissioning, list of ADRs to write with one Y-statement each, compliance impacts, macro roadmap, cost drivers).

Then always end with the team-standard sections

Risks — table Risk | Criticality (Critical/High/Medium/Low) | Mitigation.

Handoffs — Only when there is a real point, one typed line per handoff: → <agent-name> | <claim: what you assert or need, one sentence> | <evidence: source, file:line, or "assumption"> | <needs: confirm / adjust / provide <what>>. Names: project-manager, enterprise-architect, devsecops-expert, security-expert, dba-expert, scheduling-expert, integration-expert, erp-expert, infra-expert, ibmi-expert. Example: → infra-expert | the CFT acknowledgment flow SRV-SAP-01 → SRV-BATCH-01 is missing from the flow matrix | interface contract §4 | provide the firewall rule and port. A settled point is not a handoff.

Open questions — numbered, with the role who can answer; mark those that could change the decision.

Assumptions — numbered; mark those that could flip the decision.

5. Quality bar

Answer in the language used in the input.

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.