DD

dgokcin/dotfiles

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

64 stars 质量 60 趋势 28

一个存储我的点文件和AI配置的仓库。

概览

macOS的个人点文件和AI工具,包含少量Linux路径。每次安装都会是一个符号链接回这个仓库,所以编辑这里的文件会立即更改实时配置,且不会被复制到$HOME。 ai-stuff/skills/ 中的共享技能库安装到 Claude Code、Codex、Cursor 以及任何读取跨工具 ~/.agents/skills 目录的软件中。参见 ai-stuff/README.md。 然后安装你实际使用的AI图层: lazygit、yamllint、yq、k9s、tmux 都用过。每个软件包都会在需要的地方安装,并从其他/链接其配置。 技能只在 ai-stuff/skills/ 中创建一次,并逐字链接到每个工具的技能目录。在 makefiles/ai.mk 中添加工具只需两行,添加技能完全不需要修改 Makefile。 checks.yml在每个拉取请求、推送到主节点以及每周的计划中运行。 - Linux:make lint,make test,然后独立的 make install-ci 和 make verify-install。

概述(AI 翻译)

macOS的个人点文件和AI工具,包含少量Linux路径。每个 安装是回到这个仓库的符号链接,所以编辑这里的文件会改变 live 立即配置,且不会被复制到$HOME。

Claude Code、Codex 和 Cursor 的 AI 工具配置 ai-stuff/。技能存放在独立仓库, dgokcin/skills,以及make skills 把它们安装到每个工具里。

📁 布局

🚀 快速开始

或者分开运行各层:

运行make help以获得完整的目标列表。

🎯 目标

🖥️ 环境

目标 非
bootstrap 全新Mac的完整配置:Homebrew包、运行时、CLI、shell、编辑器和AI工具
personal nvim bash zsh setup-git yamllint k9s
work 与今天的personal完全相同。该分割保留以实现向后兼容,且work.gitconfig无论如何都链接在一起。
brew-trust 信任第三方横置 Brewfile 声明(自制7门)
brew-bundle 把所有东西安装在Brewfile]
brew-bundle-check 报告缺失内容,什么都不安装
clean 移除符号链接并说明此仓库安装

🛠️ 编辑、shell 和 git

|目标 |非 |

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

⚙️ dotfiles

Personal dotfiles and AI tooling for macOS, with a handful of Linux paths. Every install is a symlink back into this repo, so editing a file here changes the live configuration immediately and nothing gets copied into $HOME.

AI tool configuration for Claude Code, Codex, and Cursor lives in ai-stuff/. Skills live in a separate repo, dgokcin/skills, and make skills installs them into each tool.

📁 Layout

.
├── Makefile              entry point; includes makefiles/*.mk, defines shared macros
├── makefiles/            one .mk per concern, plus helper scripts in scripts/
├── ai-stuff/             agents, shared AI content, and per-tool AI settings
├── nvim/                 Neovim config (LazyVim + lazy.nvim, Lua)
├── other/                app configs: lazygit, k9s, tmux, yamllint, vscode, winterm
├── Brewfile              Homebrew taps, formulae, casks, and fonts
├── .github/workflows/    checks.yml, release-please.yml
└── dotfiles at the root  .zshrc, .aliases, .functions, .path, .extra,
                          .bash_profile, base.gitconfig, work.gitconfig,
                          .inputrc, .osx

🚀 Quick start

git clone https://github.com/dgokcin/dotfiles.git ~/codes/dotfiles
cd ~/codes/dotfiles
make bootstrap      # packages, runtimes, CLIs, shell, editors, and AI configs
make verify-tool-owners

Or run the layers separately:

make brew-bundle    # Homebrew packages, casks, and fonts
make tools          # Volta/Node plus preferred standalone and npm CLIs
make personal       # shell, editors, git, and tool configs
make claude         # native CLI, agents, hooks, settings, keybindings
make cursor         # agents, hooks, settings, keybindings
make codex          # standalone CLI, hooks, AGENTS.md, config
make raycast        # script commands plus Raycast preferences (macOS)
make ai-shared      # shared AI content only, into ~/.config/ai-shared

Run make help for the full target list.

🎯 Targets

🖥️ Environment

Target Does
bootstrap Full new-Mac setup: Homebrew bundle, runtimes, CLIs, shell, editors, and AI tools
personal nvim bash zsh setup-git yamllint k9s
work Identical to personal today. The split is kept for backward compatibility, and work.gitconfig is linked either way.
brew-trust Trust the third-party taps the Brewfile declares (Homebrew 7 gate)
brew-bundle Install everything in the Brewfile
brew-bundle-check Report what is missing, install nothing
clean Remove the symlinks and state this repo installs

🛠️ Editors, shell, and git

Target Does
nvim Symlink the Neovim config into $XDG_CONFIG_HOME/nvim
zsh Link .zshrc, clone or update oh-my-zsh and zsh-autosuggestions
bash Link .aliases, .functions, .path, .extra, .bash_profile
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add dgokcin/dotfiles
新手?先看 mcpskill.org 教程 →