/sdlc-documentation:26-ai-agent-baa-and-data-processing-languagefrom sdlc-documentation
Drafts legal-review-ready BAA or DPA addendum clauses for AI agents covering service-principal access, audit logs, kill switch, memory, subprocessors, training exclusion, breach, and transfers.
Ships in sdlc-documentation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Artefact | Source or provider | Required? | Missing-input behaviour |
|---|---|---|---|
| Target sources: Parent BAA template, parent DPA template, AI Agent Architecture Spec, Action Catalogue Spec, AI Agent Responsible-AI Addendum, AI Agent Compliance Policy Pack, AI Agent SLO Doc, AI Agent Runbook, AI Data Flow + DPIA, AI HIPAA Control Pack (if PHI in scope), sub-processor list. | Project owner, approved workspace artefacts, or accountable control owner | Yes | Stop dependent claims; list the missing item, owner, and consequence. For review checks, record not assessed. |
| Scope, audience, baseline/version, and accountable decision owner | Requester or project context | Yes | Ask for or record the gap; do not infer authority or scope. |
Default to read-only. Read and search access to the supplied artefacts are required. Editing is limited to an explicitly authorised requested draft or project files. Execute validation only when authorised; publishing, signature, certification, production mutation, destructive action, spending, and risk acceptance require explicit authority.
When files, tools, network, rendering, fonts, execution, or evidence are unavailable, return the narrowest useful qualified draft or finding set. Name every unavailable check and its consequence; an unassessed check is never a pass. Preserve evidence already gathered and provide the exact next verification step.
| Condition | Action | Failure or risk avoided |
|---|---|---|
| Lawful basis, jurisdiction, data flow, or legal owner is unverified | Stop publication or signature and request legal/privacy review | Invalid privacy or contract claim |
| Residual high risk remains after controls | Escalate to the accountable authority; do not self-certify | Unauthorised risk acceptance |
not assessed and never convert it into a pass.| Artefact | Consumer | Observable acceptance condition |
|---|---|---|
| AI Agent BAA and Data-Processing Language | Accountable reviewer, control owner, auditor, or release authority | Every drop-in clause shall be self-contained, referenced to a control in the relevant control pack, and signable as an addendum. Cross-jurisdiction language shall name the transfer mechanism. Breach notification clauses shall name the timeline and the recipient. Sub-processor change clauses shall name the notice period. |
| Gap and decision record | Accountable owner and downstream reviewer | Every gap has status, impact, owner, next action, and no unsupported pass or approval. |
| Evidence | Contents | Acceptance condition |
|---|---|---|
| AI Agent BAA and Data-Processing Language evidence record | Source identifiers, scope/version, decisions, checks, exceptions, and approval state | A reviewer can reproduce each material conclusion from named sources. |
| Validation record | Check, result (pass, fail, or not assessed), evidence location, date, and actor | No required check is omitted or silently treated as passed. |
28-anti-ai-slop during authoring and 29-ai-slop-audit at major checkpoints and release.not assessed, state impact, and block dependent claims.adequate, secure, or user-friendly. Fix: Replace each with an observable criterion, threshold, and evidence source.Example: if lawful basis, jurisdiction, data flow, or legal owner is unverified, stop publication or signature and request legal/privacy review. Record the evidence and result in the validation record; this avoids invalid privacy or contract claim.
Two drop-in contract addenda for agent processing:
| Attribute | Value |
|---|---|
| Inputs | Parent BAA, parent DPA, Agent Architecture, Action Catalogue, Responsible-AI Addendum, Policy Pack, SLO, Runbook, DPIA, HIPAA control pack (if applicable), sub-processor list |
| Output | AI_Agent_BAA_Addendum.md, AI_Agent_DPA_Addendum.md, per-region annexes |
| Standards | HIPAA §164.504(e); GDPR Art. 28; KE DPA 2019 s.40; NDP Act 2023 Art. 29; POPIA s.21; UG DPPA 2019 s.24; RW DP Law 2021 Art. 25 |
For each tenant determine: HIPAA (covered entity in US healthcare); GDPR (EU/EEA/UK data subjects); KE DPA; NG NDPR / NDP Act; ZA POPIA; UG DPPA; RW DP Law; combinations.
Across all regimes, the addenda shall cover:
Map obligations 1-10 onto §164.504(e) language. Key HIPAA-specific clauses:
Map obligations 1-10 onto Art. 28 language. Key GDPR-specific clauses:
| Regime | Specifics |
|---|---|
| Kenya DPA 2019 | Data Commissioner notification per s.43; data residency expectation; ODPC AI guidance overlay (2024); cross-border transfer per s.49 |
| Nigeria NDP Act 2023 | NDPC notification; lawful basis under Art. 25; cross-border under Schedule; NDPC AI advisory overlay |
| South Africa POPIA | Information Regulator notification; s.71 automated decision-making protections (right to object, right to explanation); cross-border under s.72 |
| Uganda DPPA 2019 | PDPO notification per s.23; immediate breach notification standard; data residency considerations |
| Rwanda DP Law 2021 | NCSA notification; cross-border under Art. 48 |
Declare per direction:
Per addendum: tenant authorised signatory + processor authorised signatory + effective date + version. Counter-signature on amendments.
AI_Agent_BAA_Addendum.md: sections 1-10 plus signature block.
AI_Agent_DPA_Addendum.md: sections 1-10 plus signature block.
annexes/<region>.md: per-region annex with the specifics from Step 5.
logic.prompt, README.md, references/ai-agent-baa-template.md, references/ai-agent-dpa-template.md.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub peterbamuhigire/chwezi-sdlc-documentation --plugin sdlc-documentation160 skills in this plugin
/01-deployment-guideUse when producing or updating deployment guide for release prerequisites, migration choreography, verification, rollback, and ownership. Use runbook for the neighbouring concern; this skill owns the named document contract and its acceptance evidence./01-high-level-designUse when approved requirements need a system-level architecture with boundaries, components, critical flows, deployment topology and ADRs, or an as-built design must be recovered from existing code; use system-overview for orientation, low-level-design for module internals, and infrastructure-design for infrastructure depth./01-initialize-srsUse when writing a new SRS (software requirements specification) for a business system or module: create the Waterfall SRS workspace, IEEE structure, identifiers and source context; use context-engineering next for boundaries and actors.Other plugins' skills for the same job