AGENT SKILL

Copilot 实验文档编写

copilot-dev-camp-lab-author

在 docs/pages/<subfolder>/ 下创建新的 Copilot Dev Camp 实验 markdown 文件,具备一致的结构、简洁的练习和必需的自定义组件。 适用于:编写新实验、搭建实验文件框架,或起草 Copilot Dev Camp 实验页面。

License 许可
MIT
最近更新
2026-11-13
Stars
★ 679
Forks
179

01 前言 Front Matter

name
copilot-dev-camp-lab-author
license
MIT
metadata
{ "owner": "Copilot Dev Camp", "version": "1.0" }
description
Creates new Copilot Dev Camp lab markdown files under docs/pages/<subfolder>/ with a consistent structure, concise exercises, and required custom components. Use when asked to author a new lab, scaffold a lab file, or draft a Copilot Dev Camp lab page.

03 SKILL.md 正文

Copilot Dev Camp Lab Author

Purpose

Author a new lab file for Copilot Dev Camp, with the right structure and writing style, and place it in the correct docs path.

Required Inputs

Collect all required values before creating the lab:

  • Target subfolder under docs/pages.
  • Lab number.
  • Lab unique code.
  • Lab title.
  • Knowledge-base URLs (web sites/pages to use for grounded content).
  • Badge suggestions (badgeId, badgeName) for cc-award.

If the target subfolder is missing, ask for it. If the lab number is missing, ask for it. If knowledge-base URLs are missing, ask for them before drafting content.

File Placement Rules

  • Create the file only under docs/pages/<subfolder>/.
  • Use markdown file extension .md.
  • Suggested naming pattern: <lab-number>-<slug>.md.
  • If file already exists, ask whether to pick a new number/slug or update existing content.

Frontmatter Requirements

Every lab markdown file must begin with YAML frontmatter containing the following fields:

---
code: <lab-unique-code>
title: <lab-title>
description: <brief-description-of-lab>
tags: [tag1, tag2, tag3]
level: <100|200|300|400|500>
time: <time-to-complete-in-minutes>
badge: <badge-code>
products: [product1, product2]
created-date: <YYYY-MM-DD>
last-edited-date: <YYYY-MM-DD>
---

Frontmatter Field Definitions

  • code: Unique identifier for the lab (e.g., WIQ01).
  • title: Lab title matching the lab title in content.
  • description: 1-2 sentence summary of what students will learn (infer the value from the lab content, once created).
  • tags: Comma-separated list (ask user) converted to YAML list. Examples: agents, copilot, m365.
  • level: Difficulty level: 100 (beginner), 200 (intermediate), 300 (advanced), 400 (expert), 500 (professional).
  • time: Estimated time in minutes to complete the lab (infer the value based on the length of the content, once created).
  • badge: The badge code issued upon lab completion (e.g., WorkIQ-Expert).
  • products: Comma-separated list (ask user) converted to YAML list. Examples: Teams, Copilot, SharePoint, Work IQ.
  • created-date: Lab creation date in YYYY-MM-DD format.
  • last-edited-date: Most recent edit date in YYYY-MM-DD format.

Authoring Constraints

  • Every lab must have a unique code and title.
  • Every lab file must include YAML frontmatter with all required fields.
  • Use no more than 4-5 exercises total.
  • Each exercise must have no more than 5-6 steps.
  • Keep steps concise; fewer is preferred when pedagogically valid.
  • All links to external sites must include the {target=_blank} attribute so they open in a new tab. Example: [Link text](https://example.com){target=_blank}.

Writing Style And Structure

Use this style in all generated labs:

  • Instructional and practical, focused on outcomes.
  • Clear progression from context to hands-on steps.
  • Short paragraphs and concrete actions.
  • Enterprise-aware language: prerequisites, validation, and expected outcomes.
  • Each exercise should end with a visible checkpoint step component.

Use this baseline structure:

  1. Lab title and short intro.
  2. Scenario.
  3. Lab objectives.
  4. Exercises with numbered steps.
  5. Completion section.
  6. Visitor stats image.
  7. cc-next component.
  8. One or more cc-award components.

Mandatory Markup

A) Lab Title Heading

Immediately after the YAML frontmatter (first line of markdown content), always add a level-1 heading with the lab code and title in this format:

# Lab <code> - <title>

Example:

# Lab WIQ02 - Work IQ A2A Protocol

B) Video placeholder near top (commented out)

Always add this placeholder block near the top of the lab, after the title:

<!--
<div class="lab-intro-video">
    <div style="flex: 1; min-width: 0;">
        <iframe src="//www.youtube.com/embed/<VIDEO_ID>" frameborder="0" allowfullscreen style="width: 100%; aspect-ratio: 16/9;">
        </iframe>
        <div>Get a quick overview of the lab in this video.</div>
    </div>
</div>
-->

