Skip to content

feat: Add DevOps Lead Persona Riley for IaC and CI/CD (#2187)#2567

Open
ogormans-deptstack wants to merge 1 commit into
bmad-code-org:mainfrom
ogormans-deptstack:feat/devops-lead-persona
Open

feat: Add DevOps Lead Persona Riley for IaC and CI/CD (#2187)#2567
ogormans-deptstack wants to merge 1 commit into
bmad-code-org:mainfrom
ogormans-deptstack:feat/devops-lead-persona

Conversation

@ogormans-deptstack

Copy link
Copy Markdown

What

Introduces a dedicated DevOps Lead persona ("Riley") to fill the infrastructure and deployment gap in the agent roster.

Why

Currently, infrastructure and deployment topics are handled only superficially by the Architect. This dedicated persona handles infrastructure-as-code, CI/CD pipeline design, deployment strategies, and pipeline security.
Resolves #2187

How

  • Created bmad-agent-devops SKILL.md and customize.toml in src/bmm-skills/3-solutioning/
  • Added Riley to the agent roster in src/bmm-skills/module.yaml
  • Registered the planned skills (bmad-create-infrastructure and bmad-create-pipeline) in src/bmm-skills/module-help.csv

Testing

  • Verified SKILL.md format matches existing v6 agent patterns
  • Passed npm run validate:refs and test suite (npm test) locally

…2187)

- Created bmad-agent-devops SKILL.md and customize.toml
- Added Riley to module.yaml agent roster
- Registered bmad-create-infrastructure and bmad-create-pipeline in module-help.csv
@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

This PR adds a new DevOps Lead agent persona named "Riley" to the bmad-skills framework. It introduces a SKILL.md defining activation, persona, and menu dispatch behavior, a customize.toml with configuration and menu mappings, and registers the new agent in module.yaml's roster.

Changes

DevOps Lead Agent Persona

Layer / File(s) Summary
Persona definition and activation logic
src/bmm-skills/3-solutioning/bmad-agent-devops/SKILL.md
Defines the "Riley — DevOps Lead" persona overview, path conventions, activation sequencing (config resolution with manual merge fallback, persistent facts loading, greeting, append steps), and menu dispatch/clarification behavior.
Persona configuration and menu mapping
src/bmm-skills/3-solutioning/bmad-agent-devops/customize.toml
Defines agent metadata, empty activation step arrays, persistent fact source (**/project-context.md), role/principles/communication_style fields, and a two-item capabilities menu mapped to infrastructure and pipeline skills.
Agent roster registration
src/bmm-skills/module.yaml
Adds the bmad-agent-devops entry to the module's agents[] list with name, title, icon, team, and description.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Linked Issues check ❓ Inconclusive Most #2187 requirements appear implemented, but module-help.csv registration cannot be verified because that file was excluded by the CSV path filter. Re-review src/bmm-skills/module-help.csv or provide an unfiltered diff to confirm the planned skill registrations for #2187.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: adding the Riley DevOps Lead persona for IaC and CI/CD.
Description check ✅ Passed The description matches the PR by describing Riley, its DevOps focus, and the added skill/persona files.
Out of Scope Changes check ✅ Passed The changes stay within the DevOps persona scope: new agent files and roster updates only, with no obvious unrelated edits.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
src/bmm-skills/3-solutioning/bmad-agent-devops/SKILL.md (1)

19-76: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Sync the docs with Riley’s new activation contract.

This adds user-facing activation flow and menu dispatch behavior; please update the relevant docs page under docs/ so the new persona and config contract are documented. As per path instructions, src/** source changes should be reflected in the relevant docs pages.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/bmm-skills/3-solutioning/bmad-agent-devops/SKILL.md` around lines 19 -
76, Update the relevant docs page under docs/ to document Riley’s new activation
contract introduced in SKILL.md, including the ordered activation steps in On
Activation, the required config sources and placeholders used in Step 5, the
greeting/prefix behavior in Step 6, and the menu dispatch logic in Step 8. Make
sure the docs mention the persona layering, persistent facts loading, and the
rule that an initial user intent can skip the menu and dispatch directly; use
the existing SKILL.md section headings and terms like activation_steps_prepend,
activation_steps_append, agent.menu, and bmad-help so the docs stay aligned with
the source behavior.

Source: Path instructions

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/bmm-skills/3-solutioning/bmad-agent-devops/customize.toml`:
- Around line 58-66: The menu entries in agent.menu for codes II and CD are
pointing to missing skills, so gate them until the target implementations exist.
Either add the referenced skills bmad-create-infrastructure and
bmad-create-pipeline first, or remove/hide these entries in customize.toml so
the dispatch in agent.menu does not reference unavailable targets.

---

Nitpick comments:
In `@src/bmm-skills/3-solutioning/bmad-agent-devops/SKILL.md`:
- Around line 19-76: Update the relevant docs page under docs/ to document
Riley’s new activation contract introduced in SKILL.md, including the ordered
activation steps in On Activation, the required config sources and placeholders
used in Step 5, the greeting/prefix behavior in Step 6, and the menu dispatch
logic in Step 8. Make sure the docs mention the persona layering, persistent
facts loading, and the rule that an initial user intent can skip the menu and
dispatch directly; use the existing SKILL.md section headings and terms like
activation_steps_prepend, activation_steps_append, agent.menu, and bmad-help so
the docs stay aligned with the source behavior.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 649e605a-0c79-47bc-a626-a726725b5e44

📥 Commits

Reviewing files that changed from the base of the PR and between 5f3ebc9 and 85ebdca.

⛔ Files ignored due to path filters (1)
  • src/bmm-skills/module-help.csv is excluded by !**/*.csv
📒 Files selected for processing (3)
  • src/bmm-skills/3-solutioning/bmad-agent-devops/SKILL.md
  • src/bmm-skills/3-solutioning/bmad-agent-devops/customize.toml
  • src/bmm-skills/module.yaml

Comment on lines +58 to +66
[[agent.menu]]
code = "II"
description = "Design Infrastructure-as-Code (IaC) specifications and workflows"
skill = "bmad-create-infrastructure"

[[agent.menu]]
code = "CD"
description = "Design CI/CD pipelines, promotion gates, and deployment strategies"
skill = "bmad-create-pipeline"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
rg -n 'bmad-create-(infrastructure|pipeline)' src

Repository: bmad-code-org/BMAD-METHOD

Length of output: 815


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Find any files or directories that could implement or register the two skills.
git ls-files | rg 'bmad-create-(infrastructure|pipeline)|create-(infrastructure|pipeline)|infrastructure|pipeline'

# Also inspect nearby skill directories under src for matching names.
fd -a 'bmad-create-(infrastructure|pipeline)|create-(infrastructure|pipeline)' src || true

Repository: bmad-code-org/BMAD-METHOD

Length of output: 163


Gate II/CD until the target skills exist. These menu items point to bmad-create-infrastructure and bmad-create-pipeline, but there are no tracked implementations for either target yet. Add the skills first or hide these entries to avoid broken dispatch.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/bmm-skills/3-solutioning/bmad-agent-devops/customize.toml` around lines
58 - 66, The menu entries in agent.menu for codes II and CD are pointing to
missing skills, so gate them until the target implementations exist. Either add
the referenced skills bmad-create-infrastructure and bmad-create-pipeline first,
or remove/hide these entries in customize.toml so the dispatch in agent.menu
does not reference unavailable targets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: DevOps Lead Persona for Infrastructure-as-Code and CI/CD Workflows

1 participant