azure/azure-sdk-for-java/codegen
- community
Checking that the SKILL.md file is still in the repository.
Generate code from TypeSpec via tsp-client (update, sync, generate). Requires a tsp-location.yaml in the current working directory. Supports updating the commit hash before running.
Install
npx vskill@latest install azure/azure-sdk-for-java/codegenSKILL.md
TypeSpec Code Generation (tsp-client)
Use this skill to run tsp-client workflows for projects that include a tsp-location.yaml file.
Preconditions
- You must be in the directory that contains
tsp-location.yaml. - If the file is missing, warn the user and ask for the correct directory (do not run commands).
Commit hash update
If the user provides a commit hash, update the commit: field in tsp-location.yaml before running tsp-client.
- Read the file and locate the
commit:line. - Replace the value with the provided hash (keep the same key name and formatting).
- Example:
- Before:
commit: 6267b6... - After:
commit: <new_hash>
Commands
tsp-client update
Pull the latest codegen tooling or definitions (default action when the user is vague).
tsp-client sync
Fetch/sync TypeSpec inputs for the project.
tsp-client generate
Generate code from TypeSpec inputs.
Keep the synced TypeSpec inputs:
Steps
- Verify
tsp-location.yamlexists in the current directory. If not, stop and ask for the correct location. - If the user provided a commit hash, update the
commit:value intsp-location.yaml. - Determine the user intent:
- Refresh/update/ingest changes from a commit: run
tsp-client update. - Fetch/sync spec from the current commit: run
tsp-client sync. - Generate from fetched spec: run
tsp-client generate(use--save-inputsonly if the user asks to keep inputs). - Generate (no fetch requested): run
tsp-client generate.
- If the user doesn’t specify, default to
tsp-client update. - If the project defines or creates a
TempTypeSpecFilesfolder and the user wants code generation, runtsp-client generate(with--save-inputsif requested). - If a tsp-client command fails, report the error output and suggest checking the TypeSpec repo/commit referenced in
tsp-location.yaml. Build a GitHub URL fromrepo:anddirectory:(and include thecommit:as the ref), e.g.:
- Repo:
Azure/azure-rest-api-specs - Commit:
6267b6... - Directory:
specification/cognitiveservices/OpenAI.Inference - URL:
https://github.com/Azure/azure-rest-api-specs/tree/6267b6.../specification/cognitiveservices/OpenAI.Inference
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsdk/ai/.workflow_docs/codegen/SKILL.md
Popularity
- Repository stars
- 2,562
- Repository forks
- 2,202
- 7-day trend score
- 44
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/azure/azure-sdk-for-java/codegen)