Source profileQuality 85/100

QwenLM/qwen-code/packages/core/src/skills/bundled/simplify/SKILL.md

simplify

Review recent code changes for reuse, code quality, and efficiency, then directly apply straightforward cleanup improvements. Use when the user wants a post-implementation cleanup pass, pre-PR polish, or asks to simplify/refine recent changes. Invoke with `/simplify` or `/simplify <focus>`.

Source repository stars
26,709
Declared platforms
0
Static risk flags
1
Last source update
2026-08-05
Source checked
2026-08-05

Decision brief

What it does—and where it fits

You are running a structured cleanup workflow over recent code changes. Your goal is not just to comment on the code, but to safely improve it.

Best for

  • Use when the user wants a post-implementation cleanup pass, pre-PR polish, or asks to simplify/refine recent changes.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/QwenLM/qwen-code --skill "packages/core/src/skills/bundled/simplify"
Safe inspection promptEditorial

Inspect the Agent Skill "simplify" from https://github.com/QwenLM/qwen-code/blob/da37110e601ad63f6c20170683c4f8264a21dfd8/packages/core/src/skills/bundled/simplify/SKILL.md at commit da37110e601ad63f6c20170683c4f8264a21dfd8. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Step 1: Identify the review scope

    Determine which files and changes to review.

    First inspect the current git state.If there are staged changes, review against HEAD so both staged and unstaged tracked changes are included.Otherwise review the current uncommitted diff.
  2. 02

    Step 2: Launch three review passes in parallel

    Use the agent tool and launch all review passes in a single response so they run concurrently. Set subagenttype: "general-purpose" and runinbackground: false on every call — each pass must return its findings inline. Do NOT fork them: never set subagenttype: "fork". A fork runs…

    existing utilities or helpers that should be reusedduplicated logic introduced in new codeinline logic that should delegate to an existing abstraction
  3. 03

    Pass 1: Code Reuse Review

    Look for opportunities to reduce duplication and reuse existing code:

    existing utilities or helpers that should be reusedduplicated logic introduced in new codeinline logic that should delegate to an existing abstraction
  4. 04

    Pass 2: Code Quality Review

    Look for maintainability issues:

    copy-paste variants that should be unifiedparameter sprawl or awkward APIsredundant state or indirection
  5. 05

    Pass 3: Efficiency Review

    Look for wasteful work and unnecessary overhead:

    repeated work that can be memoized, cached, or removedserial work that can be parallelized safelyunnecessary scans, allocations, reads, or traversals

Permission review

Static risk signals and limitations

Writes files

medium · line 88

The documentation asks the agent to create, modify, or delete local files.

remove redundant code, but only after a repository-wide search confirms it has no remaining callers

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score85/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars26,709SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
QwenLM/qwen-code
Skill path
packages/core/src/skills/bundled/simplify/SKILL.md
Commit
da37110e601ad63f6c20170683c4f8264a21dfd8
License
Apache-2.0
Collected
2026-08-05
Default branch
main
View the original SKILL.md

Simplify Recent Changes

You are running a structured cleanup workflow over recent code changes. Your goal is not just to comment on the code, but to safely improve it.

Step 1: Identify the review scope

Determine which files and changes to review.

  1. First inspect the current git state.
  2. If there are staged changes, review against HEAD so both staged and unstaged tracked changes are included.
  3. Otherwise review the current uncommitted diff.
  4. If there is no git diff, fall back to git ls-files --modified --others --exclude-standard so the scope respects .gitignore (this keeps build output, node_modules, and other ignored paths out of the cleanup).
  5. If that is still empty, fall back to files edited in this conversation.
  6. If you still cannot identify a meaningful scope, stop and tell the user there are no recent changes to simplify.

Preferred commands:

  • git diff --name-only
  • git diff --staged --name-only
  • git diff HEAD --name-only
  • git diff
  • git diff HEAD
  • git status --short

Use git diff HEAD whenever staged changes exist. Otherwise use git diff.

Step 2: Launch three review passes in parallel

