Skip to content
Back to skills

2665 Azure Artifactsinstructions E571e04f

ASecurity

MANDATORY template compliance rules for artifact generation

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
devopsgobashazuretestinggitci/cdsecuritydocumentation

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 2665-azure-artifactsinstructions_e571e04f --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2665 Azure Artifactsinstructions E571e04f?

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

Security grade badge for 2665 Azure Artifactsinstructions E571e04f
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2665-azure-artifactsinstructions-e571e04f/badge)](https://www.skillsdirectory.com/skills/tools-only-2665-azure-artifactsinstructions-e571e04f)

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

SKILL.md
---
applyTo: "**/agent-output/**/*.md"
description: "MANDATORY template compliance rules for artifact generation"
---

# Artifact Generation Rules - MANDATORY

> **CRITICAL**: This file is the ENFORCEMENT TRIGGER for artifact H2 headings.
> All agents MUST use these EXACT headings when generating artifacts.
> Violations block commits (pre-commit) and PRs (CI validation).

> [!NOTE]
> This instruction file and the `azure-artifacts` skill (`SKILL.md`) intentionally
> contain the same H2 heading lists. The `SKILL.md` is the authoritative source;
> this instruction file is the enforcement trigger via `applyTo` scope.
> For template mapping, generation workflow, styling, and standard components,
> read the SKILL.md directly.

## Complete H2 Heading Reference

> **IMPORTANT**: Copy-paste these headings. Do not paraphrase or abbreviate.

### 01-requirements.md

```text
## 🎯 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 -->
```

### 02-architecture-assessment.md

```text
## βœ… 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

```text
## πŸ’΅ 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 -->
```

### 04-implementation-plan.md

```text
## πŸ“‹ 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

```text
## πŸ” 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

```text
## 🎯 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

```text
## πŸ“ IaC Templates Location
## πŸ—‚οΈ File Structure
## βœ… Validation Status
## πŸ—οΈ Resources Created
## πŸš€ Deployment Instructions
## πŸ“ Key Implementation Notes
## References <!-- Optional, add at end -->
```

### 06-deployment-summary.md

```text
## βœ… Preflight Validation
## πŸ“‹ Deployment Details
## πŸ—οΈ Deployed Resources
## πŸ“€ Outputs (Expected)
## πŸš€ To Actually Deploy
## πŸ“ Post-Deployment Tasks
## References <!-- Optional, add at end -->
```

### 07-documentation-index.md

```text
## πŸ“¦ 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

```text
## πŸ“ 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

```text
## ⚑ 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

```text
## πŸ“Š Summary
## πŸ“¦ Resource Listing
## References <!-- Optional, add at end -->
```

### 07-backup-dr-plan.md

```text
## πŸ“‹ 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

```text
## πŸ“‹ 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

```text
## πŸ’΅ 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

## 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  | `## πŸ“ IaC 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`             |

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…