Turn a mission or lab idea into a fully researched GitHub issue spec on microsoft/agent-academy, then post it with the GitHub CLI. Use this skill whenever the user wants to propose new Agent Academy content before writing it — course missions (Recruit, Operative, Commander), standalone Special Ops, or Cowork Collective missions. Trigger whenever the user says "write a spec for a mission", "create an issue for a new lab", "I want to propose a Special Ops", "file a mission proposal", "spec out a lab", "open an issue for a new module", or hands over Microsoft Learn URLs and asks to turn them into an Agent Academy lab. This skill handles: mining source documentation, interviewing for scope, repo reconnaissance and duplicate detection across both docs and existing issues, frontmatter and tag validation, writing-style conformance, drafting the issue body, title conventions, milestone and assignee metadata, and posting plus verifying the issue via `gh`.
72
88%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
This skill produces a specification issue — not mission content. The output is a GitHub issue
on microsoft/agent-academy that another contributor (or a later run of
agent-academy-mission-builder) can implement from without further research.
The difference matters. A spec issue answers what should be built and why. The mission builder answers how it reads. Never write the mission markdown in this skill.
gh --version to confirm the GitHub CLI is installed. If missing, install it
(brew install gh on macOS).gh auth status to confirm authentication. If not authenticated, run gh auth login and
guide the user through the flow.Do not proceed until both checks pass.
Four tracks exist, and each has its own folder, contributing guide, and style section. Identify the track before anything else, because it determines the frontmatter contract.
| Track | Folder | Contributing guide |
|---|---|---|
| Recruit | docs/recruit/NN-slug/ | CONTRIBUTING-COURSES.md |
| Operative | docs/operative/NN-slug/ | CONTRIBUTING-COURSES.md |
| Commander | docs/commander/NN-slug/ | CONTRIBUTING-COURSES.md |
| Special Ops | docs/special-ops/slug/ | CONTRIBUTING-SPECIAL-OPS.md |
| Cowork Collective | docs/cowork-collective/slug/ | CONTRIBUTING-COWORK-COLLECTIVE.md |
CONTRIBUTING-GENERAL.md covers markdown linting and spell checking for every track.
Do this first, before the interview. You cannot offer the user good scoped options until you know what the product actually does, and an interview built on guesses wastes a round trip.
If the user supplied URLs, fetch all of them in parallel. Extract and keep:
{environmentId})These become the spec's Prerequisites, Lab outline, and Risks sections. A spec that paraphrases the docs is useless; a spec that names the exact tools and endpoints saves the implementer an hour.
If the user supplied no URLs, ask for them before going further. Never write a spec from memory about a product surface that changes as fast as these do.
First, list the available milestones so you can offer real options rather than asking a second time later:
GH_PAGER=cat gh api repos/microsoft/agent-academy/milestones \
--jq '.[] | "\(.title) due=\(.due_on)"'Then ask everything in one batch using the ask-questions tool. Never interrogate one question at a time. Offer concrete options with a recommended default so the user can answer by picking, and derive those options from what you found in Phase 1.
Always ask:
If the user already stated something in their prompt (for example "avoid the connectors one, start with Graph APIs"), do not ask about it again. Treat it as a hard scope boundary and reflect it in the Out of scope section.
Run these in parallel:
grep_search the repo for the feature name. Distinguish a
real duplicate (an existing mission on the topic) from a passing mention in another mission.
Report either way in the issue, and link passing mentions as cross-link targets.GH_PAGER=cat gh issue list --repo microsoft/agent-academy --state all --search "<keyword>".
Grepping the docs alone misses proposals that have not been implemented yet.prev, next, and codename,
which course missions require.docs/.vitepress/data/tags.json, products.json, and
industries.json. Every tags, products, and industries value in the proposed frontmatter
must already exist in those files. If one does not, either pick an existing slug or add an
explicit acceptance-criteria item to create it.WRITING_STYLE.md — specifically the section matching the mission type. Course
missions, Special Ops, and Cowork Collective have different required sections and intros. The
spec must reflect the right one; proposing a codename for a Special Ops mission or omitting
the ⚙️ Prerequisites section is a spec bug, not an authoring bug.If either duplicate check finds a genuine match, stop and tell the user before drafting. Offer to pivot the angle, extend the existing mission, or proceed anyway. Do not silently file a second spec for work that already exists.
Format: [New Mission] <Section>: <Action verb> <what they build>
Examples:
[New Mission] Special Ops: Build your own MCP server with the MCP Management Server[New Mission] Operative Mission 12: Ground an agent in SharePoint knowledge[New Mission] Cowork Collective: Turn a badge-scan export into an emailed reportRules:
[New Mission], not [New Lab]. Missions are the unit of content in this repo
across every track.[New Mission | Special Ops]
reads like a UI breadcrumb and costs characters without adding information.Operative Mission 12). Confirm
the next free number from the track's index.md before claiming it. Special Ops and Cowork
Collective are standalone and take no number.Write the body to a temp file outside the workspace (/tmp/), never into the repo. Use this
structure:
# <title>
## Summary
What the mission teaches, and the specific curriculum gap it closes. Name the existing missions
that cover adjacent ground so the gap is provable, not asserted. State the scope boundary here.
## Proposed mission
A table: Section, Folder, Title, Operation codename, Badge, Difficulty, Time.
### Proposed frontmatter
A fenced yaml block matching the contributing guide exactly for that mission type.
Follow it with a line confirming whether the tag/product/industry slugs already exist.
## Scenario
A fictional company, an industry, and a concrete problem. Include the analogy the mission
should use in its concept brief.
## Mission objectives
Bulleted, one concrete capability each, phrased as what the learner will do.
## Prerequisites (to state in the mission)
Licenses, roles, tool versions, tenant availability, and links. Bold any hard blocker.
## Proposed lab outline
A Recon section explaining the concept, then numbered labs. For each lab, one bold heading and
two or three sentences naming the exact tools, parameters, and UI paths involved. End with a
cleanup lab where the mission creates real resources.
## Acceptance criteria
A checkbox list covering: files created, assets and screenshots, required components
(`<mission-meta />`, `<analytics-tag />`), badge claim section, cross-links, conformance to
`WRITING_STYLE.md`, and every validation command from the contributing guide.
## Out of scope
Everything deliberately deferred, each on its own line. Name the follow-up mission where one
is implied.
## Risks
Access barriers, admin gates, and availability gaps that could block learners mid-lab.
## References
Every source URL used, with descriptive link text.Only include a preview field or preview framing if the user confirms the mission should be
flagged as preview. Do not add it on the assumption that a preview product implies a preview
mission — those are separate decisions.
Before posting, read WRITING_STYLE.md and run the draft against it. Two things get checked.
The issue is repo content and should read like it. Verify:
The implementer should not have to rediscover these. State the ones that apply in the lab outline or acceptance criteria:
| Mission type | Style requirements the spec must name |
|---|---|
| Course | Codename as OPERATION NAME, time-estimate blockquote, Mission Brief of 150-250 words, 3-5 objectives, theory before every lab, Mission Complete with next-mission link |
| Special Ops | No codename, agent-themed hook, dedicated ⚙️ Prerequisites section, all concepts explained in-mission, badge claim section at width="200" |
| Cowork Collective | 🔍 The Problem then 🎯 The Scenario, 📋 What You'll Produce checklist, full copy-pasteable prompts in fenced blocks, approval-flow steps documented |
Also carry forward the screenshot rules when the mission needs images: light theme, no browser
frame, no cursor, Microsoft red #e91c1c highlight boxes at 4px, cropped to the relevant region.
Fix anything the check surfaces before posting. Do not post and then clean up.
Unless the user has already asked you to post, show the draft and get confirmation first. Filing an issue on a public Microsoft repo notifies watchers and cannot be undone quietly.
A spec issue needs four things set: title, label, milestone, and assignee. The milestone carries the due date — GitHub issues have no native due-date field, so the repo tracks delivery through fiscal-quarter milestones.
feature-request is the correct label for new content proposals. There is no
special-ops or new-mission label. Confirm with
GH_PAGER=cat gh label list --repo microsoft/agent-academy --limit 50.FY27Q1 and FY27Q2. Do not ask again here.GH_PAGER=cat gh api user --jq .login.gh issue create --repo microsoft/agent-academy \
--title "<title>" \
--label feature-request \
--milestone "FY27Q1" \
--assignee "<login>" \
--body-file /tmp/<name>.mdTo set a milestone or assignee on an issue that already exists, use gh issue edit <n> --milestone
and gh issue edit <n> --add-assignee.
Read the issue back:
GH_PAGER=cat gh issue view <number> --repo microsoft/agent-academy \
--json title,labels,milestone,assignees,urlDo not request projectCards — Projects (classic) is deprecated and the field errors the whole
query out.
Confirm all four are set: title, label, milestone, assignee. A spec with no milestone has no due date and drops off the plan.
Confirm the body's H1 matches the title exactly. These drift easily and nothing else catches it.
Delete the temp file.
Report the issue URL to the user.
gh commands with GH_PAGER=cat. Without it, gh opens an alternate screen
buffer and the tool returns no output.--body-file. Inline --body mangles long markdown and breaks on
backticks and newlines./tmp/, never into the repo, and always delete them afterward.docs/ from this skill. The output is an issue only.projectCards in a gh issue view --json query. Projects (classic) is deprecated
and the field fails the entire request.WRITING_STYLE.md is the source of
truth, and its per-mission-type sections differ — read the one that applies.gh issue view <n> --json body -q .body > /tmp/b.md, edit
the file, then gh issue edit <n> --body-file /tmp/b.md.20368c1
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.