用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tools-only/X-Skills --skill human-friendly-agent-name命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| description | Standards for Copilot custom agent definition files |
| applyTo | **/*.agent.md |
These instructions apply to custom agent definition files (for example: .github/agents/*.agent.md).
Goals:
.github/instructions/Each .agent.md file MUST start with valid YAML front matter:
--- to open and close the front matter.Recommended minimum fields:
---
name: { Human-friendly agent name }
description: { 1-2 sentences, specific scope }
tools:
- { tool-id-or-pattern }
handoffs:
- { other-agent-id }
---
namedescriptiontoolsazure-pricing/*, azure-mcp/*).tools: [] explicitly.agent (not agent/runSubagent) as the tool ID for subagent delegation.tools: [read/readFile, edit/createFile, agent, "azure-mcp/*"]
handoffshandoffs to connect workflow steps (for example: Architect -> Bicep Plan -> Bicep Code).agent value matching the agent's display name (from frontmatter).
For example: agent: Architect (matching name: Architect in frontmatter).model on individual handoff entries unless the target agent requires a specific
model that differs from the agent's own frontmatter model value.model[!IMPORTANT] Model selection is intentional and must not be changed without explicit approval.
Agents that specify Claude Opus 4.6 as priority model do so deliberately:
Current model assignments:
| Agent | Model | Rationale |
|---|---|---|
| Requirements | Opus 4.6 | Deep understanding |
| Architect | Opus 4.6 | WAF analysis + cost |
| Bicep Plan | Opus 4.6 | Efficient planning |
| Bicep Code | Opus 4.6 / GPT-5.3-Codex | Code generation |
| Deploy | GPT-5.3-Codex | Deployment execution |
| As-Built | GPT-5.3-Codex | Documentation gen |
| Subagents | GPT-5.3-Codex | Fast validation |
Rules:
model arrays, match the pattern of similar workflow-stage agentsTop-level agents live in .github/agents/ and are user-invokable: true. They correspond to
the 7-step workflow:
| Step | Agent | File |
|---|---|---|
| 1 | Requirements | 02-requirements.agent.md |
| 2 | Architect | 03-architect.agent.md |
| 3 | Design (optional) | 04-design.agent.md |
| 4b | Bicep Plan | 05b-bicep-planner.agent.md |
| 5b | Bicep Code | 06b-bicep-codegen.agent.md |
| 6b | Bicep Deploy | 07b-bicep-deploy.agent.md |
| 4t | Terraform Plan | 05t-terraform-planner.agent.md |
| 5t | Terraform Code | 06t-terraform-codegen.agent.md |
| 6t | Terraform Deploy | 07t-terraform-deploy.agent.md |
| 7 | As-Built | 08-as-built.agent.md |
| — | InfraOps Conductor | 01-conductor.agent.md |
| — | Diagnose | 09-diagnose.agent.md |
| — | Challenger (wrapper) | 10-challenger.agent.md |
Subagents live in .github/agents/_subagents/ and are user-invokable: false. They isolate
expensive or specialized work from their parent agent's context window.
| Subagent | Parent Agent | Purpose |
|---|---|---|
challenger-review-subagent | All workflow agents | Adversarial review (1x or 3x passes) |
cost-estimate-subagent | Architect | Pricing MCP queries |
governance-discovery-subagent | Bicep Plan / Terraform Plan | Azure Policy REST API discovery |
bicep-lint-subagent | Bicep Code | bicep build + bicep lint |
bicep-review-subagent | Bicep Code | AVM/security/naming code review |
bicep-whatif-subagent | Bicep Deploy | az deployment group what-if |
terraform-lint-subagent | Terraform Code | terraform fmt + terraform validate |
terraform-review-subagent | Terraform Code | AVM-TF/security/naming code review |
terraform-plan-subagent | Terraform Deploy | terraform plan change preview |
Subagent definition rules:
user-invokable: false — subagents are never called directly by users.agents: [] — subagents do not chain to other agents.GPT-5.3-Codex as the default model for fast, isolated execution.All top-level workflow agents in .github/agents/ MUST read the azure-defaults skill for shared
knowledge. Include a reference near the top of the agent body:
Read `.github/skills/azure-defaults/SKILL.md` FIRST for regional standards, naming conventions,
security baseline, and workflow integration patterns common to all agents.
When an agent delegates work to a subagent, follow this pattern:
This keeps the parent agent's context focused on its primary responsibility while the subagent handles isolated, tool-heavy work (pricing queries, REST API calls, lint runs).
When an agent outputs a specific document type, it MUST treat these as authoritative:
.github/instructions/cost-estimate.instructions.md.github/instructions/workload-documentation.instructions.md.github/instructions/markdown.instructions.md.github/instructions/bicep-code-best-practices.instructions.mdIf an agent contains an embedded template in its body, it MUST match the relevant instruction file.
````)
for the outer fence to avoid accidental termination.##, ###).tools: uses agent (not the deprecated agent/runSubagent) for subagent delegationtools: only contains valid tool IDs/patternshandoffs: only references real agents (including As-Built for Step 7)model when the target agent already defines itazure-defaults skill reference is correctuser-invokable: false and agents: [].github/instructions/* standardsnpm run lint:md passes