DD

drn/dots

开发工具

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

23 stars 质量 63 趋势 30MIT

:new_moon:被极度精心策划的点文件。

概览

由一个强大且可扩展的 Go CLI 管理的精心策划的点文件和代理技能。 Dots 是一个用 Go 构建的开发环境管理系统。它提供了一个 CLI 来安装、更新和管理你整个 macOS 开发配置——包括 shell、编辑器、语言、系统偏好设置、自定义工具,以及一套可重用的 Claude Code 和 Codex 代理技能库。 安装会覆盖现有配置文件,无需备份。先备份你的点文件。 Dots 包含 69 项可重复使用的 AI 编码代理技能,遵循 Agent Skills 开放标准。每个技能都存在于 agents/skills//SKILL.md 中,运行 dots install agents 后可通过 Claude 代码获得。 技能使用 YAML 前文处理元数据和通过 shell 命令注入动态上下文。有些技能会委派给 agents/skills/scripts/ 中的独立 bash 脚本。完整的创作指南请参见 /write-skill。

概述(AI 翻译)

由一个强大且可扩展的 Go CLI 精心策划的点文件和代理技能。

概述

Dots 是一个用 Go 构建的开发环境管理系统。它提供了一个 CLI 来安装、更新和管理你整个 macOS 开发配置——包括 shell、编辑器、语言、系统偏好设置、自定义工具,以及一套可重用的 Claude Code 和 Codex 代理技能库。

系统需求

  • macOS
  • 自制内容
  • Go 1.21+

安装

警告:安装会覆盖现有配置文件,无需备份。先备份你的点文件。

用途

组成部分

组件 它安装的内容
agents 代理技能、自定义代理、钩子和状态行(符号链接 agents/skills/ → ~/.claude/skills/ + ~/.agents/skills/、agents/custom/ → ~/.claude/agents/),在 ~/.claude/settings.json 注册 Claude 钩子和状态行,并在 $CODEX_HOME/config.toml 或 “~/.codex/config” 中配置 Codex 的本地状态行,包含模型、上下文剩余、5小时使用和每周使用。

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

README

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

Dots

Obsessively curated dotfiles and agentic skills managed by a robust, extensible Go CLI.

Overview

Dots is a development environment management system built in Go. It provides a CLI for installing, updating, and managing your entire macOS development configuration — shell, editors, languages, system preferences, custom utilities, and a library of reusable agent skills for Claude Code and Codex.

System Requirements

Installation

# Install Homebrew and Go if needed
brew install go

# Clone and install
git clone https://github.com/drn/dots ~/.dots
cd ~/.dots
go install ./...
dots install all

Warning: Installation overwrites existing configuration files without backups. Back up your dotfiles first.

Usage

dots                     # Show help and available commands
dots install all         # Install all components
dots install  # Install specific component
dots update              # Update configuration, plugins, and packages
dots doctor              # Run system diagnostics
dots clean               # Clean legacy configuration
dots docker stop-all     # Stop all Docker containers

Components

Component What it installs
agents Agent skills, custom agents, hooks, and status lines (symlinks agents/skills/ → ~/.claude/skills/ + ~/.agents/skills/, agents/custom/ → ~/.claude/agents/, registers Claude hooks and status line in ~/.claude/settings.json, and configures Codex’s native status line with model, context remaining, 5-hour usage, and weekly usage in $CODEX_HOME/config.toml or ~/.codex/config.toml; one SessionStart hook prepends dev-tool bin dirs — go/bin, ~/.local/bin, cargo, asdf shims — onto the Bash tool’s PATH so binaries like tts resolve by bare name)
bin Custom shell scripts and Go utilities to ~/bin
git .gitconfig, .gitignore_global, git extensions
home Dotfiles symlinked to ~/ (.zshrc, .vimrc, .tmux.conf, .gitconfig, etc.)
zsh ZSH configuration, zinit plugin manager, tmux plugin manager
fonts Developer fonts via Homebrew Cask
homebrew System packages from Brewfile (100+ formulae and casks)
npm Global Node.js packages
languages asdf version manager with Ruby, Python, Go, Node.js, Terraform
在 GitHub 查看完整 README

推荐工具

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

安装

npx skillfish add drn/dots
新手?先看 mcpskill.org 教程 →