/sdlc-documentation:15-ai-data-and-knowledge-base-specfrom sdlc-documentation
Specifies AI knowledge sources, ingestion, tenant isolation, freshness, retention, lineage, and training-data exclusions for data engineering and AI teams.
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.
AI data and knowledge-base specification is the next lifecycle deliverable.ai-feature-prd-spec when that neighbouring route owns the decision or deliverable.| Artefact | Source or provider | Required? | Behaviour when missing |
|---|---|---|---|
| Approved AI use cases, data inventory, tenancy model, and privacy constraints | Data owner, security owner, and product context | Yes | Stop the affected step, name the missing source, and return only a qualified gap record. |
AI data and knowledge-base specification.| Artefact | Consumer | Acceptance condition |
|---|---|---|
| AI data and knowledge-base specification | Data engineering, AI, security, and evaluation teams | Required sections are populated, source links resolve, and every material requirement or decision has an observable review or test oracle. |
| Evidence | Reviewer | Acceptance condition |
|---|---|---|
Source, decision, trace, and validation record for AI data and knowledge-base specification | Requirements quality reviewer | Inputs used, decisions made, checks run, failures, and unassessed items are explicit. |
Read and search are required. Editing is allowed only when the request authorises creation or repair of the named requirements artefact. Publishing, production mutation, destructive action, spending, and certification require explicit authority.
Fallback: if a required file, reviewer, standard source, network check, renderer, or execution capability is unavailable, return the narrowest useful qualified result and mark the affected check not assessed; never convert an unassessed check into a pass.
| Choice or condition | Action | Failure or risk avoided |
|---|---|---|
| A source has unknown ownership, tenant scope, or deletion behaviour | Quarantine the source until provenance and lifecycle controls are assigned. | Cross-tenant leakage or untraceable model context. |
| Required inputs and test oracles are complete | Continue through the existing workflow and record evidence. | A deliverable whose acceptance cannot be reproduced. |
| A mandatory source or owner is missing | Stop the affected branch and issue a qualified gap record. | Fabricated context or unauthorised decisions. |
AI data and knowledge-base specification and its acceptance checks.AI data and knowledge-base specification from assumed context. Fix: cite the project source or mark the scope blocked.ai-feature-prd-spec without routing the decision. Fix: hand off the named input and preserve trace links.not assessed and state the release consequence.AIM-* access-filtering, citation, and deprecation-exclusion requirements and LIN-04 erasure reach.The data-and-knowledge artefact that retrieval-augmented and fine-tuned features absolutely need but the generic Database Design skill does not produce. Captures lineage, retention, freshness, and the cross-tenant control story.
For every source feeding an AI feature: name, type (document store / data warehouse / external API / customer-uploaded), owner, classification (public / internal / confidential / PII / SPI), volumes, refresh cadence.
For each source state whether it is shared across tenants (e.g. a public-document corpus) or per-tenant. Shared sources MUST also state the licence / copyright / opt-out posture.
For each source, record how changes arrive, their schedule, transformation and tenant isolation. For a passage index, document segmentation. When using vector retrieval, also identify chunk size and overlap, the embedding model, vector store and tenant partition.
For a ticket queue, specify what the operator can change on the next shift, the population at the cutoff and who may supply a subsequent label or correction. Give effective time and first-observed time different fields. Keep held-out sites, later revisions and labels outside the scoring input. For a manual lookup, record which published revision and passage were valid on the question date. Select chunking, embeddings and vector storage only if the chosen retrieval method uses them. A lexical lookup can ship a dated passage index.
| Source | Ingestion SLA | Freshness | Stale-data behaviour |
|---|---|---|---|
| Customer document upload | < 5 min from upload to retrievable | < 5 min | feature shows "indexing in progress" |
| CRM sync | hourly | < 1 h | retrieval can be slightly stale |
| Public corpus | weekly | weekly snapshot | n/a |
Each source has a retention rule (regulatory + product). Conversation logs (prompt + response) have their own retention. State the lineage record: which model + prompt + index version produced each output. Lineage is queryable for audit.
For each source state whether the data may be used to train the model provider's general models, our fine-tunes, our embedding model. Show evidence: contract clause, gateway endpoint flag, opt-out documentation.
AI_Data_And_Knowledge_Base_Spec.md sections: 1) Source Inventory, 2) Per-Source Scope, 3) Ingestion Pipelines, 4) SLA & Freshness, 5) Retention & Lineage, 6) Training-Data Exclusion, 7) Cross-Tenant Controls, 8) Traceability to AI FRs.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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