Code Quality
waybarrios/opencode-power-pack
Agents should invoke this skill for code reviews, linting/formatting setup, maintainability checks, complexity concerns, warning cleanup, coding standards, or quality gates in Rust, TypeScript…
Review guidance for the speed of Oxc linter rules written in Rust: narrow node-kind checks, cheap tests first, deferred diagnostics and the smallest possible iteration.
$ npx skills add oxc-project/oxc --skill performance-lint-rules -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install oxc-project/oxc performance-lint-rules --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/oxc-project/oxc.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/performance-lint-rules .claude/skills/performance-lint-rules && rm -rf skills-srcUse ~/.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/
Install the "performance-lint-rules" agent skill from https://github.com/oxc-project/oxc/tree/main/.agents/skills/performance-lint-rules into .claude/skills/performance-lint-rules/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-lint-rules", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/oxc-project/oxc/tree/main/.agents/skills/performance-lint-rulesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add oxc-project/oxc --skill performance-lint-rules -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install oxc-project/oxc performance-lint-rules --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/oxc-project/oxc.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/performance-lint-rules .agents/skills/performance-lint-rules && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "performance-lint-rules" agent skill from https://github.com/oxc-project/oxc/tree/main/.agents/skills/performance-lint-rules into .agents/skills/performance-lint-rules/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-lint-rules", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add oxc-project/oxc --skill performance-lint-rules -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install oxc-project/oxc performance-lint-rules --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/oxc-project/oxc.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/performance-lint-rules .cursor/skills/performance-lint-rules && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "performance-lint-rules" agent skill from https://github.com/oxc-project/oxc/tree/main/.agents/skills/performance-lint-rules into .cursor/skills/performance-lint-rules/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-lint-rules", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/oxc-project/oxc.git --path .agents/skills/performance-lint-rules--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add oxc-project/oxc --skill performance-lint-rules -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install oxc-project/oxc performance-lint-rules --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/oxc-project/oxc.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/performance-lint-rules .gemini/skills/performance-lint-rules && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "performance-lint-rules" agent skill from https://github.com/oxc-project/oxc/tree/main/.agents/skills/performance-lint-rules into .gemini/skills/performance-lint-rules/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-lint-rules", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install oxc-project/oxc performance-lint-rulesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add oxc-project/oxc --skill performance-lint-rules -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/oxc-project/oxc.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/performance-lint-rules .github/skills/performance-lint-rules && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "performance-lint-rules" agent skill from https://github.com/oxc-project/oxc/tree/main/.agents/skills/performance-lint-rules into .github/skills/performance-lint-rules/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-lint-rules", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add oxc-project/oxc --skill performance-lint-rules -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install oxc-project/oxc performance-lint-rules --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/oxc-project/oxc.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/performance-lint-rules .opencode/skills/performance-lint-rules && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "performance-lint-rules" agent skill from https://github.com/oxc-project/oxc/tree/main/.agents/skills/performance-lint-rules into .opencode/skills/performance-lint-rules/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-lint-rules", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
performance-lint-rulesReview guidance for the speed of Oxc linter rules written in Rust: narrow node-kind checks, cheap tests first, deferred diagnostics and the smallest possible iteration.
This skill is for reviewing Rust rule code under crates/oxc_linter/src/rules/, or for deliberately auditing those rules for speed. The first guideline is to put node kind checks at a rule's entry point: when a rule handles only a few syntactic forms, run starts with an AstKind match and returns for everything else, which lets lintgen derive narrower NODE_TYPES and stops the rule from being dispatched on unrelated nodes. After changing node kinds, regenerate the runner with cargo lintgen and consider assert_rule_runs_on_node_types coverage. A rule should implement only the entry point it needs, since defining both run and run_once blocks narrowing.
The other guidelines are to order checks from cheapest and most selective to most expensive, for example a matches! on a small string set before semantic lookups, or checking that a JSX attribute starts with aria- before lowercasing it. Diagnostics, labels, fix data, ancestors and symbols should wait until a syntactic candidate could really report, since most files have no lint errors. Iterate over the smallest set possible, using run_once for whole-file passes, symbols instead of AST nodes, and targeted scoping lookups such as get_binding and root_unresolved_references instead of scanning every binding or identifier reference.
Read from SKILL.md and the folder at commit 4a28c91. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
cargoFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Oxc Lint Rule Performance Review loads about 1.1k tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 559 words of instructions outside code blocks.
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.
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.
The full file from oxc-project/oxc at commit 4a28c91, republished under its MIT licence (© oxc-project). 559 words, ~1,071 tokens.
.claude/skills/performance-lint-rules/SKILL.md (or your agent's skills folder).Put node kind checks at the rule entry point. If a rule only handles a few syntactic forms, start run with an AstKind match and return for all other nodes, even when a helper filters again internally. This lets lintgen derive narrower NODE_TYPES and avoids dispatching the rule on unrelated AST nodes.
After changing the relevant node kinds for a rule, regenerate the rule runner with cargo lintgen and consider adding or updating assert_rule_runs_on_node_types coverage in crates/oxc_linter/src/rule.rs.
Implement only the needed entry point. If a rule is a whole-file pass over semantic indexes, use run_once by itself. Implementing both run and run_once prevents useful node-type narrowing.
Order checks from cheapest and most selective to most expensive. Return quickly for common non-matches before doing semantic lookups, allocations, or deeper traversal.
matches! before semantic checks.aria- before lowercasing it.key prop before looking up callback parameter symbols.source_range(span).contains("this") before running a visitor that only finds this.Most files do not contain lint errors. Do not prepare diagnostics, labels, help text, fix data, ancestors, symbols, JSX element types, or replacement strings until the rule has found a syntactic candidate that could actually report.
run_once when the rule only needs a whole-file pass and does not need to run on every node.ctx.scoping().get_binding(scope_id, name) instead of scanning every binding in get_bindings(scope_id).ctx.scoping().root_unresolved_references().get(name) for the small set of relevant names instead of visiting every IdentifierReference.AstKind is not the expected identifier or member access.Use precomputed FxHashSets only when many symbols need the same membership test. Prefer keyed semantic lookup when each lookup already has an exact name.
Avoid regular expressions when byte or string checks are enough: contains, starts_with, ends_with, or matching a small fixed set.
For hot comment or string scanning paths, prefer a cheap memchr or byte search to reject most inputs, then parse only candidates. Preserve regex semantics when replacing one, especially identifier boundaries, optional prefixes, and multiline whitespace.
Vecs and Strings when iteration or borrowed data is enough.starts_with_ignore_case before calling cow_to_ascii_lowercase.as_bytes().array_windows() for simple ASCII patterns like escape sequences.HashSet just to check names that can be looked up directly in scoping data.© oxc-project, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/performance-lint-rules of oxc-project/oxc.
Open the folder on GitHubat commit 4a28c91
Oxc Lint Rule Performance 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Oxc Lint Rule Performance Review this skilloxc-project/oxc | 23k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Code Qualitywaybarrios/opencode-power-pack | 533 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Code Review ChecklistshareAI-lab/learn-claude-code | 78k | 5 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Rust Best Practicesfarm-fe/farm | 5.6k | 3 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Worktrunk Tend CI Guidancemax-sixty/worktrunk | 9k | — | ~6.4k | Automated safety check: Pass | Custom licence | |
| Doc Commentsbiomejs/biome | 26k | — | ~3k | Automated safety check: Pass | Apache-2.0 |
waybarrios/opencode-power-pack
Agents should invoke this skill for code reviews, linting/formatting setup, maintainability checks, complexity concerns, warning cleanup, coding standards, or quality gates in Rust, TypeScript…
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.
farm-fe/farm
Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook.
max-sixty/worktrunk
Adds Worktrunk-specific rules to the tend CI workflows: Codecov polling, Rust test commands, labels and review criteria for pull requests handled in CI.
biomejs/biome
A skill your agent uses whenever writing or editing Rust //, ///, or //!
Serial-Studio/Serial-Studio
Qt6/C++ deep code review for Serial Studio. An agent skill from Serial-Studio/Serial-Studio.
oxc-project/oxc
Reviews and accepts Insta snapshot changes in the Oxc repo from the command line, one reviewed snapshot at a time, instead of using the interactive UI.
Works with
Categories
Review guidance for the speed of Oxc linter rules written in Rust: narrow node-kind checks, cheap tests first, deferred diagnostics and the smallest possible iteration. This skill is for reviewing Rust rule code under crates/oxc_linter/src/rules/, or for deliberately auditing those rules for speed. The first guideline is to put node kind checks at a rule's entry point: when a rule handles only a few syntactic forms, run starts with an AstKind match and returns for everything else, which lets lintgen derive narrower NODE_TYPES and stops the rule from being dispatched on unrelated nodes.
Oxc Lint Rule Performance Review fits situations like: reviewing a new or changed Oxc linter rule for speed; auditing existing rules under crates/oxc_linter for performance improvements; narrowing which AST node types a rule runs on.
Run `npx skills add oxc-project/oxc --skill performance-lint-rules -a claude-code`. Or copy the skill folder (.agents/skills/performance-lint-rules in oxc-project/oxc) into .claude/skills/performance-lint-rules in your project. Claude Code loads it when a task matches its description.
Run `npx skills add oxc-project/oxc --skill performance-lint-rules -a codex`. Or copy the skill folder (.agents/skills/performance-lint-rules in oxc-project/oxc) into .agents/skills/performance-lint-rules in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add oxc-project/oxc --skill performance-lint-rules -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/performance-lint-rules, .gemini/skills/performance-lint-rules, .github/skills/performance-lint-rules and .opencode/skills/performance-lint-rules in your project.
Going by SKILL.md and its folder, Oxc Lint Rule Performance Review needs the command-line tools its instructions call (cargo). Our summary lists: The Oxc repository with a Rust toolchain for cargo lintgen.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
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.
Oxc Lint Rule Performance Review is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Oxc Lint Rule Performance Review: Code Quality (waybarrios/opencode-power-pack, 533 stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Rust Best Practices (farm-fe/farm, 5.6k stars) and Worktrunk Tend CI Guidance (max-sixty/worktrunk, 9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
oxc-project (a GitHub organization) maintains it in oxc-project/oxc, which has 22,966 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 8, 2026.
Source: oxc-project/oxc on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.