/agile-delivery:security-first-agilefrom agile-delivery
Integrates security engineering into Scrum ceremonies including sprint planning, retrospectives, threat modeling, and security champions programs. Applies OWASP SAMM, STRIDE, and DORA metrics with a Security-First/People-First/Agile precedence hierarchy.
Ships in agile-delivery. 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.
None: SKILL.md is the whole skill.
A synthesis of Scrum theory, security engineering, and people-first culture for enterprise engineering teams. Applies a strict precedence hierarchy: Security First → People First → Agile/Scrum. Security is non-negotiable; Scrum is the framework that enables it; people are the ones who make it work.
Every process decision resolves conflicts in this order:
Scrum is a lightweight empirical process control framework built on three pillars:
| Event | Timebox | Purpose |
|---|---|---|
| Sprint | 1–4 weeks (fixed) | Container for all other events |
| Sprint Planning | ≤8 hrs (4-wk sprint) | Why/What/How — defines Sprint Goal |
| Daily Scrum | 15 minutes | Developer sync toward Sprint Goal |
| Sprint Review | ≤4 hrs | Inspect Increment, adapt backlog |
| Sprint Retrospective | ≤3 hrs | Inspect team process, commit to improvements |
| Artifact | Commitment |
|---|---|
| Product Backlog | Product Goal |
| Sprint Backlog | Sprint Goal |
| Increment | Definition of Done |
Velocity is a planning tool, never a performance target. Comparing velocity across teams is meaningless. Goodhart's Law: when a measure becomes a target, it ceases to be a good measure.
The DoD applies universally to every Increment. Security gates are mandatory — an item that does not pass is returned to the backlog, not presented at Sprint Review.
## Security Definition of Done Checklist
- [ ] SAST scan (Semgrep + CodeQL) — 0 Critical/High findings
- [ ] SCA scan (Snyk/Dependabot) — 0 Critical CVEs in dependencies
- [ ] Secrets scan (Gitleaks) — 0 leaked secrets in commits or diffs
- [ ] IaC scan (Checkov) — 0 High misconfigs (when infra changed)
- [ ] All DB queries use parameterized patterns (no string concatenation)
- [ ] All API endpoints carry [Authorize] with appropriate policy
- [ ] CORS policy explicitly whitelists allowed origins only
- [ ] Content Security Policy headers configured (no unsafe-inline)
- [ ] Security logging verified (structured logs; no PII in logs)
- [ ] Threat model updated if new data flows or trust boundaries introduced
- [ ] AI-assisted code: PR labeled ai-assisted; reviewer confirms understanding (not just diff)
Pipeline enforcement: SAST and secrets scanning run as PR gates — the PR cannot merge on failure. SCA runs nightly and on PRs. IaC scanning triggers on infrastructure file changes only. Every gate should produce zero manual willpower.
Threat modeling belongs in backlog refinement, not as a waterfall gate. Apply a 5–10 minute STRIDE quick-scan per user story when a story introduces new data flows, external integrations, or trust boundary changes. Full models are reserved for epics.
| Category | Question | Common Finding |
|---|---|---|
| Spoofing | Can someone impersonate a user or service? | JWT validation missing on new endpoint |
| Tampering | Can request data be modified in transit or at rest? | Object IDs accepted from client without server-side validation |
| Repudiation | Can a user deny performing an action? | No audit trail for admin operations |
| Information Disclosure | Does this expose data to unauthorized parties? | API returns sensitive fields the client does not need |
| Denial of Service | Can this be abused to exhaust resources? | Unbounded query without pagination |
| Elevation of Privilege | Can a lower-privilege user gain higher access? | IDOR — user accesses another user's data by changing an ID parameter |
Write a misuse story alongside every security-sensitive user story. Format:
As a [attacker type], I want to [exploit behavior] by [attack vector], so that I can [attain goal]. Mitigations: [specific controls] [automated test that proves the mitigation]
Example — Broken Object-Level Authorization:
As a malicious authenticated user, I want to access other users' order data by manipulating the orderId parameter in GET /api/orders/{orderId}, so that I can steal PII and financial data. Mitigations: Controller verifies
order.UserId == currentUser.Id. Integration test: authenticated User A requesting User B's order returns 403 Forbidden.
Security spikes handle unknowns: time-box 1–3 days. Deliverable is a recommendation and estimated stories, not production code.
One Security Champion per team (one per 10–20 developers). Select based on curiosity and peer influence — not seniority.
Champions from all teams form a Security Guild meeting bi-weekly:
Rotate champions every 6–12 months. Overlap periods of 4 weeks for knowledge transfer. Track champion assignments on a dedicated Champions board in the project management tool. Never leave a team without a champion — overlap before rotating.
Hold a dedicated Security Backlog Grooming session monthly (separate from standard refinement):
| Tier | Frequency | Scope |
|---|---|---|
| Automated DAST (OWASP ZAP baseline) | Every PR/build | Changed endpoints |
| Security Champion review | Each sprint | Security-critical features |
| Internal manual pentest | Quarterly | Full application scope |
| External firm engagement | Annually | Full scope including social engineering |
With 2-week sprints, annual external testing leaves 25 of 26 releases untested. Layer all four tiers.
Google's 2012 Project Aristotle studied 180+ teams and found psychological safety is the single strongest predictor of team effectiveness — stronger than individual talent, colocation, or seniority.
Teams with high psychological safety were rated effective 2× more often by executives and exceeded targets by 17% in sales. Low-safety teams fell short by 19%.
Amy Edmondson's hospital research found stronger teams reported higher error rates — not because they made more mistakes, but because they felt safe reporting them. The same dynamic applies to security: teams without psychological safety hide vulnerabilities to avoid blame. Psychological safety is a security control.
Adapted from Google SRE. A blameless postmortem assumes everyone involved had good intentions and made the best decision they could with the information they had at the time.
Store postmortems in a searchable team wiki. Review action item status at the next Sprint Retrospective. Use past incidents for "Wheel of Misfortune" training with new team members. Focus on systems, not individuals — the goal is to prevent recurrence, not assign blame.
The #1 reason retrospectives fail: action items never get completed. Every unresolved action item teaches the team that participation is pointless.
| Format | Best Used When | Structure |
|---|---|---|
| Start/Stop/Continue | Default; fast | Three columns, sticky notes, dot vote |
| 4Ls | Milestone retrospectives | Liked / Learned / Lacked / Longed For |
| Sailboat | Team struggling with alignment | Wind (helps) / Anchor (slows) / Rocks (risks) / Island (goal) |
| Mad/Sad/Glad | Burned-out or high-stress teams | Emotional temperature check |
| Lean Coffee | Mature teams wanting open agenda | Participant-proposed topics, dot-vote, timeboxed discussion |
| Starfish | Teams needing nuance | More Of / Less Of / Keep / Start / Stop |
Rate eleven dimensions on green/yellow/red with trend arrows: Easy to Release, Suitable Process, Tech Quality, Value, Speed, Mission, Fun, Learning, Support, Pawns or Players, Teamwork.
Run quarterly as a workshop with simultaneous card reveals — the conversation is the value, not the score. Track trends across quarters; scan across teams to spot systemic patterns.
Bus factor = minimum team members whose sudden absence would stall the project. Research of 25 popular GitHub projects found 10 had a bus factor of 1.
Strategies:
ADRs (Michael Nygard, 2011; Thoughtworks Radar "Adopt" 2018) capture the reasoning behind architectural decisions for future team members and for system evolution.
# ADR-NNN: [Short title]
**Status:** Proposed | Accepted | Deprecated | Superseded by ADR-NNN
**Context:** [What is the situation forcing this decision? What constraints apply?]
**Decision:** [What was decided?]
**Consequences:** [What becomes easier or harder as a result?]
Store in docs/adr/ in the repository — co-located with code, version-controlled, always current. Create ADRs during spikes and refinement. Reference them in Sprint Planning when related work appears. Present significant decisions in Sprint Review.
The evidence (2024–2026) is sobering. The METR RCT (July 2025, 246 tasks) found AI tools made developers 19% slower despite developers believing they were 20% faster. Apiiro found AI-assisted commits merged 4× faster while introducing 322% more privilege escalation paths. Veracode found 45% of AI-generated code samples fail security tests. Google DORA 2025 found a 9% increase in bug rates correlated with 90% increase in AI adoption.
| Use AI First | Use Human First | Human Only |
|---|---|---|
| Boilerplate/scaffolding (CRUD, DTOs) | Complex business logic | Authentication flows |
| Unit test generation | Domain-specific reasoning | Cryptography |
| Documentation | Familiar codebases | PII handling |
| Migration generation | Security-adjacent features | IaC for sensitive infra |
ai-assistedThe four key DevOps metrics from the DORA research program (Accelerate, Forsgren, Humble, Kim, 2018):
| Metric | Elite | High | Medium | Low |
|---|---|---|---|---|
| Deployment Frequency | Multiple per day | Daily to weekly | Weekly to monthly | Monthly to 6 months |
| Lead Time for Changes | < 1 day | 1 day – 1 week | 1 week – 1 month | 1–6 months |
| Change Failure Rate | 0–5% | ~10% | ~15% | 16–30%+ |
| Failed Deployment Recovery Time | < 1 hour | < 1 day | < 1 day | 1 week – 1 month |
Important nuances:
Instrument in CI/CD: Deployment Frequency via pipeline run data; Lead Time via commit-to-production timestamps; Change Failure Rate by tagging failed deployments; FDRT by measuring incident creation to resolution.
OWASP Software Assurance Maturity Model v2 provides a structured path for security program maturity.
Security Backlog Grooming sessions should review SAMM scores and connect improvement work to quarterly Sprint Goals.
60% of organizations carry critical security debt (Veracode 2026 State of Software Security). Security debt is technical debt with higher blast radius.
| Severity | SLA |
|---|---|
| CISA KEV or CVSS ≥9.0 (internet-facing) | Current sprint |
| CVSS 7.0–8.9 | Within 2 sprints |
| CVSS 4.0–6.9 | Within current quarter |
| CVSS <4.0 | Scheduled as capacity allows |
Dedicate 10–20% of sprint capacity to security debt. Make this a standing capacity allocation visible in Sprint Planning — not something negotiated away under feature pressure.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub theviziusgroup/vibe-engineering-skills --plugin agile-delivery3 skills in this plugin
/delivery-velocityUse when trying to ship software faster, improve team throughput, reduce cycle time, plan MVPs, prioritize features using WSJF, or implement fixed-time/variable-scope development. Triggers on delivery speed, velocity, throughput, MVP scoping, or any question about shipping faster. Also triggers on mentions of cycle time, batch size, WIP limits, Little's Law, CHAOS Report, decision latency, or contract structure for software projects./engineering-metricsUse when measuring engineering team performance, setting up DORA metrics, using the SPACE framework, analyzing deployment frequency, lead time, change failure rate, MTTR, or presenting engineering productivity to leadership. Triggers on engineering metrics, team performance, productivity measurement, DORA, SPACE, OKRs for engineering, cycle time analysis, or any question about how to measure software teams without causing harm.2 plugins ship this exact skill · first indexed Aug 12, 2026