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
Who's talking about Azure/azure-sdk-for-js
- microsoft/TypeScript“Extract APIs that are common to Node and the DOM to their own namespace”GitHub · Nov 29, 2020 · 21 reactions
- langchain-ai/langchainjs“[Feature request] Azure OpenAI Assistants”GitHub · Feb 8, 2024 · 14 reactions
- pnpm/pnpm“pnpm install failed on WSL with mounted windows file system drive: EACCES EACCES: permission denied”GitHub · Feb 28, 2023 · 11 reactions
- Azure/azure-sdk-for-python“"exists" operator for containers and blobs”GitHub · Jan 17, 2020 · 7 reactions
- anonyco/FastestSmallestTextEncoderDecoder“React Native - TypeError: Cannot read property 'prototype' of undefined”GitHub · Jul 11, 2024 · 6 reactions
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
- Nov 29, 2020Extract APIs that are common to Node and the DOM to their own namespace — microsoft/TypeScript21 reactions · 6 comments
- Feb 8, 2024[Feature request] Azure OpenAI Assistants — langchain-ai/langchainjs14 reactions · 4 comments
- Feb 28, 2023pnpm install failed on WSL with mounted windows file system drive: EACCES EACCES: permission denied — pnpm/pnpm11 reactions · 16 comments
- Jan 17, 2020"exists" operator for containers and blobs — Azure/azure-sdk-for-python7 reactions · 8 comments
- Jul 11, 2024React Native - TypeError: Cannot read property 'prototype' of undefined — anonyco/FastestSmallestTextEncoderDecoder6 reactions · 1 comment
5 more on GitHub
- Mar 15, 2024Avoid the SemVer v0.x.x anti-pattern — open-telemetry/opentelemetry-js5 reactions · 13 comments
- Mar 26, 2020Add a common AzureKeyCredential to Azure Core — Azure/azure-sdk5 reactions · 8 comments
- Mar 1, 2022[Identity] Getting a token via VisualStudioCodeCredential using v0.10.0 of the Azure Account Extension results in an error — Azure/azure-sdk-for-net4 reactions · 3 comments
- Nov 1, 2023[Epic] - Fix issues found when generating OpenAI — Azure/autorest.typescript3 reactions
- Jun 16, 2020[rush] Deprecated options warning when using pnpm v5 — microsoft/rushstack3 reactions · 1 comment
On Bluesky · 1
- Nov 12, 2023📦 Azure / azure-sdk-for-js ⭐ 1,810 (+46) 🗒 TypeScript This repository is for active development of the Azure SDK for JavaScript (NodeJS… — @github-trending-js.bsky.social3 likes and reposts
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- ado-pipeline-auditSkill
- agentic-workflowsSkill
- azsdk-common-apiview-feedback-resolutionSkill
- azsdk-common-generate-sdk-locallySkill
- azsdk-common-pipeline-analysisSkill
- azsdk-common-pipeline-fixerSkill
- azsdk-common-prepare-release-planSkill
- azsdk-common-sdk-breaking-changeSkill
- azsdk-common-sdk-releaseSkill
- code-reviewSkill
- create-package-skillSkill
- find-package-skillSkill
- node-migrationSkill
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
- Very specific: line 13
Every code change must pass the checks that CI defines for the affected package locally before you push or open a PR.
- Very specific: line 60
Prerequisites: If pnpm or node are not available, download and install them before running any commands.
- Very specific: line 65
Always run pnpm install before building or running any dev-tool commands.
- Very specific: line 66
Azure DevOps npm feed (devfeed priming): If pnpm install fails due to feed authentication errors, or when adding new packages that are not …
- Very specific: line 78
Use npx dev-tool <command> --help for detailed options.
- Very specific: line 82
Versioning: When there is a new change to src/ after a release, the package version must be incremented.
- Very specific: line 100
Test resources: When provisioning test resources with New-TestResources.ps1, use the TME tenant and its subscription Azure SDK Test …
- Very specific: line 104
After provisioning, write the output environment variables to a .env file in every library under the service folder.
≈ “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.
Files
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 acheck-formatCI failure).pnpm check-format— verify formatting is clean (what CI runs).pnpm lint— check lint (pnpm lint:fixto auto-fix where possible).- Build from the repository root:
pnpm turbo build --filter=<package-name>... --token 1. - Unit tests: run the package's
testscript; forsdk/*,npx dev-tool check --tag=localruns 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 need | Where 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 tests | documentation/Quickstart-on-how-to-write-tests.md |
| Test recordings (record, playback, push) | documentation/Quickstart-on-how-to-write-tests.md § "Recording" |
| Provisioning test resources | eng/common/TestResources/README.md |
| Linting rules and troubleshooting | documentation/linting.md |
| Code generation from TypeSpec | documentation/Generate-code-from-TypeSpec.md |
| Customization after code generation | documentation/modular-customization.md |
| Build system (dual emit with warp) | documentation/dual-emitting-using-warp.md |
| Dependency management | documentation/dependency-management.md |
| Min/max dependency version testing | eng/tools/dependency-testing/README.md |
| Post-generation steps (changelog, samples, release prep) | documentation/steps-after-generations.md |
| Bundling for browser | documentation/Bundling.md |
| Resolving pnpm-lock.yaml merge conflicts | documentation/resolve-pnpm-lock-merge-conflict.md |
| Writing and running perf tests | sdk/test-utils/perf/GettingStarted.md |
| TypeSpec client generator CLI | eng/common/tsp-client/README.md |
| Code review agents (archie, scribe, sentinel, tester, dash, dexter) | documentation/reviewer-agents.md |
| Troubleshooting CI failures | documentation/Troubleshoot-ci-failure.md |
| Asset sync workflow (test recordings) | sdk/test-utils/recorder/ASSET_SYNC_WORKFLOW.md |
| CredScan suppression process | documentation/credscan-process.md |
Important Notes
- Prerequisites: If
pnpmornodeare not available, download and install them before running any commands. Provisioning test resources requires PowerShell 7+ (pwsh) and the Azure PowerShell module. Ifpwshis not installed, install it from https://learn.microsoft.com/powershell/scripting/install/installing-powershell, then runInstall-Module -Name Az -Force -AllowClobberto install the Az module. Always runpnpm installbefore building or running any dev-tool commands. - Azure DevOps npm feed (devfeed priming): If
pnpm installfails 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 runningnpx artifacts-npm-credproviderat 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. SeeCONTRIBUTING.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...). Runningnpm run buildin a package directory will fail if dependencies aren't built. - Dev-tool: Most package.json scripts delegate to
dev-toolunder the hood. Usenpx dev-tool <command> --helpfor detailed options. Dev-tool does not need to be built — it runs via tsx afterpnpm install. - Checks:
npx dev-tool checkruns format, lint, build, test, and package.json validation. Use--fixto auto-repair,--tagto select check categories. - Versioning: When there is a new change to
src/after a release, the package version must be incremented. Usenpx dev-tool package increment-versionto bump the version inpackage.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:
wherenode eng/tools/ci-runner/index.js check-package-version <service-dir> -packages "<artifact-name>"<service-dir>is the first path segment aftersdk/(e.g.keyvaultforsdk/keyvault/keyvault-keys) and<artifact-name>is the package name with@removed and/replaced by-(e.g.azure-keyvault-keysfor@azure/keyvault-keys). If the check exits with a non-zero code, runnpx dev-tool package increment-versionfrom 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-AzAccountoraz login). Never use device code authentication. - Test resources: When provisioning test resources with
New-TestResources.ps1, use the TME tenant and its subscriptionAzure 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-SubscriptionIdexplicitly. After provisioning, write the output environment variables to a.envfile in every library under the service folder. For example, forsdk/keyvault, write the.envfile insdk/keyvault/keyvault-keys,sdk/keyvault/keyvault-certificates, etc. - Test proxy:
npx dev-tool run test:vitestautomatically 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.mdfor details on each agent — archie (API design), scribe (documentation), sentinel (security), tester (test coverage), dash (performance), dexter (dependencies), mgmt-review (management SDKs).
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
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.

