copilot-dev markdown-style.instructions.md

A set of rules for writing Markdown course content, including headings, spacing, code blocks, links, and accessibility.

In plain words
What is it for?
Use it when creating or reviewing training notes, README files, or other Markdown documents with code, lists, tables, and links.
Why use it?
It prevents formatting problems that are especially visible on projectors and helps keep documents consistent with automated Markdown checks.

Instructions file for GitHub Copilot

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/timothywarner/copilot-dev/markdown-style
Clone the repo
git clone --depth 1 https://github.com/timothywarner/copilot-dev

Made for: GitHub Copilot.

Per session 459 This file is loaded in full into every session.
When invoked 459 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00459 $0.00459
Opus 5 $0.00230 $0.00230
Sonnet 5 $0.00092 $0.00092
Haiku 4.5 $0.00046 $0.00046

Measured 2d ago against content hash 063962dec86d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

copilot-dev markdown-style.instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/instructions/markdown-style.instructions.md · 48 lines

What it actually says

Markdown Authoring Instructions

Course content in this repository is projected on screen during live training and read by learners afterward. Formatting problems that are invisible in a rendered preview become obvious on a projector, so treat these as hard requirements rather than preferences.

These rules align with .markdownlint.json at the repository root. When the two disagree, .markdownlint.json wins because it is enforced mechanically.

Spacing

  • Insert a blank line between headings, paragraphs, lists, and code blocks.
  • Add a blank line before and after every list, table, and fenced code block.
  • Never leave two consecutive blank lines.

Structure

  • Use ATX headings (##), never Setext underlines.
  • Do not skip heading levels. An h2 is followed by an h3, not an h4.
  • Exactly one h1 per file, as the first line.

Code blocks

  • Always fence with triple backticks and declare a language (```powershell, ```json). The language tag drives syntax highlighting on the projector.
  • Use text for terminal output that has no meaningful syntax.
  • Write descriptive link text. "See the supported models reference" beats "click here".
  • Every image needs alt text describing its content, not its filename.
  • Never rely on color alone to convey meaning. Pair it with a label, shape, or position, because a meaningful share of any audience cannot distinguish red from green.

Date-sensitive content

GitHub Copilot ships changes weekly, so undated claims rot silently.

  • Anchor version-specific claims to a date: "as of July 2026" or "GA February 25, 2026".
  • Cite the primary source (docs.github.com, github.blog/changelog) for any model name, price, tier, or version number.
  • Prefer "current as of " over "latest", which is never true for long.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 48 lines · 459 tokens per session scan A 063962dec86d

Subscribe to this mod's changes

copilot-dev markdown-style.instructions.md is an instructions file published in the GitHub repository timothywarner/copilot-dev (46 stars, last pushed 29d ago), licensed MIT. It adds 459 tokens to every session, about $0.0023 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories