agentleFS
MicrosoftKnown publishermicrosoft/ignite26-PREL40/.github/skills/lab-instructions/SKILL.md

lab-instructions

Skill3 starsChanged 28 days agoMITView on GitHub

Use when writing, editing, reviewing, or restructuring the hands-on lab instructions in docs/instructions/*.md, when bootstrapping them in a new repo, or when compiling them into docs/skillable.md to paste into Skillable. Covers Skillable Markdown (@lab tokens, credentials, type-text, !IMAGE, alert blocks, activities, page breaks), the lab writing style, and the compile script. Triggers include lab instructions, lab steps, exercise or task page, Skillable, skillable.md, compile or build the instructions, @lab token, lab screenshot, bootstrap or set up the lab instructions in a new repo. Do not use for the root README or session metadata (initialize/finalize workflows), the self-guided MOAW workshop in docs/self-guided/ (use export-self-guided), the app code in src/, or slides.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Only when docs/instructions/ doesn't exist yet:

    line 14
  2. Distinctive:

    Ask, one question at a time: the session code, a one-line lab description, the scenario and what attendees will build, and the Skillable …

    line 16
  3. Distinctive:

    Before writing or reviewing steps, open references/style-guide.md.

    line 23
  4. Distinctive:

    When a step needs a Skillable feature (tokens, credentials, activities, type or copy text, alert types, image sizing, dialog links), open …

    line 24
  5. Very specific:

    When adding, removing, or reordering a page: keep the NN- prefixes sequential, renumber # Exercise N headings and in-text references ("in …

    line 26
  6. Very specific:

    Don't add === between files.

    line 40
  7. Very specific:

    Put values attendees must type (@lab tokens, credentials) in single backticks so they compile to +++…+++.

    line 42

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

Lab instructions

Sources are docs/instructions/NN-slug.md: GitHub-readable Markdown, one file per Skillable page. docs/skillable.md is generated and gitignored. Never edit it; change the sources and recompile.

Bootstrap a new repo

Only when docs/instructions/ doesn't exist yet:

  1. Ask, one question at a time: the session code, a one-line lab description, the scenario and what attendees will build, and the Skillable image folder ID.
  2. Copy assets/README.md to docs/README.md and assets/00-intro.md to docs/instructions/00-intro.md. Replace {{SESSION_CODE}} and {{DESCRIPTION}}, and draft {{LAB_OVERVIEW}} from the answers: what the lab teaches, the scenario, what attendees will build, and what they'll do in the exercises. Leave the rest of the intro as is.
  3. Set DEFAULT_IMAGE_FOLDER in scripts/compile_skillable.py to the image folder ID.
  4. Compile and fix warnings (steps 5 and 6 below).

Procedure

  1. Before writing or reviewing steps, open references/style-guide.md.
  2. When a step needs a Skillable feature (tokens, credentials, activities, type or copy text, alert types, image sizing, dialog links), open references/skillable-syntax.md. Prefer GitHub-friendly Markdown; the compiler converts images and @lab code spans.
  3. Save screenshots in the root img/ and reference them as ![Alt text](../../img/name.png), indented under their step.
  4. When adding, removing, or reordering a page: keep the NN- prefixes sequential, renumber # Exercise N headings and in-text references ("in Exercise 4"), and update the index in docs/README.md.
  5. Compile from the repository root:

    python3 .github/skills/lab-instructions/scripts/compile_skillable.py

    Options: --strict exits 1 on any warning; --image-folder <id> overrides the Skillable image folder (default instructions360463); --src and --out override the paths.

  6. Fix every path:line: warning: in the sources, then recompile until no warnings remain.
  7. Report the page count and list the images from the JSON images field that are new or changed, so the user uploads them to the Skillable image folder.
  8. Once the changes are committed, suggest updating the self-guided workshop with the export-self-guided skill, so docs/self-guided/workshop.md stays in sync.

Gotchas

  • Don't add === between files; the compiler inserts page breaks.
  • Indent nested content with 4 spaces, never tabs, or Skillable breaks the list numbering.
  • Put values attendees must type (@lab tokens, credentials) in single backticks so they compile to +++…+++. Tokens inside fenced code blocks are not converted.
  • 00-intro.md must keep @lab.Title as its first line.
  • Relative links to other pages or repository files don't resolve in Skillable. Name the page in prose or use an absolute GitHub URL.
  • Image names must be unique across the lab, because the Skillable image folder is flat.
  • VM names, credential names (User1), and @lab.Activity(Name) IDs must match the Skillable lab profile. Never invent them, or any URL; ask the user.
  • Skillable-only syntax ([!Knowledge], ++copy++, {400} image sizing) looks broken on GitHub; use it only when the lab needs it.

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.