generate-from-typespec Skill
Generate Python SDK code from a TypeSpec specification using the local emitter. Use this skill when the user wants to generate/regenerate a Python client from a TypeSpec spec, provides a GitHub URL or local path to a TypeSpec project, or says things like "generate from this spec", "emit Python from this tsp", "regenera Published by microsoft in typespec.
What is generate-from-typespec Skill?
Generate Python SDK code from a TypeSpec specification using the local emitter. Use this skill when the user wants to generate/regenerate a Python client from a TypeSpec spec, provides a GitHub URL or local path to a TypeSpec project, or says things like "generate from this spec", "emit Python from this tsp", "regenera Published by microsoft in typespec. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Developers using typespec
Technical details
- Install or run with Copy skill directory
When to use generate-from-typespec Skill
- Use it for developers using typespec.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/typespec
- Skill file: packages/http-client-python/.github/skills/generate-from-typespec/SKILL.md
What it does
Generate Python SDK code from a TypeSpec specification using the local emitter. Use this skill when the user wants to generate/regenerate a Python client from a TypeSpec spec, provides a GitHub URL or local path to a TypeSpec project, or says things like "generate from this spec", "emit Python from this tsp", "regenera
Skill instructions
Generate From TypeSpec Skill Compiles a TypeSpec specification using the local @typespec/http-client-python emitter and generates Python SDK code. Supports both branded (@azure-tools/typespec-python) and unbranded (@typespec/http-client-python) generation. Inputs The caller must provide: 1. Spec path — either: - A local file path to a .tsp entry point (e.g., client.tsp, main.tsp) - A raw GitHub URL pointing to a TypeSpec project directory or file (e.g., https://github.com/Azure/azure-rest-api-specs/tree/main/specification/.../Foundry/src/sdk-service-agentserver-contracts/client.tsp) 2. Flavor — azure (branded) or unbranded. If not provided, ask the user. 3. Emitter output directory — the full resolved path where generated code should be written (e.g., ~/Desktop/github/azure-sdk-for-python/sdk/agentserver/azure-ai-agentserver-responses). If not provided, ask the user. 4. Additional options (optional) — any extra key=value emitter options the user wants applied on top of the tspconfig op
Explore related resources
Frequently asked questions
What is generate-from-typespec?
generate-from-typespec is a open-source AI agent skill with Copy skill directory. Generate Python SDK code from a TypeSpec specification using the local emitter.
Who is generate-from-typespec best for?
generate-from-typespec is best for reusing agent instructions, scripts, and references.
How do I install generate-from-typespec?
Install or run generate-from-typespec using Copy skill directory. Check generate-from-typespec for the latest setup command.
Is generate-from-typespec actively maintained?
generate-from-typespec may need a closer maintenance check before production use.
Auto-fetched from GitHub.