Back to skills
SKILL.md
2511 Azure Artifactsinstructions 8c2ade19
ASecurityMANDATORY template compliance rules for artifact generation
- 9 stars
- 0 votes
- 0 copies
- 1 view
- Added May 31, 2026
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add tools-only/X-Skills --skill 2511-azure-artifactsinstructions_8c2ade19 --agent claude-codeAre you the author of 2511 Azure Artifactsinstructions 8c2ade19?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-2511-azure-artifactsinstructions-8c2ade19)---
applyTo: "**/agent-output/**/*.md"
description: "MANDATORY template compliance rules for artifact generation"
---
# Artifact Generation Rules - MANDATORY
> **CRITICAL**: This file is the SINGLE SOURCE OF TRUTH for artifact H2 headings.
> All agents MUST use these EXACT headings when generating artifacts.
> Violations block commits (pre-commit) and PRs (CI validation).
## Pre-Generation Workflow
Before creating ANY artifact file, agents MUST:
1. **FIND** the section for your artifact type below (e.g., "06-deployment-summary.md")
2. **COPY** the EXACT H2 headings listed there
3. **USE** those headings in order in your generated artifact
4. **ADD** `## References` at the end (always allowed)
5. **ADD** custom H3 subsections under H2s as needed
## Template Mapping
All templates live in `.github/skills/azure-artifacts/templates/`:
| Artifact Pattern | Template File |
| -------------------------------- | ----------------------------------------- |
| `01-requirements.md` | `01-requirements.template.md` |
| `02-architecture-assessment.md` | `02-architecture-assessment.template.md` |
| `03-des-cost-estimate.md` | `03-des-cost-estimate.template.md` |
| `04-governance-constraints.md` | `04-governance-constraints.template.md` |
| `04-implementation-plan.md` | `04-implementation-plan.template.md` |
| `04-preflight-check.md` | `04-preflight-check.template.md` |
| `05-implementation-reference.md` | `05-implementation-reference.template.md` |
| `06-deployment-summary.md` | `06-deployment-summary.template.md` |
| `07-ab-cost-estimate.md` | `07-ab-cost-estimate.template.md` |
| `07-backup-dr-plan.md` | `07-backup-dr-plan.template.md` |
| `07-compliance-matrix.md` | `07-compliance-matrix.template.md` |
| `07-design-document.md` | `07-design-document.template.md` |
| `07-documentation-index.md` | `07-documentation-index.template.md` |
| `07-operations-runbook.md` | `07-operations-runbook.template.md` |
| `07-resource-inventory.md` | `07-resource-inventory.template.md` |
## Golden Rule
**DO NOT INVENT H2 HEADINGS.** Use ONLY the headings listed below for each artifact type.
## Standard Components (Validated)
Every artifact (except PROJECT-README) must include these visual components
above the first H2 heading. The validator checks for their presence.
| Component | Pattern | Required |
| --------------- | ------------------------------------------------------------------------- | ------------------------------------ |
| Badge row | `  ` | Yes (templates); Advised (artifacts) |
| Collapsible TOC | `<details open><summary><strong>π {Contextual Label}</strong></summary>` | Yes (templates); Advised (artifacts) |
| Attribution | `> Generated by {agent} agent \| {date}` | Yes (templates); Advised (artifacts) |
| Nav table | `<div align="center">\| β¬
οΈ Previous \| π Index \| Next β‘οΈ \|</div>` | Yes (templates); Advised (artifacts) |
## Complete H2 Heading Reference
> **IMPORTANT**: Copy-paste these headings. Do not paraphrase or abbreviate.
---
### 01-requirements.md
```markdown
## π― Project Overview
## π Functional Requirements
## β‘ Non-Functional Requirements (NFRs)
## π Compliance & Security Requirements
## π° Budget
## π§ Operational Requirements
## π Regional Preferences
## π Summary for Architecture Assessment
## References <!-- Optional, add at end -->
```
**H3 subsections** (within H2s above):
- `## π― Project Overview` β Business Context
- `## π Functional Requirements` β Core Capabilities, User Types, Integrations,
Data Types, Architecture Pattern
- `## β‘ Non-Functional Requirements (NFRs)` β Availability & Reliability,
Performance, Scalability
- `## π Compliance & Security Requirements` β Regulatory Frameworks,
Data Residency, Auth & Authorization, Network Security,
Recommended Security Controls
- `## π° Budget` β Cost Optimization Priorities (optional)
- `## π§ Operational Requirements` β Monitoring & Alerting, Support & Maintenance, Backup & Disaster Recovery
---
### 02-architecture-assessment.md
```markdown
## β
Requirements Validation
## π Executive Summary
## ποΈ WAF Pillar Assessment
## π¦ Resource SKU Recommendations
## π― Architecture Decision Summary
## π Implementation Handoff
## π Approval Gate
## References <!-- Optional, add at end -->
```
---
### 03-des-cost-estimate.md
```markdown
## π΅ Cost At-a-Glance
## β
Decision Summary
## π Requirements β Cost Mapping
## π Top 5 Cost Drivers
## ποΈ Architecture Overview
## π§Ύ What We Are Not Paying For (Yet)
## β οΈ Cost Risk Indicators
## π― Quick Decision Matrix
## π° Savings Opportunities
## π§Ύ Detailed Cost Breakdown
## References <!-- Required -->
```
> **NOTE**: Cost estimate files use emoji-prefixed headings and are validated
> by the unified `validate-artifact-templates.mjs` validator.
---
### 04-implementation-plan.md
```markdown
## π Overview
## π¦ Resource Inventory
## ποΈ Module Structure
## π¨ Implementation Tasks
## π Deployment Phases
## π Dependency Graph
## π Runtime Flow Diagram
## π·οΈ Naming Conventions
## π Security Configuration
## β±οΈ Estimated Implementation Time
## π Approval Gate
## References <!-- Optional, add at end -->
```
---
### 04-governance-constraints.md
```markdown
## π Discovery Source
## π Azure Policy Compliance
## π Plan Adaptations Based on Policies
## π« Deployment Blockers
## π·οΈ Required Tags
## π Security Policies
## π° Cost Policies
## π Network Policies
## References <!-- Optional, add at end -->
```
---
### 04-preflight-check.md
```markdown
## π― Purpose
## β
AVM Schema Validation Results
## π Parameter Type Analysis
## π Region Limitations Identified
## β οΈ Pitfalls Checklist
## π Ready for Implementation
## References <!-- Optional, add at end -->
```
---
### 05-implementation-reference.md
```markdown
## π Bicep Templates Location
## ποΈ File Structure
## β
Validation Status
## ποΈ Resources Created
## π Deployment Instructions
## π Key Implementation Notes
## References <!-- Optional, add at end -->
```
---
### 06-deployment-summary.md
```markdown
## β
Preflight Validation
## π Deployment Details
## ποΈ Deployed Resources
## π€ Outputs (Expected)
## π To Actually Deploy
## π Post-Deployment Tasks
## References <!-- Optional, add at end -->
```
---
### 07-documentation-index.md
```markdown
## π¦ 1. Document Package Contents
## π 2. Source Artifacts
## π 3. Project Summary
## π 4. Related Resources
## β‘ 5. Quick Links
## References <!-- Optional, add at end -->
```
---
### 07-design-document.md
```markdown
## π 1. Introduction
## ποΈ 2. Azure Architecture Overview
## π 3. Networking
## πΎ 4. Storage
## π» 5. Compute
## π€ 6. Identity & Access
## π 7. Security & Compliance
## π 8. Backup & Disaster Recovery
## π 9. Management & Monitoring
## π 10. Appendix
## References <!-- Optional, add at end -->
```
---
### 07-operations-runbook.md
```markdown
## β‘ Quick Reference
## π 1. Daily Operations
## π¨ 2. Incident Response
## π§ 3. Common Procedures
## π 4. Maintenance Windows
## π 5. Contacts & Escalation
## π 6. Change Log
## References <!-- Optional, add at end -->
```
---
### 07-resource-inventory.md
```markdown
## π Summary
## π¦ Resource Listing
## References <!-- Optional, add at end -->
```
---
### 07-backup-dr-plan.md
```markdown
## π Executive Summary
## π― 1. Recovery Objectives
## πΎ 2. Backup Strategy
## π 3. Disaster Recovery Procedures
## π§ͺ 4. Testing Schedule
## π’ 5. Communication Plan
## π₯ 6. Roles and Responsibilities
## π 7. Dependencies
## π 8. Recovery Runbooks
## π 9. Appendix
## References <!-- Optional, add at end -->
```
---
### 07-compliance-matrix.md
```markdown
## π Executive Summary
## πΊοΈ 1. Control Mapping
## π 2. Gap Analysis
## π 3. Evidence Collection
## π 4. Audit Trail
## π§ 5. Remediation Tracker
## π 6. Appendix
## References <!-- Optional, add at end -->
```
---
### 07-ab-cost-estimate.md
```markdown
## π΅ Cost At-a-Glance
## β
Decision Summary
## π Requirements β Cost Mapping
## π Top 5 Cost Drivers
## ποΈ Architecture Overview
## π§Ύ What We Are Not Paying For (Yet)
## β οΈ Cost Risk Indicators
## π― Quick Decision Matrix
## π° Savings Opportunities
## π§Ύ Detailed Cost Breakdown
## References <!-- Required -->
```
---
## Enforcement Layers
| Layer | Mechanism | When |
| --------------- | ---------------------------------------------- | -------------------- |
| 1. Instructions | This file auto-applies to all agent-output | Generation time |
| 2. Pre-commit | `npm run lint:artifact-templates` via Lefthook | Before commit |
| 3. CI/CD | Same validation in GitHub Actions | Before merge |
| 4. Auto-fix | `npm run fix:artifact-h2` | On-demand correction |
## Quick Fix Command
```bash
# Analyze what's wrong
npm run fix:artifact-h2 agent-output/{project}/{file}.md
# Auto-fix where possible
npm run fix:artifact-h2 agent-output/{project}/{file}.md --apply
```
## Common Errors and Fixes
If you see:
```text
missing required H2 headings: ## Outputs (Expected)
```
**Fix**: You used `## Outputs` instead of `## Outputs (Expected)`. Use the EXACT text.
If you see:
```text
contains extra H2 headings: ## Cost Summary
```
**Fix**: `## Cost Summary` is not in the template. Either:
1. Remove it
2. Change to H3: `### Cost Summary` (under a valid H2)
3. Move after `## References` as optional section
## Generation Workflow
```text
1. Identify artifact type (e.g., 06-deployment-summary.md)
2. Find matching section in THIS FILE (above)
3. Use EXACT H2 headings in EXACT order
4. Fill content under each H2
5. Add ## References at end (always allowed)
6. Add custom H3 subsections under H2s as needed
```
## Why This Matters
- Validation runs on every commit
- Non-compliant artifacts block commits
- CI fails if artifacts don't match
- Consistent structure enables automation
## Quick Reference Card
| Artifact | First H2 | Last Required H2 |
| ---------------------- | ------------------------------------ | ------------------------------------------- |
| 01-requirements | `## π― Project Overview` | `## π Summary for Architecture Assessment` |
| 02-architecture | `## β
Requirements Validation` | `## π Approval Gate` |
| 04-implementation-plan | `## π Overview` | `## π Approval Gate` |
| 04-governance | `## π Discovery Source` | `## π Network Policies` |
| 04-preflight | `## π― Purpose` | `## π Ready for Implementation` |
| 05-implementation-ref | `## π Bicep Templates Location` | `## π Key Implementation Notes` |
| 06-deployment | `## β
Preflight Validation` | `## π Post-Deployment Tasks` |
| 07-doc-index | `## π¦ 1. Document Package Contents` | `## β‘ 5. Quick Links` |
| 07-design | `## π 1. Introduction` | `## π 10. Appendix` |
| 07-runbook | `## β‘ Quick Reference` | `## π 6. Change Log` |
| 07-inventory | `## π Summary` | `## π¦ Resource Listing` |
| 07-backup-dr | `## π Executive Summary` | `## π 9. Appendix` |
| 07-compliance | `## π Executive Summary` | `## π 6. Appendix` |
| 07-cost | `## π΅ Cost At-a-Glance` | `## π§Ύ Detailed Cost Breakdown` |
Files in this skill
- README.md
- skill.md
Attribution
Comments
Loading commentsβ¦
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.