Co-Pilot / 辅助式
更新于 a month ago

claude-config

Bbrianlovin
0.1k
brianlovin/claude-config
80
Agent 评分

💡 摘要

一个用于管理Claude Code设置和可重用能力的版本控制配置与技能仓库。

🎯 适合人群

深度定制Claude Code的AI高级用户需要在多台机器管理Claude配置的开发者希望分享或复用Claude技能的技术用户

🤖 AI 吐槽:这是一个为你AI管家准备的井然有序的工具箱,尽管其中最新颖的技能可能是那个负责清理其他技能制造混乱的工具。

安全分析中风险

安装和同步脚本执行文件系统操作(如创建符号链接、移动文件)并运行用户定义的技能脚本,若仓库被篡改则存在风险。缓解措施:在运行前,尤其是拉取更新后,审查所有Shell脚本和技能内容。

claude-config

My Claude Code configuration - settings and skills.

Quick start

git clone https://github.com/brianlovin/claude-config.git cd claude-config ./install.sh

What's included

Settings

  • settings.json - Global permissions and preferences
  • statusline.sh - Custom statusline showing token usage

Skills

Reusable capabilities that Claude can invoke (use /skill-name in Claude):

| Skill | Description | |-------|-------------| | agent-browser | Browser automation for web testing and interaction | | favicon | Generate favicons from a source image | | knip | Find and remove unused files, dependencies, and exports | | rams | Run accessibility and visual design review | | reclaude | Refactor CLAUDE.md files for progressive disclosure | | simplify | Code simplification specialist | | deslop | Remove AI-generated code slop |

Managing your config

# See what's synced vs local-only ./sync.sh # Preview what install would do ./install.sh --dry-run # Add a local skill to the repo ./sync.sh add skill my-skill ./sync.sh push # Pull changes on another machine ./sync.sh pull # Remove a skill from repo (keeps local copy) ./sync.sh remove skill my-skill ./sync.sh push

Safe operations with backups

All destructive operations create timestamped backups:

# List available backups ./sync.sh backups # Restore from last backup ./sync.sh undo

Validate skills

./sync.sh validate

Skills must have a SKILL.md with frontmatter containing name and description.

Testing

Tests use Bats (Bash Automated Testing System).

# Install bats (one-time) brew install bats-core # Run all tests bats tests/ # Run specific test file bats tests/install.bats bats tests/sync.bats bats tests/validation.bats

Tests run in isolated temp directories and don't affect your actual ~/.claude config.

Local-only config

Not everything needs to be synced. The install script only creates symlinks for what's in this repo - it won't delete your local-only skills.

Machine-specific permissions accumulate in ~/.claude/settings.local.json (auto-created by Claude, not synced).

Creating your own

Fork this repo and customize! The structure is simple:

claude-config/
├── settings.json      # Claude Code settings
├── statusline.sh      # Optional statusline script
├── skills/            # Skills (subdirectories with SKILL.md)
├── agents/            # Subagent definitions
├── rules/             # Rule files
└── tests/             # Bats tests

See also

五维分析
清晰度8/10
创新性6/10
实用性9/10
完整性8/10
可维护性9/10
优缺点分析

优点

  • 清晰的AI代理配置版本控制与同步流程
  • 包含用于Web开发和代码质量的实用预置技能
  • 具有备份/撤销功能的安全操作

缺点

  • 需要熟悉命令行和Shell脚本
  • 仅限于Claude Code生态系统
  • 新颖性依赖于用户贡献的技能

相关技能

pytorch

S
toolCode Lib / 代码库
92/ 100

“它是深度学习的瑞士军刀,但祝你好运能从47种安装方法里找到那个不会搞崩你系统的那一个。”

agno

S
toolCode Lib / 代码库
90/ 100

“它承诺成为智能体领域的Kubernetes,但得看开发者有没有耐心学习又一个编排层。”

nuxt-skills

S
toolCo-Pilot / 辅助式
90/ 100

“这本质上是一份组织良好的小抄,能把你的 AI 助手变成一只 Nuxt 框架的复读机。”

免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。

版权归原作者所有 brianlovin.