skill-story/claude-code-skills-inventory.md
2026-02-10 17:06:12 +08:00

332 lines
10 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Claude Code Skills & Plugins 清单
> 生成日期: 2026-02-10
> 环境: macOS Darwin 24.6.0 / Claude Code (Opus 4.6)
---
## 概览
| 类别 | 数量 |
|------|------|
| 插件市场 (Marketplace) | 2 个 |
| 已安装插件 | 8 个 |
| 可用 Skills/Commands | 14 个 |
| 项目自定义命令 | 1 个 |
| 社区配置集 (Config Repo) | 1 个 |
---
## Marketplace 1: anthropics/claude-plugins-official
- **GitHub**: https://github.com/anthropics/claude-plugins-official
- **Git Commit**: `2cd88e7947b7382e045666abee790c7f55f669f3`
- **安装时间**: 2026-02-09
- **包含插件**: 6 个
### 1. commit-commands
| 项目 | 内容 |
|------|------|
| **用途** | 简化 Git 工作流:提交、推送、创建 PR |
| **版本** | `2cd88e7947b7` |
| **安装路径** | `~/.claude/plugins/cache/claude-plugins-official/commit-commands/` |
**可用命令:**
| 命令 | 说明 |
|------|------|
| `/commit` | 自动分析变更,生成提交信息并创建 commit |
| `/commit-push-pr` | 一键完成 commit → push → 创建 PR |
| `/clean_gone` | 清理所有远程已删除但本地仍存在的分支(标记为 `[gone]` |
---
### 2. code-review
| 项目 | 内容 |
|------|------|
| **用途** | 基于多智能体的自动化 PR 代码审查,带置信度评分过滤 |
| **版本** | `2cd88e7947b7` |
| **安装路径** | `~/.claude/plugins/cache/claude-plugins-official/code-review/` |
**可用命令:**
| 命令 | 说明 |
|------|------|
| `/code-review` | 启动 4 个并行 Agent 审查 PRCLAUDE.md 合规检查 (x2)、Bug 扫描、Git 历史上下文分析。置信度 < 80 的问题自动过滤 |
---
### 3. pr-review-toolkit
| 项目 | 内容 |
|------|------|
| **用途** | 全面 PR 审查工具集6 个专业 Agent 各司其职 |
| **版本** | `2cd88e7947b7` |
| **安装路径** | `~/.claude/plugins/cache/claude-plugins-official/pr-review-toolkit/` |
**可用命令:**
| 命令 | 说明 |
|------|------|
| `/review-pr` | 综合 PR 审查调度以下专业 Agent |
**内置 Agent**
| Agent | 职责 |
|-------|------|
| `code-reviewer` | 代码质量Bug安全漏洞审查 |
| `comment-analyzer` | 代码注释准确性和可维护性分析 |
| `silent-failure-hunter` | 静默失败和错误处理缺陷检测 |
| `pr-test-analyzer` | 测试覆盖质量和完整性审查 |
| `type-design-analyzer` | 类型设计质量分析封装不变量 |
| `code-simplifier` | 代码简化保持功能不变 |
---
### 4. feature-dev
| 项目 | 内容 |
|------|------|
| **用途** | 结构化功能开发工作流7 阶段从理解代码库到质量审查 |
| **版本** | `2cd88e7947b7` |
| **安装路径** | `~/.claude/plugins/cache/claude-plugins-official/feature-dev/` |
**可用命令:**
| 命令 | 说明 |
|------|------|
| `/feature-dev` | 启动引导式功能开发理解代码库 提问澄清 架构设计 实现 审查 |
**内置 Agent**
| Agent | 职责 |
|-------|------|
| `code-explorer` | 深度分析现有代码库特性执行路径架构层次 |
| `code-architect` | 基于现有代码模式设计功能架构蓝图 |
| `code-reviewer` | 代码审查基于置信度过滤仅报告高优先级问题 |
---
### 5. ralph-loop
| 项目 | 内容 |
|------|------|
| **用途** | 基于 Ralph Wiggum 技术的迭代式自引用 AI 开发循环 |
| **版本** | `2cd88e7947b7` |
| **安装路径** | `~/.claude/plugins/cache/claude-plugins-official/ralph-loop/` |
**可用命令:**
| 命令 | 说明 |
|------|------|
| `/ralph-loop` | 启动 Ralph Loop通过 Stop Hook 拦截退出持续迭代直到任务完成 |
| `/cancel-ralph` | 取消当前正在运行的 Ralph Loop |
| `/help` | 查看 Ralph Loop 使用说明 |
**工作原理:**
通过 `hooks/stop-hook.sh` 创建自引用反馈循环 —— Claude 尝试退出时被 Hook 拦截并重新注入相同 prompt在当前会话内持续迭代
---
### 6. claude-md-management
| 项目 | 内容 |
|------|------|
| **用途** | CLAUDE.md 文件维护和质量管理 |
| **版本** | `1.0.0` |
| **安装路径** | `~/.claude/plugins/cache/claude-plugins-official/claude-md-management/` |
**可用命令:**
| 命令 | 类型 | 说明 |
|------|------|------|
| `/claude-md-improver` | Skill | 审计 CLAUDE.md 文件检查与代码库的一致性输出质量报告并更新 |
| `/revise-claude-md` | Command | 从当前会话中提取经验教训更新到 CLAUDE.md |
---
## Marketplace 2: feiskyer/claude-code-settings
- **GitHub**: https://github.com/feiskyer/claude-code-settings
- **Git Commit**: `c9ce4d203eb8cfd8faed32e220cb2b99d0b219aa`
- **安装时间**: 2026-02-09
- **包含插件**: 2
### 7. autonomous-skill
| 项目 | 内容 |
|------|------|
| **用途** | 多会话长时任务自主执行 Agent 模式Initializer + Executor |
| **版本** | `1.0.1` |
| **安装路径** | `~/.claude/plugins/cache/claude-code-settings/autonomous-skill/` |
**可用命令:**
| 命令 | 说明 |
|------|------|
| `/autonomous-skill` | 启动自主任务执行任务分解 进度跟踪 headless 模式自动续接 |
**触发关键词:** `autonomous`, `long-running task`, `multi-session`, `自主执行`, `长时任务`
**工作目录结构:**
```
project-root/.autonomous/<task-name>/
├── task_list.md # 任务分解清单
└── progress.md # 进度追踪
```
---
### 8. spec-kit-skill
| 项目 | 内容 |
|------|------|
| **用途** | GitHub Spec-Kit 集成基于 Constitution 的规格驱动开发 |
| **版本** | `1.0.1` |
| **安装路径** | `~/.claude/plugins/cache/claude-code-settings/spec-kit-skill/` |
**可用命令:**
| 命令 | 说明 |
|------|------|
| `/spec-kit-skill` | 启动 7 阶段规格驱动开发工作流 |
**触发关键词:** `spec-kit`, `speckit`, `constitution`, `specify`, `.specify/`, `规格驱动开发`, `需求规格`
**7 阶段工作流:**
| 阶段 | 名称 | 说明 |
|------|------|------|
| 1 | Constitution | 建立治理原则 |
| 2 | Specify | 定义功能需求 |
| 3 | Clarify | 解决歧义 |
| 4 | Plan | 创建技术策略 |
| 5 | Tasks | 生成可执行的任务分解 |
| 6 | Analyze | 验证一致性 |
| 7 | Implement | 执行实现 |
**依赖:** 需要安装 [GitHub Spec-Kit CLI](https://github.com/github/spec-kit)
---
## 社区配置集: jarrodwatts/claude-code-config
- **GitHub**: https://github.com/jarrodwatts/claude-code-config
- **Stars**: 923 | **Forks**: 115
- **定位**: 社区精选的 Claude Code 个人配置集Rules + Skills + Agents + Commands + Hooks
- **安装方式**: 克隆到 `~/.claude/` 或选择性复制所需目录
- **说明**: 内容多来自社区贡献者汇编非单一作者原创
### Rules路径作用域规则自动加载
| 规则文件 | 匹配路径 | 说明 |
|----------|----------|------|
| `typescript.md` | `**/*.{ts,tsx}` | TypeScript 代码规范命名类型模式 |
| `testing.md` | `**/*.{test,spec}.ts` | 测试模式和最佳实践 |
| `comments.md` | `**/*` | 注释策略全局生效 |
| `forge.md` | `**/*.sol` | Foundry/ZKsync Solidity 开发规则 |
### Skills模型自动调用
| Skill | 说明 |
|-------|------|
| `planning-with-files` | Manus 风格的持久化 Markdown 计划文件用于复杂任务拆解 |
### Agents自定义子智能体
| Agent | 说明 |
|-------|------|
| `codebase-search` | 文件和实现发现代码库搜索 |
| `media-interpreter` | PDF/图片内容提取和解读 |
| `open-source-librarian` | 开源软件研究附带引用来源 |
| `tech-docs-writer` | 技术文档生成 |
### Commands用户可调用命令
| 命令 | 说明 |
|------|------|
| `/interview` | 交互式需求规划和规格定义 |
### Hooks事件触发脚本
| Hook 脚本 | 触发事件 | 说明 |
|-----------|----------|------|
| `keyword-detector.py` | `UserPromptSubmit` | 识别用户 prompt 中的关键词 |
| `check-comments.py` | `PostToolUse` | 验证代码注释是否符合策略 |
| `todo-enforcer.sh` | `Stop` | 确保 TODO 被正确追踪 |
### 推荐搭配插件
官方插件可通过 CLI 安装`frontend-design`, `code-review`, `typescript-lsp`, `plugin-dev`, `ralph-loop`以及 `claude-hud`状态栏功能)。
---
## 项目自定义命令
### /rtc-spec
| 项目 | 内容 |
|------|------|
| **用途** | RTC Backend 技术规范参考 |
| **文件位置** | `.claude/commands/rtc-spec.md` |
| **作用域** | 仅当前项目 (`qy_gitlab`) |
---
## 配置参考
### settings.json (`~/.claude/settings.json`)
```json
{
"permissions": {
"allow": ["Read", "Edit", "Write", "Bash(*)"],
"deny": ["Bash(rm *)", "Bash(sudo *)"]
},
"enabledPlugins": {
"commit-commands@claude-plugins-official": true,
"code-review@claude-plugins-official": true,
"pr-review-toolkit@claude-plugins-official": true,
"feature-dev@claude-plugins-official": true,
"ralph-loop@claude-plugins-official": true,
"claude-md-management@claude-plugins-official": true,
"autonomous-skill@claude-code-settings": true,
"spec-kit-skill@claude-code-settings": true
}
}
```
### 关键路径
| 路径 | 说明 |
|------|------|
| `~/.claude/settings.json` | 全局配置权限启用的插件 |
| `~/.claude/plugins/installed_plugins.json` | 已安装插件注册表 |
| `~/.claude/plugins/known_marketplaces.json` | 已知插件市场 |
| `~/.claude/plugins/cache/` | 插件本地缓存 |
| `~/.claude/plugins/marketplaces/` | 市场本地仓库 |
| `.claude/commands/` | 项目级自定义命令 |
---
## 快速参考
| 命令 | 来源 | 一句话说明 |
|------|------|-----------|
| `/commit` | commit-commands | 自动生成提交信息并 commit |
| `/commit-push-pr` | commit-commands | 一键 commit + push + 创建 PR |
| `/clean_gone` | commit-commands | 清理远程已删除的本地分支 |
| `/code-review` | code-review | Agent 并行 PR 审查 |
| `/review-pr` | pr-review-toolkit | 综合 PR 审查6 个专业 Agent |
| `/feature-dev` | feature-dev | 7 阶段引导式功能开发 |
| `/ralph-loop` | ralph-loop | 迭代式自引用开发循环 |
| `/cancel-ralph` | ralph-loop | 取消 Ralph Loop |
| `/claude-md-improver` | claude-md-management | 审计并改进 CLAUDE.md |
| `/revise-claude-md` | claude-md-management | 从会话中提取经验更新 CLAUDE.md |
| `/autonomous-skill` | autonomous-skill | 多会话长时任务自主执行 |
| `/spec-kit-skill` | spec-kit-skill | 规格驱动开发工作流 |
| `/rtc-spec` | 项目自定义 | RTC 后端技术规范 |
| `/interview` | claude-code-config | 交互式需求规划和规格定义 |