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

azure-functions-assess

Skill11 starsChanged 15 days agoMITView on GitHub

Placeholder. Assess an Azure Functions project or Function App for unsupported or end-of-life runtimes, deprecated programming models, extension bundles, hosting plans, and code or configuration that should move to a supported target. Read-only. Use when the Azure Functions canvas asks for an AI assessment, or when the user asks to assess migration needs.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the lifecycle data for end-of-life dates.

    line 29
  2. Very specific:

    Read the published copy: https://raw.githubusercontent.com/microsoft/azure-dev-tools/main/data/azure-functions/lifecycle.json.

    line 32
  3. Distinctive:

    Do not change the published copy from this skill.

    line 49
  4. Very specific:

    When the Azure Functions canvas started this assessment, send the findings back to the canvas with invoke_canvas_action, action …

    line 64

≈ “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

Assess Azure Functions

Placeholder. The owner writes the full workflow. Do not treat this file as complete guidance. Reply in the user's language unless they request another language.

Scope

This skill is read-only. Do not edit files, do not change Azure resources, and do not run commands that change state. Do not read, print, or send secret values. For local.settings.json and app settings, report key names only.

Assess these areas:

  1. Runtime and language versions that are unsupported or have an end-of-life date.
  2. Programming models that are deprecated (for example, the .NET in-process model, the Python v1 model, and the Node.js v3 model).
  3. Functions host version and extension bundle ranges in host.json.
  4. Hosting plans and SKUs that are retired or scheduled for retirement.
  5. Code and configuration that should change before or during a migration.

Lifecycle dates

Use the lifecycle data for end-of-life dates. Each entry has an official source. This skill and the canvas use the same data.

  1. Read the published copy: https://raw.githubusercontent.com/microsoft/azure-dev-tools/main/data/azure-functions/lifecycle.json.
  2. Compare its checkedOn with the bundled lifecycle.json. Use the file with the later date. If you cannot read the published copy, use the bundled file.
  3. Say which file you used and its checkedOn date.
  • Language versions: the live source is the Azure functionAppStacks API (GET https://management.azure.com/providers/Microsoft.Web/functionAppStacks?api-version=2023-12-01, which needs az login but no subscription). When you can read it, prefer it to the snapshot, and say which one you used.
  • Programming models, host versions, extension bundles, and hosting plans: the API does not give these. Use the file, and check the linked source page when a date is near or when checkedOn is old.
  • A null end means that no official date is confirmed. Do not invent a date.

To update the file, change the dates, the sources, and checkedOn together. Do not change the published copy from this skill.

TODO(owner): add the rule catalog for code and configuration changes in each area.

Output contract

Return each finding as one object that matches the schema in finding-schema.json.

  • Give evidence for each finding: a file and line, or an Azure resource property.
  • Set deadline only when an official source gives a date. Otherwise set it to null.
  • Set remediation.type to update-scenario only when an available scenario in azure-functions-update/references/scenarios.json applies to the finding, and set remediation.scenarioId to its id.

When the Azure Functions canvas started this assessment, send the findings back to the canvas with invoke_canvas_action, action submit_findings, and input { "requestId": "<exact requestId from the panel prompt>", "findings": [ ... ] }. Check get_state first: ai.requestId, target and target revision must still match. Stop on a stale request or rejected report. Do not send more than 50 findings. Put the most severe findings first. When no canvas started the assessment, show the findings in chat as a table, with the most severe first.

TODO(owner): define how to assess a deployed Function App together with its source.

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.