Instructions.md · Schema

Instructions.md Frontmatter Schema

JSON Schema for the YAML frontmatter of GitHub Copilot and VS Code .instructions.md files. These file-scoped custom instruction files use applyTo glob patterns to target specific file types or tasks with tailored AI guidance.

AI CopilotCoding StandardsDeveloper WorkflowGitHub CopilotVS Code

Properties

Name Type Description
name string Display name shown in the UI. Defaults to the file name when omitted.
description string Short description shown on hover in the Chat view.
applyTo string Glob pattern (or comma-separated list of patterns) that defines which files the instructions apply to automatically, relative to the workspace root. Use '**' to apply to all files. If omitted, the ins
View JSON Schema on GitHub

JSON Schema

instructions-md-frontmatter-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/instructions-md/refs/heads/main/json-schema/instructions-md-frontmatter-schema.json",
  "title": "Instructions.md Frontmatter Schema",
  "description": "JSON Schema for the YAML frontmatter of GitHub Copilot and VS Code .instructions.md files. These file-scoped custom instruction files use applyTo glob patterns to target specific file types or tasks with tailored AI guidance.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "name": {
      "type": "string",
      "description": "Display name shown in the UI. Defaults to the file name when omitted."
    },
    "description": {
      "type": "string",
      "description": "Short description shown on hover in the Chat view."
    },
    "applyTo": {
      "type": "string",
      "description": "Glob pattern (or comma-separated list of patterns) that defines which files the instructions apply to automatically, relative to the workspace root. Use '**' to apply to all files. If omitted, the instructions are not applied automatically and must be manually attached to a chat request.",
      "examples": [
        "**",
        "**/*.py",
        "**/*.ts,**/*.tsx",
        "docs/**/*.md"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/instructions-md-frontmatter"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.