pnpm-format
Skill5.9k starsChanged 4 months agoMITView on GitHub
Format the codebase with pnpm and recover from common formatting failures.
- Installs packages
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
- emitter-prep-for-prSkill
- http-client-python-bump-and-releaseSkill
- minimal-reproSkill
- 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
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill any time formatting is required in the TypeSpec repo.
- Very specific: line 18
If node_modules are missing or pnpm complains about missing packages, run:
- Very specific: line 26
If the command fails with ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND, you are not at the repo root.
- Very specific: line 27
If pnpm format exits with a non-zero code but prints a list of changed files, re-run pnpm format once to ensure a clean exit.
- Distinctive: line 31
Do not cancel the command.
≈ “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
Format code with pnpm
Use this skill any time formatting is required in the TypeSpec repo. Do not assume formatting happens automatically; always run pnpm format following this guidance.
Preconditions
- Command must run from the repository root (where
package.jsonandpnpm-workspace.yamllive). - Dependencies must be installed.
Steps
- Confirm you are at the repo root.
- If
node_modulesare missing orpnpmcomplains about missing packages, run:pnpm install - Run the formatter:
pnpm format - If the command fails with
ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND, you are not at the repo root.cdto the root and retry. - If
pnpm formatexits with a non-zero code but prints a list of changed files, re-runpnpm formatonce to ensure a clean exit.
Notes
- Do not cancel the command; formatting may take about a minute.
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.

