Agent skill

Workers Code Review

by try-works in try-works/role-model

Reviews Workers and Cloudflare Developer Platform code for type correctness, API usage, and configuration validity.

Custom licenceAuto-check passedDevelopment

Install Workers Code Review

skills CLI
$ npx skills add try-works/role-model --skill workers-code-review -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install try-works/role-model workers-code-review --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/try-works/role-model.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/workers-code-review .claude/skills/workers-code-review && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
workers-code-review
GitHub stars
117
Token cost
~2.5k tokens
SKILL.md length
896 words
Files
4
Skills in repo
19
Repo updated
First seen
Licence
Custom licence

At a glance

Reviews Workers and Cloudflare Developer Platform code for type correctness, API usage, and configuration validity.

  • Works in 5 steps: Build Context → Categorize the Code → Validate with Tools → …
  • Tasks that involve Code review
  • SKILL.md covers Reference Sources, Review Process, Anti-patterns to Flag and What NOT to Flag, plus 2 more sections
  • Calls npx, npm and git

What it does

Workers Code Review is an agent skill from try-works/role-model. Reviews Workers and Cloudflare Developer Platform code for type correctness, API usage, and configuration validity. Load when reviewing TypeScript/JavaScript using Workers APIs, wrangler.jsonc/toml config, or Cloudflare bindings (KV, R2, D1, Durable Objects, Queues, Vectorize, AI, Hyperdrive).

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `common-patterns.md`, `workers-types.md` and `wrangler-config.md`).

It sits in Development, covering Code review. It works with Cloudflare Workers, Cloudflare, Cloudflare Durable Objects and JavaScript. The repository describes itself as: role-model is a protocol for assigning the right model for the right job. Use local and cloud AI together, or route between several cloud providers.

When your agent uses it

  • Tasks that involve Code review

Example prompts

  • “Use the workers-code-review skill to review Workers and Cloudflare Developer Platform code for type correctness, API usage, and configuration validity”
  • “/workers-code-review”

Requirements

  • Node.js

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Build Context
  2. Categorize the Code
  3. Validate with Tools
  4. Check Against Rules
  5. Assess Risk

What it can do on your machine

Read from SKILL.md and the folder at commit de1c04a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx
    • npm
    • git
    • wrangler

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, npm, git and wrangler, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Workers Code Review loads about 2.5k tokens when it runs. Until then it costs about 79 tokens; SKILL.md has 896 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~79
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 896 words (~2,483 tokens).

“Your knowledge of Cloudflare Workers APIs, types, and wrangler configuration may be outdated. Prefer retrieval over pre-training for any Workers code review task.”

— opening of SKILL.md by try-works, Custom licence
name
workers-code-review

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files in .agents/skills/workers-code-review of try-works/role-model.

  • SKILL.md
  • common-patterns.md
  • workers-types.md
  • wrangler-config.md

Open the folder on GitHubat commit de1c04a

Compare with similar skills

Workers Code Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Workers Code Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Workers Code Review this skilltry-works/role-model117—~2.5kAutomated safety check: PassCustom licence
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Code Reviewerjewbetcha/opentrace1162 repos~1.1kAutomated safety check: NotesMIT
Cross-Language Coding Standardszereight/gitlab-mcp2k1 repos~1.4kAutomated safety check: PassMIT
Coding Agentmastra-ai/mastra29k—~2.3kAutomated safety check: PassCustom licence
Cf Compatibility Checkelliothux/open-compute1.6k—~3.5kAutomated safety check: PassApache-2.0

