microsoft/typespec/emitter-prep-for-pr
Claude Code and agent skill by microsoft/typespec
- vendor
Checking that the SKILL.md file is still in the repository.
Prepare language emitter changes for PR: validate (build, format, lint), add a changeset, and push. This skill is specifically for the language emitter packages (http-client-python, http-client-csharp, http-client-java) - NOT for core TypeSpec packages like compiler, http, openapi3, etc. Use when the user wants to finalize emitter changes, says things like "prep for pr", "prepare for PR", "validate and push", "add changeset", or "finalize changes".
Install
npx vskill@latest install microsoft/typespec/emitter-prep-for-prSKILL.md
The same SKILL.md was published earlier as microsoft/typespec/emitter-prep-for-pr.
Emitter Prep for PR
Prepares language emitter changes for pull request by running build/format/lint, checking for a changeset, and pushing to the remote branch.
This skill is for language emitter packages only:
http-client-pythonhttp-client-csharphttp-client-java
Do NOT use this skill for core TypeSpec packages (compiler, http, openapi3, etc.).
Workflow
Step 1: Determine the emitter package
Figure out which emitter package the user is working on from context (cwd, recent changes, or ask). The package will be under packages/<package-name>/.
Step 2: Build, format, and lint the emitter package
If any step fails, report the error and stop. Do not proceed.
Step 3: Run format at repo root
Important: pnpm format may touch files outside the emitter package (e.g., .devcontainer/, other packages). When staging changes in Step 6, only stage files within the emitter package directory (packages/PACKAGE_NAME/) and .chronus/changes/ and .github/skills/. Discard any formatting changes to unrelated files with git checkout -- <file>.
Step 4: Check for existing changeset
Check if a changeset already exists for the current branch:
- If a changeset exists: Skip to Step 6 (no need to create one).
- If NO_CHANGESET: Proceed to Step 5 to create one.
Step 5: Create changeset (only if none exists)
Ask the user what kind of change this is, or infer from context:
- changeKind - one of:
internal,fix,feature,deprecation,breaking,dependencies - message - concise user-focused description
Then create the file:
Step 6: Stage, commit, and push
Show the user what will be committed and ask for confirmation. Then:
Changeset Guidelines
changeKind reference
- internal: Tests, CI/CD, refactoring, docs, skills — not user-facing
- fix: Bug fixes users would notice
- feature: New user-facing capabilities
- deprecation: Marking something as deprecated
- breaking: Removing or changing behavior incompatibly
- dependencies: Dependency version bumps
Message examples
internal: "Improve CI pipeline performance and test infrastructure"fix: "Fix incorrect deserialization of nullable enum properties"feature: "Add support for XML serialization in request bodies"
Package names
| Folder | Package Name | |
|---|---|---|
http-client-python | @typespec/http-client-python | |
http-client-csharp | @typespec/http-client-csharp | |
http-client-java | @typespec/http-client-java |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 1 Oct 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/emitter-prep-for-pr/SKILL.md
Popularity
- Repository stars
- 5,813
- Repository forks
- 381
- 7-day trend score
- 43
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 21 Mar 2026, 8 months ago.
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/microsoft/typespec/emitter-prep-for-pr)