Enterprise AI Transformation
Blueprint
AI Transformation
AI Transformation
Product Management
TO
AI-Augmented Product Engineering
Table of Contents
1Strategy & Roadmap
2Enablement & Automation
3Governance & Compliance
4Legacy Integration
5Appendix & FAQs
recordedMike & karaokeMike Strategy & Roadmap
recordedMike & karaokeMike Strategy & Roadmap
recordedMike:Welcome to the Enterprise AI Transformation blueprint. This is Mike, and today I'm joined by our Lead Systems Architect, Sarah, and our Agile Transformation Lead, Jessica. Today, we are looking specifically at the 'Strategy and Roadmap' block of the blueprint, which lays out the exact execution path for moving from traditional product management to an AI-augmented infrastructure. We're going to walk through the core pages in this block right below us, breaking down not just what we are doing, but exactly how we are engineering it.
Jessica:That's right, Mike. Because the reality of enterprise AI is that you can't just hand a development team a bunch of API keys and expect a transformation. It requires a fundamental shift in how we plan, how we measure success, and how we govern the entire software development lifecycle. And that's exactly what the Strategy and Roadmap block is designed to solve. We are bridging the feasibility gap between high-level executive ambition and ground-level engineering reality.
Sarah:And bridging that gap starts at the top. Let's look at 'Executive Vision and Strategy: Internal AI Transformation'. This section is all about solving the visibility problem. If executives can't see the return on investment—if they can't mathematically prove that AI is making the organization faster and more resilient—the transformation stalls out completely.
recordedMike:Exactly, Sarah. For years, executives have relied on manual Work Management status updates or subjective RAG status reports. But when you are injecting AI into the engineering workflow, you need deterministic visibility. In the core sections of the Executive Vision page, we highlight how to automate transformation ROI dashboards. We are talking about pulling epic resolution dates directly from the Work Management API, analyzing the delta in cycle times, and pushing those real-time metrics directly into Enterprise Observability Platforms.
Jessica:And the reason that Observability integration is so critical is that it shifts the conversation from "we feel like we are moving faster" to "our flow time has decreased by twenty-two percent." The executive dashboard becomes a living breathing reflection of the engineering floor. When a new AI capability is rolled out to a squad, the executives can watch the cycle time gauge in Enterprise Observability Platforms react in real-time. It completely removes the guesswork from the executive strategy.
Sarah:Which brings us perfectly into how we actually align the organization to execute that strategy. Let's dive into 'SAFe and AI Integration Strategy: Operationalizing the Blueprint'. This page breaks down how AI integrates into our existing agile ceremonies. We aren't throwing away SAFe or agile principles; we are supercharging them.
Jessica:A core section here is 'PI Planning Evolution'. PI Planning used to be a massive, manual whiteboard exercise where teams would spend two days just trying to untangle dependencies. Now, weeks before PI Planning even starts, teams use automated AI prompts. The System Architect runs a headless Atlassian Rovo agent that reads all the upcoming Epics for the quarter, cross-references them against our internal architectural guidelines, and outputs a JSON matrix mapping the exact database schema changes required.
recordedMike:Think about the impact of that. By Day One of PI planning, the teams already have the API contracts drafted by Claude. They aren't discovering tangled dependencies on the fly; the AI has already surfaced them. And during Day Two, when we evaluate risks, the AI steps in again. If a team accepts a database timeout risk, the Release Train Engineer feeds that into Claude during the session, and the AI instantly generates a continuous monitoring script that alerts the Architect if any future code touches that specific vulnerability.
Sarah:And we govern all of this through shared AI configuration files within the repositories. The AI isn't just generating code blindly; it's bounded by our specific enterprise constraints. But to execute that level of automation, you need developers who know how to wield these tools effectively, which brings us to 'The Enablement Engine: Claude Code Backbone'.
recordedMike:'The Enablement Engine' is arguably the most critical piece of the puzzle. This page covers how we actively upskill the organization. We don't just do generic prompt engineering courses. We have distinct, tailored tracks for Product Owners, Scrum Masters, and Developers.
Sarah:A major focus in the developer enablement sections is deploying local Model Context Protocol, or MCP servers. This is a game changer. We deploy local MCP servers so a developer can securely query their local PostgreSQL Docker containers using Claude right inside their IDE. They can ask the AI to inspect the policy holders schema and instantly generate a complex database migration script that complies with our exact standards.
Jessica:And we automate the access provisioning as part of that enablement. As you'll see in the guides, when a developer completes their MCP training module in Workday Learning, a ServiceNow webhook fires automatically. It places them in the correct active directory group and provisions their AI API keys. The upskilling is inextricably linked to their access.
recordedMike:But even with trained developers and automated access, you can't roll this out to an enterprise of five thousand engineers on day one. That's a recipe for chaos. That is why we built the 'Transformation Roadmap: Crawl, Walk, Run'.
Jessica:Exactly. This section outlines how we scale safely across Agile Release Trains. In the Crawl phase, we stick to one or two highly mature squads. But a core concept here is 'Automated Phase Gating'. We don't advance those squads to the Walk phase based on a gut feeling or a project manager's green light. We use deterministic gating.
Sarah:In practice, that means we have automated shell scripts running in the CI/CD pipeline. Before a squad can unlock the AI capabilities of the Walk phase, the gate check script verifies that the team has hit eighty percent test coverage on their legacy code, and it checks that the Claude configuration files are actively enforced in their repository. If the metrics don't pass the script, the phase doesn't advance. It forces engineering rigor as a prerequisite for AI acceleration.
recordedMike:Which leads us directly to the final piece of the puzzle: 'Success Metrics and KPIs'. This is how we close the loop on everything we've talked about. We started with the executive ROI dashboard, and this page defines the exact targets feeding that dashboard.
Jessica:The core sections here define our targets—like aiming for a twenty percent increase in Flow Velocity and a thirty percent reduction in Flow Time. But it also shows how we measure them deterministically. We aren't just measuring speed; we are measuring cost and quality.
Sarah:For example, we actively monitor the AI inference context budget in Enterprise Observability Platforms. We need to ensure developers aren't wasting tokens by sending massive, unoptimized codebase context to the large language models. And we don't use LLMs as judges for our pipeline quality gates—that's too expensive and non-deterministic. We use deterministic mathematical evaluation engines to measure if the AI agents are triggering the correct tools and adhering to the shared configuration files.
recordedMike:It's a completely deterministic, measurable loop from the executive dashboard down to the individual git commit. And that covers the Strategy and Roadmap pages. You've seen the vision, the integration, the enablement, the roadmap, and the metrics. Thanks for joining us on this deep dive, and let's get building.
Executive Vision & Strategy: Internal AI Transformation
Executive Summary & The Imperative for Change
The Paradigm Shift: From Task Execution to Product Engineering
Current State & Enterprise Context
- The Feasibility Gap: There is often a significant translation delay between business requirements and technical execution, highlighting the need to equip Product Managers with AI-assisted code discovery and validation tools.
- Legacy Infrastructure Complexity: Safely interacting with, analyzing, and modernizing complex legacy systems remains a bottleneck that requires careful, AI-assisted orchestration without disrupting ongoing operations.
- Manual Agile Estimation: Standard agile ceremonies (e.g., PI Planning, Backlog Refinement) heavily rely on manual estimation and assumed dependencies, which can be optimized through deterministic, AI-backed scoping.
- Governance & Security Friction: Ensuring that rapid AI experimentation and execution operate safely within strict regulatory constraints and infosec boundaries is a paramount challenge.
Defining "Product Engineering"
The Product Engineering Workflow (The Accelerator)
- 1.Business identifies a need.
- 2.Product Engineer opens AI tools: They query the living codebase to run a deep code intersection analysis to understand the exact impact of the feature.
- 3.AI validates feasibility & estimates changes: AI reads the schema, generates a mock payload, and provides exact expected code changes estimates.
- 4.Product Engineer defines Acceptance Criteria & DoD: The engineer formulates the technical Acceptance Criteria and drafts the comprehensive Definitions of Done. This includes mapping out explicit requirements for whitebox, functional, Playwright, and performance testing.
- 5.Engineering receives a validated, executable feature: The engineering team begins work on a fully scoped ticket before they even write the first line of code.
Multi-Vendor / Multi-Model Strategy
ROI and Budget Reconciliation
- Significant reduction in cycle times (targeting a shift from weeks to days for feasibility validation)
- Higher quality feature delivery through test-driven development (TDD) enforcement
- A deeply empowered, cross-functional workforce
Risks and Limitations
- Probabilistic Outputs: AI models hallucinate and are non-deterministic. We suggest pairing AI outputs with human oversight for final actuarial or regulatory compliance validation.
- Change Fatigue: Moving Product Owners into IDEs and technical environments will face resistance. We recommend staging this adoption gradually.
- Integration Complexity: Our legacy mainframes do not currently expose the APIs necessary for full AI autonomous action. We can leverage human-in-the-loop bridges in early phases.
Implementation Guide: Executive Automation
Tactical Guide A: Automating Transformation ROI Dashboards for Executive Visibility
- Objective: Eliminate the manual overhead and latency of generating status reports by programmatically extracting development cycle times and surfacing them directly to executive dashboards.
- Action: Create a Enterprise Observability Platforms-integrated script to pull cycle times automatically, providing leadership with real-time, untempered data while streamlining efforts for middle-management.
- Implementation Steps:
- a.Step 1: Create a Python script
extract-cycle-metrics.pythat hooks into Work Management Tools and GitHub.TECHNICAL IMPLEMENTATION
python
import requests
import json
from datetime import datetime
JIRA_URL = "https://enterprise.atlassian.net/rest/api/3/search"
JIRA_HEADERS = {"Authorization": "Bearer JIRA_TOKEN"}
JQL = "project = 'Enterprise Commercial Auto' AND type = Epic AND status = Done"
# Execute search
response = requests.get(JIRA_URL, headers=JIRA_HEADERS, params={"jql": JQL})
epics = response.json().get('issues', [])
for epic in epics:
created = datetime.strptime(epic['fields']['created'], "%Y-%m-%dT%H:%M:%S.%f%z")
resolved = datetime.strptime(epic['fields']['resolutiondate'], "%Y-%m-%dT%H:%M:%S.%f%z")
cycle_time_days = (resolved - created).days
print(f"Epic {epic['key']} cycle time: {cycle_time_days} days")
# Emit to Enterprise Observability Platforms...
- a.Step 2: Usage Prompt for Claude:
AI PROMPT
AI PROMPT
Review the extract-cycle-metrics.py script. Enhance it to use the Enterprise Observability Platforms API 'metrics/submit' endpoint to push the 'cycle_time_days' gauge metric, tagged by Work Management Project Key.
Tactical Guide B: Automated IAM Role Provisioning to Accelerate Adoption
- Objective: Reduce onboarding latency by automating the secure provisioning of AI tooling licenses and IDE permissions for new Product Engineers.
- Action: Eliminate manual AD group provisioning delays for Product Engineers. Scaling the AI rollout benefits from instantaneous, compliant access management so teams can minimize waiting on IT service desk tickets.
- Implementation Steps:
- a.Step 1: Create
terraform/iam-product-engineers.tf.TECHNICAL IMPLEMENTATION
hcl
resource "github_team" "product_engineers" {
name = "Enterprise-Product-Engineers"
description = "Read-only access for Product Owners using AI."
}
resource "github_team_repository" "rating_engine" {
team_id = github_team.product_engineers.id
repository = "enterprise-rating-engine"
permission = "pull"
}
- a.Step 2: Usage Prompt for Claude:
AI PROMPT
AI PROMPT
Write a GitHub Actions YAML workflow that triggers on merge to main in the 'enterprise-infrastructure' repo and runs 'terraform apply' to provision the 'Enterprise-Product-Engineers' AD mappings.
1Success Metrics & KPIs
1.1 Flow Metrics (Velocity & Efficiency)
- Flow Velocity: The number of backlog items (Features/Stories) completed within a Program Increment (PI). Target: 20% increase within 2 PIs post-adoption.
- Flow Time (Lead/Cycle Time): The time elapsed from when a feature is pulled from the backlog to when it is deployed to production. Target: 30% reduction, driven by upstream technical validation by Product Engineers.
- Flow Efficiency: The ratio of active work time to total wait time. Target: Improvement as AI reduces wait times for cross-team technical dependencies.
1.2 Adoption Metrics (AI Engagement)
- Active Agent Sessions: Daily/Weekly active sessions per user persona (PO, Developer, Architect).
- Custom Skill Utilization: The frequency of execution for custom, Enterprise-specific AI skills vs. default commands.
- Subagent Delegation Rate: The number of tasks successfully delegated to specialist worker agents (indicating maturity in the "Intermediate/Advanced" curriculum).
1.3 Quality Metrics (Stability & Security)
- Defect Escape Rate: The number of defects found in production vs. pre-production. Target: 25% reduction through AI-assisted Test-Driven Development (TDD) and deterministic enforcement pipelines.
- Skill Trigger Precision & Recall: Utilizing a Phase 1 deterministic TF-IDF/Bigram evaluation engine in CI/CD, we mathematically measure whether an agent triggers the correct tool for a given prompt, achieving high baseline accuracy before adopting expensive LLM-as-a-judge solutions.
- Code Review Turnaround Time: The average time a Pull Request sits in review. Target: 50% reduction as AI agents perform initial compliance and syntax reviews.
- Context Budget Efficiency: Monitoring token usage to ensure teams are efficiently prompting the AI and avoiding unnecessary LLM costs (referencing
elementary-05-managing-context-token-budget).
1.4 Bottoms-Up Financial Model
- Developer Productivity: $15M saved annually via a 20% increase in flow velocity (translates to fewer external contractors needed).
- QA Automation: $12M saved by catching defects earlier (Shift-Left), reducing the cost per defect by 80%.
- Operational Efficiency: $20M saved by automating compliance, release notes, and documentation tasks across all ARTs.
1.5 Tracking & Reporting
1.6 Implementation Guide: KPI Automation
- 1.Enterprise Observability Platforms & Work Management Tools Integration:
- a.Pull "Flow Time" and "Defect Escape Rate" via the Work Management Tools REST API into Enterprise Observability Platforms (or PowerBI).
- b.Pull Claude Code API usage metrics from the API Gateway into the same dashboard.
- 2.Alerting: Set up a Enterprise Observability Platforms monitor to trigger a Slack alert to the RTE if Flow Time increases by 10% on an AI-enabled ART.
Tactical Guide A: Extracting Deployment Frequency via GitHub API
- Objective: Automate the tracking of deployment frequency to tangibly measure the speed improvements gained through AI adoption.
- Action: Automate the calculation of how often the ART deploys to production.
- Implementation Steps:
- a.Step 1: Create a script
.github/scripts/calc-deploy-freq.sh.TECHNICAL IMPLEMENTATION
bash
#!/bin/bash
REPO="enterprise-enterprise/commercial-auto"
LAST_30_DAYS=$(date -d "30 days ago" +%Y-%m-%d)
# Query GitHub API for successful deployments
COUNT=$(curl -H "Authorization: token $GITHUB_TOKEN" "https://api.github.com/repos/$REPO/deployments?environment=production" | jq -r "[.[] | select(.created_at > \"$LAST_30_DAYS\")] | length")
echo "Deployments in last 30 days: $COUNT"
- a.Step 2: Usage Prompt:
AI PROMPT
AI PROMPTReview our deploy frequency script. Write a GitHub Action workflow that runs this script every Monday at 9AM and posts a formatted message with the result to the '#art-metrics' Slack channel.
Tactical Guide B: SonarQube Defect Escape Analysis
- Objective: Ensure that increased deployment velocity does not compromise code quality by automatically correlating escaped defects with AI-assisted code.
- Action: Measure quality by analyzing post-deployment defects.
- Implementation Steps:
- a.Step 1: Usage Prompt:
AI PROMPT
AI PROMPTWrite a Python script that connects to our SonarQube API. Fetch the total number of 'Critical' and 'Major' code smells introduced in the last 14 days for the 'billing-service' project. Output a markdown table summarizing the issues and the developers who authored them.
2Transformation Roadmap: Crawl, Walk, Run
2.1 Phase 1: Crawl (Foundation & Pilot)
- 1.Pilot Selection: Select 1-2 high-performing Agile Release Trains (ARTs) (e.g., Commercial Auto or Workers' Compensation) as the pilot group.
- 2.Initial Enablement: Roll out the "Elementary" curriculum path to the pilot Product Owners and Developers.
- 3.Standardization: Implement basic
claudefiles across all pilot repositories, outlining core coding guidelines and business context. - 4.Use Case Focus:
- a.AI-assisted unit test generation.
- b.Codebase exploration and context gathering for Product Owners.
- c.Automated PR reviews for basic style and syntax considerations.
2.2 Phase 2: Walk (Integration & Expansion)
- 1.Expansion: Onboard 3-5 additional ARTs based on pilot learnings.
- 2.Advanced Enablement: Introduce the "Intermediate" curriculum path. Teams can begin building custom Skills.
- 3.PI Planning Integration:
- a.Product Owners can use Claude Code for Epic/Feature breakdown and initial technical feasibility checks prior to PI Planning.
- b.Teams can utilize AI for cross-team dependency mapping.
- 4.Use Case Focus:
- a.Deploying specialist Subagents for specific tasks (e.g., a "Database Migration Agent" or an "Accessibility Audit Agent").
- b.AI-assisted legacy code refactoring.
2.3 Phase 3: Run (Enterprise Optimization)
- 1.Enterprise Rollout: All remaining ARTs and Value Streams onboarded.
- 2.Expert Enablement: Execution of the "Advanced" curriculum path (MCP Servers, Headless Mode).
- 3.Continuous Flow:
- a.Integration of Claude Code into CI/CD pipelines via Headless Mode (
advanced-08-headless-mode-and-cicd-integration). - b.Creation of custom Model Context Protocol (MCP) servers to connect AI agents directly to Enterprise's internal enterprise data systems and policy administration platforms.
- 4.Use Case Focus:
- a.Deterministic validation pipelines (
advanced-04). - b.Autonomous multi-agent systems helping resolve complex, cross-domain technical debt.
2.4 Implementation Guide: Automating the Roadmap
- 1.Work Management Tools Align / Portfolio: Consider tagging the 1-2 Pilot Agile Release Trains (ARTs) with a specific custom field (e.g., "AI_Pilot_PI").
- 2.Rovo: Set up a specific "Pilot Feedback" Work Management Tools Service Management portal integrated with Rovo, where pilot users can submit bugs or prompt suggestions.
Tactical Guide A: Automated Phase Gating (Crawl to Walk)
- Objective: Programmatically enforce maturity requirements before allowing teams to progress to more advanced AI usage phases.
- Action: Execute a script that measures if the ART has met the Phase 1 exit criteria (e.g., 80% test coverage).
- Implementation Steps:
- a.Step 1: Create a
gate-check.shscript to run before unlocking Phase 2 (Walk) tools.TECHNICAL IMPLEMENTATION
bash
#!/bin/bash
echo "Evaluating Phase 1 Exit Criteria..."
# 1. Check Test Coverage
COVERAGE=$(npm run test:coverage | grep 'All files' | awk '{print $4}')
if (( $(echo "$COVERAGE < 80.0" | bc -l) )); then
echo "NOTICE: Coverage is $COVERAGE%. Recommended to be >= 80%."
exit 1
fi
# 2. Check claude Existence
if [ ! -f "claude" ]; then
echo "NOTICE: Repository is missing claude."
exit 1
fi
echo "SUCCESS: Criteria met. Eligible for Phase 2."
- a.Step 2: Usage Prompt:
AI PROMPT
AI PROMPTCould you run the gate-check.sh script? If it points out any gaps, let's analyze the test coverage report and generate the missing unit tests for the top 5 files with the lowest coverage.
3SAFe & AI Integration Strategy: Empowering the ART
3.1 Value Stream Mapping: From Whiteboards to Live Analytics
- Before (Traditional Product Management): RTEs rely on subjective team reports and manual string-boards to track cross-ART coupling and bottlenecks.
- After (AI-Augmented Product Engineering): Automated Repository Mining. AI agents continuously analyze commit history, PR turnaround times, and living code dependencies. The AI automatically highlights structural bottlenecks (e.g., "This specific microservice is creating a traffic jam across 3 different squads"), allowing the RTE to make surgical, data-driven flow optimizations.
3.2 PI Planning Evolution: The Ultimate PMO Empowerment
Phase 1: Pre-PI Readiness (Weeks T-Minus 4 to T-Minus 1)
- Before (Traditional Product Management): System Architects spend weeks manually researching codebase impacts for upcoming Epics, often missing hidden dependencies. Product Managers write static requirements that developers will later debate.
- After (AI-Augmented Product Engineering): Automated Architectural Spikes. The System Architect runs an automated Atlassian Rovo prompt across the targeted repositories. The AI instantly cross-references the Epics against the enterprise architecture and outputs a precise dependency matrix. The PMO enters the PI event with a mathematically validated roadmap, completely eliminating the "guesswork" of technical readiness.
Phase 2: PI Planning Day 1 - Context & Draft Plans
- Before (Traditional Product Management): Teams spend the afternoon manually estimating Story Points based on gut feelings, often discovering impossible timelines halfway through the day.
- After (AI-Augmented Product Engineering): Deterministic Capacity Simulation. Teams use Claude Code to simulate the iteration plans. The AI analyzes historical flow velocity and the actual code complexity of the drafted stories, instantly flagging impossible timelines. The RTE uses a custom Rovo macro to cross-reference all active sessions, automatically detecting if Team A and Team B are planning to touch the same legacy file in Iteration 1. Red conflicts are flagged before draft plans are even presented.
Phase 3: PI Planning Day 2 - Final Plans & Risk ROAMing
- Before (Traditional Product Management): Teams verbally negotiate dependencies and manually log "Accepted" risks into spreadsheets, hoping developers remember them during the sprint.
- After (AI-Augmented Product Engineering): Programmable Risk Mitigation. When a risk is "Accepted" or "Mitigated", the RTE feeds it directly into the Enablement Engine. The AI generates a continuous monitoring script (a Custom Skill) that is injected into the CI/CD pipeline. If a developer accidentally violates a ROAMed risk during execution, the AI blocks the commit. The "Confidence Vote" becomes mathematically verified.
3.3 Operationalizing SDD in SAFe: Augmenting the Jira Story
As a... I want... so that...) remain unchanged.- Adjectives become testable statements. "Accurate and easy to understand" becomes "returns a score 0–100 with 3 factors within 5 seconds." This removes ambiguity that AI agents cannot resolve.
- Explicit Non-Goals. Stories now contain explicit "non-goals" to bound the AI's generation and prevent scope creep.
- Extracted Technical Details. Technical details (schema changes, API contracts) are no longer buried in the Story description or discovered mid-sprint. They are mapped to the generated Design Plan artifact and reviewed upfront.
3.4 Hypothesis-Driven Prioritization
- Before (Traditional Product Management): Backlog refinement ceremonies focus heavily on granular task pointing, velocity metrics, and debating technical implementation details.
- After (AI-Augmented Product Engineering): Strategic Value Focus. Because AI handles the technical execution and grading, Backlog Refinement pivots entirely to "Hypothesis-driven prioritization" and "Test-and-learn planning." The PMO is liberated to focus strictly on what business value needs to be validated (MVPs, A/B testing) rather than debating how many points a task is worth.
3.5 Tactical Engineering Guardrails & The Definition of Done
- Definition of Ready (DoR) Shift: A Story cannot enter a sprint simply because it has a gut-feel estimate. The new DoR requires the Story to have an approved Requirements Spec artifact with zero Open Questions remaining. The AI-generated task breakdown must be bounded and reviewed by a developer.
- Before (Traditional Product Management): The Definition of Done (DoD) relies on human QA testers and manual security reviews at the end of a sprint, creating massive bottlenecks.
- After (AI-Augmented Product Engineering): Automated DoD Enforcement. The DoD requires all AI-inclusive features to contain explicit, machine-readable guardrails. Headless AI agents sit directly in the CI/CD pipeline, automatically enforcing schema validation, threat modeling, and code maintainability on every Pull Request. Furthermore, a Validation Checklist artifact must confirm that each acceptance criterion from the Requirements Spec was verified against the final code, with no undocumented drift.
4SDLC & Organizational Transformation
4.1 The Product Engineering Ripple Effect
- 1.Reduced Rework: Engineering receives clearer, pre-validated requirements.
- 2.Shared Language: QA, Security, and Ops all reference the same AI-generated architectural context.
- 3.Shift-Left Everything: Quality, security, and performance testing are pulled to the very front of the lifecycle.
4.2 SDLC Phase Mapping
Discovery & Requirements Gathering
- Before (Traditional Product Management): Product writes a PRD in isolation; lengthy back-and-forth with engineering for sizing, often resulting in scope creep.
- After (AI-Augmented Product Engineering): Product Engineers use Claude Code interactively to simulate requirements and discover architectural realities before presenting to developers. This gives the PMO absolute control over locking down precise API contracts and defining out-of-scope boundaries to prevent AI gold-plating.
Architecture & Design
- Before (Traditional Product Management): Static Visio diagrams and manual dependency mapping that quickly become outdated, leaving PMs blind to technical debt.
- After (AI-Augmented Product Engineering): Architecture becomes dynamic. Claude Code continuously maps actual code-level dependencies. Architects and PMs can instantly verify if a proposed Epic will introduce cyclical dependencies, providing deterministic confidence for the roadmap.
Development & Implementation
- Before (Traditional Product Management): Developers write code, then write tests (or skip tests due to time constraints), leaving business rules vulnerable.
- After (AI-Augmented Product Engineering): Execution is driven by explicit domain acceptance tests defined by the PMO. Because the PM explicitly defines business rules upfront, developers use Claude Code to scaffold comprehensive test suites before implementation begins. The PMO owns the "Why" and the "What", while the AI handles the "How".
Testing & Quality Assurance (QA)
- Before (Traditional Product Management): Manual regression testing and reactive bug fixing at the end of the sprint, constantly jeopardizing release dates.
- After (AI-Augmented Product Engineering): "Deterministic Enforcement Pipelines." Headless AI agents operate in CI/CD, running deep semantic analysis on Pull Requests. They catch security vulnerabilities and business-logic violations prior to human review, ensuring the PMO's release schedule is never delayed by trivial syntax errors.
Skill Governance & Promotion
- Before (Traditional Product Management): Developer scripts are shared ad-hoc with no formal review, creating shadow IT.
- After (AI-Augmented Product Engineering): The PMO oversees a Tier-Gated Governance pipeline. New AI skills are rigorously audited from
ExperimentaltoGeneral Availability (GA), giving enterprise leaders complete visibility and control over automation.
Deployment & Release Management
- Before (Traditional Product Management): Manual aggregation of release notes from Jira tickets; high-stress release weekends driven by human anxiety.
- After (AI-Augmented Product Engineering): Release Train Engineers (RTEs) use Claude Code to automatically synthesize Git commit histories into business-friendly release notes and compliance documentation. The PMO enjoys stress-free releases backed by mathematically verified deployment risk scores.
Maintenance & Operations
- Before (Traditional Product Management): Production bugs require extensive manual log digging, keeping MTTR (Mean Time to Resolution) dangerously high.
- After (AI-Augmented Product Engineering): Operational teams connect Claude Code directly to Datadog/Splunk logs. The AI pinpoints the exact commit that introduced the bug, drastically reducing MTTR and protecting the PMO's Service Level Agreements (SLAs).
4.3 Spec-Driven Development (SDD) vs. AI-Augmented Product Engineering
1. Creation of the Spec (The Artifact)
- Traditional SDD: Creating the spec is a highly manual, human-driven cadence. Product, Engineering, and QA sit in lengthy refinement meetings to hash out edge cases and API schemas before manually writing the YAML or Gherkin files.
- AI-Augmented SDLC: The spec is still the starting artifact, but its creation is interactive. The "Product Engineer" uses AI to simulate requirements, rapidly prototype data models, and discover architectural blind spots. The AI does the heavy lifting of generating the explicit, lockdown API contracts and constraints based on conversational alignment.
2. Execution of the Spec (The Cadence)
- Traditional SDD: Once the spec is defined, developers often use tooling to auto-generate boilerplate code. However, the complex business logic, domain constraints, and comprehensive unit testing still require manual coding cadences by the developer.
- AI-Augmented SDLC: The explicit spec acts as the ultimate "prompt context" for the AI assistant (Claude Code). Instead of just generating boilerplate, the developer uses the AI to instantly scaffold out comprehensive Jest/JUnit test suites that represent the spec's domain rules. The AI is then heavily utilized to write the underlying business logic to pass those tests, shifting the cadence from manual coding to AI-assisted validation.
3. Enforcement and Validation (The Feedback Loop)
- Traditional SDD: Enforcement relies on strict schema validation tools and contract testing (like Pact) integrated into the CI/CD pipeline. It is rigid and syntax-focused.
- AI-Augmented SDLC: Employs "Deterministic Enforcement Pipelines." Headless AI agents in the CI/CD pipeline provide semantic validation. The AI reads the original spec and evaluates the Pull Request to see if the developer's code actually fulfills the intent of the business rules, catching logic gaps that a traditional linter or schema validator would miss.
4. Evolution and Maintenance
- Traditional SDD: When a spec artifact changes, developers must manually hunt down the affected services in subsequent sprint cadences, update the tests, and refactor the code to match the new spec.
- AI-Augmented SDLC: Because the AI continuously maps code-level dependencies across the repository, when a spec changes, the AI can automatically identify all downstream impacts and instantly generate the necessary code refactors to support the new version.
Concrete Example: Commercial Property Risk Scoring
Deep Dive: Artifacts and Cadences Comparison
The SDD Artifacts in Practice
risk_score (int, 0–100) and contributing_factors (array) to submission record. API contract: GET /submissions/{id}/risk-score. Security: score data classified as underwriting-sensitive, access logged. Test strategy: unit tests for scoring boundary values, integration test for API timeout handling. |
| Task List | Removes execution ambiguity | 1) Add DB fields for score/factors. 2) Build API endpoint. 3) Build UI component to display score. 4) Add loading/error states for API timeout. 5) Write unit + integration tests. 6) Update audit log for score access. Each task lists dependencies and which acceptance criterion it satisfies. |
| Validation Checklist | Proves the work matches the spec | Confirms: score displays within 2 seconds (tested), timeout scenario handled per spec, no undocumented fields added, all acceptance criteria from Requirements Spec verified against final code. |The Artifacts Comparison
- Traditional SDD Artifacts:
- a.The Spec File: Heavyweight JSON/YAML files (OpenAPI) or Gherkin
.featurefiles. These are rigid and syntax-heavy. - b.The Jira Ticket: Lengthy User Stories detailing acceptance criteria, edge cases, and manual testing steps.
- c.The PRD (Product Requirement Document): A static document outlining the business justification and high-level requirements.
- AI-Augmented Artifacts:
- a.The Rovo Prompt Template: A dynamic, reusable prompt living in Atlassian Rovo that acts as a living spec. It contains business rules but expects the AI to generate the exact syntax when invoked.
- b.The AI Context Payload: Instead of a heavy Jira ticket, the "ticket" is a lightweight pointer that an AI agent uses to automatically fetch context from the codebase, the Rovo prompt, and the PRD, synthesizing its own execution context on the fly.
- c.The Auto-Generated Test Suite: The true "spec" becomes the scaffolding of Jest/Playwright tests generated by Claude Code during the Discovery phase. If the test suite passes, the spec is met.
The Cadences
- Traditional SDD Cadences:
- a.Backlog Refinement (Weekly/Bi-weekly): 1-2 hours of the entire squad (Product, Dev, QA) debating edge cases to ensure the spec is perfectly written before a sprint begins.
- b.Sprint Planning (Bi-weekly): Developers manually estimating the effort required to implement the rigid spec.
- c.QA Handoff (End of Sprint): A distinct cadence where code is passed to a QA engineer to manually verify against the original spec ticket.
- AI-Augmented Cadences:
- a.Continuous Discovery (Asynchronous): Product Engineers interact with Claude Code to simulate and refine features before bringing them to the team, drastically reducing the time spent in group refinement meetings.
- b.AI-Assisted Estimation (Just-in-Time): Because Claude Code understands the exact code-level dependencies, estimation becomes an automated task run against the Rovo Prompt Template.
- c.Deterministic Merge (Continuous): The concept of a "QA Handoff" cadence is eliminated. QA is shifted left as headless AI agents continuously validate every commit against the spec in CI/CD, allowing for continuous delivery rather than sprint-batched releases.
The SAFe Transition: High-Level Vision to Low-Level Execution
1. High Level: The Strategic Vision & Flow Velocity
- The Paradigm Shift: The true vision is to eliminate the manual translation hops between Product, Engineering, and QA entirely. By treating AI as a shared context engine across the entire organization, leadership can shift focus away from proxy metrics (like estimated Story Points) and toward actual Flow Velocity and reduced lead times for delivering tangible business value.
2. Mid Level: SAFe Mechanics & PI Planning
- Dynamic Artifacts: Under the AI-Augmented model, Features evolve into dynamic, living Prompt Templates managed within Atlassian Rovo.
- AI-Driven Discovery: Product Managers transition into Product Engineers. Instead of guessing at technical sizing before PI (Program Increment) Planning, they use Claude Code interactively during the Discovery phase. The AI simulates requirements, automatically maps code-level dependencies, and identifies edge cases.
- Instant Readiness: Because the AI has pre-validated the architectural constraints, WSJF (Weighted Shortest Job First) scoring is highly accurate. The DoR is achieved instantly, drastically reducing time spent in refinement meetings.
3. Low Level: Tactical Execution & Code
- Test-Driven Scaffolding: Developers no longer receive a static YAML file to interpret. Instead, they feed the locked Rovo Prompt directly into Claude Code. The immediate output isn't raw business logic—it is the instant scaffolding of comprehensive Jest and Playwright test suites. Execution becomes entirely test-driven, with the AI tasked to write the underlying logic necessary to pass those strict constraints.
- Automating the Definition of Done (DoD): The traditional, manual QA handoff is eliminated and replaced by Deterministic Enforcement Pipelines. Headless AI agents are deployed directly into the CI/CD pipeline (e.g., GitHub Actions).
- Semantic Validation: These headless agents do more than syntax linting. They run deep semantic validation on every Pull Request, checking the code against the original Rovo Prompt to ensure it fulfills the actual business intent. They simultaneously run security audits (OWASP) and accessibility checks, catching critical logic gaps before a human reviewer ever looks at the PR.
4. The Self-Correction Loop (Continuous Refinement)
- Bidirectional Context: If a developer (or Claude Code) discovers an unforeseen architectural limitation or edge case during test scaffolding or implementation, they do not just patch the code. They feed the discovery back into the original Rovo Prompt Template.
- Living Documentation: The Rovo Prompt is treated as version-controlled, living code. Updating the prompt instantly updates the "Definition of Ready" for all future interactions and dependent services.
- CI/CD Feedback Loop: If the headless AI agent in the CI/CD pipeline flags a semantic failure on a Pull Request, the output isn't just a rejection. The AI provides specific feedback on why the implementation drifted from the intent of the Rovo Prompt.
- Institutional Memory: The Product Engineer reviews this feedback to determine if the developer made a mistake, or if the original Rovo Prompt was ambiguous. If it was ambiguous, the Product Engineer refines the Prompt Template to be more explicit. Over time, these refined prompts become a hyper-accurate institutional memory, ensuring future squads never trip over the same edge cases.
4.4 Implementation Guide: AI-Augmented SDLC
- 1.CI/CD Pipeline YAML: Consider adding a GitHub Actions/GitLab CI stage before the deployment job.
- 2.Claude Headless Execution: The CI job is recommended to invoke
claude --headlessto run the 08-rovo-prompt-universe DoD Enforcer prompt against the built artifacts. If the exit code is non-zero (Fail), the deployment could be halted for review.
Phase 1: IDE Context (Local Development)
- 1.Developer: The flow starts with the human engineer working in their local environment.
- 2.Claude Code: The developer prompts the AI agent to write code, generate tests, or refactor.
- 3.check-pii.sh (Local Hook): Before the AI is even allowed to finish, a local pre-commit hook runs to ensure the AI didn't leak personally identifiable information (PII).
The Handoff
- 4.Pull Request: Once the local code passes the AI hooks, the developer commits and pushes the code, opening a Pull Request.
Phase 2: CI/CD Pipeline (Automated QA)
- 5.GitHub Actions: The opening of the PR immediately triggers the headless CI/CD pipeline.
- 6.AI Security Audit: A Headless AI agent scans the diff against the Enterprise guidelines for vulnerabilities.
- 7.Playwright E2E Tests: Simultaneously, AI agents execute end-to-end regression tests to ensure the new code didn't break existing UI flows.
The Resolution
- 8.Merged: If both the Security Audit and E2E tests pass (meeting the Definition of Done), the PR is automatically approved and merged. (If they fail, they loop back to Step 1 for the developer to fix).
Tactical Guide A: AI-Assisted Playwright E2E Generation
- Objective: Drastically reduce QA cycles by using AI to generate robust, resilient end-to-end tests based on structural DOM changes.
- Action: Generate end-to-end tests directly from the PR diff and Jira criteria.
- Implementation Steps:
- a.Step 1: Create a script
.claude/skills/generate-e2e.sh.TECHNICAL IMPLEMENTATION
bash
#!/bin/bash
JIRA_TICKET=$1
echo "Generating E2E for $JIRA_TICKET..."
<strong class="text-text-main font-bold">Prompt Example</strong>: <details open class="group block my-4">
<summary class="inline-flex items-center gap-1.5 align-middle bg-fuchsia-500/10 text-fuchsia-500 border border-fuchsia-500/30 px-2 py-0.5 rounded text-[10px] font-black tracking-widest uppercase cursor-pointer hover:bg-fuchsia-500/20 transition-colors outline-none list-none [&::-webkit-details-marker]:hidden"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 17 10 11 4 5"/><line x1="12" x2="20" y1="19" y2="19"/></svg> AI PROMPT</summary>
<div class="block w-full max-w-4xl mt-6 mb-8 flex flex-col h-auto max-h-[350px] bg-bg-surface/90 border border-fuchsia-500/30 rounded-xl overflow-hidden shadow-2xl shadow-fuchsia-500/10 text-sm animate-in fade-in slide-in-from-top-4 duration-500">
<div class="bg-bg-hover/50 px-4 py-3 border-b border-fuchsia-500/20 flex items-center justify-between shrink-0">
<div class="flex items-center gap-3">
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-fuchsia-500"><polyline points="4 17 10 11 4 5"/><line x1="12" x2="20" y1="19" y2="19"/></svg>
<span class="text-[10px] font-black uppercase tracking-widest text-fuchsia-500">AI PROMPT</span>
</div>
</div>
<pre class="flex-1 overflow-auto custom-scrollbar bg-black/40 p-6 font-mono text-[13px] leading-relaxed text-fuchsia-400 whitespace-pre-wrap"><code><br />Fetch the acceptance criteria for Jira $JIRA_TICKET. Read the latest diff in the current branch. Generate a Playwright TypeScript test in 'tests/e2e' that covers all user flows introduced in this diff. Use the existing page object models in 'tests/pages'.<br /></code></pre>
</div>
</details>
- a.Step 2: Workflow: The developer can run
./.claude/skills/generate-e2e.sh DEV-102before creating a PR. The AI outputs a fully functional Playwright test suite ready for CI.
Tactical Guide B: Wiring AI Security Reviews into CI/CD
- Objective: Shift security left by enforcing an automated AI-driven vulnerability analysis on every pull request prior to merge.
- Action: Enforce an AI security review before any human review.
- Implementation Steps:
- a.Step 1: Add a GitHub Action
.github/workflows/ai-security.yml.TECHNICAL IMPLEMENTATION
yaml
name: AI Security Gate
on: [pull_request]
jobs:
ai-review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run Claude Code Security Review
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
run: |
npm i -g @anthropic-ai/claude-code
<strong class="text-text-main font-bold">Prompt Example</strong>: <details open class="group block my-4">
<summary class="inline-flex items-center gap-1.5 align-middle bg-fuchsia-500/10 text-fuchsia-500 border border-fuchsia-500/30 px-2 py-0.5 rounded text-[10px] font-black tracking-widest uppercase cursor-pointer hover:bg-fuchsia-500/20 transition-colors outline-none list-none [&::-webkit-details-marker]:hidden"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 17 10 11 4 5"/><line x1="12" x2="20" y1="19" y2="19"/></svg> AI PROMPT</summary>
<div class="block w-full max-w-4xl mt-6 mb-8 flex flex-col h-auto max-h-[350px] bg-bg-surface/90 border border-fuchsia-500/30 rounded-xl overflow-hidden shadow-2xl shadow-fuchsia-500/10 text-sm animate-in fade-in slide-in-from-top-4 duration-500">
<div class="bg-bg-hover/50 px-4 py-3 border-b border-fuchsia-500/20 flex items-center justify-between shrink-0">
<div class="flex items-center gap-3">
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-fuchsia-500"><polyline points="4 17 10 11 4 5"/><line x1="12" x2="20" y1="19" y2="19"/></svg>
<span class="text-[10px] font-black uppercase tracking-widest text-fuchsia-500">AI PROMPT</span>
</div>
</div>
<pre class="flex-1 overflow-auto custom-scrollbar bg-black/40 p-6 font-mono text-[13px] leading-relaxed text-fuchsia-400 whitespace-pre-wrap"><code><br />Review this PR diff against the OWASP Top 10. Does it introduce SQL Injection, XSS, or hardcoded secrets? If yes, exit 1 and output the vulnerability. If no, exit 0.<br /></code></pre>
</div>
</details>
- a.Result: The AI acts as a helpful CI/CD security gate.
5AI Skills & Tactical Role Transformations: Elevating the PMO
5.1 Evolving Agile Ceremonies & PI Planning: A PMO Promotion
Hypothesis-Driven Prioritization
- Before (Traditional Product Management): Backlog refinement ceremonies focus on granular task pointing, velocity metrics, and estimating the time required for developers to write boilerplate.
- After (AI-Augmented Product Engineering): Because AI writes the boilerplate, the PMO pivots ceremonies to "Hypothesis-driven prioritization" and "Test-and-learn planning" (MVPs, A/B testing). The PMO is empowered to focus purely on what business value needs to be validated rather than how many points a task represents.
Outcome Management
- Before (Traditional Product Management): Release Train Engineers (RTEs) and Portfolio Leads spend hours tracking process adherence and chasing manual status updates across pods.
- After (AI-Augmented Product Engineering): These roles are liberated to tactically "Manage PI Objectives to Outcomes." By utilizing AI-generated Flow Metrics (DORA), RTEs supervise flow efficiency optimization, ensuring the pipeline never stalls when AI delivers rapid bursts of code.
5.2 Tactical Engineering Guardrails & The PMO Definition of Done
- Before (Traditional Product Management): The Definition of Done (DoD) relies on human QA testers and manual security reviews at the end of a sprint, keeping the PMO guessing on release dates.
- After (AI-Augmented Product Engineering): The PMO mandates explicit, machine-readable guardrails in the DoD. Headless AI agents sit in the CI/CD pipeline, automatically enforcing schema validation, threat modeling, and telemetry on every PR. The PMO gains deterministic confidence that no feature will be released without strict architectural compliance.
5.3 Upskilling Strategy: Role Promotions
1. Release Train Engineers (RTEs)
- Before (Traditional Product Management): RTEs spend days chasing status updates across 10 squads, manually mapping string-boards, and trying to resolve localized impediments.
- After (AI-Augmented Product Engineering): RTEs are elevated to systemic optimizers. They review AI-generated flow dashboards to make strategic PI pivots. The AI predicts bottlenecks and maps live topologies automatically, giving the RTE mathematical visibility into the entire Agile Release Train (ART).
- Upskilling Strategy:
- 1.Workshops on Predictive Management: Train RTEs on using AI analytics to monitor the "Continuous Value Delivery" pipeline and interpret DORA metrics.
- 2.AI-Augmented PI Planning Simulations: Run mock PI planning events where RTEs use AI to proactively highlight feature dependencies before draft plans are made.
2. Scrum Masters (SMs)
- Before (Traditional Product Management): Scrum Masters are bogged down facilitating manual grooming debates, taking stand-up notes, and clearing localized blockers.
- After (AI-Augmented Product Engineering): Scrum Masters are promoted to Workflow Champions. They utilize AI to automatically generate daily standup summaries and retrospective insights. They champion "The Prompt Universe," ensuring their team is using the most optimal AI prompts to maximize flow velocity.
- Upskilling Strategy:
- 1.Prompt Engineering Bootcamps: Certify SMs as "Prompt Champions" so they can maintain the team's prompt library and teach effective prompting techniques.
- 2.Workflow Automation Projects: Assign SMs to automate one traditional ceremony (e.g., Retrospectives) using AI tools, dramatically reducing meeting overhead.
3. Product Managers & Owners (PMs/POs)
- Before (Traditional Product Management): PMs write lengthy, static PRDs (Product Requirement Documents) and spend hours in sizing meetings negotiating with developers over what is feasible.
- After (AI-Augmented Product Engineering): PMs interact directly with the Enterprise Knowledge Graph (Rovo) to simulate technical realities before engaging developers. They explicitly lock down API contracts and business rules upfront, controlling the exact "Why" and "What" while the AI confidently handles the "How."
- Upskilling Strategy:
- 1.AI Prototyping: Train PMs to utilize AI-driven UI mockups and data schema generators to rapidly validate hypotheses.
- 2.Context Directive Creation: Upskill PMs in writing "Context Directives" instead of traditional User Stories, focusing on machine-readable business constraints.
4. Developers (Devs)
- Before (Traditional Product Management): Developers spend days writing repetitive boilerplate syntax, manually resolving merge conflicts, and writing tedious unit tests.
- After (AI-Augmented Product Engineering): Developers act as high-level architects and rigorous validators of AI-generated logic. They spend their time designing robust systems, reviewing AI output for edge cases, and ensuring long-term maintainability.
- Upskilling Strategy:
- 1.Pair-Programming with AI (Mandatory): Institute policies where devs must use AI copilots to instantly generate tests and boilerplate.
- 2.Continuous Architecture Learning: Upskill developers in high-level system design, FinOps, and modern stack architecture so they can effectively guide the AI Enablement Engine.
6Cultural Change Management & Adoption
6.1 The Strategy: Incentivization and Guilds
- 1.Redefining Roles, Not Replacing Them: Clear messaging from the C-Suite that Claude Code is an augmenter, not a replacer. Product Owners are freed from writing static tickets to become system designers; Developers are freed from boilerplate to focus on complex architecture.
- 2.Prompt Engineering Guilds: Establishing cross-functional guilds where early adopters share their most successful Atlassian Rovo prompt templates.
- 3.Gamifying Contribution: Shifting the incentive structure to reward teams that build reusable AI skills and prompts that benefit the wider organization.
6.2 Leadership Optics: How We Track Culture
The Rovo Contribution Leaderboard
- What it tracks: Which individuals and Agile Release Trains (ARTs) are authoring and refining the most heavily utilized prompt templates in Atlassian Rovo.
- Why it matters: Identifies the "Prompt Champions" within the organization who can be leveraged as internal evangelists and trainers.
- Integration: Native reporting within Atlassian Rovo / Confluence.
Adoption Velocity per ART
- What it tracks: The ratio of active daily Claude Code sessions to total developers/POs on a given ART.
- Why it matters: Highlights which teams are embracing the Product Engineering model and which are resisting. A lagging ART requires targeted intervention and training (leveraging the curriculum in
apps/dau-docs/07-archive/claudeCode). - Integration: Aggregated usage logs displayed via Jira Align or a custom PowerBI dashboard.
Developer & PO Sentiment Index
- What it tracks: Qualitative feedback gathered through brief, bi-weekly Agile health checks. Questions include: "Did AI tooling reduce your frustration this sprint?" and "Do you trust the output of the automated PR reviews?"
- Why it matters: High tool usage but low sentiment indicates a process problem (e.g., the
clauderules are too restrictive, causing the AI to be unhelpful). - Integration: Automated Slack/Teams polls integrated into the standard Scrum Master toolkit.
6.3 Workforce Impact Analysis
- Displacement Projections: We project a 15% reduction in manual regression testing needs and basic boilerplate coding.
- Reskilling Pathways: Affected staff will be offered paid reskilling tracks to transition into Data Engineering, Prompt Engineering, or AI Governance roles.
- Labor Relations: Transparent communication with internal stakeholders regarding these transitions is highly recommended to foster trust and maintain morale.
6.4 Implementation Guide: Gamification & Adoption Automation
- 1.Sentiment Polling: Configure a Slack/Teams bot (e.g., Polly or Geekbot) to run every second Friday (end of sprint) asking the Agile teams the three AI sentiment questions.
- 2.Leaderboard Dashboard: Use the Confluence API to count which users have authored or edited the most pages tagged "Prompt Template" in Rovo. Display this leaderboard on the CoE intranet homepage.
Tactical Guide A: Generating the AI Leaderboard
- Objective: Foster a culture of innovation and gamify AI adoption by publicly highlighting teams and individuals with the highest AI enablement metrics.
- Action: Parse CI/CD logs to highlight which developers are effectively using AI to prevent build failures or speed up reviews.
- Implementation Steps:
- a.Step 1: Create a script to parse PR comments for the
claudeuser.TECHNICAL IMPLEMENTATION
bash
#!/bin/bash
# Fetch the last 100 PRs and count how many times 'claude' approved or commented
curl -H "Authorization: token $GITHUB_TOKEN" \
"https://api.github.com/repos/cna/rating-engine/pulls?state=closed&per_page=100" \
| jq -r '.[] | .user.login' | sort | uniq -c | sort -nr > ai_usage_stats.txt
- a.Step 2: Usage Prompt for Claude:
AI PROMPT
AI PROMPT
Read the 'ai_usage_stats.txt' file. Generate a highly engaging Markdown leaderboard celebrating the top 3 developers who merged the most AI-assisted PRs this week. Add emojis and format it for our Confluence engineering blog.
7The Enablement Engine: Claude Code Backbone
7.1 Curriculum Mapping by Persona
Persona 1: Product Owners / Product Managers
- Elementary Foundation:
- a.Introduction to AI Workspaces: Understanding the local IDE environment and how to load repository context without writing code.
- b.Understanding Project Architecture Context: Learning how to read and interpret the guidelines defined in
claude. - c.Executing Slash Commands for Discovery: Using commands like
/searchand/explainto demystify legacy codebase structures. - d.Writing Effective Technical Prompts: Moving beyond basic chat to highly structured, persona-driven prompts.
- Intermediate Skills:
- a.Skills Development for Business Logic: Understanding how custom Skills act as executable tools, and how to encourage their use in Acceptance Criteria.
- b.Delegating Complex Workflows to Subagents: Using the
/taskcommand to instruct an autonomous agent to build a proof-of-concept while the PO continues writing stories.
- 1.Context Loading: Navigate to the terminal for the target product repository (e.g.,
cd ~/src/enterprise-commercial-auto) and launchclaude. - 2.Architectural Discovery: The PO wants to understand how quoting works. They type:
/prompt Explain the core architecture of the rating engine. Point me to the specific files where the business logic for 'Liability Limits' lives. - 3.Prototyping a Requirement: The business wants to add a new term. The PO types:
/prompt I want to add a new field for 'Policy Term length' to the quoting process. Map out which files would need to be changed to support this. Generate a sample JSON payload for the updated API. - 4.Defining the Execution Bounds: Instead of just passing raw notes to engineering, the PO uses the discovery outputs to construct a strict set of requirements for the AI agent. The PO explicitly writes out the Domain-Specific Acceptance Tests, locks in the API Data Contracts, and defines explicit Out-of-Scope boundaries so the execution agent won't have to guess business intent.
Persona 2: Scrum Masters / Release Train Engineers (RTEs)
- Elementary Foundation:
- a.Defining Project Standards and Guidelines: Mastering the creation and maintenance of the repository
claudefile. - b.Managing Context Token Budgets: Understanding token limits, context windows, and how to optimize prompts to help reduce API costs.
- c.Configuring Cross-Team Permissions: Managing what data the AI is allowed to access across different ARTs.
- Intermediate & Advanced Mastery:
- a.Building Orchestrator Agents: Using Claude Code to coordinate tasks across multiple microservice repositories simultaneously.
- b.Parallel Execution in Multi-Agent Systems: Launching multiple subagents to help tackle massive tech-debt refactoring in parallel.
- c.Building Deterministic Validation Pipelines: Creating AI validation gates that support the "Definition of Done".
- 1.Establishing Guidelines: The RTE works with the System Architect to define the repository's
claudeguidelines. They suggest:"Definition of Done: We recommend all new endpoints aim for 90% test coverage and include Swagger documentation." - 2.Monitoring Context Health: Before a retrospective, the RTE checks the repo:
/prompt Analyze the last 10 merged PRs. Are teams finding success with the Definition of Done established in claude? Identify any PRs that might have missed the automated tests. - 3.Facilitating Dependency Mapping: Preparing for the Scrum of Scrums:
/prompt Based on the current open branches across this repository and the linked Payment Gateway repository, identify any potential conflicting changes being made to the shared authentication libraries.
Persona 3: Developers / System Architects
- Elementary Foundation:
- a.Deep Dive into Context Architecture: Understanding how Claude parses files, limits, and context inclusion.
- b.Essential CLI Commands and Flags: Mastering
--headless,--compact, and direct bash integration. - Intermediate Skills:
- a.Creating Custom Enterprise-Specific Skills: Writing bash and python scripts that extend the AI's capabilities (e.g., custom linters, database validators).
- b.Agent Skill Authoring Standards: Leveraging the official
plugin.jsonformat to provide structured programmatic validation of skill metadata, helping migrate away from loose markdown frontmatter. - c.Deploying Specialist Worker Agents: Spawning agents dedicated solely to tasks like accessibility auditing or documentation generation.
- Advanced Mastery:
- a.Leveraging the Hooks System: Intercepting Claude Code requests and responses (e.g., to help scrub PII data before it hits the LLM).
- b.Integrating Model Context Protocol (MCP): Connecting Claude Code to external enterprise data sources.
- c.Building Custom MCP Servers for Legacy Systems: Allowing the local IDE AI to securely query the live legacy AS400 mainframe or Enterprise Observability Platforms metrics.
- 1.Accelerating TDD: Before writing business logic, the developer uses the PO's Acceptance Criteria to generate tests:
/prompt Write Jest unit tests for the functionality described in Work Management Tools Ticket #1234. Make them fail initially, testing core edge cases. - 2.Automating Boilerplate:
/prompt Generate the boilerplate for a new React component that handles the Policy Document upload, including the Redux slice, API mock, and CSS modules. - 3.Building Custom Skills: A developer builds a custom script
.claude/skills/validate-actuarial.py. They document it so the AI can execute it whenever a pricing file is modified. - 4.Integrating MCP: An architect builds a local MCP server. Now, a developer can ask Claude Code:
"Query the staging database via MCP. What is the current schema for the 'requests' table?"directly from the terminal.
7.2 The Relationship: System Guidelines (`claude`) vs. Active Skills
The Static Guidebook (`claude`)
claude file in each repository acts as a living artifact of Enterprise's Product Engineering practices. It is passive memory. It helps outline:- Business Context: "This application processes workers' compensation requests."
- Technical Considerations: "We recommend using Java 17. Please avoid Lombok where possible. Use AWS KMS for encryption."
- Review Practices: "Teams typically seek approval via the Headless DoD enforcer on PRs."
The Executable Tools (Skills)
claude might suggest "Ensure all code aligns with state regulations," an active Skill like run-compliance-check.sh allows the AI to execute the script, review the output, and propose fixes based on the results.7.3 Implementation Guide: The Enablement Engine
LMS Integration & Journey Mapping
- Action: Consider structuring the curriculum into discrete modules within the corporate Learning Management System (e.g., Workday Learning).
- Configuration:
- a.Create three distinct Learning Paths (The PO Path, The RTE Path, The Developer Path).
- b.Structure each path to begin with the "Elementary Foundation" prerequisites.
- c.Offer knowledge-check quizzes at the end of the Elementary path to help verify understanding of Token Budgeting and Security Guardrails.
Automated Access Provisioning (ServiceNow API)
- Action: We suggest automating the distribution of Claude Code API keys based on training completion to help manage access efficiently.
- ServiceNow REST API Payload (Post-Training Webhook):
TECHNICAL IMPLEMENTATION
json
{
"u_caller_id": "${employee.id}",
"short_description": "Auto-Provision: Claude Code Enterprise Access",
"category": "Software Access",
"u_business_service": "AI Tooling Center",
"assignment_group": "IDAM-Automation",
"work_notes": "Employee completed Workday Learning Module: 'Introduction to AI Workspaces'. Requesting addition to AD Group: Enterprise-AI-Enabled."
} - Connected Dependency: This training and AD group provisioning helps ensure teams are prepared for the "Crawl" phase outlined in 02-transformation-roadmap.
Centralized Skill Orchestration
core plugin acting as a dynamic skills scanner. This orchestration layer helps automatically discover, register, and route agent requests to the appropriate custom tools across the repository.Tactical Guide A: Constructing the `.claude.json` Configuration
- Objective: Standardize AI execution contexts across the enterprise by defining universal system prompts and organizational guardrails.
.claude.json file in the root to help guide Claude Code to operate within the specific context of that domain (e.g., Processing vs. Requests).- Action: Create the workspace context configuration.
- Implementation Steps:
- a.Step 1: Open the repository root.
- b.Step 2: Create
.claude.json. - c.Step 3: Add the following schema to help support testing, typings, and architectural patterns:
TECHNICAL IMPLEMENTATION
json
{
"projectContext": "Enterprise Commercial Auto Rating Engine. This service calculates premiums based on vehicle weight, radius, and driver history.",
"rules": [
"Please use JUnit 5 and Mockito for testing.",
"We recommend avoiding Lombok annotations like @Data. It is preferred to explicitly write getters and setters.",
"New endpoints should generally return a standard <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">EnterpriseApiResponse<T></code> wrapper.",
"Please avoid logging raw PII. Use <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">MaskingUtil.maskPolicyNumber()</code>."
],
"customTools": [
{
"name": "validate-rating",
"description": "Runs the actuarial validation suite.",
"command": "./gradlew test --tests *RatingAlgoTest"
}
]
}
- a.Result: When a developer asks Claude to "Create a new rating endpoint", Claude is guided to wrap the response in
EnterpriseApiResponse, avoid Lombok, and write JUnit 5 tests.
Tactical Guide B: Writing Custom Bash Skills for the IDE
- Objective: Extend AI capabilities beyond text generation by allowing agents to execute secure, localized build and testing scripts directly within the workspace.
init-skill-v0 starter templates. This template-driven approach enables teams to deploy structurally consistent skills containing a plugin.json and basic shell script, reducing the friction of upfront scaffolding.- Action: Create a custom PII linter skill.
- Implementation Steps:
- a.Step 1: Create a
.claude/skillsdirectory in the repo. - b.Step 2: Create
check-pii.sh.TECHNICAL IMPLEMENTATION
bash
#!/bin/bash
# A simple regex checker for SSN patterns in code
TARGET_DIR=${1:-"src/main/java"}
echo "Scanning $TARGET_DIR for potential hardcoded SSNs..."
grep -rE --color=always "\b[0-9]{3}-[0-9]{2}-[0-9]{4}\b" $TARGET_DIR
if [ $? -eq 0 ]; then
echo "NOTICE: Potential unmasked SSN found in codebase."
exit 1
else
echo "SUCCESS: No hardcoded SSNs found."
exit 0
fi
- a.Step 3: Usage Prompt:
AI PROMPT
AI PROMPTI just finished refactoring the CustomerService.java class. Could you run the check-pii.sh skill to help ensure I didn't accidentally include any test SSNs?
Tactical Guide C: Deploying a Local MCP Server for Database Querying
- Objective: Enable AI agents to securely query and analyze local schemas and databases without exposing sensitive production credentials.
- Action: Connect Claude Code to the local PostgreSQL Docker container.
- Implementation Steps:
- a.Step 1: Start the local database:
docker-compose up db -d - b.Step 2: Configure the MCP server in your global
claude_config.json:TECHNICAL IMPLEMENTATION
json
{
"mcpServers": {
"enterprise-local-db": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://cna_user:password123@localhost:5432/cna_rating_db"]
}
}
}
- a.Step 3: Usage Prompt:
AI PROMPT
AI PROMPTPlease use the enterprise-local-db tool to inspect the 'policy_holders' table schema. I need to write a migration script to add a 'fleet_size' integer column. Could you help generate the Liquibase XML for this change? - b.Result: Claude can review the active database schema to help generate accurate migration scripts.
8The Prompt Universe: Atlassian Rovo & Claude Code
8.1 The Architectural Paradigm
- Atlassian Rovo (The System of Record & Discovery): Rovo sits across Jira, Confluence, and the enterprise ecosystem. It acts as a centralized library for highly optimized, enterprise-approved "Prompt Templates". It indexes Architecture Decision Records (ADRs), actuarial guidelines, and best practices.
- Claude Code (The System of Execution): Claude Code operates within the codebase (IDE/CLI/CI). It can ingest the centralized prompts stored in Rovo to help manipulate code, generate tests, and support the principles defined in the organizational brain.
8.2 The SDLC Prompt Flow
The Step-by-Step Flow
Phase 1: Discovery & Requirements
- 1.Search: The Product Owner searches Atlassian Rovo for a "Discovery Prompt" tailored to validating feasibility.
- 2.Returns: Rovo provides the sanctioned Prompt Template.
- 3.Inject Context: The PO takes the template and injects their specific Jira Epic or Story details.
- 4.Execute: The enriched prompt is fed into Claude Code running in their workspace.
- 5.Output: Claude Code validates the local codebase against the requirements and generates a mock payload or feasibility report.
Phase 2: Development & QA
- 6.Search: The Developer queries Rovo for a "Development Prompt," such as a Test-Driven Development (TDD) scaffold.
- 7.Returns: Rovo provides the sanctioned Prompt Template.
- 8.Inject Context: The Developer injects the mock payload generated in Phase 1, alongside their local code context.
- 9.Execute: The combined context is fed into Claude Code.
- 10.Output: Claude Code generates unit tests, writes business logic, and suggests alignment with enterprise Architecture Decision Records (ADRs).
Phase 3: Deployment (CI/CD)
- 11.Automated Search: A CI/CD pipeline hook automatically pulls an "Ops Prompt", such as a Definition of Done (DoD) enforcer, from Rovo.
- 12.Returns: Rovo provides the sanctioned Prompt Template to the pipeline.
- 13.Inject Context: The pipeline injects the Pull Request diff into the prompt.
- 14.Execute Headless: The context is fed into a headless instance of Claude Code.
- 15.Output: The AI autonomously reviews the code against enterprise standards and generates comprehensive release notes for the operations team.
8.3 The Shared Prompt Library: Deep Dive Examples
[VARIABLES], and execute them in Claude Code.Discovery Phase: The Feasibility & Scaffold Prompt
Prompt-Template-Discovery-001
Persona: Product Manager / Product Engineer
Goal: Validate a business idea against the legacy rating engine and scaffold the technical requirement.TECHNICAL IMPLEMENTATION
Role: Act as an expert Principal Architect at The Enterprise specializing in the [INSERT LOB, e.g., Commercial Auto] domain.
Context: We are exploring a new Epic defined in Jira: [INSERT JIRA EPIC LINK OR TEXT].
Task:
1. Review the current codebase in this repository. Specifically, look at the data models and product features related to [INSERT FEATURE AREA, e.g., Liability Limits].
2. Determine if the current database schema and API structure can support this Epic smoothly, or if downstream adjustments are advisable.
3. If feasible, generate a mock JSON payload representing a proposed API input for this new feature.
4. Identify any legacy modules touched by this feature that might benefit from additional unit test coverage.
Output: Format the response as a Markdown feasibility report. Please focus on analysis before writing implementation code.
Development Phase: The Enterprise Secure TDD Prompt
Prompt-Template-Dev-TDD-004
Persona: Lead Developer
Goal: Encourage Test-Driven Development and actuarial alignment before writing business logic.TECHNICAL IMPLEMENTATION
Role: Act as a Senior Software Engineer and Security Champion for The Enterprise.
Context: The Product Engineer has provided the following mock JSON payload and acceptance criteria: [INSERT PO's MOCK PAYLOAD AND BDD CRITERIA].
Task:
1. Review our repository's <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">claude</code> file to understand our recommended tech stack, testing frameworks, and security best practices.
2. Based on the acceptance criteria, generate a comprehensive suite of failing [INSERT FRAMEWORK, e.g., Jest/JUnit] unit tests to guide development.
3. Ensure the test suite includes boundary condition tests relevant to enterprise quoting (e.g., negative premiums, out-of-state zip codes, missing limits).
4. Where possible, utilize our internal <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">enterprise-mock-rating-engine</code> utility library rather than hardcoding mock data.
Output: Provide the test file code, formatted to be easily executed locally.
Deployment Phase: The Headless DoD Guidance Prompt
Prompt-Template-Ops-DoD-002
Persona: DevOps / CI-CD Pipeline (Automated)
Goal: Automate Definition of Done (DoD) checks via Claude Code's headless mode to assist with Pull Request reviews.TECHNICAL IMPLEMENTATION
Role: Act as a supportive Release Train Engineer and Code Reviewer for The Enterprise.
Context: You are reviewing Pull Request #[INSERT PR NUMBER]. The diff is provided in your context.
Task:
1. Code Review: Analyze the PR diff. If the code appears to introduce any hardcoded credentials or API keys, flag the review for immediate attention.
2. Coverage Check: Check if new unit tests are included that cover the modified lines of code.
3. Architectural Alignment: Query our internal Rovo database [OR READ synced claude] for the latest 'Enterprise Microservices Standards'. Does this PR align with our data payload standards? Please highlight any discrepancies.
4. Release Notes: If the PR looks good, synthesize the commit history into a 3-bullet-point, business-friendly release note suitable for the Sprint Review.
Output: Output a JSON object with two keys: "status" (e.g., "NEEDS_REVIEW" or "READY"), and "report" (the detailed review notes or the release notes).
8.4 Managing the Universe: The Feedback Loop
- 1.Iterative Refinement: When a developer tweaks a Rovo prompt inside Claude Code to get a better result, they are encouraged to propose an update to the original template in Rovo.
- 2.Prompt Guilds: Consider establishing "Prompt Engineering Guilds" across the Agile Release Trains. These guilds could meet regularly to review prompt effectiveness, archive older prompts, and share new, highly useful prompts in the Rovo Library.
- 3.Synchronization: Over time,
claudefiles in individual repositories can be dynamically generated or synced from Rovo, helping to ensure that local IDE contexts remain aligned with shared enterprise knowledge.
8.5 Implementation Guide: Prompt Chaining & Automation
- 1.Rovo Prompt Library: Set up a structured Confluence space indexed by Rovo. Use Confluence Page Properties to organize prompts by "Persona" and "SDLC Phase".
- 2.Sync Script: Consider writing a scheduled job (e.g., Python script in AWS Lambda) to fetch curated prompts from the Rovo API and seamlessly update the global
.claudetemplates in the codebase.
Tactical Guide A: Testing Prompts via the Rovo REST API
- Objective: Validate and optimize prompt templates programmatically to ensure deterministic and accurate responses in production.
- Action: Execute the
ROVO-DISCOVERY-001prompt programmatically.
- Implementation Steps:
- a.Step 1: Obtain a Rovo API Token from the Atlassian admin console.
- b.Step 2: Construct the cURL execution script:
TECHNICAL IMPLEMENTATION
bash
#!/bin/bash
API_TOKEN="your_rovo_token"
EPIC_DESCRIPTION="We need to migrate the AS400 billing module to the new cloud Spring Boot microservice."
curl -X POST "https://api.atlassian.com/rovo/v1/prompts/execute" \
-H "Authorization: Bearer $API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"promptTemplateId": "ROVO-DISCOVERY-001",
"variables": {
"epicDescription": "'"$EPIC_DESCRIPTION"'"
}
}'
- a.Step 3: Usage Prompt for Claude:
AI PROMPT
AI PROMPT
I have a script that interacts with the Rovo API. Could you help wrap this cURL command in a Node.js script using Axios, including error handling? If the API returns a 429 Rate Limit error, please add exponential backoff.
9Connected Use Cases: The Feature Lifecycle
9.1 Objective 1: Accelerated Discovery & Feasibility Validation
- 1.Intake Agent: Automatically ingests and categorizes the initial input from the human adjuster.
- 2.Policy DB / RAG: Queries the structured databases and retrieves unstructured policy guidelines using Retrieval-Augmented Generation.
- 3.Vision Agent: Concurrently processes any submitted images to extract text, damages, and contextual metadata.
- 4.Validation Agent: Aggregates the findings from the policy check and the vision analysis to validate against business logic.
- 5.Decision Recommendation: Synthesizes the validated data into a clear, actionable recommendation for the adjuster.
- The Action: They prompt:
Review the current Commercial Quoting API logic. I need to add a 'Cyber_Liability_Limit' field. Does the current database schema and rating algorithm support this, or will it require a breaking change? Generate a mock JSON payload showing the new request structure. - The Result: Claude Code analyzes the codebase, confirms that the
limitstable is extensible, and provides the mock JSON. It also flags that the legacy rating module lacks test coverage for this edge case. - The Organizational Impact: The PO instantly validates technical feasibility. The requirement enters the backlog not as a vague idea, but as an actionable, technically-grounded feature with a validated data payload.
9.2 Objective 2: Shift-Left Quality & Rapid Implementation
- The Action (TDD): The developer takes the PO's mock JSON and prompts Claude:
Based on this new Cyber Liability payload, generate a suite of failing Jest unit tests that cover standard limits, out-of-bounds limits, and missing fields. - The Action (Implementation): After generating the tests, the developer implements the logic. They can then use a custom Enterprise skill:
/skill validate-rating-algoto verify the new algorithm aligns with internal actuarial standards defined in theclaude. - The Result: The feature is built rapidly with excellent test coverage from day one. The custom skill acts as an AI pair-programmer, catching potential business logic errors early.
- The Organizational Impact: Defect escape rates often drop significantly. QA can focus on complex exploratory testing rather than basic regression, as the AI has helped guide quality at the keystroke level.
9.3 Objective 3: Automated Compliance & Deployment
- The Action (Guidance): When the developer opens the Pull Request, the CI/CD pipeline triggers an AI subagent. The subagent compares the code changes against the enterprise
claudefile to help ensure no hardcoded secrets exist and that the new Cyber Liability variables follow established naming conventions. - The Action (Documentation): Once merged, the RTE prompts Claude Code:
Summarize the changes in PR #405. Generate business-friendly release notes explaining the new Cyber Liability feature, and draft an update for the internal Wiki. - The Result: The PR is automatically reviewed for best practices, potentially reducing human review time from days to hours. Accurate, context-aware release notes are generated instantly.
- The Organizational Impact: The release process becomes smoother. Alignment with standards is supported by AI guidance, and business stakeholders receive immediate, clear communication about the value delivered.
9.4 Implementation Guide: Executing the Use Cases
- 1.Enterprise Custom Skills: Consider creating the
/skill validate-rating-algolocally. Place the script in a.claude/skills/directory in the target repository. - 2.Skill Registry: We recommend documenting the script in Atlassian Rovo so other developers know it exists and can leverage it.
Tactical Guide A: Prompt Chaining for Request Validation
- Objective: Automate complex business logic validation by chaining multiple targeted prompts to iteratively evaluate edge cases.
- Action: Automate the multi-step validation of a request incident.
- Implementation Steps:
- a.Step 1: The Context File (
incident.txt):TECHNICAL IMPLEMENTATION
text
Customer: John Doe. Policy: AC-12345. Date of Loss: 2023-10-15.
Event: Vehicle rear-ended at stoplight.
- a.Step 2: The MCP Setup: Ensure an MCP server connected to the
PolicyAdminAPI is active. - b.Step 3: The Prompt Chain:
AI PROMPT
AI PROMPT
Step 1: Read incident.txt and extract the Policy Number and Date of Loss.
Step 2: Use the 'policy_admin_mcp' tool to query the active dates for that policy.
Step 3: Determine if the policy was active on the Date of Loss.
Step 4: Output the final decision using the following JSON schema as a guide: { 'policy': string, 'isActiveOnDate': boolean, 'reason': string }. - c.Result: The AI orchestrates data extraction, API querying, business logic evaluation, and outputs structured JSON.
Tactical Guide B: Automated Legacy Test Harness Generation
- Objective: De-risk legacy modernization by automatically generating comprehensive test coverage around undocumented legacy systems.
- Action: Generate unit tests for undocumented legacy C code.
- Implementation Steps:
- a.Step 1: Navigate to the legacy directory:
cd legacy-rating-engine/src - b.Step 2: The Prompt Chain:
AI PROMPT
AI PROMPT
Read the C file 'calc_premium.c'. I need to write a test harness.
Step 1: Identify all input parameters and expected return types.
Step 2: Generate a Python script using 'ctypes' to load the compiled shared library (.so) of this C code.
Step 3: Write 5 pytest test cases that pass boundary values (0, negative, extremely large numbers) to the 'calc_premium' function.
10Legacy Integration Strategy
10.1 Target System Inventory
- Guidewire PolicyCenter and CoreSystem
- Mainframe-based billing systems
- AS400 rating engines
10.2 API Assessment
10.3 Middleware/Integration Architecture
10.4 Tactical Execution: The Strangler Fig Implementation
Tactical Guide A: Extracting Business Logic from COBOL
- Objective: Decode and document opaque legacy systems by using AI to analyze COBOL syntax and extract human-readable business rules.
- Action: Translate legacy rules into modern Java API contracts.
- Implementation Steps:
- a.Step 1: Usage Prompt:
AI PROMPT
AI PROMPTRead the COBOL copybook 'POL_ADMIN_01.cob'. Focus specifically on the 'ADDRESS-VALIDATION-ROUTINE'. Translate the business logic (the IF/ELSE statements regarding ZIP codes and state formats) into a modern Java 17 Spring Boot REST Controller. The endpoint should accept a JSON payload, execute the translated logic, and return a standardized validation response.
Tactical Guide B: Writing the Strangler Facade
- Objective: Enable incremental modernization by automatically generating API facades that route traffic safely between legacy and modern systems.
- Action: Route traffic dynamically between the old monolith and the new microservice during the transition phase.
- Implementation Steps:
- a.Step 1: Usage Prompt:' traffic to the legacy AS400 gateway (http://legacy-gateway:9000).*
AI PROMPT
AI PROMPTGenerate an NGINX configuration file (nginx.conf). Configure it to act as a Strangler Facade. Route all traffic for '/api/v1/address-validate' to the new Java microservice (http://address-service:8080), but route all other '/api/v1/
11Data Readiness Assessment
11.1 Data Quality Scorecard
- Accuracy
- Completeness
- Consistency
- Timeliness
11.2 Architecture Review Template
11.3 Governance Maturity Model
- 1.Initial (Ad-hoc)
- 2.Managed (Siloed)
- 3.Defined (Standardized)
- 4.Quantitatively Managed (Measured)
- 5.Optimizing (Continuous Improvement)
11.4 Deep Tactical Execution: AI-Driven Technical Debt Analysis
Tactical Guide A: Automated Schema Analysis
- Objective: Accelerate database migrations by using AI to automatically analyze legacy schemas and map them to modernized architectures.
- Action: Find anti-patterns in legacy relational databases.
- Implementation Steps:
- a.Step 1: Export the schema:
pg_dump -s -U cna_admin legacy_db > schema.sql - b.Step 2: Usage Prompt:
AI PROMPT
AI PROMPTAnalyze 'schema.sql'. Find instances of technical debt including: 1) Columns using generic names like 'val1', 'temp', or 'misc'. 2) Tables with more than 50 columns (wide tables). 3) Missing foreign key constraints between logically related tables (e.g., 'Request' and 'Policy'). Output a technical debt report in JSON format.
Tactical Guide B: Resolving Debt via Automated Migrations
- Objective: Safely eliminate technical debt by programmatically generating and executing database migration scripts with AI assistance.
- Action: Generate the Flyway or Liquibase scripts to fix the identified debt.
- Implementation Steps:
- a.Step 1: Usage Prompt:
AI PROMPT
AI PROMPTBased on the JSON technical debt report you just generated, write a Liquibase XML migration script to rename all generic 'val1' columns in the 'PolicyHeader' table to 'RiskScore'. Include the rollback statements.
12Security, Privacy, and Data Governance
12.1 The Strategy: Zero-Trust AI Execution
- 1.Synthetic Data Utilization: We recommend Product Engineers and Developers leverage synthetic data (mock payloads) generated via approved Atlassian Rovo prompts during the Discovery and Development phases. Utilizing production data in local IDE context windows is strongly advised against.
- 2.Automated Context Scrubbing: Before Claude Code transmits context to the LLM backend, custom hooks intercept the payload and run a regex-based scrubbing algorithm to mask accidental PII (e.g., social security numbers, policy IDs).
- 3.Headless DoD Auditing: In the CI/CD pipeline, Claude Code runs in Headless Mode to perform semantic security reviews, checking for hardcoded credentials, API keys, and violations of the
claudesecurity constraints.
12.2 Leadership Optics: How We Track Compliance
The PII Interception Dashboard
- What it tracks: The number of times the local Claude Code hooks intercept and mask potential PII before transmission.
- Why it matters: High interception rates on a specific Agile Release Train (ART) indicate a training gap where developers are pulling production data into their local environments instead of using synthetic mock data.
- Integration: Hook logs are pushed directly to Datadog/Splunk for real-time alerting.
The AI Compliance Audit Log
- What it tracks: A centralized, immutable log of every Pull Request reviewed and approved by the "Headless DoD Enforcer" subagent.
- Why it matters: Satisfies internal risk and external regulatory audit requirements, proving that AI-generated code was subjected to automated security enforcement before deployment.
- Integration: Stored within Jira via integration with GitHub Actions / GitLab CI.
The "Shift-Left" Vulnerability Metric
- What it tracks: The ratio of security vulnerabilities caught by Claude Code during development/PR review versus vulnerabilities caught by traditional SAST/DAST tools in the staging environment.
- Why it matters: Proves the ROI of the Product Engineering shift. Catching a vulnerability locally via AI is significantly cheaper than catching it in staging or production.
12.3 AI Model Risk Management
- Model Validation & Explainability: We recommend that models influencing pricing be explainable. Black-box outputs without clear actuarial derivation should be avoided.
- Bias Testing: Routine audits are highly encouraged to help ensure AI models do not introduce proxy discrimination based on protected classes.
- Immutable Architectural Tracking: The enterprise recommends the use of structured, Nygard-format Architecture Decision Records (ADRs) to track fundamental AI architecture shifts. This shared ledger helps teams stay aligned with compliance goals and avoids revisiting established security boundaries without formal, peer-reviewed documentation.
12.4 AI Incident Response Plan
- 1.Kill Switch: Immediate automated rollback of the offending AI-generated PR.
- 2.Containment: Suspend API access for the targeted LLM across the affected ART.
- 3.Audit: Review the intercept logs to determine if the prompt template or the
claudeconstraints failed.
12.5 E&O Liability for AI Decisions
12.6 Implementation Guide: Automated Governance
- 1.Git Hooks (Husky): Teams can leverage a
pre-commitandpre-pushhook globally using Husky. It is recommended that the hook run a regex scan for SSNs, credit card formats, and policy ID patterns. - 2.Claude Hook Configuration: Configure Claude Code's internal hooks to intercept all outgoing payloads to the LLM backend. If PII is detected, the hook replaces it with
[REDACTED_PII]before the network call is made.
Tactical Guide A: The Automated PII Masking Audit
- Objective: Enforce strict data privacy by continuously scanning and auditing codebases for unmasked Personally Identifiable Information (PII).
- Action: Prevent code containing unmasked PII from ever reaching production.
- Implementation Steps:
- a.Step 1: Create
.claude/skills/audit-pii.sh.TECHNICAL IMPLEMENTATION
bash
#!/bin/bash
echo "Running PII Governance Audit..."
# Check if developers are returning raw 'social_security' fields instead of using the Masker
FAILURES=$(grep -rn "social_security" src/ | grep -v "MaskingUtil")
if [ ! -z "$FAILURES" ]; then
echo "GOVERNANCE VIOLATION: Unmasked PII found."
echo "$FAILURES"
exit 1
fi
echo "Audit Passed."
- a.Step 2: Usage Prompt:
AI PROMPT
AI PROMPTI need to add a pre-commit hook using Husky. Modify my package.json to run '.claude/skills/audit-pii.sh' automatically before every git commit. If the script fails, the commit should be aborted.
Tactical Guide B: OWASP Dependency Scanning
- Objective: Proactively identify and mitigate supply chain vulnerabilities by integrating automated OWASP dependency checks into the pipeline.
- Action: Guide Claude to address security vulnerabilities found by scanners.
- Implementation Steps:
- a.Step 1: Usage Prompt:
AI PROMPT
AI PROMPTRun 'npm audit --json'. Parse the output. For every 'High' or 'Critical' vulnerability found in the dependencies, automatically run 'npm update <package>' to the non-vulnerable version. If a breaking change occurs, generate the necessary code refactor to support the new version.
13Regulatory Compliance Roadmap
13.1 State Compliance Requirements
13.2 NAIC AI Model Bulletin Compliance Matrix
- Model Inventory: We recommend maintaining a clear inventory of all AI models in use.
- Risk Management Framework: Teams can benefit from embedding AI risk management into the broader enterprise risk framework.
- Vendor Management: It is advisable to guide third-party AI vendors toward compliance with NAIC standards.
13.3 Rate Filing Disclosure Plan
13.4 Deep Tactical Execution: Automated Auditing
Tactical Guide A: Generating the NY Compliance Regulation 187 Audit Matrix
- Objective: Streamline regulatory audits by automatically generating compliance matrices that map specific code deployments to NY Reg 187 requirements.
- Action: Demonstrate to auditors how our algorithm changes align with state regulations.
- Implementation Steps:
- a.Step 1: Prepare a
regulation-187.txtfile containing the core guidelines. - b.Step 2: Usage Prompt:
AI PROMPT
AI PROMPTLoad 'regulation-187.txt'. Now, analyze all Git commits in the 'commercial-rating' module from the last 30 days. Specifically look at changes to 'BaseRateCalculator.java'. Generate a Markdown compliance matrix mapping every code change to a specific clause in Regulation 187. If any commit appears to misalign with a clause (e.g., age-based discrimination), highlight it in RED.
Tactical Guide B: Enforcing Immutable Log Generation
- Objective: Guarantee auditability by ensuring all AI-assisted actions and data modifications are immutably logged.
- Action: We recommend designing systems so that every pricing calculation leaves a clear, auditable trail.
- Implementation Steps:
- a.Step 1: Usage Prompt:
AI PROMPT
AI PROMPTReview the 'PricingEngine' module. Identify any public methods that return a premium calculation but might not invoke the 'AuditLogger.logTransaction()' method. For any identified methods, generate the necessary Java code to integrate the AuditLogger and record the relevant input variables.
14AI FinOps & Infrastructure Management
14.1 The Strategy: Context Optimization
- 1.Context Budgeting: We encourage educating teams on how to write efficient prompts. Large, bloated prompts consume excess tokens and can increase latency. (Referencing the
elementary-05-managing-context-token-budgetcurriculum). - 2.Dynamic
claudeFiles: We suggest keeping repository context files concise. Sending a 10,000-line architectural history to the LLM on every query can become financially unsustainable. Rovo can be used to store the deep history, whileclaudeonly stores the immediate context. - 3.Centralized API Gateway: We recommend routing all Claude Code traffic through an internal API gateway, allowing the Enterprise to help manage rate limits, route traffic to different LLM tiers based on task complexity, and track usage.
- 4.The AI Monorepo Strategy: To optimize discoverability, streamline FinOps tracking, and enable cross-cutting security updates, teams can consolidate all custom AI plugins into a single enterprise monorepo rather than fragmented polyrepos.
- 5.Evolutionary Plugin Architecture: To help prevent premature micro-service fragmentation and reduce operational overhead, related skills can remain bundled within the monorepo until they naturally benefit from distinct release cadences, at which point they can be deliberately split.
14.2 Leadership Optics: How We Track FinOps
Token Cost per Agile Release Train (ART)
- What it tracks: The exact dollar amount of API usage generated by each ART per Program Increment (PI).
- Why it matters: Allows Finance and RTEs to forecast budgets accurately. If an ART spikes in token usage without a corresponding spike in feature delivery, it may indicate inefficient prompting or an automated pipeline caught in an infinite loop.
- Integration: API Gateway logs can be pushed to Datadog/Splunk for cost dashboarding.
The AI Burn-Rate Alert System
- What it tracks: Automated thresholds that trigger alerts when an individual user or CI/CD pipeline exceeds a predefined daily token budget.
- Why it matters: Helps prevent unexpected costs. An improperly configured Headless DoD script running on a rapid loop in GitHub Actions can generate significant expenses overnight.
- Integration: Slack/Teams alerts can be routed directly to the specific ART's Scrum Master and the FinOps team.
The Enterprise ROI Equation
- What it tracks: A macro-level dashboard comparing the overall LLM API costs against the measurable reduction in "Flow Time" (Lead Time) and the reduction in staging environment costs (due to fewer defect deployments).
- Why it matters: This is a key metric for the C-Suite. It helps answer the question: Are we saving more money in developer time and defect reduction than we are spending on AI infrastructure?
- Integration: A high-level executive dashboard (e.g., Tableau or PowerBI) correlating Jira Align velocity data with API billing data.
14.3 Implementation Guide: FinOps Guardrails
- 1.API Gateway Setup: Provision an AWS API Gateway (or equivalent). Route all Claude Code CLI endpoints (e.g.,
https://api.anthropic.com) tohttps://enterprise-ai-gateway.internal. - 2.Usage Plans & Quotas: Create Usage Plans in the API Gateway. Map the "Pilot ART" API Keys to a reasonable daily quota (e.g., 500,000 tokens/day).
- 3.Alerting: Configure AWS CloudWatch to trigger an SNS notification to the FinOps Slack channel when a quota reaches 80% utilization.
Tactical Guide A: The Token Budgeting Hook
- Objective: Prevent runaway infrastructure costs by programmatically enforcing token consumption limits and alerting on anomalous usage patterns.
- Action: Monitor API usage and automatically pause AI requests if the budget is reached.
- Implementation Steps:
- a.Step 1: Create a GitHub Action
.github/workflows/ai-budget-check.yml.TECHNICAL IMPLEMENTATION
yaml
name: AI Token Budget Check
on: [pull_request]
jobs:
check-budget:
runs-on: ubuntu-latest
steps:
- name: Fetch Anthropic Billing Usage
env:
ANTHROPIC_ADMIN_KEY: ${{ secrets.ANTHROPIC_ADMIN_KEY }}
run: |
USAGE=$(curl -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \
-H "anthropic-version: 2023-06-01" \
"https://api.anthropic.com/v1/organizations/cna/usage" \
| jq '.total_cost')
if (( $(echo "$USAGE > 5000.0" | bc -l) )); then
echo "BUDGET EXCEEDED: Usage is $$USAGE. Limit is $5000."
echo "Blocking AI PR Reviews."
exit 1
fi
- a.Step 2: Usage Prompt:
AI PROMPT
AI PROMPTOur AI PR Reviewer tool is failing because the budget check exited with 1. I need an override mechanism. Write a python script 'request_budget_override.py' that opens an automated Jira Service Desk ticket requesting an additional $500 token allocation.
15Shared Context
15.1 What is the concept of a Shared Context Engine across the organization?
1. Eliminating Manual "Translation Hops"
2. The "Ripple Effect"
3. Shifting from "Story Points" to "Flow Velocity"
16Engine Setup
16.1 Establishing a Shared Context Engine in the Enterprise SDLC
How it is Established
- 1.The Knowledge Graph (Atlassian Rovo): Rovo is connected to Jira, Confluence, and Bitbucket/GitHub. It acts as the high-level semantic search engine that understands organizational goals, Epics, and historical decisions (ADRs).
- 2.The Execution Layer (Claude Code): Claude Code operates locally in the developer's IDE and in headless CI/CD runners. It connects to the local codebase and can retrieve Jira context via hooks.
- 3.The Bridge (Custom Instructions & Prompts): The engine is powered by standardized "System Prompts" that instruct the AI on how to interpret Jira tickets, apply enterprise coding standards, and generate tests.
Scenario: Product A Needs a Pop-up
1. Discovery & Requirements (Product Owner / PM)
- Tool: Atlassian Rovo / Jira
- The Context Established: The core business rules (must appear on first login, must save role).
- PO Prompt to Rovo:
AI PROMPT
AI PROMPT
I am creating a new Epic for an Onboarding Pop-up in Product A. Based on our current authentication flow in the <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">apps/marketing-site</code> repository, where should the 'first login' flag be stored? Generate a draft Jira Story with acceptance criteria that aligns with our existing PostgreSQL schema.
User model, and drafts a Jira ticket suggesting adding a hasCompletedOnboarding boolean and a role enum. The PO saves this as Ticket-101.2. Refinement & Architecture (Scrum Master / Tech Lead)
- Tool: Claude (Web or Code)
- The Context Maintained: Claude pulls the exact Acceptance Criteria generated in Phase 1.
- Tech Lead Prompt to Claude:
AI PROMPT
AI PROMPT
Analyze Ticket-101. We need to implement this onboarding pop-up in our Next.js 15 App Router structure. Are there any existing UI components (like Modals or Dialogs) in our <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">@repo/ui</code> library that we should reuse? Generate a brief technical task list.
FloatingWindowManager and glass-card CSS classes. It outputs a checklist of files to modify (e.g., schema.prisma, route.ts for the API, and page.tsx).3. Development (Developer)
- Tool: Claude Code (CLI in the IDE)
- The Context Maintained: The developer injects the Ticket ID, and Claude Code applies the technical task list from Phase 2.
- Developer Prompt to Claude Code:
AI PROMPT
AI PROMPT
Implement the frontend and backend for Ticket-101.
1. Update the Prisma schema with the new fields and run <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">prisma db push</code> locally.
2. Create the API route to handle the role update.
3. Build the React component using our <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">glass-card</code> styling and ensure it only renders if <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">hasCompletedOnboarding</code> is false.
Review <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">apps/marketing-site/docs/MARKETING_API_REFERENCE.md</code> to ensure the API matches our standards.
4. QA & Security Validation (QA / Sec)
- Tool: Claude Code (Headless in CI/CD) or Local Copilot
- The Context Maintained: The AI understands why the pop-up was built and how it was built.
- QA Prompt to Claude:
AI PROMPT
AI PROMPT
Generate a Playwright E2E test for the Onboarding Pop-up implemented in Ticket-101. The test must:
1. Mock a user login where <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">hasCompletedOnboarding</code> is false.
2. Verify the pop-up renders and intercepts the screen.
3. Select 'Admin' and submit.
4. Verify the database mock receives the correct payload.
Also, audit the new API route for potential SQL injection or unauthorized access.
5. Release & Operations (RTE / DevOps)
- Tool: Atlassian Rovo
- The Context Maintained: Rovo has monitored the Jira ticket moving to "Done" and the GitHub PR merging.
- RTE Prompt to Rovo:
AI PROMPT
AI PROMPT
Summarize the changes merged for Ticket-101 today. Generate a non-technical release note for the business stakeholders explaining the new Onboarding Pop-up, and generate a technical deployment note for DevOps highlighting the database schema changes that require attention during the Cloud Run rollout.
User schema has changed, ensuring data readiness.Edge Cases, Gotchas, and Mitigations
1. The "Dirty Data" Contradiction
[DEPRECATED]. The engine must be explicitly prompted to prioritize recent ADRs over older Confluence pages.2. Context Window Overflow & Token Dilution
apps/marketing-site/app/api directory").3. The "Automation Paradox" & Skill Atrophy
4. Enterprise Security & Zero-Trust Data Leakage
5. Prompt Drift
Conclusion
17State Continuity
17.1 State-Managed Continuity: Maintaining Context Across Product Teams
1. The Repository-Level Directive (`AGENTS.md`)
.agents/AGENTS.md or .clauderc).Technical Implementation
1# ENTERPRISE CONTEXT DIRECTIVE (AGENTS.md)
2You are an AI-Augmented Product Engineering assistant for the "Effective Solutions" platform.
3BEFORE you write any code or answer any questions, you MUST:
41. Search Atlassian Rovo / Jira for the active Ticket ID provided by the user.
52. Read the `docs/ARCHITECTURE.md` file to establish our current Next.js boundaries.
63. Check for any active ADRs (Architecture Decision Records) in the `docs/adr/` folder.
74. Adhere strictly to the "glass-card" UI aesthetic defined in `@repo/ui`.
8
9Do NOT proceed until you have explicitly confirmed to the user that you have loaded this context.2. The "Context Digest" Handoff (Chain-of-Context)
- PO Prompt (Product Owner Phase):
AI PROMPT
AI PROMPT
Finalize the requirements for Ticket-101. At the bottom of the Jira ticket, generate a <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">[CONTEXT_DIGEST]</code> block. This block must be a highly compressed, AI-optimized summary of the business intent, the technical constraints, and the specific files to modify.
Technical Implementation
1[CONTEXT_DIGEST]
2Epic: User_Onboarding
3Intent: Modal pop-up on first login, capture user role (Admin/User).
4Constraints: Next.js 15 App Router, Prisma SQL, strict zero-trust auth.
5Target_Files: schema.prisma, route.ts, FloatingWindowManager.tsx.
6Dependencies: Auth0_Session_Token
7[/CONTEXT_DIGEST]- Dev Prompt to Claude Code (Developer Phase):
AI PROMPT
AI PROMPT
Load Ticket-101. Extract the <code class="bg-bg-surface border border-border px-2 py-1 rounded text-sm font-mono text-blue-500">[CONTEXT_DIGEST]</code> and use it to populate your context window. Then, begin implementation.
3. "Vision-Anchored" Prompt Templates (Jira Automation)
Technical Implementation
1### User Story
2As a new user, I want...
3
4### AI Context Payload
5*(Note: Claude/Rovo, read this before generating code or tests for this ticket)*
6* **Bounded Context:** User Management Service
7* **Upstream Dependencies:** Auth0, Cloud SQL
8* **Downstream Consumers:** Reporting Dashboard
9* **Security Clearance:** Requires PII Handling ProtocolsSummary
AGENTS.md), forcing machine-readable handoffs ([CONTEXT_DIGEST]), and templating your ticketing system, you shift the burden of "remembering context" from the human to the infrastructure.18Engine Build
18.1 How is a Shared Context Engine Actually Developed?
Level 1: Elementary (The Static System Prompt)
- How to Build It: Create a
.claudercorAGENTS.mdfile in the root of your Git repository. - What It Contains: A bulleted list of your specific tech stack dependencies, UI component libraries, and the exact path to your architecture documents.
- The Engine Mechanism: When a developer opens an AI assistant in their IDE, the assistant is instructed to automatically read this file first. The "Engine" is just Git ensuring everyone has the same file.
Level 2: Intermediate (Dynamic Context Retrieval)
- How to Build It: You write a Python or Bash script (e.g.,
scripts/fetch_context.sh) that makes a GET request to your Jira or Confluence API. - What It Contains: The script fetches the active sprint goals, recent Architectural Decision Records (ADRs), and known bugs, and dynamically writes them into a temporary
.context.mdfile. - The Engine Mechanism: The developer's AI assistant is configured to read
.context.mdon startup. The "Engine" is the automation script bridging the gap between your project management software and your local code environment.
Level 3: Advanced (The RAG-Enabled Knowledge Graph)
- How to Build It: You deploy an orchestration layer (often using LangChain or LlamaIndex) connected to a Vector Database (like Pinecone or pgvector). This system continuously indexes every commit in GitHub, every ticket in Jira, and every wiki page in Confluence.
- What It Contains: A massive, semantically searchable database of the organization's entire history and codebase.
- The Engine Mechanism: When a developer prompts Claude Code, the IDE tool does not just look at local files. It first queries the central RAG API (The Shared Context Engine). The API performs a semantic search across Jira/Confluence/GitHub, retrieves the 5 most relevant documents, and injects them seamlessly into the developer's prompt as invisible context before generating an answer. This guarantees that the AI's response is governed by the live state of the entire organization, not just the local code.
19Agile Evolution
19.1 The Future of Agile: Empowering the PMO
The Transformation of SAFe Agile Ceremonies
1. PI (Program Increment) Planning
- Before (Product Management): PI Planning requires weeks of manual preparation. Product Managers and Release Train Engineers (RTEs) spend days in physical or virtual rooms, manually mapping dependencies across dozens of squads using string-boards, and relying on human estimates to calculate program capacity.
- After (AI-Augmented): AI-Assisted Dependency Mapping. Before the planning event even begins, Atlassian Rovo scans the proposed Epics, cross-references the enterprise architecture, and instantly highlights all cross-team dependencies (including API contracts, database schema changes, shared UI components, and infrastructure requirements). It simulates capacity based on historical flow data. The PMO enters the PI Planning event with a pre-validated map, allowing leaders to spend their time negotiating strategic business priorities rather than untangling technical dependencies.
2. Backlog Refinement
- Before (Product Management): Refinement involves 10 engineers sitting in a room for two hours, manually reading through User Stories to uncover missing requirements or debate technical approaches.
- After (AI-Augmented): Context Grooming. The PM runs an AI "Grooming Agent" over the backlog prior to the meeting. The AI adversarially reviews the tickets, ensuring all architectural guidelines are present and flagging any missing dependencies. The human refinement meeting shrinks to a highly-focused 20-minute discussion tackling only the complex, strategic edge cases the AI flagged.
3. Sprint Planning & Estimation
- Before (Product Management): Teams spend hours playing Planning Poker, debating whether a feature is a 5-point or an 8-point story based on subjective gut feelings.
- After (AI-Augmented): Deterministic Complexity & Continuous Flow. The traditional "User Story" (built for human empathy) evolves into a "Context Directive" (built for machine execution). Human estimation is replaced by an AI Complexity Score. Rovo analyzes the codebase, compares the new feature to thousands of historical Pull Requests, and grades its complexity based on the actual number of files and APIs that will be touched. With deterministic grading, teams confidently pivot to continuous flow (pulling the highest-value Directive next) rather than debating artificial capacity constraints.
4. Daily Stand-up
- Before (Product Management): Developers go around the room giving manual status updates ("What I did yesterday, what I am doing today, any blockers").
- After (AI-Augmented): Strategic Unblocking. Rovo automatically compiles a daily digest of merged code, active PRs, and CI/CD testing failures before the meeting. Because the administrative status is already known, the Stand-up transforms into a 5-minute strategic huddle where the Scrum Master focuses entirely on unblocking the architectural or business constraints flagged by the AI.
5. Sprint Review & System Demo
- Before (Product Management): Developers spend hours preparing environments and manually clicking through the UI to demonstrate new features to stakeholders.
- After (AI-Augmented): Automated Value Demonstration. Claude Code and the CI/CD pipeline autonomously generate localized preview environments and record Playwright testing videos for every completed feature. Stakeholders receive a flawless, deterministic demonstration of the exact business value that was delivered, backed by automated quality metrics.
6. Sprint Retrospective
- Before (Product Management): Subjective discussions about team morale and process friction, often relying on recency bias and sticky notes.
- After (AI-Augmented): Data-Driven Flow Optimization. The PMO utilizes AI-generated DORA metrics (see below) to objectively identify where the SDLC bottlenecks occurred during the sprint. The retrospective becomes a powerful, evidence-based session on how to tune the AI guardrails and system prompts to eliminate friction for the next iteration.
The Shift to Flow Velocity (DORA Metrics)
- 1.Deployment Frequency (Speed): How often the organization successfully releases code to production.
- 2.Lead Time for Changes (Speed): The exact time it takes a Context Directive to move from a developer's IDE to production.
- 3.Change Failure Rate (Quality): The percentage of deployments causing a failure in production. If AI prompts begin to drift, this metric mathematically alerts the PMO to tighten the guardrails.
- 4.Time to Restore Service (Quality): How fast the system can recover from a production failure.
Open Governance Questions for SDD
- Where should the "Spec Path" reference live? Does it belong as a custom field on the Jira Story, a linked Confluence page, or an automated comment driven by the CI/CD pipeline?
- Who owns the final sign-off? Does the Product Manager alone sign off on the Requirements Spec before AI generation begins, or does it require a joint sign-off with the Tech Lead?
- How do we handle Non-Functional Requirements (NFRs)? Do NFRs like SLAs and audit logging live centrally in the Feature-level Design Plan, or must they be repeated explicitly in every downstream Story?
- Is our Definition of Ready (DoR) absolute? Do we strictly require zero "Open Questions" in the Requirements Spec before a Story enters a Sprint, or is there an acceptable threshold for discovery during execution?
20AI-Augmented Product Engineering through Spec-Driven Development (SDD)
20.1 1. SDD as the Architectural Blueprint
20.2 2. The Artifacts: Bridging the Gap
Users: Commercial property underwriters.
Goals: Display auto-generated score + factors.
Non-goals: No manual override in this story.
Open questions: "What happens if the scoring API times out?" (Must be answered before proceeding). | | Design Plan | Removes technical ambiguity | Affected modules: Underwriting Workbench UI, Rating Engine.
Data model: Add
risk_score (int) and contributing_factors (array).API contract:
GET /submissions/{id}/risk-score.Security: Data classified as underwriting-sensitive. | | Task List | Removes execution ambiguity | 1) Add DB fields for score/factors. 2) Build API endpoint. 3) Build UI component. 4) Add loading/error states for API timeout. 5) Write unit + integration tests. | | Validation Checklist | Proves the work matches the spec | Confirms: Score displays within 2 seconds (tested), timeout scenario handled per spec, no undocumented fields added, all acceptance criteria verified. |
20.3 3. Concrete Example: Transforming Features and Stories
Feature: Automated Commercial Property Risk Scoring
Story Execution
20.4 4. The SDLC Ripple Effect
- PI Planning Evolution: By Day 1 of PI planning, teams already have API contracts drafted by Claude Code based on the SDD Specs. Dependencies aren't discovered on the fly; the AI surfaces them instantly.
- Continuous Discovery: Product Engineers interact with AI to simulate and refine features asynchronously, drastically reducing the hours spent in group Backlog Refinement meetings.
- Deterministic Merge: The traditional "QA Handoff" is eliminated. Headless AI agents in the CI/CD pipeline use the Validation Checklist to run deep semantic validation on every Pull Request, checking if the code fulfills the actual business intent of the original spec.
20.5 5. Integration with the Shared Context Ecosystem
- Shared Context (Concept): The SDD artifacts (Requirements Spec, Design Plan) are the literal "Shared Context." By moving away from human-only Jira descriptions to machine-readable SDD specs, we eliminate manual translation hops. The exact intent the Product Owner writes is the exact intent the AI uses to generate tests downstream.
- Engine Setup (Establishing): When a Product Owner uses Atlassian Rovo to ideate a feature, Rovo's primary output must be the formal Requirements Spec. Similarly, when the Tech Lead uses Claude to refine the story, Claude is instructed to output the Design Plan. SDD provides the structured formats that the engine is expected to output.
- State Continuity: To prevent prompt drift across product teams, the SDD artifacts act as the ultimate "Context Digest." When the ticket moves from Product to Development, the developer does not need to guess the architectural constraints; they simply feed the SDD Design Plan into their local Claude Code environment, instantly re-establishing the exact state of the feature.
- Engine Build (Development): The organization's
AGENTS.md(the repository-level directive) must be updated to enforce SDD. The system prompt should explicitly state: "Before generating any code, you must locate and read the SDD Requirements Spec and Design Plan for the active Jira ticket." This ensures the Engine is mechanically bound to the SDD process. - Agile Evolution (Future of Agile): SDD fundamentally alters standard Agile ceremonies. PI Planning is no longer a manual dependency mapping exercise because the SDD Design Plans highlight all cross-team API and schema impacts upfront. Backlog Refinement shrinks from a 2-hour debate into a 20-minute review of the AI-generated Requirements Specs. Furthermore, measuring the speed at which these SDD specs are successfully merged allows the PMO to transition fully to DORA flow metrics rather than subjective Story Points.
20.6 6. Active Governance Standards
- 1.The "Spec Path" Reference: The formal link to the SDD artifacts (the "Spec Path") lives as a dedicated custom field directly on the Jira Story. This ensures the CI/CD pipeline and the AI Enablement Engine can programmatically trace from code back to the Jira issue without parsing informal comments.
- 2.Final Sign-off Authority: The Requirements Spec requires a joint sign-off from both the Product Manager and the Tech Lead before AI code generation begins. The PM owns the business intent, while the Tech Lead validates the technical feasibility.
- 3.Handling Non-Functional Requirements (NFRs): NFRs (e.g., SLAs, audit logging) are captured centrally in the Feature-level Design Plan. Downstream Stories inherit these requirements programmatically rather than repeating them, reducing manual overhead while maintaining compliance.
- 4.The Absolute Definition of Ready (DoR): The DoR is absolute. We strictly require zero "Open Questions" in the Requirements Spec before a Story enters a Sprint. Any ambiguity that a human would normally figure out during development will cause an AI agent to hallucinate or stall, making upfront resolution mandatory.