agentleFS
Microsoft AzureKnown publisherAzure/azure-sdk-for-js/.github/skills/sdk-workflow/SKILL.md

sdk-workflow

Skill2.3k starsChanged 21 months agoMITView on GitHub

**UTILITY SKILL** — Must be consulted for SDK development workflow tasks. Routes agents to the correct tools and documentation for building, testing, linting, formatting, provisioning, deploying, and other package development tasks. WHEN: "build package", "run tests", "lint code", "format code", "run checks", "prepare samples", "publish samples", "apply customization", "run migrations", "bump version", "extract API", "update snippets", "check API compatibility", "manage test recordings", "provision test resources", "deploy test resources", "create test resources", "set up test environment", "authenticate to Azure", "login to Azure", "release package", "increment version", "troubleshoot CI", "fix CI failure", "CredScan", "credential scan", "push recordings", "asset sync", "update recordings".

  • Reads credentials

Trending

Quiet this year.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the Azure/azure-sdk-for-js repository that our weekly crawl found: only 11 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about Azure/azure-sdk-for-js

The biggest 5 of 11 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 11

Talked about on GitHub and Bluesky (11 times).

On GitHub · 10

5 more on GitHub

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every code change must pass the checks that CI defines for the affected package locally before you push or open a PR.

    line 13
  2. Very specific:

    Prerequisites: If pnpm or node are not available, download and install them before running any commands.

    line 60
  3. Very specific:

    Always run pnpm install before building or running any dev-tool commands.

    line 65
  4. Very specific:

    Azure DevOps npm feed (devfeed priming): If pnpm install fails due to feed authentication errors, or when adding new packages that are not …

    line 66
  5. Very specific:

    Use npx dev-tool <command> --help for detailed options.

    line 78
  6. Very specific:

    Versioning: When there is a new change to src/ after a release, the package version must be incremented.

    line 82
  7. Very specific:

    Test resources: When provisioning test resources with New-TestResources.ps1, use the TME tenant and its subscription Azure SDK Test …

    line 100
  8. Very specific:

    After provisioning, write the output environment variables to a .env file in every library under the service folder.

    line 104

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

SDK Development Workflow

This skill routes you to the correct tools and documentation for common SDK development tasks. Read the referenced docs — don't guess at commands.

Before you push (required for every change)

