agentleFS
Microsoft AzureKnown publisherAzure/azure-functions-skills/AGENTS.md

azure-functions-skills

AGENTS.md18 starsChanged 2 months agoMITView on GitHub

These instructions apply to all coding agents working in this repository.

  • Reads credentials
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository2 other files it gives its agents.

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

19 rules. About 1 is common, 7 are distinctive, and 11 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 11

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Remove unused imports, variables, and functions before committing.

    line 33
  2. Distinctive:

    Avoid duplicate code — extract shared logic into helpers.

    line 38
  3. Very specific:

    Never hand-edit files under .github/plugins/, .plugin/, or .claude-plugin/.

    line 40
  4. Distinctive:

    TDD: Write tests first. Every new function or module must have tests before implementation.

    line 44
  5. Very specific:

    Use npm run test:watch during TDD cycles.

    line 46
  6. Very specific:

    Run npm test before every commit.

    line 47
  7. Distinctive:

    When the task is not code-related (skills, CI config, documentation), TDD is not required.

    line 49
  8. Common:

    No secrets in code — use environment variables or secret managers.

    line 53
  9. Very specific:

    No npm lifecycle scripts except prepack.

    line 54
  10. Very specific:

    Run npm run lint:security for supply-chain checks.

    line 55
  11. Very specific:

    Never edit generated files under .github/plugins/, .plugin/, .claude-plugin/.

    line 61
  12. Very specific:

    Never commit local.settings.json or .env files.

    line 62
  13. Very specific:

    Do not run template apply from the repo root — use --dir <isolated-workspace> to avoid pollution.

    line 63
  14. Very specific:

    Do not touch templates/agents/AGENTS.md — that is the user-facing template, not this repo's dev standards.

    line 64
  15. Very specific:

    Use /rubber-duck for self-review with a different model family.

    line 76
  16. Distinctive:

    If the current model is Claude (Ops family), switch to a GPT-family top model.

    line 77
  17. Distinctive:

    If the current model is GPT, switch to a Claude top model.

    line 78
  18. Very specific:

    Use /model to switch, then /rubber-duck to review.

    line 79
  19. Distinctive:

    If work stalls due to authentication or permission errors, check whether the active account matches the target repository.

    line 90

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Azure Functions Skills — Development Standards

These instructions apply to all coding agents working in this repository.

Project Overview

  • What: Skills + telemetry plugin that equips coding agents with Azure Functions–specific knowledge, plus a small companion CLI (template apply, telemetry sender, build)
  • Stack: TypeScript (strict), Node.js 18+, ESM
  • Targets: GitHub Copilot CLI, Claude Code, Codex CLI
  • Testing: Vitest for unit tests

Commands

TaskCommand
Buildnpm run build
Compile onlynpm run compile
Unit testsnpm test
Tests (watch)npm run test:watch
Lintnpm run lint
Type checknpm run typecheck
Security lintnpm run lint:security
Skill validationnpm run validate:skills
Plugin payload verifynpm run verify:plugin-payload
Full gatenpm run check

Code Style

  • TypeScript strict mode — avoid any types; use proper interfaces and generics.
  • Named exports; no default exports.
  • Prefix intentionally unused parameters with _.
  • Conventional commits: feat:, fix:, test:, docs:, chore:, refactor:.
  • Remove unused imports, variables, and functions before committing.

Architecture

  • Separate concerns by domain: src/build/, src/telemetry/, src/templates/.
  • Avoid duplicate code — extract shared logic into helpers.
  • templates/ is the canonical source; generated payloads are derived.
  • Never hand-edit files under .github/plugins/, .plugin/, or .claude-plugin/. Change templates/, then regenerate with npm run build:plugin-payload.

Testing

  • TDD: Write tests first. Every new function or module must have tests before implementation.
  • Unit tests live in tests/*.test.ts.
  • Use npm run test:watch during TDD cycles.
  • Run npm test before every commit.
  • CLI changes require a manual run: node bin/azure-functions-skills.js <cmd> --dir <isolated-workspace>.
  • When the task is not code-related (skills, CI config, documentation), TDD is not required.

Security

  • No secrets in code — use environment variables or secret managers.
  • No npm lifecycle scripts except prepack. Adding postinstall, preinstall, etc. is forbidden.
  • Run npm run lint:security for supply-chain checks.
  • Never run LLM-backed skill evaluations in PR-triggered CI or on unreviewed, untrusted contributor code. Skill content can contain prompt injection attacks, and the evaluation agent has file-write and shell-execution permissions. Start such runs only by manual workflow_dispatch or locally on trusted code in an isolated workspace.
  • Confirm the target, budget, repetition count, and owned-resource cleanup policy separately before paid experiments.

Boundaries

  • Never edit generated files under .github/plugins/, .plugin/, .claude-plugin/.
  • Never commit local.settings.json or .env files.
  • Do not run template apply from the repo root — use --dir <isolated-workspace> to avoid pollution.
  • Do not touch templates/agents/AGENTS.md — that is the user-facing template, not this repo's dev standards.

Before Committing

  1. npm run lint
  2. npm run typecheck
  3. npm test
  4. CLI changes → run the command manually in an isolated workspace
  5. Template changes → npm run build:plugin-payload then npm run verify:plugin-payload

After Implementation

  • Use /rubber-duck for self-review with a different model family.
    • If the current model is Claude (Ops family), switch to a GPT-family top model.
    • If the current model is GPT, switch to a Claude top model.
    • Use /model to switch, then /rubber-duck to review.

Language Policy

  • Respond in the user's language.
  • PRs, source code, and documentation included in PRs must be in English unless otherwise specified.
  • Temporary files created for user explanation (reports, proposals, etc.) should use the user's language.

Multi-Account (EMU + Public)

  • Some contributors use both GitHub EMU (enterprise) and public GitHub accounts.
  • If work stalls due to authentication or permission errors, check whether the active account matches the target repository.
  • Switch accounts with /user switch or gh auth login to match the repo's organization.
  • EMU orgs require SSO authentication; public repos use personal accounts.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.