# Azure Autorest Java Validate Dev Build

> Skill Instructions

- Skill: `tomevault-io/azure-autorest-java-validate-dev-build` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/azure-autorest-java-validate-dev-build`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/azure-autorest-java-validate-dev-build/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/azure-autorest-java-validate-dev-build

---


# Skill Instructions

## Request

The request would come in the form of:
- "Validate dev build for <test-case>"

## Steps

### Update Node.js dependencies to dev

Read "typespec-extension/package.json", if it does not depend on a dev version of `@typespec/compiler` (e.g. `X-dev.Y`), run following command on repository root:
```
npx -y @azure-tools/typespec-bump-deps typespec-extension/package.json typespec-tests/package.json --add-npm-overrides
```

Under "typespec-extension" folder, run `npm install --force` to install the dev dependencies.

### Prepare end-to-end test environment

Under "typespec-tests" folder, run `Setup.ps1`.

### Generate end-to-end test code

Under "typespec-tests" folder.

"<test-case>" usually in the form of an URL, e.g. "https://github.com/Azure/typespec-azure/tree/main/packages/azure-http-specs/specs/azure/client-generator-core/override"

Map this URL to the location of the test case in "node_modules".
E.g. above would map to "node_modules/@azure-tools/azure-http-specs/specs/azure/client-generator-core/override/client.tsp"

URL "https://github.com/microsoft/typespec/tree/main/packages/http-specs/specs/encode/array" would map to "node_modules/@typespec/http-specs/specs/encode/array/main.tsp"

- Use "client.tsp" when available. Otherwise, use "main.tsp".
- Escape the `@`, if it is necessary to do so in terminal.

Run
```
tsp compile --config . [location-of-test-case]
```
to generate Java code.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/azure) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