Similar skills

  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Code Reviewer

    jewbetcha/opentrace

    Comprehensive code review skill for TypeScript, JavaScript, Python, Swift, Kotlin, Go.

    116 GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check: notes
  • Shared reference for naming, function size, complexity and error handling rules that reviewer agents apply across TypeScript, Python, Go, Rust, Java, C# and Swift.

    2k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • Coding Agent

    mastra-ai/mastra

    Authoring playbook for building agents that write, edit, review, or refactor code.

    29k GitHub stars~2.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Cf Compatibility Check

    elliothux/open-compute

    Review branch and working-tree implementation changes for conformance with open-compute's Cloudflare Workers runtime target under explicit single-machine self-host exclusions.

    1.6k GitHub stars~3.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Fallow Review

    fallow-rs/fallow-skills

    Review AI-generated or human-written code changes with fallow's graph-grounded review brief.

    129 GitHub stars~5.4k tokensUpdated today
    DevelopmentAuto-check passed

More from try-works/role-model

All 19 skills in this repo
  • E2E Testing Patterns

    try-works/role-model

    Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs, improve confidence, and enable fast deployment.

    117 GitHub starsUsed in 13 repos~990 tokens
    Auto-check passed
  • UI Design System

    try-works/role-model

    React UI component systems with TailwindCSS + Radix + shadcn/ui.

    117 GitHub stars~5k tokensUpdated today
    Auto-check passed
  • Swiss Design

    try-works/role-model

    Apply a Swiss International Style design system using Tailwind CSS.

    117 GitHub starsUsed in 1 repo~3.2k tokens
    Auto-check passed
  • Contributing

    try-works/role-model

    A skill your agent uses when contributing to the Cloudflare Docs repository — writing or editing documentation pages, choosing content types or components, adding changelog entries, reviewing docs…

    117 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Effect V3 To V4

    try-works/role-model

    A skill your agent uses when migrating a codebase from Effect v3 to Effect v4, upgrading effect or any @effect/ package across the v3/v4 boundary.

    117 GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Turnstile Spin

    try-works/role-model

    Set up Cloudflare Turnstile end-to-end in a project — scan the codebase, create the widget via the Cloudflare API, deploy the managed siteverify Worker, write the frontend snippets, validate, and…

    117 GitHub stars~3.8k tokensUpdated today
    Auto-check passed

Categories

Questions about Workers Code Review

What does Workers Code Review do?

Reviews Workers and Cloudflare Developer Platform code for type correctness, API usage, and configuration validity. Workers Code Review is an agent skill from try-works/role-model. Reviews Workers and Cloudflare Developer Platform code for type correctness, API usage, and configuration validity.

When should I use Workers Code Review?

Workers Code Review fits situations like: tasks that involve Code review.

How do I install Workers Code Review in Claude Code?

Run `npx skills add try-works/role-model --skill workers-code-review -a claude-code`. Or copy the skill folder (.agents/skills/workers-code-review in try-works/role-model) into .claude/skills/workers-code-review in your project. Claude Code loads it when a task matches its description.

How do I install Workers Code Review in Codex?

Run `npx skills add try-works/role-model --skill workers-code-review -a codex`. Or copy the skill folder (.agents/skills/workers-code-review in try-works/role-model) into .agents/skills/workers-code-review in your project. Codex loads it when a task matches its description.

Can I use Workers Code Review in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add try-works/role-model --skill workers-code-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/workers-code-review, .gemini/skills/workers-code-review, .github/skills/workers-code-review and .opencode/skills/workers-code-review in your project.

What does Workers Code Review need to run?

Going by SKILL.md and its folder, Workers Code Review needs the command-line tools its instructions call (npx, npm, git and wrangler). Our summary lists: Node.js.

Does Workers Code Review access the network?

SKILL.md contains no URLs. Its commands use npx, npm and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Workers Code Review safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Workers Code Review use?

Workers Code Review has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Workers Code Review use?

About 2.5k tokens (SKILL.md is roughly 9.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Workers Code Review?

Skills that share tags, products or a category with Workers Code Review: Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Code Reviewer (jewbetcha/opentrace, 116 stars), Cross-Language Coding Standards (zereight/gitlab-mcp, 2k stars) and Coding Agent (mastra-ai/mastra, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Workers Code Review?

try-works (a GitHub user) maintains it in try-works/role-model, which has 117 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 6, 2026.

Source: try-works/role-model on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.