Community生产力与协作github.com

paulrberg/code-simplify

用于简化最近更改的代码:清理、重构以提高清晰度、降低复杂度、改进可读性或可维护性。

code-simplify 是什么?

此技能(paulrberg/code-simplify)专注于简化近期变更的代码。它协助开发者执行代码清理、重构以提升清晰度、降低复杂度、改善可读性或可维护性。该技能适用于多种AI编码代理(如Claude Code、Cursor、Codex等),通过分析最近修改的代码段,提供优化建议或直接生成简化后的代码。其工作方式是:用户提供变更上下文,技能基于最佳实践生成重构后的代码块,确保功能保持不变的同时提升质量。它能有效应对代码债务、混乱逻辑或不一致命名等问题,使代码更易于理解和维护。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/paulrberg/agent-skills/tree/main/skills/code-simplify

Installed? Explore more 生产力与协作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

code-simplify 是做什么的?

用于简化最近更改的代码:清理、重构以提高清晰度、降低复杂度、改进可读性或可维护性。

Individual skills in this repo

This repo contains 10 individual skills — each has its own dedicated page.

paulrberg/biome-js

This skill should be used when the user asks to "configure Biome", "extend biome config", "set up BiomeJS", "add biome overrides", "biome lint-staged", "fix biome errors", or mentions biome.jsonc, Biome linting, or Biome formatting configuration.

paulrberg/bump-deps

Use for dependency updates: update/bump deps, npm/pnpm/yarn/bun package upgrades, outdated checks, package.json updates, or taze.

paulrberg/bump-release

Use for release versioning: bump/cut/tag a release, bump version, create a release, changelog updates, or version tagging.

paulrberg/cli-gh

Use for GitHub CLI automation: gh commands, repo info, workflow triggers, GitHub search, codespaces, PR status, issues, repo browsing, or command-line GitHub tasks.

paulrberg/code-polish

Use for combined simplification and review: polish code, clean up and review/fix, simplify then review, refactor and review, or full code polish on recent changes.

paulrberg/code-review

Use for code/PR review, audits, bug/security checks, reviewing diffs or changes, and finding issues in code.

paulrberg/effect-ts

Use for nontrivial Effect-TS work including services/layers, typed errors, Schema/JSONSchema, Config, runtime/concurrency, @effect/vitest, @effect/ai, or @prb/effect-next.

paulrberg/md-docs

Use ONLY to update or initialize README.md, CLAUDE.md, or AGENTS.md. Do not trigger for other Markdown files.

paulrberg/tailwind-css

Use for Tailwind v4 styling: add/fix classes, configure or migrate Tailwind, use tailwind-variants, or tw-animate-css.

paulrberg/yeet

Use for GitHub PR/issue/discussion workflows: create/update PRs or issues, post comments, start discussions; triggers include create/open PR, file/update issue, yeet.

相关技能