claude-code-config
💡 摘要
该项目提供了一系列配置和工具,以增强Claude Code的功能。
🎯 适合人群
🤖 AI 吐槽: “看起来很能打,但别让配置把人劝退。”
风险:Medium。建议检查:是否执行 shell/命令行指令;是否发起外网请求(SSRF/数据外发);文件读写范围与路径穿越风险。以最小权限运行,并在生产环境启用前审计代码与依赖。
Claude Code Config
my personal claude code configuration - mostly not created by me, but sourced from many talented people in the community.
Installation
Option 1: Copy-Paste into Claude Code (No Git Required)
Copy the prompt from INSTALL.md and paste it into Claude Code. Claude will fetch and install all config files automatically.
Option 2: Git Clone
git clone https://github.com/jarrodwatts/claude-code-config.git ~/.claude
Option 3: Selective Install
# Clone elsewhere first git clone https://github.com/jarrodwatts/claude-code-config.git /tmp/claude-config # Copy what you need cp -r /tmp/claude-config/rules/* ~/.claude/rules/ cp -r /tmp/claude-config/skills/* ~/.claude/skills/ cp -r /tmp/claude-config/agents/* ~/.claude/agents/
Contents
Rules (.claude/rules/)
Path-scoped instructions loaded automatically when working with matching files.
| File | Scope | Description |
|------|-------|-------------|
| typescript.md | **/*.{ts,tsx} | TypeScript conventions |
| testing.md | **/*.{test,spec}.ts | Testing patterns |
| comments.md | All files | Comment policy |
| forge.md | **/*.sol | Foundry/ZKsync rules |
Skills (.claude/skills/)
Model-invoked capabilities Claude applies automatically.
| Skill | Description |
|-------|-------------|
| planning-with-files | Manus-style persistent markdown planning |
Agents (.claude/agents/)
Custom subagents for specialized tasks.
| Agent | Description |
|-------|-------------|
| codebase-search | Find files and implementations |
| media-interpreter | Extract info from PDFs/images |
| open-source-librarian | Research OSS with citations |
| tech-docs-writer | Create technical documentation |
Commands (.claude/commands/)
Custom slash commands.
| Command | Description |
|---------|-------------|
| interview | Interactive planning/spec fleshing |
Hooks (.claude/hooks/)
Scripts triggered by Claude Code events.
| Hook | Event | Description |
|------|-------|-------------|
| keyword-detector.py | UserPromptSubmit | Detects keywords in prompts |
| check-comments.py | PostToolUse (Write/Edit) | Validates comment policy |
| todo-enforcer.sh | Stop | Ensures todos are tracked |
CLAUDE.md
Personal global instructions loaded into every session.
Recommended Plugins
Plugins I use alongside this config. Install via CLI:
Official Plugins
claude plugin install frontend-design claude plugin install code-review claude plugin install typescript-lsp claude plugin install plugin-dev claude plugin install ralph-loop
claude-hud (status line)
Add the marketplace first, then install:
claude plugin marketplace add jarrodwatts/claude-hud claude plugin install claude-hud@claude-hud
优点
- 全面的配置选项
- 支持多种编程语言
- 促进协作和规划
缺点
- 可能需要初始设置工作
- 依赖于Claude Code环境
- 复杂性可能会让初学者感到困惑
相关技能
免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。
版权归原作者所有 jarrodwatts.
