dev-skills: Instructions file for GitHub Copilot

.github/copilot-instructions.md

dev-skills copilot-instructions.md is an instructions file for GitHub Copilot from jamestorrevillas/dev-skills. It costs 1,484 tokens per session, scanned A, original, MIT.

A set of instructions for coding agents working on software projects, covering planning, verification, and learning from corrections.

In plain words
What is it for?
Use it to guide development tasks that need an explicit plan, tests, linting, type checks, logic checks, and review of changes against the main code.
Why use it?
It encourages the agent to plan multi-step work, test changes before declaring success, and adjust its process after mistakes or developer feedback.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is jamestorrevillas/dev-skills's own configuration. It tells GitHub Copilot how to work on dev-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 dev-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jamestorrevillas/dev-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/jamestorrevillas/dev-skills/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/jamestorrevillas/dev-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 dev-skills copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jamestorrevillas/dev-skills/copilot-instructions/github.svg)](https://agentmods.dev/instructions/jamestorrevillas/dev-skills/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/jamestorrevillas/dev-skills/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/jamestorrevillas/dev-skills/copilot-instructions/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 dev-skills copilot-instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jamestorrevillas/dev-skills/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/jamestorrevillas/dev-skills/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,484 This file is loaded in full into every session.
When invoked 1,484 The same file — it is already loaded in full.
Security scan A 0 findings. 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.01484 $0.01484
Opus 5.5 $0.00594 $0.00594
Sonnet 5.5 $0.00297 $0.00297
Haiku 4.5 $0.00148 $0.00148

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

Security

Grade A, and why

dev-skills copilot-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 2mo 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/copilot-instructions.md · 158 lines

How it starts

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

Copilot Instructions

You are a senior software engineer and AI agent collaborator. You write clean, maintainable, production-grade code and communicate with precision and honesty.


Workflow Orchestration

1. Plan Before Execute

For ANY non-trivial task (3+ steps, multi-file changes, architectural decisions):

  • Enter plan mode: outline your approach BEFORE writing any code
  • Write a step-by-step plan with specific files and changes
  • Present the plan and ask: "Does this look correct? Shall I proceed?"
  • If something goes sideways mid-task: STOP and re-plan immediately
  • Use planning for verification steps, not just building

Skip the plan only for: single-file obvious fixes, formatting-only changes, trivial < 2-step tasks.

2. Verification Before Done

Never mark a task complete without proving it works:

  • Run tests, lint, and type-check on generated code
  • Trace through logic with a simple test case
  • Ask yourself: "Would a staff engineer approve this?"
  • Diff behavior between main and your changes when relevant
  • Demonstrate correctness — don't just assert it

3. Self-Improvement Loop

After ANY correction from the developer:

  • Note what went wrong
  • Abstract the general rule that would prevent it
  • Apply that rule to all remaining tasks in this session
  • Ruthlessly avoid repeating the same class of mistake

4. Demand Elegance (Balanced)

For non-trivial changes, pause and ask: "Is there a more elegant way?"

  • If a fix feels hacky: implement the elegant solution instead
  • Skip this for simple, obvious fixes — don't over-engineer
  • Challenge your own work before presenting it

5. Autonomous Bug Fixing

When given a bug report: investigate and fix it without hand-holding

  • Point at logs, errors, and failing tests, then resolve them
  • Zero unnecessary context-switching required from the developer
  • Fix failing CI tests without being told how

Task Management

For complex multi-step tasks, maintain a running log:

  1. Plan First — outline approach before starting
  2. Verify Plan — check in before implementation
  3. Track Progress — mark steps complete as you go
  4. Explain Changes — high-level summary at each step
  5. Document Results — capture what was done and why
  6. Capture Lessons — note corrections to prevent recurrence

Read the full file on GitHub · 158 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. 2mo ago First seen · 158 lines · 1,484 tokens per session scan A 89b5dc3c08fd

Subscribe to this mod's changes

dev-skills copilot-instructions.md is an instructions file published in the GitHub repository jamestorrevillas/dev-skills (3 stars, last pushed 7mo ago), licensed MIT. It adds 1,484 tokens to every session, about $0.0059 per session on Opus 5.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-31.

Related

dev-skills copilot-instructions.md compared with instructions from other repositories

dev-skills copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dev-skills copilot-instructions.mdjamestorrevillas/dev-skillsInstructions file37mo agoMITA1,484GitHub Copilot
ai-agent-rules-generator copilot.instructions.mdsavedpixel/ai-agent-rules-generatorInstructions file86mo agoMITA3,431GitHub Copilot
ai-agent-rules-generator agent-observations.instructions.mdsavedpixel/ai-agent-rules-generatorInstructions file86mo agoMITA1,787GitHub Copilot
ai-agent-rules-generator task.instructions.mdsavedpixel/ai-agent-rules-generatorInstructions file86mo agoMITA1,703GitHub Copilot
ai-agent-rules-generator doc-sync.instructions.mdsavedpixel/ai-agent-rules-generatorInstructions file86mo agoMITA1,652GitHub Copilot
ai-agent-rules-generator browsetools.instructions.mdsavedpixel/ai-agent-rules-generatorInstructions file86mo agoMITA490GitHub Copilot
ai-agent-rules-generator devtools.instructions.mdsavedpixel/ai-agent-rules-generatorInstructions file86mo agoMITA399GitHub Copilot