โ† Glean-ia-acs ยท Day 30 of 56
Level 300 โ€” Power user30 minNIST MAP

Skill Anatomy

Instructions, templates, examples, and scripts

You'll be able to

Read first

Day 2 Lab

  1. Open a Skill you authored on Day 1 (or start a fresh one).
  2. Separate your instructions from your templates: the steps vs. the fixed output shape.
  3. Add one worked example โ€” a sample input and the output you'd want for it.
  4. Note where a script could help (where supported) for any deterministic step.
  5. Compare a run with and without the example; see if the example steadies the output.

Working Example: A SKILL.md-Style Outline

A Skill is made of parts, each doing a distinct job: instructions tell Glean what to do, templates fix the output shape, examples show a good result, and scripts (where supported) handle deterministic steps. Verified against assistant_skills.

# SKILL: Release Notes Drafter
## Description (when to use)
  When the user asks to draft release notes from merged PRs.

## Instructions
  1. Collect merged PRs since the last tag.
  2. Group by label: feature, fix, chore.
  3. Write one user-facing line per item.

## Template (output shape)
  ## <version> โ€” <date>
  ### Features
  - ...
  ### Fixes
  - ...

## Example
  Input:  PRs #482 (feature), #485 (fix)
  Output: "### Features\n- Atlas dashboard ... ### Fixes\n- Fixed export ..."

## Scripts (where supported)
  fetch_merged_prs.py   # deterministic: returns PRs since last tag

Instructions tell Glean *what* to do; the example shows it *what good looks like*. The two together route and behave more reliably than prose instructions alone.

Check for understanding

What does an 'example' add to a Skill that instructions alone don't?

Check yourself

Pick an answer โ€” you'll see if it's right and why.

1. What is a Glean Assistant Skill?

2. Who can invoke a Personal Skill?

3. When Glean auto-selects a Skill, what does it primarily match against?

4. Which gives you deterministic control over which Skill runs?

5. A Skill keeps firing on the wrong requests. What is the most likely fix?

Pass threshold 80% ยท week 5 quiz

In 10 seconds

โ€œA Skill isn't just a prompt. It has parts โ€” instructions, templates, examples, and where supported, scripts. Knowing the anatomy lets you build ones that behave the same every time.โ€

Next ยท Week 5 Day 3
Skill Routing