Editorial and technical review for code samples.

Install

mkdir -p .claude/skills/code-sample-review && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10175" && unzip -o skill.zip -d .claude/skills/code-sample-review && rm skill.zip

Installs to .claude/skills/code-sample-review

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Review and improve code samples, commands, command output, and fenced code blocks in Arm Learning Paths and install guides. Use when checking editorial formatting, technical accuracy, runnable commands, output lead-ins, code fence integrity, language tags, or token-heavy and unexplained code or output blocks.
310 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Review code samples
  • Validate commands
  • Check formatting consistency
  • Verify technical accuracy

How it works

Reviews code samples and commands for editorial quality and technical accuracy within Arm Learning Paths.

Inputs & outputs

You give it
Code sample or command
You get back
Review report or suggested fix

When to use code-sample-review

  • Validate install guide commands
  • Check code sample formatting
  • Improve technical doc accuracy

About this skill

Code sample review

Use this skill to review or edit code samples, commands, command output, and fenced code blocks in Arm Learning Paths and install guides.

This skill can support either editorial review or technical review. Match the depth of review to the user's request and don't invent commands, outputs, workflows, package names, benchmark numbers, or validation results.

Prerequisites

  • Work from the repository root.
  • Read AGENTS.md to locate shared guidance.
  • Read references/code-sample-guidance.md before reviewing or editing code samples.

Modes

Editorial mode

Use when the user asks to review or fix code sample presentation, readability, formatting, or consistency.

Check for:

  • Explanatory prose before each code block
  • Correct and consistent language tags
  • Standard output lead-ins
  • Closed code fences
  • Oversized, duplicated, or unexplained output blocks
  • Consistent terminology around commands, files, UI labels, and outputs

Technical mode

Use when the user asks whether commands, examples, or outputs are accurate, runnable, safe, or technically complete.

Check for:

  • Commands that match the stated operating system, shell, tool, and Arm platform
  • Plausible package names, file paths, flags, versions, and environment variables
  • Output blocks that correspond to the preceding command
  • Validation steps that prove the intended outcome
  • Learning Path code that supports the stated task
  • Install guide commands that stay within install and verification scope

Workflow

  1. Identify the review scope and whether the request is editorial, technical, or mixed.
  2. Inspect surrounding prose before judging a code block; code samples should be evaluated in context. If you've previously read the page, use context and don't re-read it unless there's a change since the last read.
  3. Depending on the type of review, suggest fixes as follows:
  • For review requests, report issues by file and line when possible, ordered by learner impact.
  • For edit requests, report issues and suggest focused changes that preserve technical intent and existing repository patterns.
  1. After the reviewer accepts suggestions, make changes, then re-scan edited areas for code fence integrity, language tags, and output lead-ins.
  2. Report what changed and note any technical assumptions or checks not performed.

Validation rules

  • Preserve front matter, Hugo shortcodes, Markdown structure, command syntax, and expected output unless they are the target of the edit.
  • Don't rewrite meaningful code solely for style.
  • Don't replace tool-native terms, casing, flags, package names, or architecture strings with prose preferences.
  • Don't treat long code or output as a problem by itself; flag it only when it reduces learning value or obscures the task.
  • Keep edits scoped to code sample quality unless the user asks for broader content review.
  • Don't modify commands or output unless the reviewer accepts the suggestions.
  • Don't hallucinate corrections that aren't supported by context, documentation, or an executable check.

When not to use it

  • Broad content review
  • Non-Arm documentation

Prerequisites

Arm Learning Paths repository

Limitations

  • Not for broad content review
  • Requires Arm context

How it compares

It focuses on technical accuracy and runnable commands specifically for Arm platforms.

Compared to similar skills

code-sample-review side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
code-sample-review (this skill)01moNo flagsIntermediate
anti-slop125moReviewBeginner
docs-write226moNo flagsBeginner
content-research-writer1510moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

anti-slop

rand

Comprehensive toolkit for detecting and eliminating "AI slop" - generic, low-quality AI-generated patterns in natural language, code, and design. Use when reviewing or improving content quality, preventing generic AI patterns, cleaning up existing content, or enforcing quality standards in writing, code, or design work.

1244

docs-write

metabase

Write documentation following Metabase's conversational, clear, and user-focused style. Use when creating or editing documentation files (markdown, MDX, etc.).

22139

content-research-writer

ComposioHQ

Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership.

15111

documentation-review

stacklok

Reviews documentation for factual accuracy

1194

doc-coauthoring

anthropics

Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.

1686

research-grants

davila7

Write competitive research proposals for NSF, NIH, DOE, and DARPA. Agency-specific formatting, review criteria, budget preparation, broader impacts, significance statements, innovation narratives, and compliance with submission requirements.

694

Search skills

Search the agent skills registry