C) End each step with cc-end-step

C) End each step with cc-end-step

At the end of every step, add:

<cc-end-step lab="<lab-code>" exercise="<exercise-number>" step="<step-number>" />

Values must match the current lab code, exercise index, and step index.

D) Add cc-next at lab end

Always include:

<cc-next />

E) Visitor stats image before awards

Always include, before awards:

<img src="https://m365-visitor-stats.azurewebsites.net/copilot-camp/<section>/<lab-id>" />

F) One or more awards

Always include one or more awards and ask the developer for suitable badges if missing:

<cc-award badgeId="<BadgeId>" badgeName="<Badge Name>" />

G) Image placeholders where useful

When a step needs a screenshot, add placeholders:

![TODO: replace with screenshot description](../../assets/images/<folder>/<image>.png)

Use the alternate text of the image to suggest to the lab author the image content to capture. The image path should be relative to the lab file.

Behavior Contract

When this skill is triggered:

  1. Ask for any missing required inputs.
  2. Confirm target file path under docs/pages/<subfolder>/.
  3. Confirm lab number and lab code.
  4. Ask for knowledge-base URL list.
  5. Ask which badges to add.
  6. Collect frontmatter information:
    • Prompt for lab title and description.
    • Ask for tags (comma-separated) and convert to YAML list.
    • Ask for difficulty level (100–500).
    • Ask for estimated time to completion (in minutes).
    • Ask for badge code.
    • Ask for products (comma-separated) and convert to YAML list.
    • Record created-date and last-edited-date (use current date if not provided).
  7. Generate the complete lab markdown with YAML frontmatter and required components.

Do not skip questions when required inputs are missing.

Generation Checklist

Before finalizing:

  • YAML frontmatter is present at the top of the file with all required fields.
  • Lab title heading (format: # Lab <code> - <title>) is present immediately after frontmatter.
  • Frontmatter values match the collected user inputs (code, title, description, tags, level, time, badge, products).
  • created-date and last-edited-date are in YYYY-MM-DD format.
  • File path is under docs/pages/<subfolder>/.
  • Exercise count is within limits.
  • Step count per exercise is within limits.
  • Every step ends with cc-end-step.
  • cc-next is present.
  • Visitor stats image is present before awards.
  • At least one cc-award exists.
  • Knowledge-base URLs were requested from developer.
  • All links to external sites use the {target=_blank} attribute.

04 同仓库更多 Skills

microsoft
microsoft/copilot-camp

团队周报邮件起草

weekly-status-mail

起草一封简洁的每周状态更新邮件发送给用户的团队,涵盖进行中任务、 即将召开的会议和行动项,正文中使用少量 emoji 格式。 当用户要求“起草我的每周状态邮件”、“写我的每周团队更新”、 “把每周状态发给我的团队”、“创建我的周一状态邮件”、 “团队每周状态更新”或“为本周团队做回顾”时使用。 不要用于领导层或高管汇报以及跨职能利益相关者沟通 ——改用 stakeholder-comms。不要用于一次性通知 或非状态类邮件——直接使用 Outlook 工具。

内部沟通专员商务写作
★ 679
microsoft
microsoft/copilot-camp

Microsoft Foundry 资料调研

foundry-research

研究并整合有关 Microsoft Foundry 的综合信息,包括文档、架构、模型和部署选项。 当用户要求“研究 Microsoft Foundry”、“了解 Foundry”、“Foundry 文档”、“Foundry 架构”、“Foundry 模型”、“如何使用 Foundry 部署”、“Foundry 特性”或“Foundry 功能”时使用。

AI 工程师网页搜索与信息研究
★ 679
microsoft
microsoft/copilot-camp

Dev Camp Word 文档撰写

dev-camp-document

撰写关于 Copilot Dev Camp 实验或 Microsoft 技术主题的专业 Word 文档。研究 Microsoft Learn 文档,将内容组织成文档结构,并生成带格式和引用的精美单页文档或详细指南。 适用于:用户要求“撰写关于……的文档”“为……创建指南”“撰写关于……的单页文档”“撰写关于……的技术简报”或“为……创建文档”等任何 Copilot Dev Camp 实验或 Microsoft 技术主题。

技术文档工程师技术文档编写
★ 679
microsoft
microsoft/copilot-camp

Dev Camp 演示文稿制作

dev-camp-deck

创建关于 Copilot Dev Camp 实验或主题的专业 PowerPoint 演示文稿。研究 Microsoft Learn 文档,将内容组织成幻灯片结构,并生成带演讲者备注的精美演示文稿。 适用于:用户要求“创建关于……的演示文稿”“制作关于……的幻灯片”“为……构建幻灯片”“介绍 Dev Camp 主题”或“生成关于……的幻灯片”等任何 Copilot Dev Camp 实验或 Microsoft 技术主题。

内容创作者演示文稿制作
★ 679