Borrowing it
Nothing to install: this file belongs to RorroRojas3/awesome-claude-copilot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/RorroRojas3/awesome-claude-copilot/main/.github/instructions/azure-functions-csharp.instructions.mdgit clone --depth 1 https://github.com/RorroRojas3/awesome-claude-copilotWrote 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.
[](https://agentmods.dev/instructions/rorrorojas3/awesome-claude-copilot/azure-functions-csharp)<a href="https://agentmods.dev/instructions/rorrorojas3/awesome-claude-copilot/azure-functions-csharp"><img src="https://agentmods.dev/badge/instructions/rorrorojas3/awesome-claude-copilot/azure-functions-csharp.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01912 | $0.01912 |
| Opus 5 | $0.00956 | $0.00956 |
| Sonnet 5 | $0.00382 | $0.00382 |
| Haiku 4.5 | $0.00191 | $0.00191 |
Grade A, and why
awesome-claude-copilot azure-functions-csharp.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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Azure Functions C# Development
General Instructions
- Always use the isolated worker model (not the legacy in-process model) for all new Azure Functions projects targeting .NET 6 or later.
- Use
FunctionsApplication.CreateBuilder(args)orHostBuilderinProgram.csfor host setup and dependency injection. - Decorate function methods with
[Function("FunctionName")]and use strongly typed trigger and binding attributes. - Keep function methods focused — each function should do one thing and delegate business logic to injected services.
- Never put business logic directly inside the function method body; extract it into testable service classes registered via DI.
- Use
ILogger<T>injected through the constructor, notILoggerpassed as a function parameter, for consistent structured logging. - Always use
async/awaitfor all I/O-bound operations; never block with.Resultor.Wait(). - Prefer
CancellationTokenparameters where supported to enable graceful shutdown.
Project Structure and Setup
- Use the
Microsoft.Azure.Functions.WorkerandMicrosoft.Azure.Functions.Worker.Extensions.*NuGet packages. - Register services in
Program.csusingbuilder.Services.Add*extension methods for clean dependency injection. - Group related functions into separate classes by domain concern, not by trigger type.
- Store configuration in
local.settings.jsonfor local development; use Azure App Configuration or Application Settings for deployed environments. - Never hardcode connection strings or secrets in code; always read from
IConfigurationor environment variables. - Use Key Vault references (
@Microsoft.KeyVault(SecretUri=...)) in App Settings for secrets in deployed environments. - Use
Managed Identity(DefaultAzureCredential) for authenticating to Azure services — avoid connection strings with keys wherever possible. - Keep
host.jsontuned per trigger type: configuremaxConcurrentCalls,batchSize, and retry policies at the host level.
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.
- 5d ago First seen · 103 lines · 1,912 tokens per session scan A b0137d7a9b93
awesome-claude-copilot azure-functions-csharp.instructions.md is an instructions file published in the GitHub repository RorroRojas3/awesome-claude-copilot (0 stars, last pushed 10d ago), licensed MIT. It adds 1,912 tokens to every session, about $0.0096 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-09-01.
Other instructions, from other repositories
plan-forge api-patterns.instructions.md
API patterns for .NET — REST conventions, ProblemDetails, pagination, versioning, error responses.
plan-forge errorhandling.instructions.md
Error handling patterns — Exception hierarchy, ProblemDetails responses, error boundaries, global exception middleware.
graftcode graftcode-dotnet.instructions.md
Instructions for grft-dev/graftcode, covering graftcode — .net backend services, when this applies (always), authoritative docs (source of truth), golden rules and service = .net class library.
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).