agentleFS
Microsoft AzureKnown publisherAzure/azure-sdk-for-cpp/.github/skills/code-review/SKILL.md

code-review

Skill206 starsChanged 8 months agoMITView on GitHub

Review Azure SDK for C++ pull requests for actionable regressions and C++ SDK API or implementation guideline violations. Use for GitHub Copilot Code Review (CCR) of SDK code and its related tests, CMake files, samples, and documentation.

188 other projects use a version of this.

Adopted by

Most recently taken up by

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-aiSkill

    starter

    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

  • mrgoonieSkill

    media-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

  • loulanyueSkill

    setup-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

  • mrgoonieSkill

    aesthetic

    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

  • AWSSkill

    ask-matt

    Ask which skill or flow fits your situation. A router over the skills in this repo.

    Also in 32 projects that use this

  • AWSSkill

    resolving-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

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 174 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not raise speculative, duplicate, or style-only findings.

    line 17
  2. Distinctive:

    Document new or changed public/protected types and members with Doxygen comments, including meaningful error and cancellation behavior.

    line 25
  3. Distinctive:

    Use Azure Core mechanisms for logging and credentials.

    line 32
  4. Distinctive:

    Avoid new third-party types in public Azure headers.

    line 34
  5. Distinctive:

    Look for focused Google Test coverage of changed behavior, especially a concrete failure case, cancellation/retry path, or previously …

    line 38
  6. Distinctive:

    Check affected CMake targets and package documentation when behavior or APIs change: Doxygen, README, samples, and CHANGELOG should agree …

    line 39

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Azure SDK for C++ code review

Review changes to packages under sdk/ and their related tests, build files, samples, and documentation. Apply the checks below only where they fit the changed component: REST service-client requirements do not automatically apply to AMQP, other non-HTTP protocols, or repository tooling. Use AGENTS.md and nearby package code to establish existing conventions. The relevant rules from both C++ guideline pages are included here so the review does not depend on following external links.

Review approach

  1. Trace each changed behavior through its callers, public headers, implementation, and tests. Distinguish new defects from pre-existing behavior and intentional API changes from accidental breaking changes.
  2. Comment only on an introduced, demonstrable bug or a clear, consequential API/design guideline violation. Point to the changed line, describe the affected scenario and impact, and suggest a feasible correction. Prioritize compatibility, correctness, reliability, and credential safety over formatting or minor style.
  3. Do not raise speculative, duplicate, or style-only findings. Do not apply checklist items blindly to generated code or require a new SDK design when the package already follows a different established pattern.

Public API and client design

  • For changed public headers, check source compatibility and semantic versioning, namespace and type stability, and appropriate API review for intentional breaking changes. Service-specific public types belong under Azure::<Group>::<Service>; follow existing package namespaces for shared libraries. Keep private implementation in _detail, and use _internal for shared Azure Core internals rather than exposing implementation types as public API.
  • For new HTTP service clients, prefer a discoverable *Client class in the package namespace with thread-safe, effectively immutable state and const service methods. Provide a minimal constructor with only required parameters (no default arguments), an options overload for configuration, and GetUrl() where applicable. Do not allow subsequent configuration changes or build-time differences to alter a constructed client's behavior.
  • For new REST service methods, check the synchronous Response<T> or Response contract for single-response calls; put const Azure::Core::Context& context = {} last and pass that context by reference to downstream calls. Do not cancel the caller's context. Paged results must indicate when iteration ends and expose returned items/count; methods starting long-running operations use the Start prefix and return an Operation<T> subtype.
  • For changed models and options, use Azure::Core::ETag and Azure::Core::Uri where appropriate. Use enum class for fixed sets, but preserve unknown values for service-extensible wire enumerations with the package's extendable-enum pattern. Flag changes that prevent round-tripping future service values.
  • Document new or changed public/protected types and members with Doxygen comments, including meaningful error and cancellation behavior. Check that new customer-facing operations have usable samples or examples.

Implementation and C++ correctness

  • Route REST requests through the Azure Core HTTP pipeline so standard retry, authentication, logging, tracing, telemetry, and proxy behavior remain intact. Reuse Core policies where possible; custom policies must be thread-safe, with per-request state kept out of shared policy instances.
  • Validate arguments the SDK itself consumes (for example, a locally used path or buffer); let the service validate parameters passed through to it. Check that failed HTTP requests and long-running operations produce actionable Azure Core exceptions rather than success-shaped results, and that exceptions from user callbacks are not swallowed.
  • Preserve cancellation propagation through nested calls. Check new retry or paging paths for unintended duplicate operations, missed termination, and incorrect response metadata.
  • Use Azure Core mechanisms for logging and credentials. Do not expose secrets or personal data in logs or telemetry: log header/query values only when explicitly allow-listed, and ensure new credential handling does not persist sensitive material or break refresh.
  • Check ownership and lifetimes, initialized invariants, const-correctness, and concurrent client use. Keep library code C++14-compatible and portable across MSVC, GCC, Clang, Windows, Linux, and macOS; check HTTP changes against both curl and WinHTTP transports where relevant. Use 64-bit representations for file sizes and service integers, and suitable buffer-size types for in-memory buffers when conversions could lose data.
  • Avoid new third-party types in public Azure headers. Scrutinize new runtime dependencies and CMake/export changes for consumer compatibility; nonstandard dependencies require architecture review rather than silently broadening the package's dependency surface.

Tests, generated code, and documentation

  • Look for focused Google Test coverage of changed behavior, especially a concrete failure case, cancellation/retry path, or previously broken edge case. Prefer existing PLAYBACK infrastructure for service tests; do not require live credentials or demand tests for unchanged behavior.
  • Check affected CMake targets and package documentation when behavior or APIs change: Doxygen, README, samples, and CHANGELOG should agree with the shipped behavior. Raise a missing-coverage finding only when it conceals a specific regression or makes a new API unusable.
  • Review generated SDK diffs for real behavioral or public API regressions, but direct proposed fixes to their TypeSpec source or generator/customization workflow; do not suggest hand-editing files identified as generated, whether headers or src/private/ output.

Guideline sources

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.