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

Improve Codebase Architecture

技能 已验证 活跃

Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable.

目的

To help developers systematically improve the architecture of their codebase by identifying and addressing architectural friction points, making code more testable and easier for AI to navigate.

功能

  • Identifies deepening opportunities in codebases
  • Leverages domain language (CONTEXT.md) and ADRs
  • Focuses on improving testability and AI-navigability
  • Guides user through exploration, candidate presentation, and decision refinement
  • Promotes consistent architectural vocabulary (LANGUAGE.md)

使用场景

  • Improving the architecture of a complex or aging codebase
  • Finding refactoring opportunities to consolidate tightly-coupled modules
  • Making modules deeper by increasing leverage at their interfaces
  • Enhancing the testability of critical codebase sections

非目标

  • Performing the refactoring automatically
  • Suggesting architectural changes that contradict existing ADRs without clear justification
  • Generating code or interfaces without user input
  • Replacing developer judgment in architectural decisions

Practical Utility

  • info:Usage examplesWhile the README provides a general installation and setup guide, explicit, ready-to-use examples demonstrating the 'improve-codebase-architecture' skill's input, invocation, and observable output are not present.

安装

/plugin install skills@mattpocock-skills

质量评分

已验证
97 /100
about 24 hours ago 分析

信任信号

最近提交1 day ago
星标78.5k
许可证MIT
状态
查看源代码

类似扩展

Pathfinder

100

将代码库映射为按功能分组的流程图,识别不同功能之间的重复关注点,并提出统一的架构。在被要求“寻找理想路径”、统一重复系统或在重构前审计架构时使用。输出一个建议的统一流程图以及针对每个系统的“制定计划”提示。

技能
thedotmack

Moyu (摸鱼)

100

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

技能
uucz

V3 Ddd Architecture

100

Domain-Driven Design architecture for claude-flow v3. Implements modular, bounded context architecture with clean separation of concerns and microkernel pattern.

技能
ruvnet

Understand

100

分析代码库以生成交互式知识图谱,用于理解架构、组件和关系

技能
Lum1104

Lean Ctx

100

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

技能
yvgude

Migrate Validate

100

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

技能
ruvnet