Use the agent tool and launch all review passes in a single response so they run concurrently. Set subagent_type: "general-purpose" and run_in_background: false on every call — each pass must return its findings inline. Do NOT fork them: never set subagent_type: "fork". A fork runs fire-and-forget and never returns its findings, so there would be nothing to aggregate in Step 3. Each pass must receive the same review scope and diff command. These passes are read-only: each one inspects and reports findings only and must not modify files — all edits happen later in Step 4.

Keep each review prompt short and focused. Do not paste the full diff into the prompt. Tell each pass to read the diff itself and inspect only files relevant to its findings.

Pass 1: Code Reuse Review

Look for opportunities to reduce duplication and reuse existing code:

  • existing utilities or helpers that should be reused
  • duplicated logic introduced in new code
  • inline logic that should delegate to an existing abstraction
  • ad-hoc helpers for string, path, env, parsing, or type checks when a project utility already exists

Pass 2: Code Quality Review

Look for maintainability issues:

  • copy-paste variants that should be unified
  • parameter sprawl or awkward APIs
  • redundant state or indirection
  • abstraction leaks
  • stringly-typed code that should be modeled more clearly
  • unnecessary nesting
  • unnecessary comments that explain what instead of why
  • naming or structure that does not match surrounding code

Pass 3: Efficiency Review

Look for wasteful work and unnecessary overhead:

  • repeated work that can be memoized, cached, or removed
  • serial work that can be parallelized safely
  • unnecessary scans, allocations, reads, or traversals
  • hot-path blocking work
  • redundant no-op updates
  • overly broad operations when a narrower one would work
  • existence-check patterns that introduce TOCTOU style waste or risk

Step 3: Aggregate findings

Wait for all three passes to finish, then merge overlapping findings.

Prioritize fixes that are:

  • low risk
  • local in scope
  • clearly aligned with existing project patterns
  • easy to validate with tests or targeted commands

Do not force a cleanup if it would require speculative architectural changes.

Step 4: Apply straightforward improvements

Directly implement safe cleanup improvements.

Examples of good automatic fixes:

  • replace duplicated logic with an existing helper
  • remove redundant code, but only after a repository-wide search confirms it has no remaining callers
  • simplify conditionals or control flow
  • tighten loops or repeated work
  • reduce unnecessary state or wrapper code
  • remove low-value comments
  • align code with nearby conventions

Skip items that are uncertain, risky, or too invasive. Do not spend time debating rejected findings; simply move on.

Step 5: Verify the cleanup

After making changes:

  1. Run focused tests for the changed area when they exist.
  2. Run the relevant project quality checks you can identify for the touched code.
  3. If there are no applicable tests, at least run a targeted build, typecheck, or lint command that covers the edited files.

Prefer targeted verification over whole-repo commands unless the project only exposes repo-wide checks.

Additional focus

If the user supplied extra instructions after /simplify, treat them as additional review focus and prioritize them alongside the default dimensions.

The raw user invocation appears below when present. Use it to extract any extra focus such as performance, duplication, rendering, API clarity, testability, or naming consistency.

Alternatives

Compare before choosing

Computed 10043,034

coreyhaines31/marketingskills

ab-testing

When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program

Computed 10023,835

alirezarezvani/claude-skills

app-store-optimization

App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist

Computed 1004,944

dotnet/skills

migrate-vstest-to-mtp

Migrates .NET test projects from VSTest to Microsoft.Testing.Platform (MTP). Use when user asks to "migrate to MTP", "switch from VSTest", "enable Microsoft.Testing.Platform", "use MTP runner", set OutputType=Exe only for test projects in Directory.Build.props, or mentions EnableMSTestRunner, EnableNUnitRunner, or UseMicrosoftTestingPlatformRunner. USE FOR: MTP behavioral differences vs VSTest (exit code 8, zero tests discovered, --ignore-exit-code, TESTINGPLATFORM_EXITCODE_IGNORE); centralizing

Computed 100165

JasonColapietro/suede-creator-skills

suede-ab-testing

Suede-owned experimentation discipline for hypotheses, sample sizing, test duration, significance, and repeatable experiment programs. Use when comparing variants, deciding whether a result is reliable, or building an experiment backlog and cadence. NOT FOR: analytics instrumentation (use suede-analytics), post-click conversion diagnosis (use suede-site-alchemy), or writing the variant copy itself (use suede-copy).