skills: Instructions file for GitHub Copilot

.github/instructions/docs.instructions.md

skills docs.instructions.md is an instructions file for GitHub Copilot from apollographql/skills. It costs 8,847 tokens per session, scanned A, original, MIT.

Documentation-writing instructions for Apollo-related projects, covering structure, tone, language, and how to frame guidance.

In plain words
What is it for?
Use it when creating Markdown, JSDoc, TSDoc, Rust documentation comments, Python docstrings, or similar user-facing technical content.
Why use it?
It gives contributors a consistent way to write documentation that is clear and useful to readers.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is apollographql/skills's own configuration. It tells GitHub Copilot how to work on skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to apollographql/skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/apollographql/skills/main/.github/instructions/docs.instructions.md
Clone the repo
git clone --depth 1 https://github.com/apollographql/skills

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for skills docs.instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/apollographql/skills/docs/github.svg)](https://agentmods.dev/instructions/apollographql/skills/docs)
Your own site
<a href="https://agentmods.dev/instructions/apollographql/skills/docs"><img src="https://agentmods.dev/badge/instructions/apollographql/skills/docs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for skills docs.instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/apollographql/skills/docs"><img src="https://agentmods.dev/badge/instructions/apollographql/skills/docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8,847 This file is loaded in full into every session.
When invoked 8,847 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.08847 $0.08847
Opus 5.5 $0.03539 $0.03539
Sonnet 5.5 $0.01769 $0.01769
Haiku 4.5 $0.00885 $0.00885

Measured 1mo ago against content hash 51e0b5540811, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

skills docs.instructions.md scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- `curl`: Not "cURL". Don't use as a verb. Instead say "run the following curl command".
.github/instructions/docs.instructions.md · 703 lines

How it starts

The opening of the file, as written. The whole thing — 703 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Preamble

The rules in this document apply to all "documentation-style" content. That can be markdown files (.md or .mdx), JSDoc or TSDoc docblocks (/** ... */), Rust DocComments /// ..., Python docstrings (""" ... """), or any other similar format.

They do not need to be applied to code or to comments that are not intended for end users (e.g., comments in source code meant for developers working on the codebase). Examples of this would be JavaScript inline comments (//), normal JavaScript block comments (/* ... */), Python comments (# ...), or Rust comments (// or /* ... */).


Primary Directive

Generate documentation content strictly adhering to the Apollo Voice and all rules in this guide.


Voice

The Apollo voice is:

  • Approachable
  • Positive
  • Encouraging
  • Helpful
  • Opinionated/Authoritative

Opinionated voice prescribes a specific "happy path" to accomplish a goal.

Do this: "To achieve optimal performance, configure your server with X." Do this: "The recommended approach is to use Apollo Federation for scaling." Do this: "Always secure your GraphQL endpoint using authentication." Don't do this: "You can configure your server with X, Y, or Z." Reason: This is unopinionated and lays out options rather than prescribing a path. Don't do this: "There are several ways to scale, including Federation or stitching." Reason: This is unopinionated and presents multiple options without guiding the user. Don't do this: "Consider securing your GraphQL endpoint; options include authentication and authorization." Reason: This is unopinionated and doesn't prescribe a specific security measure.

The Apollo voice is not:

  • Sarcastic
  • Condescending
  • Robotic
  • Exaggerated
  • Unopinionated

Guiding Principle: Communicate as if with a coworker you haven't met yet.


Language

  • Spelling and Grammar: Use American English. Do this: "The request is canceled." Do this: "The client is customizing their schema." Do this: "The solution centralizes data management." Don't do this: "The request is cancelled." Reason: Uses British English spelling. Don't do this: "The client is customising their schema." Reason: Uses British English spelling. Don't do this: "The solution centralises data management." Reason: Uses British English spelling.
  • Simplicity: Keep language simple and avoid idioms. Do this: "The client's query was very fast." Do this: "This feature makes development easier." Do this: "The system is now fully functional." Don't do this: "The client's query was lightning fast." Reason: Uses an idiom that may not be understood by non-native English speakers. Don't do this: "This feature is a piece of cake for developers." Reason: Uses an idiom. Don't do this: "The system is now firing on all cylinders." Reason: Uses an idiom.

Read the full file on GitHub · 703 lines

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. 1mo ago First seen · 703 lines · 8,847 tokens per session scan A 51e0b5540811

Subscribe to this mod's changes

skills docs.instructions.md is an instructions file published in the GitHub repository apollographql/skills (120 stars, last pushed today), licensed MIT. It adds 8,847 tokens to every session, about $0.0354 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). 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