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

Cleanup Cycles

技能 已验证 活跃

Detect and untangle circular dependencies. Runs madge/skott (TS), pycycle (Py), or compiler-only checks (Go/Rust). Auto-fixes leaf-extractable cycles; reports core cycles for human review. Use when the user asks to find circular imports, fix dependency cycles, or untangle module graph. Example queries — "find circular imports", "fix dependency cycles", "untangle our module graph", "why is madge complaining".

目的

To help developers untangle complex module graphs by automatically identifying and fixing or reporting circular dependencies, thereby improving code maintainability and reducing build-time issues.

功能

  • Detects circular dependencies in TS/JS, Python, Go, and Rust.
  • Auto-fixes leaf-extractable cycles by moving code to new modules.
  • Reports core cycles requiring architectural decisions.
  • Integrates with existing project tooling (e.g., package.json scripts).
  • Generates assessment reports for human review.

使用场景

  • When asking to find circular imports in a project.
  • When needing to fix dependency cycles automatically.
  • When needing to untangle a complex module graph.
  • When tooling reports issues with circular dependencies.

非目标

  • Auto-fixing complex architectural cycles requiring significant refactoring.
  • Resolving cycles that are intentional (e.g., ORM, component references).
  • Suppressing cycle warnings in tooling configuration.
  • Replacing manual architectural review for core module cycles.

安装

npx skills add raintree-technology/claude-starter

通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。

质量评分

已验证
100 /100
1 day ago 分析

信任信号

最近提交20 days ago
星标75
许可证MIT
状态
查看源代码

类似扩展

Coding Standards

100

Baseline cross-project coding conventions for naming, readability, immutability, and code-quality review. Use detailed frontend or backend skills for framework-specific patterns.

技能
affaan-m

Cleanup Defensive

99

Remove pointless try/catch blocks and defensive guards that hide errors or add no value. Preserves catches at true system boundaries (HTTP handlers, CLI entry, message consumers). Use when the user asks to remove try/catch, fix error hiding, clean up defensive code, or stop swallowing errors. Example queries — "remove pointless try/catch", "we're swallowing errors", "stop hiding bugs in catch blocks", "clean up the defensive code".

技能
raintree-technology

Moyu (摸鱼)

100

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

技能
uucz

Deepinit

100

Deep codebase initialization with hierarchical AGENTS.md documentation

技能
Yeachan-Heo

Netlify Identity

100

用于身份验证、用户注册、登录、密码恢复、OAuth 提供商、基于角色的访问控制或保护路由和函数。始终使用 `@netlify/identity`。切勿使用 `netlify-identity-widget` 或 `gotrue-js` — 它们已弃用。

技能
netlify

Vue Router Best Practices

100

Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.

技能
hyf0