Skip to content
Back to skills

Asset Frontmatter Check

ASecurity

Validate YAML frontmatter of Copilot customisation assets in this lab (SKILL.md, WORKFLOW.md, *.agent.md, *.instructions.md, *.prompt.md). Use when adding, reviewing, or fixing an asset's frontmatter, or when asked to check whether an asset follows repository conventions.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 19, 2026
ai-agents

Security analysis

A100/100

Scanned September 19, 2026

npx -y skills add MarieLynneBlock/arcanum-artifex --skill asset-frontmatter-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Asset Frontmatter Check?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Asset Frontmatter Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/marielynneblock-asset-frontmatter-check/badge)](https://www.skillsdirectory.com/skills/marielynneblock-asset-frontmatter-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: asset-frontmatter-check
description: Validate YAML frontmatter of Copilot customisation assets in this lab (SKILL.md, WORKFLOW.md, *.agent.md, *.instructions.md, *.prompt.md). Use when adding, reviewing, or fixing an asset's frontmatter, or when asked to check whether an asset follows repository conventions.
metadata:
  skill-author: 'Marie-Lynne Block'
  version: 1.0.0
---

# Asset Frontmatter Check

Check that a customisation asset carries the frontmatter this repository expects, then report or fix deviations.

## When to use

- A new asset was added under `skills/`, `workflows/`, `agents/`, `instructions/`, or `templates/`.
- An asset is ignored by VS Code and the frontmatter is the suspect.
- A review asks whether assets follow repository conventions.

## Required shapes

Field order matters where shown.

**`SKILL.md`**

```yaml
---
name: (kebab-case name matching the folder)
description: (what it does and when to use it)
metadata:
  skill-author: (author name)
  version: x.x.x
---
```

**`WORKFLOW.md`**

```yaml
---
name: (kebab-case name matching the folder)
description: (what it does and when to use it)
metadata:
  workflow-author: (author name)
  version: x.x.x
---
```

**`*.agent.md`**

```yaml
---
description: (discovery-friendly description)
metadata:
  agent-author: (author name)
  version: x.x.x
---
```

Keep `name`, `tools`, and `model` only when they add clear value.

**`*.instructions.md`**

```yaml
---
description: (description)
applyTo: (glob)
metadata:
  instruction-author: (author name)
  version: x.x.x
---
```

`metadata` is the last field when present.

## Procedure

1. Identify the asset type from the file name and location.
2. Read the frontmatter block only; do not rewrite body content.
3. Check, in order:
   - Frontmatter opens on line 1 with `---` and closes with `---`.
   - YAML parses: two-space indentation, quoted strings containing `:` or starting with a special character.
   - All required fields for the type are present and non-empty.
   - Field order matches the shape above.
   - `description` states both what the asset does and when to use it.
   - `name` (skills and workflows) is kebab-case and matches the containing folder name.
   - `applyTo` (instructions) is a glob that actually matches files in this repo.
4. Report findings as a short list: file, issue, suggested fix.
5. Apply fixes only to frontmatter, and only when the user asked for fixes.

## Notes

- The `_blank` suffix under `templates/` is a lab-only convention; template files are exempt from the `name`-matches-folder check.
- Do not invent authors or versions. Use `[TODO]` when a value is genuinely unknown.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…