PRISM D1: Velocity — AI Development Lifecycle Workshop
:warning: Sample Project — Not Production-Ready
This project is provided as a sample and reference implementation only. It is not designed, tested, or hardened for production use. Use it as a starting point or learning resource, and perform your own security review, testing, and operational hardening before deploying to any production environment. See SECURITY.md for known gaps and production hardening guidance.
Compress the idea-to-production loop with disciplined AI adoption.
Part of the PRISM Framework (Progressive Readiness Index for Scalable Maturity) — the D1 Velocity pillar focuses on AI-native software development lifecycle practices that are measurable from Day 1.
PRISM D1 instruments how your teams actually use AI to write software — which commits AI wrote, whether that code passes review and survives in production, and what it costs — then renders it on dashboards aimed at engineers, engineering leaders, and CISOs.

The Executive Readout, running on real data. The observed PRISM level is computed from live outcome metrics rather than self-assessed, with a gate table naming what blocks the next level. AI share, merge rate and cost per shipped commit come from commit attribution — and Attribution Coverage reports what fraction of the fleet those numbers actually cover, so a partially-onboarded team is never mistaken for a partially-AI one.
Architecture

Use PRISM locally (prism-cli)
Install prism-cli (Node.js 22 or later): npm install -g @prism-d1/cli. Most features run on a developer machine with no AWS deployment.
| Feature | Command | Details |
|---|
| Secret scan on commit, AI review on push | prism-cli enable codewatch | Codewatch |
| One local page for results, usage and setup | prism-cli dashboard | Local Dashboard |
| Findings, spend and setup status for an AI agent (Kiro, Claude Code) | prism-cli mcp | MCP server |
| Findings in VS Code, Kiro or Cursor | code --install-extension prism-d1-<version>.vsix | Editor extension |
| A PRISM page, PRISM tools, a fix-findings skill and a quiet daily digest in Kiro Crew | prism-cli enable kirocrew | Kiro Crew app |
| PRISM tools, slash commands, a findings summary at session start, and a secret and review check before Claude pushes in Claude Code | /plugin install prism@prism-d1-velocity | Claude Code plugin |
| Findings and spend in the Claude Code status line | prism-cli enable claude-code | Claude Code status line |
| Read-only AWS account checks and fixes | prism-cli aws check | AWS Account Advice |
Security Agent review of your branch (after enable security, which deploys to AWS) | prism-cli security code-review | Running a Review |
Supported coding agent plugins
PRISM brings codewatch findings, review reports, AI spend and the setup checklist into the tools you already code in:
| Plugin | Works with | What you get | Install |
|---|
| PRISM editor extension | VS Code, Kiro IDE, Cursor | The local dashboard's own pages and actions in a panel, findings in the Problems panel, spend and findings in the status bar. Works with or without a repo open, and over Remote-SSH. Needs prism-cli 1.21.0 or later. | Install the editor extension |
| PRISM Kiro Crew app | Kiro Crew | A PRISM sidebar page, PRISM tools for every agent, a skill that fixes findings before a push, and a daily digest that notifies you only when something changed. | Install the Kiro Crew app (prism-cli enable kirocrew) |
| PRISM Claude Code plugin (v0.3.2) | Claude Code | The PRISM MCP tools, slash commands (/prism, /prism:findings, /prism:report, /prism:fix, /prism:review, /prism:spend, /prism:dashboard for the local dashboard on 127.0.0.1, or --snapshot for a static file), a SessionStart summary of the branch's open findings, the agent harness loop hooks (gitleaks and a review before Claude pushes, and an opt-in review before it finishes), and a status line with findings and spend (prism-cli enable claude-code). | Install the Claude Code plugin (/plugin marketplace add aws-samples/sample-prism-d1-velocity, then /plugin install prism@prism-d1-velocity) |