Azure SRE 入门实验室管理
onboarding-lab
在此检出(checkout)中设置、恢复、检查或操作 Azure SRE Agent 入门实验室。当学习者请求帮助准备实验室、理解设置失败原因,或保存其已审核的学习者成果时使用。
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 189
- Forks
- 198
01 前言 Front Matter
- name
- onboarding-lab
- description
- Set up, resume, inspect or operate the Azure SRE Agent onboarding lab in this checkout. Use when a learner asks for help preparing the lab, understanding a setup failure, or saving their reviewed learner artifact.
03 SKILL.md 正文
Help with the onboarding lab
Read the lab's README.md from labs/onboardinglab. Work from that directory
so relative paths and its local instructions resolve correctly.
Find the learner's starting point
- For an assigned agent, ask for its portal link or exact resource ID. Inspect only that environment. Do not deploy or overwrite it.
- For an existing local setup, read
azd env listand the selected environment's values fromticketingapp-source. Check the subscription and resource group before executing any stage. - For a new environment, explain which resources are billable, confirm the target and responsible owner, and run the documented preflight before deployment.
- If access, quota or prerequisites are missing, name the failed check and its remedy. Offer the facilitator's assigned environment when one is available. Never invent an assigned environment or grant yourself access.
Prepare and resume
Use the documented setup scripts and azd lifecycle. Inspect their help and parameters before calling them. Do not turn README examples into a separate collection of unverified REST writes.
Run prerequisite checks before installing anything. Obtain approval for missing tools, Azure resources and role assignments. Reuse existing sign-ins; let the learner complete an expired sign-in through the provider's normal UI.
The standard lab includes GitHub and Outlook. Obtain the approved repository
and email recipients during preparation. Let the learner complete OAuth in the
connection UI, then run setup's Connect stage. Do not ask for credentials in
chat or treat consent as permission to create an issue or send email.
Use -CoreOnly only when explicitly choosing the reduced fallback.
After a failure, inspect the named deployment and the stage's read-back output. Reconcile an unknown write result before retrying. Preserve the existing app, agent, skills, knowledge and existing connections. Do not use a force flag to silence unexpected drift.
Verify checkout and workload telemetry before allowing a fault scenario. Check agent configuration separately from workload provisioning.
Help the learner teach the agent
Have the deployed agent draft a small, workload-specific skill. A useful example requires fresh successful checkout and PostgreSQL dependency evidence before declaring recovery. Keep it tool-free and give it a learner-specific name.
Show the proposed content and exact agent target before saving. Prefer the deployed agent's supported, approved self-configuration path. If that path fails authorization, stop it; use the documented local learning helper or Skill Builder only after explaining that an authorized operator will perform the write.
Do not claim the deployed agent saved a skill when the local assistant performed the operation. Read the saved content back, then have the learner invoke it in a new conversation without pasting the content again.
Facilitate safely
Only the facilitator injects or resets faults on shared workloads. Inspect a fault command's target before running it. Run the documented reset helper instead of inventing a different recovery action.
Do not enable scheduled activity as part of ordinary setup. For the scheduling exercise, show the target, schedule and read-only handler before enabling it. Observe a real scheduled execution, disable it afterward and verify the state. If a run is waiting for approval, report it as waiting, not complete.
At handoff, list the app and agent URLs, remaining blockers, learner artifacts, enabled schedules, and the resource owner. Teardown requires explicit approval.
04 同仓库更多 Skills
Zava 事件分析报告生成
zava-reporting
用于将已完成的 Zava Learning 事件分析打包呈现给受众。首先呈现带品牌标识的线程内执行摘要(内联前后对比视觉效果的 markdown),然后生成可下载的交付物——PowerPoint 演示文稿、HTML 电子邮件和 Teams 通知,使用 Zava 企业模板。调用的 agent 可将其缩小为子集(例如仅 HTML 报告)。产出内容和工件;它不负责发送。组装 rca-analysis、evidence-before-after、recommendations-next-steps 和 pr-delivery 的输出。
Zava 治理审计报告生成
zava-audit-report
用于将已完成的 Zava Learning 每周治理审计(NSG/网络安全、RBAC/最小权限或云成本)打包成一份采用 Zava 企业风格、带品牌标识的可下载 PowerPoint 演示文稿。调用的审计 agent 传入其发现结果(带严重级别的条目列表)和简短的安全态势摘要;本技能渲染演示文稿、应用脱敏处理,并返回附件下载链接。产出工件本身;它不负责发送。
ServiceNow 变更请求管理
servicenow-change-management
当 Zava Learning 调查产生了需要变更管理的持久性修复时使用——在为基础设施即代码或应用代码的根本原因打开 GitHub PR 之后,提出引用该 PR 的 ServiceNow 变更请求并附上 RCA 报告。是 ServiceNow 变更请求及附件操作的唯一负责方。
敏感信息脱敏
redaction-guard
每当要输出操作员可见的内容时使用——聊天/话题消息、PagerDuty 或 ServiceNow 记录、提交信息或拉取请求正文,或任何报告制品(HTML、PowerPoint、Teams 卡片)。确定性地屏蔽密钥、凭证、令牌、私钥、URI 中嵌入的密码以及个人身份信息(PII),确保它们不会出现在对话或任何交付物中。这是一项横切护栏,由产生输出的技能调用,而非一个操作手册步骤。
事件改进建议
recommendations-next-steps
用于为 Zava Learning 事件生成前瞻性的建议和后续步骤——包括按优先级排序的预防性、检测性和流程性行动,并附带负责人、目标日期和不采取行动的风险。其输出用于 zava-reporting 交付物。
事件根因分析
rca-analysis
用于为已解决或已缓解的 Zava Learning 事件生成根因分析叙述——包括事件时间线、触发因素与潜在根因(5-Whys)、促成因素以及如何呈现这些内容。定义 RCA 章节格式;其输出用于前后对比、建议和报告等交付物。