Skip to content
Back to skills

3008 Plan Bicepprompt 4dab8d97

ASecurity

Create a Bicep implementation plan with governance discovery

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
securitygobashazuregitapi

Works with

  • terminal
  • cli
  • api

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 3008-plan-bicepprompt_4dab8d97 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 3008 Plan Bicepprompt 4dab8d97?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 3008 Plan Bicepprompt 4dab8d97
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-3008-plan-bicepprompt-4dab8d97/badge)](https://www.skillsdirectory.com/skills/tools-only-3008-plan-bicepprompt-4dab8d97)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
description: "Create a Bicep implementation plan with governance discovery"
agent: "05b-Bicep Planner"
model: "Claude Opus 4.6"
tools:
  - read/readFile
  - edit/createFile
  - edit/editFiles
  - execute/runInTerminal
  - search/codebase
  - "bicep/*"
argument-hint: Provide the project name to plan implementation for
---

# Plan Bicep Implementation

Create a comprehensive, machine-readable implementation plan by discovering
governance constraints, verifying AVM module availability, and designing the
complete Bicep template structure.

## Mission

Read the architecture assessment, run mandatory governance discovery via
Azure REST API, verify AVM modules for every resource, check for service
deprecations, and produce a structured implementation plan with deployment
strategy.

## Scope & Preconditions

- `agent-output/${input:projectName}/02-architecture-assessment.md` must exist
- Azure CLI must be authenticated (`az account show`)
- Read `.github/skills/azure-defaults/SKILL.md` for governance discovery patterns
- Read `.github/skills/azure-artifacts/SKILL.md` for template H2 structure
- Governance discovery is a **hard gate** — cannot proceed without policy data

## Inputs

| Variable               | Description                                      | Default  |
| ---------------------- | ------------------------------------------------ | -------- |
| `${input:projectName}` | Project name matching the `agent-output/` folder | Required |

## Workflow

### Step 1: Prerequisites Check

1. Verify Azure CLI authentication: `az account show`
2. Read `02-architecture-assessment.md` for resource list and SKUs
3. Read `01-requirements.md` for compliance context

### Step 2: Governance Discovery (MANDATORY GATE)

Use REST API (not just `az policy assignment list`) to discover ALL
policies including management group-inherited ones:

```bash
az rest --method GET \
  --url "/subscriptions/{subId}/providers/Microsoft.Authorization/policyAssignments?api-version=2022-06-01"
```

Classify each policy by effect: `Deny` = blocker, `Audit` = warning.

### Step 3: AVM Module Verification

For EACH resource in the architecture:

1. Query `bicep/list_avm_metadata` for AVM availability
2. If AVM exists: note module path and required parameters
3. If no AVM: plan raw Bicep resource definition
4. Check for known AVM parameter type mismatches

### Step 4: Deprecation Check

Research deprecation status for non-AVM resources and any
custom SKU selections that override AVM defaults.

### Step 5: Deployment Strategy

Ask user to choose (phased recommended for >5 resources):

- **Phased deployment** — resources grouped by dependency
- **Single deployment** — all resources in one operation

### Step 6: Generate Artifacts

Save to `agent-output/{projectName}/`:

- `04-implementation-plan.md` — resource inventory, module structure,
  deployment phases, parameter specifications
- `04-dependency-diagram.py` + `04-dependency-diagram.png` — Step 4 dependency view
- `04-runtime-diagram.py` + `04-runtime-diagram.png` — Step 4 runtime-only flow view
- `04-governance-constraints.md` — discovered policies and adaptations
- `04-governance-constraints.json` — machine-readable policy data

## Output Expectations

Implementation plan must include YAML-structured task specifications
for each resource with: module reference, dependencies, parameters,
and deployment phase assignment.

## Quality Assurance

- [ ] Governance discovery completed via REST API (not CLI alone)
- [ ] Every resource has AVM verification result
- [ ] Deny-effect policies have explicit adaptations documented
- [ ] Deployment strategy confirmed by user
- [ ] All H2 headings match azure-artifacts template
- [ ] Baseline tags documented (Environment, ManagedBy, Project, Owner — governance may add more)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.