173 lines
9.2 KiB
Markdown
173 lines
9.2 KiB
Markdown
<!-- WEHUB_ZH_README -->
|
||
> [!NOTE]
|
||
> 本文档由 WeHub 基于上游 README 翻译整理,属于社区翻译,非官方中文文档。
|
||
> [English](./README.en.md) · [原始项目](https://github.com/davila7/claude-code-templates) · [上游 README](https://github.com/davila7/claude-code-templates/blob/HEAD/README.md)
|
||
> 原作者、版权与许可证归属以原始项目及本仓库 LICENSE 文件为准。
|
||
|
||
[](https://www.npmjs.com/package/claude-code-templates)
|
||
[](https://www.npmjs.com/package/claude-code-templates)
|
||
[](https://opensource.org/licenses/MIT)
|
||
[](CONTRIBUTING.md)
|
||
[](https://z.ai/subscribe?ic=8JVLJQFSKB&utm_source=github&utm_medium=badge&utm_campaign=readme)
|
||
[](https://claude.com/contact-sales/claude-for-oss)
|
||
[](https://get.neon.com/4eCjZDz)
|
||
[](https://github.com/sponsors/davila7)
|
||
[](https://buymeacoffee.com/daniavila)
|
||
[](https://github.com/davila7/claude-code-templates)
|
||
|
||
<p align="center">
|
||
<a href="https://trendshift.io/repositories/15113" target="_blank">
|
||
<img src="https://trendshift.io/api/badge/repositories/15113" alt="davila7%2Fclaude-code-templates | Trendshift" style="width: 200px; height: 40px;" width="125" height="40"/>
|
||
</a>
|
||
<br />
|
||
<br />
|
||
<a href="https://vercel.com/oss">
|
||
<img alt="Vercel OSS Program" src="https://vercel.com/oss/program-badge.svg" />
|
||
</a>
|
||
|
||
<a href="https://get.neon.com/4eCjZDz">
|
||
<img alt="Neon Open Source Program" src="https://img.shields.io/badge/Neon-Open%20Source%20Program-00E599?style=for-the-badge" />
|
||
</a>
|
||
|
||
<a href="https://claude.com/contact-sales/claude-for-oss">
|
||
<img alt="Claude for Open Source" src="docs/claude-oss-badge.svg" height="48" />
|
||
</a>
|
||
</p>
|
||
|
||
---
|
||
|
||
> **🧪 新功能:Dashboard** — 在 **[www.aitmpl.com](https://www.aitmpl.com)**. 探索组件、管理收藏并跟踪安装情况!目前处于 beta 测试阶段 — 欢迎反馈!
|
||
|
||
# Claude Code Templates ([aitmpl.com](https://aitmpl.com))
|
||
|
||
**面向 Anthropic Claude Code 的开箱即用配置。** 这是一套全面的 AI 智能体、自定义命令、设置、钩子、外部集成(MCP)和项目模板集合,用于增强你的开发工作流。
|
||
|
||
## 浏览与安装组件和模板
|
||
|
||
**[浏览全部模板](https://aitmpl.com)** - 交互式 Web 界面,用于探索并安装 100+ 个 agents、commands、settings、hooks 和 MCPs。
|
||
|
||
<img width="1787" height="958" alt="image" src="https://github.com/user-attachments/assets/d84feaa4-f871-4843-bbee-42d8f51b2f21" />
|
||
|
||
|
||
## 🚀 快速安装
|
||
|
||
```bash
|
||
# Install a complete development stack
|
||
npx claude-code-templates@latest --agent development-team/frontend-developer --command testing/generate-tests --mcp development/github-integration --yes
|
||
|
||
# Browse and install interactively
|
||
npx claude-code-templates@latest
|
||
|
||
# Install specific components
|
||
npx claude-code-templates@latest --agent development-tools/code-reviewer --yes
|
||
npx claude-code-templates@latest --command performance/optimize-bundle --yes
|
||
npx claude-code-templates@latest --setting performance/mcp-timeouts --yes
|
||
npx claude-code-templates@latest --hook git/pre-commit-validation --yes
|
||
npx claude-code-templates@latest --mcp database/postgresql-integration --yes
|
||
```
|
||
|
||
## 你将获得什么
|
||
|
||
| 组件 | 说明 | 示例 |
|
||
|-----------|-------------|----------|
|
||
| **🤖 Agents(智能体)** | 面向特定领域的 AI 专家 | 安全审计员、React 性能优化器、数据库架构师 |
|
||
| **⚡ Commands(命令)** | 自定义斜杠命令 | `/generate-tests`, `/optimize-bundle`, `/check-security` |
|
||
| **🔌 MCPs** | 外部服务集成 | GitHub、PostgreSQL、Stripe、AWS、OpenAI |
|
||
| **⚙️ Settings(设置)** | Claude Code 配置 | 超时、内存设置、输出样式 |
|
||
| **🪝 Hooks(钩子)** | 自动化触发器 | 提交前校验、完成后操作 |
|
||
| **🎨 Skills(技能)** | 可复用能力,支持渐进式披露(progressive disclosure) | PDF 处理、Excel 自动化、自定义工作流 |
|
||
|
||
## 🛠️ 更多工具
|
||
|
||
除模板目录外,Claude Code Templates 还包含强大的开发工具:
|
||
|
||
### 📊 Claude Code Analytics(分析)
|
||
通过实时状态检测和性能指标,实时监控你的 AI 驱动开发会话。
|
||
|
||
```bash
|
||
npx claude-code-templates@latest --analytics
|
||
```
|
||
|
||
### 💬 Conversation Monitor(会话监控)
|
||
面向移动设备优化的界面,可安全远程访问并实时查看 Claude 响应。
|
||
|
||
```bash
|
||
# Local access
|
||
npx claude-code-templates@latest --chats
|
||
|
||
# Secure remote access via Cloudflare Tunnel
|
||
npx claude-code-templates@latest --chats --tunnel
|
||
```
|
||
|
||
### 🔍 Health Check(健康检查)
|
||
全面诊断,确保你的 Claude Code 安装处于最佳状态。
|
||
|
||
```bash
|
||
npx claude-code-templates@latest --health-check
|
||
```
|
||
|
||
### 🔌 Plugin Dashboard(插件仪表板)
|
||
在统一界面中查看应用市场、已安装插件并管理权限。
|
||
|
||
```bash
|
||
npx claude-code-templates@latest --plugins
|
||
```
|
||
|
||
## 📖 文档
|
||
|
||
**[📚 docs.aitmpl.com](https://docs.aitmpl.com/)** - 完整指南、示例,以及所有组件和工具的 API 参考。
|
||
|
||
## 贡献
|
||
|
||
欢迎贡献!**[浏览现有模板](https://aitmpl.com)** 了解可用内容,然后查看我们的 [贡献指南](CONTRIBUTING.md),添加你自己的 agents、commands、MCPs、settings 或 hooks。
|
||
|
||
**贡献前请阅读我们的 [行为准则](CODE_OF_CONDUCT.md)。**
|
||
|
||
## 致谢
|
||
|
||
本集合包含来自多个来源的组件:
|
||
|
||
**Scientific Skills:**
|
||
- **[K-Dense-AI/claude-scientific-skills](https://github.com/K-Dense-AI/claude-scientific-skills)**,作者 K-Dense Inc. — MIT License(139 个面向生物学、化学、医学和计算研究的 scientific skills)
|
||
|
||
**Official Anthropic:**
|
||
- **[anthropics/skills](https://github.com/anthropics/skills)** — Anthropic 官方 skills(21 个)
|
||
- **[anthropics/claude-code](https://github.com/anthropics/claude-code)** — 开发指南与示例(10 个 skills)
|
||
|
||
**Community Skills & Agents:**
|
||
- **[obra/superpowers](https://github.com/obra/superpowers)**,作者 Jesse Obra — MIT License(14 个 workflow skills)
|
||
- **[alirezarezvani/claude-skills](https://github.com/alirezarezvani/claude-skills)**,作者 Alireza Rezvani — MIT License(36 个专业角色 skills)
|
||
- **[wshobson/agents](https://github.com/wshobson/agents)**,作者 wshobson — MIT License(48 个 agents)
|
||
- **NerdyChefsAI Skills** — 社区贡献 — MIT License(面向企业的专项 skills)
|
||
|
||
**Commands & Tools:**
|
||
- **[awesome-claude-code](https://github.com/hesreallyhim/awesome-claude-code)**,作者 hesreallyhim — CC0 1.0 Universal(21 个 commands)
|
||
- **[awesome-claude-skills](https://github.com/mehdi-lamrani/awesome-claude-skills)** — Apache 2.0(社区 skills)
|
||
- **move-code-quality-skill** — MIT License
|
||
- **cocoindex-claude** — Apache 2.0
|
||
|
||
每项资源均保留其**原始许可证与署名**,由各原作者定义。
|
||
我们尊重并感谢所有原创者及其对 Claude 生态的贡献。
|
||
|
||
## 📄 许可证
|
||
|
||
本项目采用 MIT License 许可 — 详见 [LICENSE](LICENSE) 文件。
|
||
|
||
## 🔗 链接
|
||
|
||
- **🌐 浏览模板(Browse Templates)**: [aitmpl.com](https://aitmpl.com)
|
||
- **📚 文档(Documentation)**: [docs.aitmpl.com](https://docs.aitmpl.com)
|
||
- **💬 社区(Community)**: [GitHub Discussions](https://github.com/davila7/claude-code-templates/discussions)
|
||
- **🐛 Issues**: [GitHub Issues](https://github.com/davila7/claude-code-templates/issues)
|
||
|
||
## Stargazers over time
|
||
[](https://www.aitmpl.com/component/skill/git/star-history-chart)
|
||
|
||
---
|
||
|
||
**⭐ 觉得有用?给我们点个 Star 支持项目吧!**
|
||
|
||
[](https://github.com/sponsors/davila7)
|
||
|
||
[](https://buymeacoffee.com/daniavila)
|