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

azure-functions-skills / agents

AGENTS.md22 starsChanged 10 days agoMITView on GitHub

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

The file

Show its rules and text

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

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

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    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:

    Linter: Always run the project linter before committing.

    line 7
  2. Very specific:

    Type Safety: Use TypeScript strict mode.

    line 8
  3. Distinctive:

    No Dead Code: Remove unused imports, variables, and functions before committing.

    line 9
  4. Very specific:

    Dependency Updates: When updating library versions, always check for known vulnerabilities with npm audit or equivalent.

    line 13
  5. Common:

    No Secrets in Code: Never hardcode secrets, API keys, or connection strings.

    line 14
  6. Very specific:

    Auth Levels: Default to authLevel: 'function' for HTTP triggers.

    line 15
  7. Distinctive:

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

    line 19
  8. Very specific:

    Conventional Commits: Use prefixes: feat:, fix:, test:, docs:, chore:, refactor:.

    line 21
  9. Distinctive:

    Self-Review: Before requesting review, re-read every line of your diff.

    line 25
  10. Distinctive:

    Keep PRs Small: Prefer multiple small PRs over one large PR.

    line 31
  11. Very specific:

    Programming Model: Use the latest programming model (Node.js v4, Python v2, .NET isolated).

    line 35
  12. Very specific:

    Extension Bundles: Always specify extension bundle version in host.json.

    line 36
  13. Very specific:

    local.settings.json: Never commit this file. It's in .gitignore by default.

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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 Development Standards

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

Code Quality

  • Linter: Always run the project linter before committing. Fix all warnings and errors.
  • Type Safety: Use TypeScript strict mode. Avoid any types — use proper interfaces and generics.
  • No Dead Code: Remove unused imports, variables, and functions before committing.

Security

  • Dependency Updates: When updating library versions, always check for known vulnerabilities with npm audit or equivalent.
  • No Secrets in Code: Never hardcode secrets, API keys, or connection strings. Use environment variables or secret managers.
  • Auth Levels: Default to authLevel: 'function' for HTTP triggers. Use anonymous only for public endpoints.

Development Workflow

  • TDD: Write tests first. Every new function or module must have tests before implementation.
  • Small Commits: Each commit should represent a single logical change.
  • Conventional Commits: Use prefixes: feat:, fix:, test:, docs:, chore:, refactor:.

Pull Requests

  • Self-Review: Before requesting review, re-read every line of your diff. Check for:
    • Accidental debug code (console.log, debugger)
    • Missing error handling
    • Unclear variable names
    • Test coverage gaps
  • PR Description: Include what changed, why, and how to test.
  • Keep PRs Small: Prefer multiple small PRs over one large PR.

Azure Functions Specific

  • Programming Model: Use the latest programming model (Node.js v4, Python v2, .NET isolated).
  • Extension Bundles: Always specify extension bundle version in host.json.
  • local.settings.json: Never commit this file. It's in .gitignore by default.

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.