๐Ÿงน
QualityRust

Code Simplifier

by rtk-ai

Code Simplifier is a Quality skill for Claude Code, published by rtk-ai in rtk.

75.9K stars4.8K forkson rtk-ai/rtkAdded 2026/08/13Repository updated 2026/08/13
agentic-codingai-codinganthropicclaude-codeclicommand-line-toolcost-reductiondeveloper-toolsllmopen-sourceproductivityrusttoken-optimization
Install in seconds
Install Code Simplifier
Copy Code Simplifier into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/rtk-ai/rtk/tree/develop/.claude/skills/code-simplifier ~/.claude/skills/code-simplifier

Requires Node.js. Downloads this skill only โ€” not the rest of the repository โ€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/rtk-ai/rtk.git

Clones the whole repository, then copy the skillโ€™s own directory into your skills folder yourself.

In this catalog

Source file
.claude/skills/code-simplifier/SKILL.md in rtk-ai/rtk
Installs to
~/.claude/skills/code-simplifier
Collection
One of 12 skills cataloged from this repository
Category
Quality โ€” 1354 skills

What Code Simplifier does

Code Simplifier reviews Rust code for idiomatic simplification patterns, reducing over-engineering and unnecessary allocations without changing behavior. Use it to apply Rust idioms like iterator chains, early returns, and Option/Result chaining while respecting project constraints.

Code Simplifier is cataloged under Quality on DirSkills. Code Simplifier comes from a repository tagged agentic-coding, ai-coding, anthropic, claude-code and cli.

Documentation

README

RTK Code Simplifier

Review and simplify Rust code in RTK while respecting the project's constraints.

Constraints (never simplify away)

  • LazyLock regex โ€” cannot be moved inside functions even if "simpler"
  • .context() on every ? โ€” verbose but mandatory
  • Fallback to raw command โ€” never remove even if it looks like dead code
  • Exit code propagation โ€” never simplify to Ok(())
  • #[cfg(test)] mod tests โ€” never remove test modules

Simplification Patterns

1. Iterator chains over manual loops

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Code Simplifier

  • What else does rtk-ai publish alongside Code Simplifier?

    Code Simplifier is one of 12 skills that DirSkills catalogs from rtk-ai/rtk, the repository it ships in. Its siblings there include Issue Triage, PR Review and PR Triage. Each one is a separate skill with its own page in this directory, installs the same way Code Simplifier does, and is maintained by rtk-ai in that same repository. The rest of the collection is listed on the rtk-ai/rtk page.

  • How does Code Simplifier compare to other Quality skills?

    Code Simplifier ranks #33 by stars among the 1354 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Code Simplifier against them. Open each page to compare what they document and how they install.

More from rtk-ai/rtk

Code Simplifier is one of 12 skills cataloged on DirSkills from rtk-ai/rtk.

See all 12 skills โ†’
๐Ÿ”
3w ago

Issue Triage

Issue Triage audits open issues, categorizes them, detects duplicates, cross-references pull requests, assesses risk, and posts comments. Use it to triage issues manually or proactively when many open issues need attention.
Automation
75.9K4.8K
๐Ÿ”
3w ago

PR Review

PR Review batches open pull requests in order of complexity, checks merge readiness (conflicts, CLA, reviews), reads diffs, and asks for explicit approval before merging. It also posts comments on blocked PRs.
Quality
75.9K4.8K
๐Ÿ”
3w ago

PR Triage

PR Triage audits open pull requests, flags risks, and helps choose which PRs need deeper review. It can draft and post review comments, with language handling for French or English.
Quality
75.9K4.8K
โฑ๏ธ
3w ago

Performance

Performance analyzes RTK CLI startup time, memory usage, and token savings to detect and fix performance regressions. Use it after filter changes, dependency additions, or before release to verify the CLI meets <10ms startup, <5MB memory, and 60-90% token savings targets.
Quality
75.9K4.8K
๐Ÿงช
3w ago

RTK TDD

RTK TDD enforces a Red-Green-Refactor test-driven development workflow for Rust projects, auto-triggering on implementation, testing, refactoring, and bug fixing tasks. It provides Rust-idiomatic testing patterns using anyhow/thiserror, cfg(test), and Arrange-Act-Assert.
Quality
75.9K4.8K
๐Ÿ”
3w ago

RTK Triage

RTK Triage orchestrates issue and PR triage, then cross-references the data to detect overlapping PRs, security gaps, P0 bugs without PRs, and internal conflicts, saving a report to claudedocs.
Quality
75.9K4.8K