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…
Run comprehensive Rust code quality checks including compilation, linting, documentation, and tests.
$ npx skills add r3bl-org/r3bl-open-core --skill check-code-quality -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install r3bl-org/r3bl-open-core check-code-quality --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/r3bl-org/r3bl-open-core.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/check-code-quality .claude/skills/check-code-quality && 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 "check-code-quality" agent skill from https://github.com/r3bl-org/r3bl-open-core/tree/main/.agents/skills/check-code-quality into .claude/skills/check-code-quality/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "check-code-quality", 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/r3bl-org/r3bl-open-core/tree/main/.agents/skills/check-code-qualityType 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 r3bl-org/r3bl-open-core --skill check-code-quality -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install r3bl-org/r3bl-open-core check-code-quality --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/r3bl-org/r3bl-open-core.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/check-code-quality .agents/skills/check-code-quality && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "check-code-quality" agent skill from https://github.com/r3bl-org/r3bl-open-core/tree/main/.agents/skills/check-code-quality into .agents/skills/check-code-quality/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "check-code-quality", 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 r3bl-org/r3bl-open-core --skill check-code-quality -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install r3bl-org/r3bl-open-core check-code-quality --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/r3bl-org/r3bl-open-core.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/check-code-quality .cursor/skills/check-code-quality && 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 "check-code-quality" agent skill from https://github.com/r3bl-org/r3bl-open-core/tree/main/.agents/skills/check-code-quality into .cursor/skills/check-code-quality/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "check-code-quality", 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/r3bl-org/r3bl-open-core.git --path .agents/skills/check-code-quality--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 r3bl-org/r3bl-open-core --skill check-code-quality -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install r3bl-org/r3bl-open-core check-code-quality --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/r3bl-org/r3bl-open-core.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/check-code-quality .gemini/skills/check-code-quality && 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 "check-code-quality" agent skill from https://github.com/r3bl-org/r3bl-open-core/tree/main/.agents/skills/check-code-quality into .gemini/skills/check-code-quality/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "check-code-quality", 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 r3bl-org/r3bl-open-core check-code-qualityInstalls 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 r3bl-org/r3bl-open-core --skill check-code-quality -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/r3bl-org/r3bl-open-core.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/check-code-quality .github/skills/check-code-quality && 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 "check-code-quality" agent skill from https://github.com/r3bl-org/r3bl-open-core/tree/main/.agents/skills/check-code-quality into .github/skills/check-code-quality/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "check-code-quality", 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 r3bl-org/r3bl-open-core --skill check-code-quality -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install r3bl-org/r3bl-open-core check-code-quality --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/r3bl-org/r3bl-open-core.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/check-code-quality .opencode/skills/check-code-quality && 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 "check-code-quality" agent skill from https://github.com/r3bl-org/r3bl-open-core/tree/main/.agents/skills/check-code-quality into .opencode/skills/check-code-quality/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "check-code-quality", 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.
check-code-qualityRun comprehensive Rust code quality checks including compilation, linting, documentation, and tests.
Check Code Quality is an agent skill from r3bl-org/r3bl-open-core. Run comprehensive Rust code quality checks including compilation, linting, documentation, and tests. Use after completing code changes and before creating commits.
Its SKILL.md is about 3.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `reference.md`).
It sits in Development, covering Code quality and Linting and formatting. It works with Rust. The repository describes itself as: TUI framework and developer productivity apps in Rust 🦀. The licence is Apache-2.0.
12 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 89db352. 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:
cargogitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
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.
Check Code Quality loads about 3.8k tokens when it runs. Until then it costs about 46 tokens; SKILL.md has 1,756 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 r3bl-org/r3bl-open-core at commit 89db352, republished under its Apache-2.0 licence (© r3bl-org). 1,756 words, ~3,752 tokens.
.claude/skills/check-code-quality/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Long-running verification commands (such as ./check.fish --test, ./check.fish --doc, ./check.fish --quick-doc, and ./check.fish --full) can take multiple minutes. To keep the primary conversation responsive and unblocked:
./check.fish --check (fast typecheck) and ./check.fish --fmt take only a few seconds and can run directly in the conversation.invoke_subagent with TypeName: "self").Run the comprehensive check script which handles everything automatically:
./check.fish --fullThis runs all checks in order: typecheck → build → clippy → tests → doctests → docs
Benefits of using check.fish --full:
rust-toolchain-update.fish to find a stable nightlyFor granular control, use individual commands:
| Command | What it runs |
|---|---|
./check.fish --check | cargo check (fast typecheck) |
./check.fish --build | cargo build (compile production) |
./check.fish --clippy | cargo clippy --all-targets (linting) |
./check.fish --fmt | cargo fmt + cargo rustdoc-fmt on git-changed files |
./check.fish --test | cargo test + doctests |
./check.fish --doc | cargo doc --no-deps (quick docs) |
./check.fish --quick-doc | cargo doc --no-deps (fastest, no staging/sync) |
./check.fish --full | All of the above + lychee link rot check |
If you need more control or want to run checks manually:
./check.fish --check
# (runs: cargo check)Quickly verifies the code compiles without generating artifacts.
./check.fish --build
# (runs: cargo build)Ensures production code builds successfully.
Invoke the write-documentation skill to format rustdoc comments using cargo rustdoc-fmt.
This formats markdown tables, converts inline links to reference-style, and ensures dashes, en dashes, or em dashes (-, –, or —) are not used to connect sentences/clauses (prefer separate sentences or colons/semicolons).
./check.fish --quick-doc
# (runs: cargo doc --no-deps, directly to serving dir - fastest for iteration)Verify there are no documentation build warnings or errors. Use --quick-doc for fast feedback
during development. Use --doc for final verification before commits (includes staging/sync).
If there are link warnings, use the /fix-intradoc-links command to resolve them.
Heading Anchor (Slug) Integrity:
If you modified any heading text (e.g., # My Heading), the automatically generated HTML anchor
(e.g., #my-heading) will change.
grep_search to find any existing links (e.g., path#old-slug)
that point to the old anchors and update them.cargo doc warns about many broken fragments, proactive searching
prevents "orphan" links in external documentation or complex intra-doc paths.CRITICAL: Never remove intra-doc links to fix warnings. When you encounter:
crate:: prefix (see write-documentation skill)#[cfg(any(test, doc))] visibility (see organize-modules skill)#[cfg(all(any(test, doc), target_os = "..."))]Links provide refactoring safety - cargo doc catches stale references. Converting to plain backticks removes this protection.
Included automatically in ./check.fish --full. Runs lychee on git-modified files to detect
broken external URLs in rustdoc comments.
cargo doc --no-deps (step 4) validates intra-doc links but not external HTTP/HTTPS URLs.
lychee fills that gap. Config in lychee.toml (repo root) excludes known false positives
(example file:// URIs, test fixture URLs, sites that block automated requests).
If lychee reports 404s, fix the URL by finding the new location. See the task file
task/add-lychee-to-detect-link-rot.md for the full categorization of findings.
Invoke the remove-crate-prefix skill to ensure the codebase follows the strict "Clean Imports over Inline Absolute Paths" rule before finalizing quality checks.
git diffInspect git diff on all modified files to audit line-by-line that only intended modifications were made and zero collateral formatting, lost comments, or doc section drift occurred.
./check.fish --clippy
# or invoke the `run-clippy` skillRuns clippy and enforces code style standards. You MUST fix all warnings. Do not just report them. If ./check.fish --clippy reports warnings, use cargo clippy --all-targets --fix --allow-dirty to auto-fix where possible, and manually fix any remaining warnings. Never ignore warnings during a quality check.
Invoke the concurrency-safety skill to verify thread-safety patterns.
Checklist:
drop(guard) calls explicit and as early as possible?MutexGuards passed and returned by value to prevent stale usage?AtomicU8Ext used instead of raw load/store?Invoke the check-bounds-safety skill to verify index and length handling.
Checklist:
Index and Length types used instead of raw usize?ArrayBoundsCheck used for buffer access and CursorBoundsCheck for positioning?TermRowDelta and TermColDelta used for relative cursor movement?index < length for access and index <= length for cursor.For every source file that is modified in the current working tree, invoke the check-test-coverage skill:
#[derive(Default)], or third-party macros like strum and clap)../check.fish --test
# (runs: cargo test --all-targets && cargo test --doc)Runs all tests (unit, integration, doctests).
organize-tests skill). Do NOT write redundant tests that merely re-verify standard library or third-party crate behaviors.subagent_type='test-runner' to fix failures.After major refactors or changes that affect process spawning, PTY tests, or async infrastructure, run the full test suite 20 times back-to-back to detect flaky regressions:
for i in {1..20}; do echo "=== Run $i/20 ===" && cargo test --all-targets -- --nocapture 2>&1 | grep -E "^test result:" | head -3 || { echo "FAILED on run $i"; exit 1; }; done && echo "ALL 20 RUNS PASSED"When to run:
generate_pty_test!, spawn_controlled_in_pty)For code with platform-specific #[cfg] gates (especially Unix-only code), verify Windows compatibility:
cargo rustc -p <crate_name> --target x86_64-pc-windows-gnu -- --emit=metadataThis checks that #[cfg(unix)] and #[cfg(not(unix))] gates compile correctly on Windows without needing a full cross-compiler toolchain.
When to run:
#[cfg(unix)] or #[cfg(target_os = "...")] attributesDirectToAnsi input handling or other Unix-specific codeA task, phase, or sub-phase is not complete until a manual review has been performed by the user. This is the final verification before marking a task as done.
thiserror and miette) instead of raw String for Result errors?.and_then(): Did you avoid using .and_then() for Option/Result combinators, preferring idiomatic ? operator early returns instead?-, –, or —) avoided when connecting sentences or clauses in doc comments? (Prefer separate sentences, colons, or semicolons).run_shell_command("codium-insider <file_path>") to open the first file with a checkbox.replace.The ./check.fish --full command includes automatic recovery from Internal Compiler Errors:
ICE detected → cleanup target/ → retry
↓
still ICE?
↓
escalate to rust-toolchain-update.fish
(searches 46 nightly candidates, validates each)
↓
new stable nightly installed
↓
retry checksThis is especially important since we use nightly Rust (for the parallel compiler frontend). Nightly toolchains occasionally have ICE bugs, and this automatic escalation finds a working version.
After running all checks, report results concisely to the user:
When performing quality checks or complex refactorings:
cargo check passes).fish -c "beep" when stopping for a mandatory review point
to alert the user../check.fish --check or cargo check before asking for a review.codium-insider review
workflow described in the "Final Step" section above for all modified files.For performance-critical code changes, consider also running:
cargo bench - Benchmarks (mark tests with #[bench])cargo flamegraph - Profiling (requires flamegraph crate)analyze-performance skill for flamegraph-based regression detectionThis skill includes additional reference material:
reference.md - Comprehensive guide to all cargo commands used in the quality checklist. Includes detailed explanations of what each command does, when to use it, common flags, and build optimizations (wild linker, parallel frontend, tmpfs). Read this when:.cargo/config.tomlcargo test --all-targets and cargo test --docwrite-documentation - For rustdoc formatting (step 3) and fixing doc link warnings (step 4)run-clippy - For linting and code style (step 8)concurrency-safety - For lock and atomic safety (step 9)check-bounds-safety - For type-safe index/length handling (step 10)check-test-coverage - For branch-targeted test coverage and zero bloat audit on modified files (step 11)analyze-performance - For optional performance checkstest-runner agent - For fixing test failures (step 12)/check - Explicitly invokes this skill© r3bl-org, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in .agents/skills/check-code-quality of r3bl-org/r3bl-open-core.
Open the folder on GitHubat commit 89db352
Check Code Quality 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 |
|---|---|---|---|---|---|---|
| Check Code Quality this skillr3bl-org/r3bl-open-core | 485 | — | ~3.8k | Automated safety check: Pass | Apache-2.0 | |
| Code Qualitywaybarrios/opencode-power-pack | 533 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Install Anti-Slop Oxlint Rulesdmmulroy/anti-slop | 5.2k | — | ~2.2k | Automated safety check: Pass | MIT | |
| Rust Best Practicesfarm-fe/farm | 5.6k | 3 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Add Opik Code Quality Hookcomet-ml/opik | 22k | — | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| LobeHub Alint Rule Set Maintenancelobehub/lobehub | 83k | — | ~1.9k | Automated safety check: Pass | Custom licence |
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…
dmmulroy/anti-slop
Installs, updates or migrates the vendored anti-slop Oxlint plugin in a repository, keeping local rule changes and the plugin's license and provenance files.
farm-fe/farm
Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook.
comet-ml/opik
Checklist for wiring a new linter into Opik's Code Quality pipeline: the four files to edit, the silent-failure gotchas and the pass/fail verification loop.
lobehub/lobehub
Maintains LobeHub's model-backed alint rule set: writing rules, removing false positives against real code, deciding warn versus error and tracking token cost.
fengshao1227/ccg-workflow
Scans code for complexity, long functions, duplicated blocks, naming problems and code smells with a Node script, then reports and suggests refactors.
r3bl-org/r3bl-open-core
Analyze log files by stripping ANSI escape sequences first. An agent skill from r3bl-org/r3bl-open-core.
r3bl-org/r3bl-open-core
Establish performance baselines and detect regressions using flamegraph analysis.
r3bl-org/r3bl-open-core
Apply type-safe bounds checking patterns using VPIndex/VPLength types instead of usize.
r3bl-org/r3bl-open-core
Publish a crate release to crates.io with changelog, standalone release notes, git tag, and GitHub release.
r3bl-org/r3bl-open-core
Apply private modules with public re-exports (barrel export) pattern for clean API design.
r3bl-org/r3bl-open-core
Audit and verify test coverage for a specific file or module, ensuring all custom logic branches, state transitions, and boundary conditions are covered while strictly eliminating dependency test…
Works with
Categories
Run comprehensive Rust code quality checks including compilation, linting, documentation, and tests. Check Code Quality is an agent skill from r3bl-org/r3bl-open-core. Run comprehensive Rust code quality checks including compilation, linting, documentation, and tests.
Check Code Quality fits situations like: tasks that involve Code quality; tasks that involve Linting and formatting.
Run `npx skills add r3bl-org/r3bl-open-core --skill check-code-quality -a claude-code`. Or copy the skill folder (.agents/skills/check-code-quality in r3bl-org/r3bl-open-core) into .claude/skills/check-code-quality in your project. Claude Code loads it when a task matches its description.
Run `npx skills add r3bl-org/r3bl-open-core --skill check-code-quality -a codex`. Or copy the skill folder (.agents/skills/check-code-quality in r3bl-org/r3bl-open-core) into .agents/skills/check-code-quality 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 r3bl-org/r3bl-open-core --skill check-code-quality -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/check-code-quality, .gemini/skills/check-code-quality, .github/skills/check-code-quality and .opencode/skills/check-code-quality in your project.
Going by SKILL.md and its folder, Check Code Quality needs the command-line tools its instructions call (cargo and git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. 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.
Check Code Quality is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.8k tokens (SKILL.md is roughly 15k 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 Check Code Quality: Code Quality (waybarrios/opencode-power-pack, 533 stars), Install Anti-Slop Oxlint Rules (dmmulroy/anti-slop, 5.2k stars), Rust Best Practices (farm-fe/farm, 5.6k stars) and Add Opik Code Quality Hook (comet-ml/opik, 22k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
r3bl-org (a GitHub organization) maintains it in r3bl-org/r3bl-open-core, which has 485 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on October 6, 2026.
Source: r3bl-org/r3bl-open-core on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.