跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Deslop

技能 活跃

Remove AI-generated code slop, unnecessary comments, and over-engineering from the current branch diff. Cleans up boilerplate, simplifies abstractions, and strips defensive code. Use when cleaning up code, simplifying, removing boilerplate, or before committing.

目的

To help developers maintain code quality by removing extraneous AI-generated code and over-engineering before committing, ensuring cleaner and more maintainable codebases.

功能

  • Identifies AI-generated code slop
  • Removes unnecessary comments and boilerplate
  • Simplifies over-engineered abstractions
  • Strips defensive code and backward-compatibility hacks
  • Guides manual code cleanup and verification

使用场景

  • Cleaning up code after AI generation
  • Simplifying complex or over-engineered code
  • Removing boilerplate code before committing
  • Ensuring code quality before a PR review

非目标

  • Performing automated code refactoring beyond cleanup
  • Fixing bugs unrelated to AI-generated bloat
  • Aggressively restructuring code or changing core logic
  • Replacing manual code review entirely

Security

  • warning:Unguarded Destructive OperationsWhile the skill aims to remove code 'slop', the process of manual code edits without explicit confirmation or a dry-run for the edits themselves could be considered a potentially destructive operation. The skill advises manual edits after review, but the process isn't explicitly guarded.

Scope

  • warning:Dry-run previewWhile the skill involves reviewing git diffs before making edits, there isn't an explicit 'dry-run' mode for the code cleanup edits themselves. The user reviews the diff, but the edits are applied directly.

Practical Utility

  • info:Usage examplesThe SKILL.md provides commands to show the diff and suggests manual edits, but lacks concrete end-to-end examples demonstrating input, invocation, and observable output for cleanup.
  • info:Edge casesThe 'Guardrails' section lists some general principles but does not detail specific failure modes (e.g., malformed input, dependency issues) with recovery steps.

安装

请先添加 Marketplace

/plugin marketplace add rohitg00/pro-workflow
/plugin install pro-workflow@pro-workflow

质量评分

85 /100
1 day ago 分析

信任信号

最近提交3 days ago
星标2.1k
状态
查看源代码

类似扩展

Moyu (摸鱼)

100

감지된 과잉 엔지니어링 패턴: (1) 사용자가 명시적으로 요청하지 않은 코드나 파일을 수정할 때 (2) 요청되지 않은 새로운 추상화 계층(클래스, 인터페이스, 팩토리, 래퍼)을 생성할 때 (3) 요청되지 않은 주석, 문서, JSDoc, 타입 주석을 추가할 때 (4) 요청되지 않은 새로운 종속성을 도입할 때 (5) 최소 편집 대신 파일 전체를 다시 작성할 때 (6) diff 범위가 사용자의 요청을 명백히 초과할 때 (7) 사용자가 "너무 많아", "거기는 건드리지 마", "X만 변경해", "간단하게", "그만"과 같은 신호를 보낼 때 (8) 발생할 수 없는 시나리오에 대한 오류 처리, 유효성 검사, 방어적 코드를 추가할 때 (9) 요청되지 않은 테스트, 설정 스캐폴딩, 문서를 생성할 때

技能
uucz

Typescript Advanced Types

100

Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications. Use when implementing complex type logic, creating reusable type utilities, or ensuring compile-time type safety in TypeScript projects.

技能
wshobson

Validate Plugin

100

Validate a Claude Code plugin structure, frontmatter, and MCP tool references

技能
ruvnet

Migrate Validate

100

Validate pending migrations for foreign key consistency, rollback safety, and best practices

技能
ruvnet

Lean Ctx

100

AI 代理的上下文运行时 — 包含 59 个 MCP 工具、10 种读取模式、95+ 种 shell 模式、支持 18 种语言的 tree-sitter AST。将 LLM 上下文压缩高达 99%。用于读取文件、运行 shell 命令、搜索代码或探索目录。如果不存在,则自动安装。

技能
yvgude

Semgrep Rule Creator

100

Creates custom Semgrep rules for detecting security vulnerabilities, bug patterns, and code patterns. Use when writing Semgrep rules or building custom static analysis detections.

技能
trailofbits