agentleFS
MicrosoftKnown publishermicrosoft/agent-academy/.github/skills/create-mission-spec/SKILL.md

create-mission-spec

Skill3.5k starsChanged 9 months agoMITView on GitHub

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`.

  • Installs packages

Trending

Quiet since August.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 1 mentionSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/agent-academy repository that our weekly crawl found: only 1 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about microsoft/agent-academy

The biggest 1 of 1 mention linking to the repository that our crawl found. Each line is their own headline.

The file

Show its rules and text

We split this skill into the rules it gives an agent

31 rules. About 0 are common, 17 are distinctive, and 14 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈17

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 14

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run gh --version to confirm the GitHub CLI is installed.

    line 29
  2. Very specific:

    Run gh auth status to confirm authentication.

    line 31
  3. Distinctive:

    Do not proceed until both checks pass.

    line 34
  4. Distinctive:

    Do this first, before the interview.

    line 53
  5. Distinctive:

    If the user supplied URLs, fetch all of them in parallel.

    line 56
  6. Distinctive:

    If the user supplied no URLs, ask for them before going further.

    line 68
  7. Distinctive:

    If the user already stated something in their prompt (for example "avoid the connectors one, start with Graph APIs"), do not ask about it …

    line 100
  8. Distinctive:

    Run these in parallel:

    line 106
  9. Very specific:

    Use [New Mission] or [Updated Mission] according to the mission status selected in Phase 2.

    line 150
  10. Very specific:

    Never use [New Lab]; missions are the unit of content in this repo across every track.

    line 151
  11. Distinctive:

    Keep the whole title under 80 characters.

    line 152
  12. Distinctive:

    Avoid repeating a product acronym.

    line 160
  13. Distinctive:

    Prefer "Build your own" over "Build a custom" — shorter and states the value.

    line 162
  14. Very specific:

    Write the body to a temp file outside the workspace (/tmp/), never into the repo.

    line 167
  15. Very specific:

    Only include a preview field or preview framing if the user confirms the mission should be flagged as preview.

    line 226
  16. Very specific:

    Before posting, read WRITING_STYLE.md and run the draft against it.

    line 232
  17. Distinctive:

    Read the issue back:

    line 298
  18. Very specific:

    Do not request projectCards — Projects (classic) is deprecated and the field errors the whole query out.

    line 305
  19. Distinctive:

    Delete the temp file.

    line 311
  20. Very specific:

    Always prefix gh commands with GH_PAGER=cat.

    line 316
  21. Very specific:

    Always pass the body via --body-file.

    line 318
  22. Very specific:

    Always write temp files to /tmp/, never into the repo, and always delete them afterward.

    line 320
  23. Very specific:

    Never create mission markdown files in docs/ from this skill.

    line 321
  24. Distinctive:

    Never invent tag, product, or industry slugs.

    line 322
  25. Distinctive:

    Never state a duplicate check result you did not actually run, and always check both the docs and the existing issues.

    line 323
  26. Distinctive:

    Always confirm with the user before posting, unless they already asked you to post.

    line 325
  27. Distinctive:

    Never post a spec issue without a milestone.

    line 326
  28. Very specific:

    Never request projectCards in a gh issue view --json query.

    line 328
  29. Very specific:

    Always run the Phase 6 writing-style check before posting.

    line 330
  30. Distinctive:

    Never write "click" or "textbox" anywhere in the spec.

    line 332
  31. Distinctive:

    When editing an existing spec issue's title, update the body's H1 in the same pass so the two never drift.

    line 333

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Create Mission Spec

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.

🏁 Prerequisites

  1. Run gh --version to confirm the GitHub CLI is installed. If missing, install it (brew install gh on macOS).
  2. Run 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.

Mission types

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.

TrackFolderContributing guide
Recruitdocs/recruit/NN-slug/CONTRIBUTING-COURSES.md
Operativedocs/operative/NN-slug/CONTRIBUTING-COURSES.md
Commanderdocs/commander/NN-slug/CONTRIBUTING-COURSES.md
Special Opsdocs/special-ops/slug/CONTRIBUTING-SPECIAL-OPS.md
Cowork Collectivedocs/cowork-collective/slug/CONTRIBUTING-COWORK-COLLECTIVE.md

CONTRIBUTING-GENERAL.md covers markdown linting and spell checking for every track.

Phase 1: Mine the source documentation

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:

  • Exact tool, API, or feature names and their required vs. optional parameters
  • Endpoint URLs and placeholder segments (e.g. {environmentId})
  • Licensing, role, and version prerequisites
  • Governance, admin, and observability surfaces
  • Anything gated behind admin rights, preview, or regional availability

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.

Phase 2: Gather intel

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:

  1. Mission status — is this a new mission or an update to an existing mission? For an update, ask which mission is changing and treat its current content as the implementation baseline.
  2. Mission type — Special Ops, Cowork Collective, or a course mission (Recruit / Operative / Commander)?
  3. Scenario — what will the learner actually build? Offer 3-4 scoped options drawn from the documentation rather than asking an open question.
  4. Surface — which product or client does the mission drive? (Copilot Studio, VS Code, both.)
  5. Difficulty and time — offer 2-3 sensible pairings, e.g. "Difficulty 3, ~45 min".
  6. Badge codename (Special Ops only) — offer 3-4 punchy options.
  7. Milestone — which fiscal quarter does this target? Offer the open milestones you just listed, with the nearest one recommended. This is the due date.
  8. Deliverable — draft the body in chat, post the issue directly, or save to a file?

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.

Phase 3: Repo reconnaissance

Run these in parallel:

  1. Duplicate check in the docs — 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.
  2. Duplicate check in the issues — someone may have already filed this spec. Run 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.
  3. Read the contributing guide for the track — see the Mission types table above. Each guide defines a different frontmatter contract; Special Ops omits prev, next, and codename, which course missions require.
  4. Validate slugs — read 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.
  5. Find the closest existing mission — use it as the structural reference and name it in the issue so the implementer has a template to copy.
  6. Read 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.

For a new mission, 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. For an updated mission, confirm that the named mission exists, inspect its current content, and use related open issues to identify overlap rather than treating the mission itself as a duplicate.

Phase 4: Title convention

Formats:

  • New mission: [New Mission] <Section>: <Action verb> <what they build>
  • Updated mission: [Updated Mission] <Section>: <Action verb> <what changes>

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 report
  • [Updated Mission] Special Ops: Refresh the Copilot Studio MCP lab

Rules:

  • Use [New Mission] or [Updated Mission] according to the mission status selected in Phase 2. Never use [New Lab]; missions are the unit of content in this repo across every track.
  • Keep the whole title under 80 characters. GitHub truncates issue titles around 70 in list views.
  • One bracketed prefix only. Do not nest a pipe inside the brackets — [New Mission | Special Ops] reads like a UI breadcrumb and costs characters without adding information.
  • New course missions are sequential, so include the proposed number (Operative Mission 12). Confirm the next free number from the track's index.md before claiming it. Updated course missions retain their existing number. Special Ops and Cowork Collective are standalone and take no number.
  • Avoid repeating a product acronym. "Microsoft MCP Management Server" says MCP twice; "MCP Management Server" is enough because the body spells it out.
  • Prefer "Build your own" over "Build a custom" — shorter and states the value.
  • Mirror the final title as the body's H1 so the issue reads consistently.

Phase 5: Draft the issue body

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.

Phase 6: Writing-style check

Before posting, read WRITING_STYLE.md and run the draft against it. Two things get checked.

The spec's own prose

The issue is repo content and should read like it. Verify:

  • Active voice, present tense, learner addressed as "you" in any objective or prerequisite text
  • Sentences of 15-25 words; long paragraphs broken up
  • Select, never "click". Field, never "textbox". This is an accessibility requirement, not a preference — learners may use keyboard, touch, or a screen reader
  • Action verbs opening every step-like line: Select, Enter, Navigate, Configure, Choose, Upload
  • Exact UI text in bold; values to type in code format
  • Objectives phrased as skills gained, not tasks performed, with parallel structure
  • Mission-themed but professional tone; no marketing adjectives

The style constraints the spec must pass on

The implementer should not have to rediscover these. State the ones that apply in the lab outline or acceptance criteria:

Mission typeStyle requirements the spec must name
CourseCodename 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 OpsNo 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.

Phase 7: Post the issue

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.

Gather the metadata

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.

  • Label — 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.
  • Milestone — use the quarter the user picked in Phase 2. Milestones are named by fiscal quarter, for example FY27Q1 and FY27Q2. Do not ask again here.
  • Assignee — default to the requesting user. Confirm the GitHub login with GH_PAGER=cat gh api user --jq .login.

Create it

gh issue create --repo microsoft/agent-academy \
  --title "<title>" \
  --label feature-request \
  --milestone "FY27Q1" \
  --assignee "<login>" \
  --body-file /tmp/<name>.md

To set a milestone or assignee on an issue that already exists, use gh issue edit <n> --milestone and gh issue edit <n> --add-assignee.

Phase 8: Verify and clean up

  1. Read the issue back:

    GH_PAGER=cat gh issue view <number> --repo microsoft/agent-academy \
      --json title,labels,milestone,assignees,url

    Do not request projectCards — Projects (classic) is deprecated and the field errors the whole query out.

  2. Confirm all four are set: title, label, milestone, assignee. A spec with no milestone has no due date and drops off the plan.
  3. Confirm the body's H1 matches the title exactly. These drift easily and nothing else catches it.
  4. Delete the temp file.
  5. Report the issue URL to the user.

📜 Rules

  • Always prefix gh commands with GH_PAGER=cat. Without it, gh opens an alternate screen buffer and the tool returns no output.
  • Always pass the body via --body-file. Inline --body mangles long markdown and breaks on backticks and newlines.
  • Always write temp files to /tmp/, never into the repo, and always delete them afterward.
  • Never create mission markdown files in docs/ from this skill. The output is an issue only.
  • Never invent tag, product, or industry slugs. Read the JSON data files and use what exists.
  • Never state a duplicate check result you did not actually run, and always check both the docs and the existing issues.
  • Always confirm with the user before posting, unless they already asked you to post.
  • Never post a spec issue without a milestone. The milestone is the due date, and an unmilestoned spec is invisible to planning.
  • Never request projectCards in a gh issue view --json query. Projects (classic) is deprecated and the field fails the entire request.
  • Always run the Phase 6 writing-style check before posting. WRITING_STYLE.md is the source of truth, and its per-mission-type sections differ — read the one that applies.
  • Never write "click" or "textbox" anywhere in the spec. Use "select" and "field".
  • When editing an existing spec issue's title, update the body's H1 in the same pass so the two never drift.
  • To edit a posted body: fetch it with gh issue view <n> --json body -q .body > /tmp/b.md, edit the file, then gh issue edit <n> --body-file /tmp/b.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.