agentleFS
MicrosoftKnown publishermicrosoft/vscode-azurecontainerapps/AGENTS.md

vscode-azurecontainerapps

AGENTS.md42 starsChanged 4 days agoMITView on GitHub

Use .github/copilot-instructions.md for implementation, verification, and review rules. Subsystem contracts live in .github/instructions. package.json contributions and package.nls.json labels -> src/commands/registerCommands.ts -> command and wizard steps -> Azure Tools helpers or src/utils/azureClients.ts -> ARM operation or local revision draft -> tree state, activity/output, and tests.

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 31,439 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 repositoryOne other file it gives its agents.

The file

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

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use .github/copilot-instructions.md for implementation, verification, and review rules.

    line 3

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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 Container Apps extension architecture

Use .github/copilot-instructions.md for implementation, verification, and review rules. Subsystem contracts live in .github/instructions.

Follow a user action

package.json contributions and package.nls.json labels -> src/commands/registerCommands.ts -> command and wizard steps -> Azure Tools helpers or src/utils/azureClients.ts -> ARM operation or local revision draft -> tree state, activity/output, and tests.

Code ownership map

AreaStart hereBoundary
Activationsrc/extension.ts, src/extensionVariables.ts, src/commands/api/createContainerAppsApiProvider.tsRegisters shared extension variables, commands, revision-draft filesystem, and the Azure Resources API handshake. The tracked loader main.js measures bundle load time; do not modify it.
Resource explorersrc/tree/ContainerAppsBranchDataProvider.ts, src/tree/ManagedEnvironmentItem.ts, src/tree/ContainerAppItem.tsThe rich hierarchy is environment -> app -> template children or revisions, plus configuration and logs. ext.state wraps items with operation state.
Standalone app groupsrc/tree/ContainerAppResourceItem.ts, src/commands/revealInEnvironment.tsFlat app nodes use a distinct #flat tree ID and reveal the rich environment hierarchy; their tree IDs are not ARM resource IDs.
Azure clients and resource pickingsrc/utils/azureClients.ts, src/utils/pickItem/, src/utils/getResourceUtils.tsShared Azure Tools factories and subscription contexts own authentication; local helpers select the appropriate app, environment, revision, or container.
Create resourcessrc/commands/createContainerApp/, src/commands/createManagedEnvironment/, src/commands/EXECUTE_PRIORITY.mdList steps inject create/update subwizards. Follow Express compatibility instructions for mode-specific defaults and optional logging.
Workspace deploymentsrc/commands/deployWorkspaceProject/Resolves workspace/tree configuration, migrates saved settings, coordinates creation/build/deploy, and returns deployment results.
Images and registry accesssrc/commands/deployContainerApp/, src/commands/deployImage/, src/commands/image/, src/commands/registryCredentials/Existing images versus remote ACR builds; managed identity/AcrPull versus Docker login; startup verification is separate from build and ARM completion.
Revisions and configurationsrc/commands/revision/, src/commands/revisionDraft/, src/utils/revisionDraftUtils.ts, src/commands/updateContainerApp.tsRevision templates are edited through an in-memory filesystem; app-level configuration and secrets have different mutation paths.
Configuration UIsrc/tree/configurations/, src/tree/containers/, src/tree/scaling/, src/tree/revisionManagement/Ingress/secrets are app configuration; containers/environment variables/scaling participate in revision templates and draft editability rules.
Logs and portal actionssrc/commands/logStream/, src/tree/LogsGroupItem.ts, src/commands/openConsoleInPortal.tsRevision/replica/container selection, authenticated streaming, and portal links; the console action opens the portal, not an extension-owned exec/debug tunnel.
Confirmation UI and Copilotsrc/webviews/, src/commands/copilot/React/Fluent UI views and extension-side controllers coordinate wizard confirmation, edit/back/cancel state, and Copilot input.
Workspace helperssrc/utils/settingUtils.ts, src/utils/workspaceUtils.ts, src/node/fs-extra.ts, src/browser/fs-extra.tsResource-scoped configuration, multi-root selection, and separate filesystem adapters; do not assume all Node operations work in a browser host.
Public APIsrc/commands/api/vscode-azurecontainerapps.api.d.ts, src/commands/api/CHANGELOG.mdVersioned deployImage and deployWorkspaceProject contracts, plus compatibility command registration. Test-only exports live in src/testApi.ts.
Tests and engineeringtest/, package.json, esbuild.mjs, .vscode-test.mjs, .github/workflows/main.yml, .config/VS Code-hosted tests, gated live-Azure scenarios, and shared Azure Tools build/pipeline configuration.

External ownership

  • @microsoft/vscode-azext-utils owns action/error handling, wizards, activities, tree state, and test UI helpers.
  • @microsoft/vscode-azext-azureutils owns common Azure resource UI, subscription client construction, provider verification, and related authentication helpers.
  • @microsoft/vscode-azext-github supplies shared GitHub integration helpers; repository connection orchestration lives in src/commands/gitHub/.
  • The Azure Resources extension hosts the resource explorer and subscription picker. Its API handshake is required before using ext.rgApiV2.
  • Azure SDK packages own service models and operations, not the extension's draft, confirmation, workspace-settings, or tree-refresh contracts.
  • @microsoft/vscode-azext-eng and microsoft/vscode-azuretools own shared engineering configuration and CI templates. Review ownership is recorded in .github/CODEOWNERS.

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.