safe-ai-dlc
Skill419 starsChanged 5 months agoMITView on GitHub
Plan and run programs using the SAFe x AI-DLC fusion. Use when turning an audit, epic, or initiative into tracker structure (initiative, projects, milestones, issues, sub-issues), organizing work as Units of Work and Bolts, wiring a dependency DAG, or running a Bolt swarm with a human-in-the-loop gate. Applies when work spans multiple issues and needs cadence.
In this repository60 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/00-core-principles.mdcCursor rule
- .cursor/rules/01-git-workflow.mdcCursor rule
- .cursor/rules/02-pattern-discovery.mdcCursor rule
- .cursor/rules/03-safe-ai-dlc.mdcCursor rule
- .cursor/rules/04-knowledge-vault.mdcCursor rule
- .cursor/rules/10-backend-python.mdcCursor rule
- .cursor/rules/11-frontend-react.mdcCursor rule
- .cursor/rules/12-database-sql.mdcCursor rule
- .cursor/rules/13-testing.mdcCursor rule
- .cursor/rules/14-spec-creation.mdcCursor rule
- .cursor/rules/15-deployment.mdcCursor rule
- .cursor/rules/16-stripe-payments.mdcCursor rule
- .cursor/rules/20-agent-architect.mdcCursor rule
- .cursor/rules/21-agent-backend.mdcCursor rule
- .cursor/rules/22-agent-qas.mdcCursor rule
- .cursor/rules/23-agent-security.mdcCursor rule
- .cursor/rules/30-background-agents.mdcCursor rule
- .cursor/rules/31-mcp-integration.mdcCursor rule
- .cursor/rules/README.mdCursor rule
- agent-coordinationSkill
- api-patternsSkill
- confluence-docsSkill
- deployment-sopSkill
- frontend-patternsSkill
- git-advancedSkill
- linear-sopSkill
- migration-patternsSkill
- orchestration-patternsSkill
- pattern-discoverySkill
- release-patternsSkill
- rls-patternsSkill
- safe-workflowSkill
- security-auditSkill
- spec-creationSkill
- stripe-patternsSkill
- team-coordinationSkill
- testing-patternsSkill
- vault-syncSkill
- agent-coordinationSkill
- api-patternsSkill
- confluence-docsSkill
- deployment-sopSkill
- frontend-patternsSkill
- git-advancedSkill
- linear-sopSkill
- migration-patternsSkill
- orchestration-patternsSkill
- pattern-discoverySkill
- release-patternsSkill
- rls-patternsSkill
- safe-ai-dlcSkill
- safe-workflowSkill
- security-auditSkill
- spec-creationSkill
- stripe-patternsSkill
- team-coordinationSkill
- testing-patternsSkill
- vault-syncSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
Do NOT use it for a single isolated ticket with no program context — use safe-workflow for that.
- Very specific: line 68
Use linear-sop for tracker operations, label prerequisites, and evidence templates.
- Distinctive: line 72
Every issue description block contains:
- Distinctive: line 105
Open and elaborate: every issue in the Bolt (Mob Elaboration: sub-issues, unknowns, questions).
- Distinctive: line 124
If a decision changes business, security, or risk posture, it is the human's — surface, recommend, stop.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SAFe x AI-DLC Skill
TEMPLATE: This skill uses
{{PLACEHOLDER}}tokens. Replace with your project values before use.
Purpose
Encode the SAFe x AI-DLC fusion so agents structure multi-issue programs consistently: SAFe supplies
the hierarchy and guardrails, AI-DLC supplies the cadence and the human checkpoint. Inside a program
that adopts this fusion, sprints give way to Bolts, because agent teams elaborate, build, and
verify in hours rather than weeks. Adopting the fusion is a per-program choice; the standard sprint
path stays valid, and single isolated tickets route to safe-workflow instead.
When This Skill Applies
- Turning an audit, epic, or initiative into an executable program
- Structuring work in the tracker as initiative, projects, milestones, issues, and sub-issues
- Breaking an initiative into Units of Work and sequencing them into Bolts
- Wiring dependencies so gates land before the fixes they verify
- Running a Bolt: elaborate, validate with the human, construct, verify gates are real, evidence, merge
Do NOT use it for a single isolated ticket with no program context — use safe-workflow for that.
The Fusion Model
SAFe gives hierarchy, WSJF, roles, DoD, and dependencies. AI-DLC gives cadence (Bolts) and the human-in-the-loop.
| SAFe | AI-DLC | Tracker object |
| Portfolio Epic | The Program | Initiative |
| Epic/value stream | Program stream | Sub-initiative, or project priority |
| Feature | Unit of Work | Project |
| PI increment | Bolt | bolt:N label + target date |
| Phase gate | Inception / Construction / Operations | Project Milestone (3 per project) |
| Story/Enabler | Story | Issue |
| Task | Mob task | Sub-issue |
| WSJF/Role/DoD | prioritization / mob role / gate | description + agent:* labels + AC/DoD |
The loop: AI plans, AI asks clarifying questions, the HUMAN validates business context, then AI executes. Never skip the human validation step.
How to Structure the Program
Build top-down:
- Initiative = the program. One per program.
- Projects = Units of Work. One coherent outcome each.
- Milestones = the three AI-DLC phases (Inception, Construction, Operations). Create all three per project.
- Issues = Stories. Each carries the issue template below. Label with
bolt:Nandagent:*(lead role). - Sub-issues = Mob Elaboration tasks. Create during Inception, not before.
- Dependencies =
blocks/blockedByedges forming the dependency DAG.
Program streams map to sub-initiatives where the tracker plan supports them; where it does not, encode the stream as project priority instead (highest-risk stream = Urgent/High).
Use linear-sop for tracker operations, label prerequisites, and evidence templates.
Issue Template
Every issue description block contains:
Header: <ID> — <title> [{{TICKET_PREFIX}}-XXX]
WSJF: <score> MoSCoW: <Must|Should|Could|Won't>
Finding: <source refs, e.g. audit finding IDs>
Phase: <Inception | Construction | Operations>
Bolt: <bolt:N>
Role: <agent:* lead>
AC: - acceptance criterion (testable)
DoD: - merged to {{MAIN_BRANCH}}; relevant gate REAL and green; evidence in tracker;
no silent suppression
Deps: blocks: [...] blockedBy: [...]
Sub-issues: (Mob Elaboration tasks, added during Inception)Dependency-Wiring Rules
Wire blocks / blockedBy so the enforcement lands before the thing it enforces:
- Fix the gate before the fix it verifies. Harden CI or un-mask a check before landing the fix that check is supposed to catch.
- Rotate before scrub. Rotate a leaked credential before scrubbing it from history.
- Capture before alert. Error capture or health check blocks the alerter and the poller built on top of it.
- Upgrades before re-baseline. Framework and SDK upgrades block audit re-baselining, which blocks the scheduled recurring audit.
Dependency chains are usually rooted at CI hardening — one keystone issue tends to unblock a whole stream. Identify it and sequence its Bolt first.
Running a Bolt
- Open and elaborate every issue in the Bolt (Mob Elaboration: sub-issues, unknowns, questions).
- Validate with the human on all business, security, and policy decisions before Construction.
- Construct in dependency order on
{{TICKET_PREFIX}}-branches with SAFe commits, rebase-first. - Verify gates are real — a green check that still masks a failure is not an exit.
- Post evidence to the tracker (dev/staging/done) per
linear-sop. - Merge — RTE prepares the PR; the human (HITL) merges. Exit = merged + real gates green + evidence posted.
Human-Gate Checklist
Route to the human, with options and a recommendation, whenever a decision is:
- A secret or credential action (what to rotate, when, blast radius)
- A security policy: CSP allow-list, auth behavior, headers
- A CI or branch-protection decision: which checks become required
- A severity or risk policy: dependency-audit thresholds, fix-vs-suppress budget
- An SOP exception (e.g. a migration deviating from the documented process)
- Signing the Definition of Done
If a decision changes business, security, or risk posture, it is the human's — surface, recommend, stop.
Anti-Patterns (Do NOT use)
Forcing an ambiguous epic into one Bolt (run a spike instead — elaboration is the hard part)
Creating sub-issues before Inception (Mob Elaboration produces them, not the other way round)
Bolts as calendar sprints (a Bolt exits on evidence, not on a date)
Skipping human validation to move faster (the loop is the method; without it this is just SAFe)
Treating a green check as an exit (verify the gate enforces, not that it merely passed)Reference
docs/guides/SAFE-AI-DLC-METHODOLOGY.md-- Methodology guide (rationale, worked example)specs_templates/program_template.md-- Program document scaffolding- AI-DLC source: https://aws.amazon.com/blogs/devops/ai-driven-development-life-cycle/
Routes To
linear-sop— tracker operations, program structure, evidence templatessafe-workflow— branch, commit, and PR conventions; HITL mergeorchestration-patterns— multi-agent swarm coordination for a Boltpattern-discovery— find existing code and doc patterns before constructing
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

