From deepresearch
代码检查器 - 统一本地代码库和GitHub远程仓库的分析接口,支持代码质量评估、技术债务检测、性能分析,适用于代码审查和项目评估场景
npx claudepluginhub lazygophers/ccplugin --plugin deepresearchThis skill uses the workspace's default tool permissions.
提供本地代码库和GitHub远程仓库的统一分析接口。
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Automates semantic versioning and release workflow for Claude Code plugins: bumps versions in package.json, marketplace.json, plugin.json; verifies builds; creates git tags, GitHub releases, changelogs.
提供本地代码库和GitHub远程仓库的统一分析接口。
代码分析类任务(code-analyst调用)或项目评估任务(project-assessor调用)。
analyze_code(
path="./src",
depth="full", # quick | moderate | full
focus=["quality", "debt", "performance"]
)
analyze_github(
repo="facebook/react",
branch="main",
depth="full",
focus=["health", "security", "community"]
)
圈复杂度检测:
代码重复检测:
依赖关系图:
依赖版本:
覆盖率统计:
质量指标:
活跃度评分(40%权重):
质量评分(30%权重):
社区评分(20%权重):
维护评分(10%权重):
使用 gh 命令替代 GitHub MCP 工具:
gh repo view - 仓库基本信息
gh issue list - Issue列表
gh pr list - PR列表
gh api repos/{owner}/{repo}/contents/{path} - 文件内容
gh api repos/{owner}/{repo}/search - 仓库搜索
gh issue view - Issue详情
gh repo clone - 克隆仓库
GitHub统计:
质量分 = 可读性(30%) + 可维护性(30%) + 可测试性(20%) + 安全性(20%)
可读性:命名、注释、代码组织 可维护性:模块化、耦合度、复杂度 可测试性:依赖注入、接口抽象 安全性:注入漏洞、敏感信息
健康分 = 活跃度(40%) + 质量(30%) + 社区(20%) + 维护(10%)
# 本地分析
result = analyze_code(
path="./src",
depth="full",
focus=["quality", "debt"]
)
# GitHub分析
health = analyze_github(
repo="facebook/react",
depth="moderate",
focus=["health", "security"]
)