add claude-code-config

This commit is contained in:
zyc 2026-02-10 17:06:12 +08:00
parent ef280277d2
commit cf1701d0f9

View File

@ -13,6 +13,7 @@
| 已安装插件 | 8 个 |
| 可用 Skills/Commands | 14 个 |
| 项目自定义命令 | 1 个 |
| 社区配置集 (Config Repo) | 1 个 |
---
@ -210,6 +211,58 @@ project-root/.autonomous/<task-name>/
---
## 社区配置集: 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
@ -275,3 +328,4 @@ project-root/.autonomous/<task-name>/
| `/autonomous-skill` | autonomous-skill | 多会话长时任务自主执行 |
| `/spec-kit-skill` | spec-kit-skill | 规格驱动开发工作流 |
| `/rtc-spec` | 项目自定义 | RTC 后端技术规范 |
| `/interview` | claude-code-config | 交互式需求规划和规格定义 |