code-review
Skill27 starsChanged 2 years agoMITView on GitHub
Review diffs and pull requests in Azure/typespec-azure for compatibility, .chronus change descriptions, TypeSpec diagnostics and rulesets, SDK emitter and Spector contract regressions, and meaningful tests. Use for Copilot code review in this repository.
188 other projects use a version of this.
Adopted by
Most recently taken up by
- github/spec-kittheir own version, first seen Nov 23, 2026
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- mattpocock/skillstheir own version, first seen Oct 8, 2026
- rafaelob/pragmatic-agent-skillstheir own version, first seen Oct 5, 2026
- Kangentic/kangentictheir own version, first seen Oct 5, 2026
- dzhng/skillstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use starter, media-processing and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ww-w-aiSkillstarter
Static web development guide for beginners. Covers HTML/CSS/JavaScript and Next.js App Router basics. Project initialization with "init starter". Triggers: static website, portfolio, landing page, HTML CSS, beginner, 정적 웹, 포트폴리오, 초보자, 静的サイト, 初心者, 静态网站, 初学者, sitio web estático, site statique, statische Website, sito web statico Do NOT use for: fullstack apps (use $dynamic), enterprise (use $enterprise).
Also in 4 projects that use this
mrgoonieSkillmedia-processing
Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration) and ImageMagick (image manipulation, format conversion, batch processing, effects, composition). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing/cropping images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests (HLS/DASH), generating thumbnails, batch processing images, creating composite images, or implementing media processing pipelines. Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.
Also in 5 projects that use this
loulanyueSkillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 15 projects that use this
mrgoonieSkillaesthetic
Create aesthetically beautiful interfaces following proven design principles. Use when building UI/UX, analyzing designs from inspiration sites, generating design images with ai-multimodal, implementing visual hierarchy and color theory, adding micro-interactions, or creating design documentation. Includes workflows for capturing and analyzing inspiration screenshots with chrome-devtools and ai-multimodal, iterative design image generation until aesthetic standards are met, and comprehensive design system guidance covering BEAUTIFUL (aesthetic principles), RIGHT (functionality/accessibility), SATISFYING (micro-interactions), and PEAK (storytelling) stages. Integrates with chrome-devtools, ai-multimodal, media-processing, ui-styling, and web-frameworks skills.
Also in 4 projects that use this
AWSSkillask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Also in 32 projects that use this
AWSSkillresolving-merge-conflicts
Use when you need to resolve an in-progress git merge/rebase conflict.
Also in 48 projects that use this
- +1 more from mrgoonie
- +2 more from aws
Other versions188 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 188
- mattpocock/skills★ 335ksame name
- microsoft/vscode★ 196ksame name
- github/spec-kit★ 153ksame name
- shareAI-lab/learn-claude-code★ 78ksame name
- github/awesome-copilot★ 40ksame name
- langchain-ai/deepagents★ 30ksame name
- microsoft/vcpkg★ 28ksame name
- anthropics/knowledge-work-plugins★ 26ksame name
- Donchitos/Claude-Code-Game-Studios★ 26ksame name
- microsoft/onnxruntime★ 22ksame name
178 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- create-linter-ruleSkill
- doc-example-generatorSkill
- hotfix-releaseSkill
- tcgc-newsletterSkill
- typespec-go-add-spector-testSkill
- typespec-python-releaseSkill
- typespec-ts-add-spector-testSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Do not review formatting, naming preferences, lint-covered issues, or unchanged code.
- Distinctive: line 43
Check whether a previously valid Azure spec, decorator/template invocation, ARM resource definition, SDK metadata consumer, or generated …
- Very specific: line 48
Follow docs/breaking-changes.md: prefer introducing a replacement alongside the old behavior, migrating downstream specs and SDK consumers, …
- Distinctive: line 107
Check that output changes to existing scenarios are intentional, particularly operation/model names, optionality, authentication, API …
- Very specific: line 124
Look for a regression test that exercises the actual decorator, linter, emitter, or generated client path.
- Very specific: line 132
Put one issue in each inline comment, anchored to a changed line.
“Common” is measured: kept by at least 6 in 10 of the 174 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
TypeSpec Azure code review
Review the changed code against this repository's rules, not the upstream TypeSpec compiler's breaking-change tiers. Trace the affected behavior for existing specs and consumers before reporting a regression. Only post a finding when the problem is concrete, attributable to the diff, and supported by a repository rule, test, or code path you can cite.
Scope and sources
Apply this skill across the repository: Azure TypeSpec libraries, rulesets, AutoRest, client-generator core, the Go/Java/Python/TypeScript emitters, Azure HTTP specs, tests, and tooling. Focus on the packages and paths changed in the pull request. Read the relevant sources before judging:
docs/breaking-changes.mdfor downstream rollout and hard breaks..chronus/config.yamland.github/copilot-instructions.mdfor change descriptions and package/release conventions.- Any applicable
.github/instructions/*.instructions.mdand the touched package's README, tester, Spector config, tests, and existing output baselines. In particular,.github/instructions/typespec-ts.instructions.mdgoverns the TypeScript emitter. - The implementation of a referenced TypeSpec/compiler API or library helper when correctness depends on its actual behavior.
Do not review formatting, naming preferences, lint-covered issues, or unchanged code.
Ignore lockfile and generated implementation churn unless it exposes a concrete
inconsistency or regression. Do inspect tracked generated contracts and baselines
for unintended changes; notably, the TypeScript emitter tracks generated
packages/typespec-ts/test/azure-modular-integration/generated/**/src/index.d.ts
files even though most generated client implementation files are ignored.
Compatibility and release impact
- Check whether a previously valid Azure spec, decorator/template invocation, ARM resource definition, SDK metadata consumer, or generated client now fails or behaves differently. Adding a new capability without changing existing behavior is not by itself breaking. Verify the affected public surface and consumer before claiming a break.
- Follow
docs/breaking-changes.md: prefer introducing a replacement alongside the old behavior, migrating downstream specs and SDK consumers, then removing the old behavior in a later release. For a hard break that cannot be staged, check whether companion changes are ready for affected client emitters. Flag a missing bridge or migration only when the changed behavior demonstrably affects existing consumers. - Review emitted wire/API contracts, not just TypeScript types: HTTP routes, parameters, status codes, model shapes, authentication, versions, paging and long-running operations may be consumed by specs or generated SDKs. Distinguish intended fixes from unintentional behavior changes; substantiate the latter with an existing spec or test.
Change descriptions (.chronus)
- Valid
changeKindvalues in.chronus/config.yamlareinternal,fix,dependencies,feature,deprecation, andbreaking. Check that the kind andpackages:list reflect the actual affected packages and user-visible behavior; don't describe a breaking removal as afixor bundle changes needing different kinds under one misleading entry. - A published package with a user-visible code change needs an appropriate entry,
including emitter or spec package changes where applicable. Do not require an entry
solely for files excluded by
changedFiles:**/*.md,**/*.test.ts, and**/*.e2e.ts. Do not generalize those exclusions to all files undertest/, and check the config's ignored packages before reporting a missing entry. - A breaking finding without a corresponding
breakingentry is especially important. Cite the affected existing behavior as well as the changeset mismatch.
Azure libraries, diagnostics, and rules
- For changes under
packages/typespec-azure-core,packages/typespec-azure-resource-manager,packages/typespec-autorest, andpackages/typespec-client-generator-core, follow decorator/resource/metadata consumers through the shipped entrypoint. Check realistic spec forms, including versions and missing/empty services where the code permits them; don't assume a lookup such aslistServices(program)[0]always succeeds. - Diagnostics should have a stable code, accurate message/severity, and a useful
target on the offending TypeSpec node or type. A warning intended to be suppressible
needs a real target rather than
NoTarget; inspect the compiler's handling before claiming a diagnostic is suppressible. A severity change may allow execution paths that were previously blocked by errors: check the downstream path too. - For new or changed linter rules, check their registration in the library's
src/linter.ts, the applicablepackages/typespec-azure-rulesets/src/rulesets/{data-plane,resource-manager,client-sdk}.tsconfiguration, rule documentation, and tests. The rulesets testpackages/typespec-azure-rulesets/test/validate-rules-defined.test.tsrequires Azure core and resource-manager rules to be explicitly enabled or disabled in their respective rulesets; do not assume the same requirement for the client-SDK ruleset. Confirm a rule doesn't diagnose the library's own declarations when those should be excluded, or miss inherited, spread, or template forms when those forms trigger the reported behavior.
Emitters and Spector contracts
- For
packages/typespec-autorest, compare OpenAPI definitions,$reftargets, operation IDs, and versioned output for existing specs. The tests underpackages/typespec-autorest/test/assert the emitted shapes; check for broken references, name collisions, or dropped validations rather than treating any output difference as a defect. - For
packages/typespec-{go,java,python,ts}and client-generator core, trace changes from the TypeSpec spec through generated SDK surface and serialized HTTP behavior. Check that output changes to existing scenarios are intentional, particularly operation/model names, optionality, authentication, API versions, and requests and responses. A generated diff alone is not a defect; identify the observable regression and the input that triggers it. - For changes in
packages/azure-http-specs/specs/**, inspect the scenario's TypeSpec and itsmockapi.tswhere present. When an emitter opts into or updates a Spector case, compare itsspector.config*.yaml, generated baselines, and handwritten client tests with the scenario assertions. Do not mistake a disabled opt-in or ignored generated implementation file for tested behavior. - For TypeScript changes, use
.github/instructions/typespec-ts.instructions.md: this emitter targets Azure-branded packages only, has distinct Vitest test projects, and checks trackedsrc/index.d.tsbaselines for a clean regenerated tree. Don't request obsolete unbranded or CommonJS paths. Use each other emitter's own test layout and generation conventions instead of imposing the TypeScript workflow on it.
Tests and comments
- Look for a regression test that exercises the actual decorator, linter, emitter, or
generated client path. For TypeSpec library tests, prefer the package's existing
test/test-host.tsortest/tester.tssetup and specific diagnostic assertions; for emitter tests, check the language's existing unit/integration/Spector pattern. Flag missing coverage only when you can identify a plausible failure it would catch. - Tests should assert the new behavior, including relevant negative or boundary cases, rather than merely complete without error. Flag weakened assertions or new skips that hide relevant coverage, or tests that would still pass with the change reverted.
- Put one issue in each inline comment, anchored to a changed line. State the impact,
cite the governing rule or the relevant
file:line, and suggest a concrete fix in one or two sentences. Prioritize correctness, compatibility, release impact, and meaningful coverage; don't repeat another finding or post speculative suggestions.
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.

