awesome-claude-copilot: Instructions file for GitHub Copilot

.github/instructions/azure-functions-csharp.instructions.md

awesome-claude-copilot azure-functions-csharp.instructions.md is an instructions file for GitHub Copilot from RorroRojas3/awesome-claude-copilot. It costs 1,912 tokens per session, scanned A, original, MIT.

Guidelines for building Azure Functions in C# with the isolated worker model. Azure Functions are small cloud-run pieces of code triggered by events such as HTTP requests, messages, or timers.

In plain words
What is it for?
Use them when creating or reviewing .NET 6-or-later Azure Functions, including their triggers, bindings, services, logging, and project setup.
Why use it?
They keep event-handling code focused, testable, asynchronous, and properly configured for dependency injection and logging.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is RorroRojas3/awesome-claude-copilot's own configuration. It tells GitHub Copilot how to work on awesome-claude-copilot 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 awesome-claude-copilot configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/RorroRojas3/awesome-claude-copilot/main/.github/instructions/azure-functions-csharp.instructions.md
Clone the repo
git clone --depth 1 https://github.com/RorroRojas3/awesome-claude-copilot

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 awesome-claude-copilot azure-functions-csharp.instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rorrorojas3/awesome-claude-copilot/azure-functions-csharp.svg)](https://agentmods.dev/instructions/rorrorojas3/awesome-claude-copilot/azure-functions-csharp)
Your own site
<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>
Per session 1,912 This file is loaded in full into every session.
When invoked 1,912 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.1 $0.01912 $0.01912
Opus 5 $0.00956 $0.00956
Sonnet 5 $0.00382 $0.00382
Haiku 4.5 $0.00191 $0.00191

Measured 5d ago against content hash b0137d7a9b93, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

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.

.github/instructions/azure-functions-csharp.instructions.md · 103 lines

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) or HostBuilder in Program.cs for 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, not ILogger passed as a function parameter, for consistent structured logging.
  • Always use async/await for all I/O-bound operations; never block with .Result or .Wait().
  • Prefer CancellationToken parameters where supported to enable graceful shutdown.

Project Structure and Setup

  • Use the Microsoft.Azure.Functions.Worker and Microsoft.Azure.Functions.Worker.Extensions.* NuGet packages.
  • Register services in Program.cs using builder.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.json for local development; use Azure App Configuration or Application Settings for deployed environments.
  • Never hardcode connection strings or secrets in code; always read from IConfiguration or 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.json tuned per trigger type: configure maxConcurrentCalls, batchSize, and retry policies at the host level.

Read the full file on GitHub · 103 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. 5d ago First seen · 103 lines · 1,912 tokens per session scan A b0137d7a9b93

Subscribe to this mod's changes

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.