agentleFS
MicrosoftKnown publishermicrosoft/azure-dev-tools/canvases/azure-functions/skills/azure-functions-inventory/SKILL.md

azure-functions-inventory

Skill11 starsChanged 14 days agoMITView on GitHub

Use when collecting Azure Functions app specifications/inventory only: resource identity, SKU/plan, runtime, Function App config, network, identity, selected app settings, and function/trigger inventory. Do not use for runtime health, failures, metrics, or telemetry investigation.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 6 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to collect the static specifications of an existing Azure Function App.

    line 8
  2. Distinctive:

    Write final answers in the user's language.

    line 10
  3. Distinctive:

    Ask only for missing inputs that are needed to identify the app:

    line 14
  4. Distinctive:

    If subscription or resource group is unknown, discover them with Resource Graph.

    line 20
  5. Very specific:

    Call Azure best practices for azurefunctions first when available.

    line 24
  6. Distinctive:

    Run the bundled inventory script for the current shell/OS:

    line 25
  7. Very specific:

    Add -SubscriptionId <sub> and/or -ResourceGroup <rg> when known.

    line 28
  8. Very specific:

    Read the errors field of the output.

    line 32
  9. Very specific:

    If bundled script execution is unavailable, use references/inventory-commands.md.

    line 33
  10. Very specific:

    If a caller needs runtime or trigger interpretation after inventory collection, use ../azure-functions-common/references/routing.md on …

    line 36
  11. Distinctive:

    Do not include metrics, Application Insights, exceptions, traces, dependencies, Activity Log, or Resource Health analysis.

    line 55

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill 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
SKILL.md

Azure Functions Inventory

Use this skill to collect the static specifications of an existing Azure Function App.

Write final answers in the user's language.

Required interaction

Ask only for missing inputs that are needed to identify the app:

  • Function App name (required unless already provided)
  • Subscription ID or name (optional)
  • Resource group (optional)

If subscription or resource group is unknown, discover them with Resource Graph. If multiple matching apps are found, ask the user to choose one.

Fast path

  1. Call Azure best practices for azurefunctions first when available.
  2. Run the bundled inventory script for the current shell/OS:
    • scripts/get-functionapp-inventory.ps1 -AppName <app-name>
    • bash scripts/get-functionapp-inventory.sh -a <app-name> on macOS/Linux or Bash
    • Add -SubscriptionId <sub> and/or -ResourceGroup <rg> when known.
    • For Bash, use -s <sub> and/or -g <resource-group> when known.
    • Bash script requires Azure CLI plus a working python3 or python executable for JSON shaping.
    • The script only reads data. It does not change the Azure CLI default subscription, configuration, or extensions. To search all subscriptions, it needs the resource-graph Azure CLI extension. If the extension is not installed, the script searches one subscription with az resource list and records this in errors. Do not install the extension without user approval.
    • Read the errors field of the output. Report each error as a gap. Do not report the inventory as complete or healthy when a step failed.
  3. If bundled script execution is unavailable, use references/inventory-commands.md.
  4. Report only inventory/specification data unless the user explicitly asks for health or telemetry.

If a caller needs runtime or trigger interpretation after inventory collection, use ../azure-functions-common/references/routing.md on demand. Do not load shared language/extension references for plain inventory output.

Next steps

  • On success, suggest azure-functions-health-status to check current health and telemetry next.
  • On failure, suggest azure-functions-diagnostics to triage missing or blocked inventory data.

Scope boundary

This skill should collect:

  • Resource identity: subscription, resource group, region, resource ID, host name
  • Plan/SKU/runtime: plan name/SKU/status, OS, runtime stack/version, Functions runtime
  • Flex config: deployment storage type/auth, memory, max instances, always-ready value, update strategy
  • Network/security: VNet integration, public network access, HTTPS only, TLS, FTPS, private endpoint count if available
  • Identity/settings: managed identity type and selected setting presence with secrets redacted
  • Functions inventory: functions and trigger types, enabled/disabled counts
  • Related resources in the resource group, summarized by resource type/name/SKU

Do not include metrics, Application Insights, exceptions, traces, dependencies, Activity Log, or Resource Health analysis. Use the health skill for those.

Output template

Target: <app> (<resource-group>, <subscription>, <region>)
Plan/Runtime: <plan sku>, <kind>, <runtime>, Functions <version>, memory <MB>, max <n>, alwaysReady <value>
Network/Identity: VNet <subnet>, publicAccess <value>, identity <type>
Settings: <selected setting names and presence only>
Triggers: enabled <n>, disabled <n>; trigger breakdown <summary>
Related resources: <short resource type/name summary>
Gaps: <unavailable metadata, if any>

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.