원클릭으로
lab-iaac-bicep
Bicep code generation procedures and patterns for Azure hands-on labs. Cross-cutting rules are in the lab-shared-contract skill.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Bicep code generation procedures and patterns for Azure hands-on labs. Cross-cutting rules are in the lab-shared-contract skill.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | lab-iaac-bicep |
| description | Bicep code generation procedures and patterns for Azure hands-on labs. Cross-cutting rules are in the lab-shared-contract skill. |
Bicep-specific code generation procedures. All cross-cutting rules (naming, tags, SKUs, regions, limits) are defined in the lab-shared-contract skill — reference by ID, do not restate.
Located in lab-azure-governance skill (see R-160):
.github/skills/lab-azure-governance/templates/bicep-module.stub/
Files: main.bicep, main.bicepparam
| File | Content |
|---|---|
main.bicep | Root module with targetScope = 'subscription' |
main.bicepparam | Per R-136 |
bicepconfig.json | Bicep lint/compile configuration |
bicep.ps1 | Deployment wrapper — copy from shared, never modify (see R-135) |
Use targetScope = 'subscription' for labs that create resource groups. Use stack deployments via the wrapper script.
Each module is a .bicep file in modules/:
location, tags (object), and cross-module references as parameters.@description() decorators on all parameters.Module organization rules: see lab-shared-contract R-022.
Use camelCase for parameter names (see lab-shared-contract R-021). Include @description() decorator on every parameter. Provide governance-compliant defaults where possible.
@description('Azure region for resource deployment')
param location string = 'eastus'
@description('Resource owner name')
param owner string = 'Greg Tate'
@description('Static date for DateCreated tag (YYYY-MM-DD)')
param dateCreated string
See lab-shared-contract R-024 for rules. Use uniqueString() or static pattern. Mark with @secure() decorator.
bicep.ps1 — never create a custom one.validate, plan, apply, destroy, show, list.Stack naming: see lab-shared-contract R-004.
Cleanup destroy command:
az stack sub delete --name $stackName --yes --force-deletion-types $forceTypes
using './main.bicep'
param location = 'eastus'
param owner = 'Greg Tate'
param dateCreated = '<YYYY-MM-DD>'
See lab-shared-contract R-016 for the resource table and Bicep disable pattern. Apply to all resources in the R-016 table that are deployed in the lab.
Generate a PowerShell script in validation/ that:
Confirm-LabSubscription from the lab-azure-governance skill (see R-161).$Main / $Helpers script block pattern.lab-shared-contract R-012.Start or stop a certification study session by invoking Invoke-AzStudySession.ps1. Parses natural language to extract parameters and prompts for any that are missing. Use when asked to begin/start/stop a study session, start studying, track study time, or log study activity.
Reorganize practice exam questions by domain, skill, and task metadata for any certification exam, then update the coverage table on the exam README. Use when asked to organize practice exams, classify exam questions by domain, or update practice exam coverage.
Scaffold a new certification exam into the LearningAzure workspace. Creates the folder structure, README files, StudyLog, Skills.psd1, and updates all cross-cutting files (scripts, governance, shared contract, top-level README). Use when asked to add a new exam, create an exam, scaffold an exam, or introduce a new certification.
Extract and export flat URLs from a named markdown section and its subsections to a text file. Use when asked to extract links from a markdown section, flatten markdown links, export URLs from a section, get all links under a heading, or extract section/subsection link list.
Build structured reference link trees from Microsoft Learn learning paths or modules. Extracts modules, units, and inline documentation links into nested markdown for references pages. Use when building references, extracting learning path links, creating study reference documentation, or populating a references.md file.
Explain Microsoft Azure exam question outcomes from screenshots. Use when asked to explain why an exam answer is correct or incorrect, or to analyze a practice exam question result.