graphify-dotnet copilot-instructions.md

Project-specific instructions for graphify-dotnet, a .NET command-line application and library published as a dotnet tool. They describe where code belongs and how the solution is organized.

In plain words
What is it for?
Creating, modifying, or reviewing code in the graphify-dotnet repository, especially projects under src/ and its tests.
Why use it?
They keep changes consistent with the repository's required folder structure, project format, SDK version, and packaging setup.

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/elbruno/graphify-dotnet/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/elbruno/graphify-dotnet

Made for: GitHub Copilot.

Per session 2,171 This file is loaded in full into every session.
When invoked 2,171 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.02171 $0.02171
Opus 5 $0.01086 $0.01086
Sonnet 5 $0.00434 $0.00434
Haiku 4.5 $0.00217 $0.00217

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

Security

Grade A, and why

graphify-dotnet 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 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/copilot-instructions.md · 273 lines

How it starts

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

graphify-dotnet Repository Conventions

These instructions define the conventions for the graphify-dotnet project. Apply them when creating, modifying, or reviewing any project in this repo.

graphify-dotnet is a .NET 10 console application published to NuGet as a dotnet tool. The CLI is packaged via PackAsTool in Graphify.Cli.csproj and published through the publish.yml workflow.


Repository Structure

graphify-dotnet/
├── README.md                    # Project overview, badges, quick start
├── LICENSE                      # MIT License
├── Directory.Build.props        # Shared MSBuild properties (all projects)
├── global.json                  # SDK version with rollForward
├── .gitignore                   # .NET + IDE + OS ignores
├── graphify-dotnet.slnx         # XML-based solution file
├── src/
│   ├── Graphify/                # Core library (graph pipeline, data structures, export)
│   ├── Graphify.Cli/            # CLI tool (System.CommandLine)
│   ├── Graphify.Sdk/            # GitHub Copilot SDK integration
│   ├── Graphify.Mcp/            # MCP stdio server
│   └── tests/
│       ├── Graphify.Tests/              # Unit tests (xUnit)
│       └── Graphify.Integration.Tests/  # Integration tests
└── .github/workflows/           # CI/CD workflows
  • Root files only: README.md, LICENSE, Directory.Build.props, global.json, .gitignore, graphify-dotnet.slnx
  • All source code (libraries, tests, CLI, servers) lives under src/
  • No images/, docs/, or samples/ directories initially

⚠️ Critical Rule: All Code Lives Under src/

Every project — libraries, tests, tools, servers — MUST be placed under the src/ directory. Nothing gets created at the repo root except:

  • README.md
  • LICENSE
  • Directory.Build.props
  • global.json
  • .gitignore
  • .editorconfig
  • graphify-dotnet.slnx

Structure under src/:

  • src/Graphify/ — Core library (graph pipeline, data structures, export)
  • src/Graphify.Cli/ — CLI tool (dotnet tool, System.CommandLine)
  • src/Graphify.Sdk/ — GitHub Copilot SDK integration
  • src/Graphify.Mcp/ — MCP stdio server (ModelContextProtocol)
  • src/tests/Graphify.Tests/ — Unit tests (xUnit)
  • src/tests/Graphify.Integration.Tests/ — Integration tests

Read the full file on GitHub · 273 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. 2d ago First seen · 273 lines · 2,171 tokens per session scan A 6c9e001f8239

Subscribe to this mod's changes

graphify-dotnet copilot-instructions.md is an instructions file published in the GitHub repository elbruno/graphify-dotnet (90 stars, last pushed 2mo ago), licensed MIT. It adds 2,171 tokens to every session, about $0.0109 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