Skip to content

xiaohongsimon/claude-setup

Repository files navigation

Dotfiles / Claude Code Setup

我的 macOS 开发环境配置 / My macOS development environment setup.

An algorithm team TL's approach to turning a Mac Studio into a 24/7 AI development hub.

What's Inside / 包含内容

claude-setup/
├── .claude/                       # Claude Code 配置
│   ├── commands/                  # 模型切换命令
│   │   └── zenmux*.md             # Zenmux/百炼模型切换
│   ├── skills/                    # 自定义技能
│   │   ├── notebooklm/            # Google NotebookLM 集成
│   │   ├── planning-with-files/   # 文件式任务规划
│   │   └── presentation-as-code/  # HTML 演示文稿生成
│   ├── notify-dingtalk.sh         # 钉钉通知脚本
│   └── settings.json.template     # 配置模板(不含密钥)
├── ghostty/
│   └── config                     # Ghostty 终端配置
├── claude-hud/
│   └── README.md                  # HUD 插件安装说明
├── install.sh                     # 安装脚本
└── README.md                      # 本文件

Quick Start / 快速开始

1. 克隆配置

git clone https://github.com/xiaohongsimon/claude-setup.git ~/dotfiles
cd ~/dotfiles
./install.sh

2. 安装插件 (在 Claude Code 中)

/install claude-hud@jarrodwatts
/install superpowers@claude-plugins-official

Components / 组件说明

Ghostty

终端模拟器配置:

  • Catppuccin Mocha 主题
  • JetBrainsMono Nerd Font 字体
  • macOS 标题栏样式(tabs)
  • 快速终端切换(Cmd+`)

Claude Code

AI 编程助手配置:

  • 自定义 skills(notebooklm, planning-with-files, presentation-as-code)
  • 模型切换命令(zenmux1/2, glm5, kimi25, minimax25, qwen35plus)
  • 钉钉通知脚本

Claude HUD

使用 claude-hud 插件,通过 Claude Code 插件系统安装。

Skills

presentation-as-code

创建高影响力、交互式 HTML 演示文稿的方法论:

  • 5 阶段工作流:Narrative → Design System → Content → Interactivity → Polish
  • 已在 35+ 页非技术性培训幻灯片中验证
  • 离线优先,无框架依赖

详见 skills/presentation-as-code/README-zh.md

planning-with-files

基于文件的任务规划系统,生成:

  • task_plan.md - 任务分解
  • findings.md - 调研记录
  • progress.md - 进度追踪

notebooklm

Google NotebookLM 集成,支持:

  • 直接查询 notebooks
  • 返回带引用的答案
  • 减少幻觉

Scripts

notify-dingtalk.sh

Claude Code 事件 → 钉钉单聊推送:

  • 从 transcript 提取上下文
  • 免打扰时段:23:30 ~ 07:30
  • 密钥从 ~/.dynasty.env 加载

配置:

  1. 创建 ~/.dynasty.env
    DINGTALK_APP_KEY=your_app_key
    DINGTALK_APP_SECRET=your_app_secret
    DINGTALK_STAFF_ID=your_staff_id
    DINGTALK_ROBOT_CODE=your_robot_code  # 可选,默认等于 APP_KEY
    
  2. settings.json 中添加 NotificationStop hooks(见模板)

Dependencies / 依赖

License

MIT

About

My Claude Code configuration: skills, scripts, and settings templates for building a 24/7 AI development hub

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors