emitter-prep-for-pr
Skill5.9k starsChanged 4 months agoMITView on GitHub
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".
- Commits and pushes
Trending
Quiet since September.about the whole repository
Who's talking about microsoft/typespec
- neovim/nvim-lspconfig“Support for typespec”GitHub · Jan 23, 2024 · 11 reactions
- github-linguist/linguist“Add TypeSpec”GitHub · Mar 27, 2024 · 9 reactions
- orval-labs/orval“Support unevaluatedProperties OpenAPI 3.1”GitHub · Jun 11, 2025 · 5 reactions
- Azure/autorest.typescript“Emitters should not crash on purpose”GitHub · Feb 20, 2025 · 2 reactions
- Azure/azure-sdk-for-java“Finalize removing JUnit, Reactor Test, and SLF4J Simple test dependencies”GitHub · Sep 25, 2024 · 2 reactions
The biggest 5 of 37 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 37
Talked about on GitHub, Bluesky and Hacker News (37 times).
On GitHub · 32
- Jan 23, 2024Support for typespec — neovim/nvim-lspconfig11 reactions · 3 comments
- Mar 27, 2024Add TypeSpec — github-linguist/linguist9 reactions · 10 comments
- Jun 11, 2025Support unevaluatedProperties OpenAPI 3.1 — orval-labs/orval5 reactions · 1 comment
- Feb 20, 2025Emitters should not crash on purpose — Azure/autorest.typescript2 reactions
- Sep 25, 2024Finalize removing JUnit, Reactor Test, and SLF4J Simple test dependencies — Azure/azure-sdk-for-java2 reactions · 1 comment
27 more on GitHub
- Sep 20, 2026deps(deps-dev): bump the lockfile-updates group in /tools/schema-sync with 4 updates — Imagine-That-Ai/BurnBar1 reaction · 5 comments
- Sep 10, 2026Design required: asynchronous messaging contracts and AsyncAPI emission — cataggar/typespec1 reaction · 1 comment
- Sep 9, 2026deps(deps-dev): bump @typespec/compiler from 1.15.0 to 1.16.0 in /tools/schema-sync — Imagine-That-Ai/BurnBar1 reaction · 5 comments
- Aug 20, 2026deps(deps-dev): bump the lockfile-updates group across 1 directory with 4 updates — Imagine-That-Ai/BurnBar1 reaction · 3 comments
- Aug 6, 2026Fix Experimental Visitor Gaps — Azure/azure-sdk-for-net1 reaction
- Jul 25, 2026deps(deps-dev): bump the lockfile-updates group across 1 directory with 4 updates — Imagine-That-Ai/BurnBar1 reaction · 9 comments
- Jul 25, 2026deps(deps-dev): bump the lockfile-updates group in /tools/schema-sync with 4 updates — Imagine-That-Ai/BurnBar1 reaction · 2 comments
- Jul 13, 2026Add AZC0002 Suppression & ForwardsClientCalls attribute for Mgmt Back Compat Methods — Azure/azure-sdk-for-net1 reaction
- May 28, 2026[Bug]: tcgc mismatched enum type names for /specs/type/file/main.tsp — Azure/typespec-azure1 reaction · 1 comment
- Apr 22, 2026Adopt Additional XML Spector Tests in Azure Generator — Azure/azure-sdk-for-net1 reaction · 1 comment
- Apr 21, 2026Adopt Spector Header Encoding Scenarios — Azure/azure-sdk-for-net1 reaction
- Mar 30, 2026Bump @typespec/http-specs in Azure Generator & Adopt New XML Spector Tests — Azure/azure-sdk-for-net1 reaction
- Mar 2, 2026Emit multiple api-versions in our metadata file for multiple services — Azure/azure-sdk-for-net1 reaction
- Mar 2, 2026[python] add test case for https://github.com/Azure/typespec-azure/pull/3923 — msyyc/typespec1 reaction
- Mar 2, 2026[python] add test case for https://github.com/Azure/typespec-azure/pull/3922 — msyyc/typespec1 reaction
- Mar 2, 2026[python] add test case for https://github.com/Azure/typespec-azure/pull/3729 — msyyc/typespec1 reaction
- Feb 26, 2026Update XML Visitor to Use XmlRequestContent for FromEnumerable helper method — Azure/azure-sdk-for-net1 reaction · 1 comment
- Feb 26, 2026[python] add test case for https://github.com/microsoft/typespec/pull/9660 — msyyc/typespec1 reaction
- Feb 17, 2026Adopt New XML Pageable Spector Scenarios — Azure/azure-sdk-for-net1 reaction
- Jan 5, 2026[spector] Add a POST long running API whose response type is `bytes` — Azure/typespec-azure1 reaction · 2 comments
- Jul 3, 2025Automation is not updating the mgmt package.json version to reference new Azure generator version — Azure/azure-sdk-for-net1 reaction
- Jul 2, 2025Add integration test cases Response.StatusCodeRange — Azure/autorest.typescript1 reaction
- May 8, 2026[http-client-csharp-mgmt] Mgmt SDK regen broken by upstream BaseModelProvider resolution change (microsoft/typespec#10600) — Azure/azure-sdk-for-net0 reactions
- Mar 27, 2026Incorrect XML ETag Deserialization in Model Properties — Azure/azure-sdk-for-net0 reactions
- Mar 11, 2026[Bug]: Error: Unimplemented: transformJsonExprForType: Enum — timotheeguerin/typespec0 reactions · 1 comment
- Mar 11, 2026[Bug]: Error: Unimplemented: transformJsonExprForType: Enum — timotheeguerin/typespec0 reactions · 1 comment
- May 13, 2024Microsoft Typespec — PrismJS/prism0 reactions · 1 comment
On Bluesky · 4
- Jan 30, 2024🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / typespec ⭐ 1,776 (+120) 🗒 TypeScript — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- May 31, 2024📦 microsoft / typespec ⭐ 3,427 (+76) 🗒 TypeScript — @github-trending-js.bsky.social1 likes and repost
- Apr 30, 2024🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / typespec ⭐ 2,578 (+177) 🗒 TypeScript — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jan 26, 2024🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / typespec ⭐ 1,311 (+151) 🗒 TypeScript — @github-trending-js.bsky.social1 likes and repost · 1 reply
On Hacker News · 1
- Sep 20, 2024TypeSpec1 point · 1 comment
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- packages/http-client-java/.github/copilot-instructions.mdCopilot instructions
- packages/http-client-js/.github/copilot-instructions.mdCopilot instructions
- code-reviewSkill
- csharp-spector-coverage-gapsSkill
- http-client-python-bump-and-releaseSkill
- minimal-reproSkill
- pnpm-formatSkill
- writing-python-sdk-spector-mock-api-testsSkill
- diff-upstreamSkill
- generate-from-typespecSkill
- test-unbranded-emitterSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Do NOT use this skill for core TypeSpec packages (compiler, http, openapi3, etc.).
- Distinctive: line 47
If any step fails, report the error and stop.
- Distinctive: line 64
Check if a changeset already exists for the current branch:
- Distinctive: line 72
If a changeset exists: Skip to Step 6 (no need to create one).
- Very specific: line 73
If NO_CHANGESET: Proceed to Step 5 to create one.
- Distinctive: line 77
Ask the user what kind of change this is, or infer from context:
≈ “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
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
cd ~/Desktop/github/typespec/packages/PACKAGE_NAME
# Build
npm run build
# Format (includes both TypeScript and Python formatting)
npm run format
# Lint (emitter-only is fine for quick validation)
npm run lint -- --emitterIf any step fails, report the error and stop. Do not proceed.
Step 3: Run format at repo root
cd ~/Desktop/github/typespec
pnpm formatImportant: 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:
cd ~/Desktop/github/typespec
BRANCH=$(git rev-parse --abbrev-ref HEAD)
ls .chronus/changes/ | grep -i "$BRANCH" || echo "NO_CHANGESET"- 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:
cd ~/Desktop/github/typespec
BRANCH=$(git rev-parse --abbrev-ref HEAD)
TIMESTAMP=$(date +"%Y-%m-%d-%H-%M-%S")
FILENAME=".chronus/changes/${BRANCH}-${TIMESTAMP}.md"---
changeKind: <KIND>
packages:
- "<PACKAGE>"
---
<MESSAGE>Step 6: Stage, commit, and push
cd ~/Desktop/github/typespec
git add -A
git statusShow the user what will be committed and ask for confirmation. Then:
BRANCH=$(git rev-parse --abbrev-ref HEAD)
git commit -m "<COMMIT_MESSAGE>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>"
# Always push to origin (user's fork), never upstream
git push origin "$BRANCH"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 |
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.

