logo

Claude Code Templates

Claude Code Templates 是一个 Claude Code 的模板/配置集合 + CLI 工具,帮助你快速安装和管理:

  • Agents(角色/专家)
  • Commands(自定义斜杠命令)
  • MCPs(外部服务集成:GitHub / PostgreSQL / Stripe / AWS / OpenAI 等)
  • Settings(Claude Code 配置)
  • Hooks(自动化触发)
  • Skills(可复用能力)

项目主页:aitmpl.com
npm 包:claude-code-templates


快速安装(Quick Install)

# 安装完整开发栈
npx claude-code-templates@latest --agent development-team/frontend-developer --command testing/generate-tests --mcp development/github-integration --yes

# 交互式浏览并安装
npx claude-code-templates@latest

# 安装特定组件
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

你会得到什么(What You Get)

ComponentDescriptionExamples
AgentsAI specialists for specific domainsSecurity auditor, React performance optimizer, database architect
CommandsCustom slash commands/generate-tests, /optimize-bundle, /check-security
MCPsExternal service integrationsGitHub, PostgreSQL, Stripe, AWS, OpenAI
SettingsClaude Code configurationsTimeouts, memory settings, output styles
HooksAutomation triggersPre-commit validation, post-completion actions
SkillsReusable capabilities with progressive disclosurePDF processing, Excel automation, custom workflows

额外工具(Additional Tools)

Claude Code Analytics

实时监控 AI 编程会话的状态与性能指标:

npx claude-code-templates@latest --analytics

Conversation Monitor

移动端友好的实时会话查看:

# 本地访问
npx claude-code-templates@latest --chats

# Cloudflare Tunnel 远程访问
npx claude-code-templates@latest --chats --tunnel

Health Check

一键诊断 Claude Code 安装环境:

npx claude-code-templates@latest --health-check

Plugin Dashboard

统一查看插件市场、已安装插件与权限:

npx claude-code-templates@latest --plugins

文档与社区


License

MIT License — 详见 LICENSE

Claude 使用指南
Vibe Coding

Claude 使用指南

Claude 是 Anthropic 开发的先进 AI 助手,以安全、有帮助和诚实著称。本指南帮助你充分发挥 Claude 的能力。

Claude 使用指南Claude Code Templates

Claude Code Templates

Claude Code Templates 是一个 Claude Code 的模板/配置集合 + CLI 工具,帮助你快速安装和管理:

  • Agents(角色/专家)
  • Commands(自定义斜杠命令)
  • MCPs(外部服务集成:GitHub / PostgreSQL / Stripe / AWS / OpenAI 等)
  • Settings(Claude Code 配置)
  • Hooks(自动化触发)
  • Skills(可复用能力)

项目主页:aitmpl.com
npm 包:claude-code-templates


#快速安装(Quick Install)

bash
# 安装完整开发栈 npx claude-code-templates@latest --agent development-team/frontend-developer --command testing/generate-tests --mcp development/github-integration --yes # 交互式浏览并安装 npx claude-code-templates@latest # 安装特定组件 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

#你会得到什么(What You Get)

ComponentDescriptionExamples
AgentsAI specialists for specific domainsSecurity auditor, React performance optimizer, database architect
CommandsCustom slash commands/generate-tests, /optimize-bundle, /check-security
MCPsExternal service integrationsGitHub, PostgreSQL, Stripe, AWS, OpenAI
SettingsClaude Code configurationsTimeouts, memory settings, output styles
HooksAutomation triggersPre-commit validation, post-completion actions
SkillsReusable capabilities with progressive disclosurePDF processing, Excel automation, custom workflows

#额外工具(Additional Tools)

#Claude Code Analytics

实时监控 AI 编程会话的状态与性能指标:

bash
npx claude-code-templates@latest --analytics

#Conversation Monitor

移动端友好的实时会话查看:

bash
# 本地访问 npx claude-code-templates@latest --chats # 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

#文档与社区


#License

MIT License — 详见 LICENSE

Prompt Master

把 AI 工具用到极致,先掌握 Prompt

系统学习 Prompt 结构与技巧,提升输出稳定性与可控性。

进入 Prompt 大师 →

常见问题

Claude 3.5 Sonnet 和 GPT-4o 哪个写代码更好?
目前社区公认 Claude 3.5 Sonnet 在代码逻辑、复杂重构和 Artifacts 交互体验上略胜一筹,尤其是在配合 Cursor 使用时。
Claude Projects 是什么功能?
Claude Projects 允许你上传特定的文档(如 API 文档、代码库)作为上下文知识库,让 Claude 在对话中始终基于这些资料回答,非常适合项目级开发。
如何使用 Claude Artifacts?
在对话中让 Claude 生成代码(如 React 组件、HTML/CSS),它会自动触发 Artifacts 预览窗口,你可以直接看到运行效果并进行迭代修改。