/sdlc-documentation:13-ai-prompt-and-system-message-specfrom sdlc-documentation
Guides creation of versioned, production-grade AI prompts and system messages with registry tags, change control, regression evaluation, and rollback contracts.
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 behaviour |
|---|---|---|---|
| Approved AI architecture, feature requirements and sample prompts | Phase 02/03 artefacts | Required | Stop if prompt ownership or expected behaviour is undefined. |
| Regression, safety and data-handling criteria | Evaluation, security and privacy owners | Required | Block deployment when required tests or secret rules are absent. |
| Artefact | Consumer | Observable acceptance condition |
|---|---|---|
| Prompt and System-Message Specification | AI engineers, security, evaluation and release teams | Every production prompt has owner, version, variables, trust boundary, regression suite, deployment, monitoring and rollback contract. |
| Evidence | Consumer | Acceptance condition |
|---|---|---|
| Source and decision trace | Reviewer and downstream owner | Each material statement cites an approved input, named decision or qualified open issue. |
| Completed verification record | Release or phase gate owner | Every applicable check records pass/fail; unavailable checks remain not assessed. |
Read-only is the default for analysis, review, evaluation and planning. Read and search access to authorised project artefacts are required. Editing is limited to an explicitly requested project deliverable. Execution may run document, syntax or validation checks. Network access is used only for facts that require current verification. Do not publish, spend, change production, approve policy, or claim certification without explicit authority.
If any required capability is unavailable, return the narrowest useful qualified Prompt and System-Message Specification draft plus a gap register showing the missing item, affected sections, risk and owner. Never convert an unassessed check into a pass.
| Choice | Action | Failure or risk avoided |
|---|---|---|
| Change can alter user-visible or safety behaviour | Create a new version and run full regression | Silent prompt drift is prevented |
| Context contains untrusted retrieved/user text | Delimit it as data and preserve instruction priority | Prompt injection cannot redefine authority |
For every production AI feature, list every prompt artefact: system message, user-message template, retrieval-context wrapper, judge-LLM rubric, agent planner prompt, agent tool-result wrapper. Each has a registry tag.
Define the source-of-truth (Git repo prompts/), the directory layout, the file format (yaml or markdown front-matter), the versioning scheme (semver), the tagging rule, the owner field.
A prompt change requires:
Top-of-message rules:
When passing retrieved chunks, wrap them with explicit boundaries, source-id markers, and a parser-friendly format. Forbid mixing retrieved text into the system message. Include a do-not-execute-instructions clause for the retrieved block.
State the deploy pipeline (tag in registry -> gateway picks up on next call), the bake protocol, the rollback action (revert tag pin), and the alerting on regression after deploy.
Prompts contain no secrets. Tenant identifiers are guarded claims, not free text. PII in prompts is redacted by a pre-processor; logs of prompt and response are tenant-partitioned.
Prompt_And_System_Message_Spec.md sections: 1) Prompt Inventory, 2) Registry Layout, 3) Change-Control Workflow, 4) System-Message Patterns, 5) Retrieval-Context Format, 6) Deploy & Rollback, 7) Secrets and PII Rules, 8) Traceability.
What SKILL.md sets; muted values are Claude Code's defaults
160 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
npx claudepluginhub peterbamuhigire/chwezi-sdlc-documentation --plugin sdlc-documentation