Every code change must pass the checks that CI defines for the affected package locally before you push or open a PR. This includes every pnpm workspace package, not just sdk/*, including common/tools/* and eng/containers/turborepo-remote-cache. Tools elsewhere under eng/* are not workspace packages and use package-specific managers and scripts, so follow their CI configuration.

For a pnpm workspace package, from its directory:

  • pnpm format — auto-format with Prettier (this is what fixes a check-format CI failure).
  • pnpm check-format — verify formatting is clean (what CI runs).
  • pnpm lint — check lint (pnpm lint:fix to auto-fix where possible).
  • Build from the repository root: pnpm turbo build --filter=<package-name>... --token 1.
  • Unit tests: run the package's test script; for sdk/*, npx dev-tool check --tag=local runs build and unit tests.

For sdk/* packages, npx dev-tool check --fix bundles format + lint + package.json validation in one step.

Key Documentation

What you needWhere to look
Dev workflows (build, test, lint, install deps, clean)CONTRIBUTING.md § "Development Workflows"
Dev-tool CLI commands (checks, samples, API extraction, etc.)common/tools/dev-tool/README.md
Writing and running testsdocumentation/Quickstart-on-how-to-write-tests.md
Test recordings (record, playback, push)documentation/Quickstart-on-how-to-write-tests.md § "Recording"
Provisioning test resourceseng/common/TestResources/README.md
Linting rules and troubleshootingdocumentation/linting.md
Code generation from TypeSpecdocumentation/Generate-code-from-TypeSpec.md
Customization after code generationdocumentation/modular-customization.md
Build system (dual emit with warp)documentation/dual-emitting-using-warp.md
Dependency managementdocumentation/dependency-management.md
Min/max dependency version testingeng/tools/dependency-testing/README.md
Post-generation steps (changelog, samples, release prep)documentation/steps-after-generations.md
Bundling for browserdocumentation/Bundling.md
Resolving pnpm-lock.yaml merge conflictsdocumentation/resolve-pnpm-lock-merge-conflict.md
Writing and running perf testssdk/test-utils/perf/GettingStarted.md
TypeSpec client generator CLIeng/common/tsp-client/README.md
Code review agents (archie, scribe, sentinel, tester, dash, dexter)documentation/reviewer-agents.md
Troubleshooting CI failuresdocumentation/Troubleshoot-ci-failure.md
Asset sync workflow (test recordings)sdk/test-utils/recorder/ASSET_SYNC_WORKFLOW.md
CredScan suppression processdocumentation/credscan-process.md

Important Notes

  • Prerequisites: If pnpm or node are not available, download and install them before running any commands. Provisioning test resources requires PowerShell 7+ (pwsh) and the Azure PowerShell module. If pwsh is not installed, install it from https://learn.microsoft.com/powershell/scripting/install/installing-powershell, then run Install-Module -Name Az -Force -AllowClobber to install the Az module. Always run pnpm install before building or running any dev-tool commands.
  • Azure DevOps npm feed (devfeed priming): If pnpm install fails due to feed authentication errors, or when adding new packages that are not yet cached for anonymous access, authenticate to the Azure Artifacts feed by running npx artifacts-npm-credprovider at the repo root. pnpm is configured to install from the internal Azure Artifacts feed (devfeed); anonymous read access works for packages already in the feed, but authenticated access may be required when installing new or updated packages. See CONTRIBUTING.md § "Authenticating to the Azure DevOps npm feed" for details.
  • Building with turbo: To build a package and its dependencies, use pnpm turbo build --filter=<package-name>... --token 1 (note the trailing ...). Running npm run build in a package directory will fail if dependencies aren't built.
  • Dev-tool: Most package.json scripts delegate to dev-tool under the hood. Use npx dev-tool <command> --help for detailed options. Dev-tool does not need to be built — it runs via tsx after pnpm install.
  • Checks: npx dev-tool check runs format, lint, build, test, and package.json validation. Use --fix to auto-repair, --tag to select check categories.
  • Versioning: When there is a new change to src/ after a release, the package version must be incremented. Use npx dev-tool package increment-version to bump the version in package.json, update tracked version constants, and add a new changelog entry. Before opening or updating a PR, verify whether a version bump is needed by running the following from the repo root:
    node eng/tools/ci-runner/index.js check-package-version <service-dir> -packages "<artifact-name>"
    where <service-dir> is the first path segment after sdk/ (e.g. keyvault for sdk/keyvault/keyvault-keys) and <artifact-name> is the package name with @ removed and / replaced by - (e.g. azure-keyvault-keys for @azure/keyvault-keys). If the check exits with a non-zero code, run npx dev-tool package increment-version from the package directory and commit the result before opening the PR or pushing updates to PRs.
  • Azure authentication: You must be logged in to Azure when running tests live, recording, or provisioning test resources. Always authenticate using the interactive browser-based login flow (e.g. Connect-AzAccount or az login). Never use device code authentication.
  • Test resources: When provisioning test resources with New-TestResources.ps1, use the TME tenant and its subscription Azure SDK Test Resources - TME (4d042dc6-fe17-4698-a23f-ec6a8d1e98f4). The script auto-selects this subscription when it detects a TME tenant, but you can also pass -SubscriptionId explicitly. After provisioning, write the output environment variables to a .env file in every library under the service folder. For example, for sdk/keyvault, write the .env file in sdk/keyvault/keyvault-keys, sdk/keyvault/keyvault-certificates, etc.
  • Test proxy: npx dev-tool run test:vitest automatically manages the test proxy lifecycle. You do not need to start it manually.
  • Code review agents: Available locally for reviewing changes before pushing. See documentation/reviewer-agents.md for details on each agent — archie (API design), scribe (documentation), sentinel (security), tester (test coverage), dash (performance), dexter (dependencies), mgmt-review (management SDKs).

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.