logo
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