ray-manaloto/dotfiles/tree/main/.claude/skills/coordinator-handoff
GitHub 儲存庫 · 發布者 ray-manaloto
coordinator-handoff
當 dotfiles 協調者工作階段的情境用量達到設定上限時,自動送出 /coordinator-handoff,並在狀態列顯示心跳。
ray-manaloto@ray-manaloto
關於這個 mod
這是 ray-manaloto/dotfiles 儲存庫裡附帶的 Claude Code 外掛,以名為 coordinator-handoff 的技能提供。它的 register.ts hook 會監看協調者工作階段的情境用量,達到設定上限時自動送出 /coordinator-handoff,並在狀態列顯示心跳。
行為可用環境變數調整,例如 DOTFILES_COORDINATOR_HANDOFF_PCT、DOTFILES_COORDINATOR_HANDOFF_STEP_PCT、DOTFILES_COORDINATOR_HANDOFF_PROBE 和 DOTFILES_COORDINATOR_HANDOFF_DRY_RUN。
安裝
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add ray-manaloto/dotfiles claude plugin install coordinator-handoff
原文 / README
Reproducible Dotfiles (AMD64)
A highly resilient, declarative dotfiles setup using Chezmoi, Mise, and Python, optimized for Linux-based devcontainers.
Quick Start
Local Development
mise install # Install all tools
mise run lint # Run lint checks (read-only ≡ CI; `mise run fmt` auto-fixes)
uv run --project python pytest tests/ -x -q # Run all 190 tests
Docker Build
docker buildx bake dev-load # Build devcontainer locally
Bootstrap (Container)
curl -fsSL https://raw.githubusercontent.com/sortakool/dotfiles/main/install.sh | bash
Architecture
- Stage 0:
install.shbootstrapsmise. - Stage 1:
miseinstallsgit,chezmoi, anduv. - Stage 2:
chezmoi initclones the repo and applies templated configs. - Stage 3: Python lifecycle hooks (
uv run) handle complex orchestration and tool installations.
Features
- Strictly AMD64: Forced x86_64 architecture for container consistency.
- Declarative Config: Pydantic
DotfilesConfigcentralizes 16 env vars;hk.pklfor git hooks with sharedhk-common.pklchecks. - Zero-Bash: Logic is encapsulated in a typed, linted Python library (
dotfiles_setup). - Zero Lint Suppressions: No
noqa,type: ignore, orpylint: disable— enforced byno_lint_skiphk step. - Environment Auditor: Built-in health checks for identity, toolchains, and SSH connectivity.
- CI/CD: GitHub Actions — lint → contract-preflight → a
changespath-gate → base-prep → p2996-prep → build → smoke-test (smoke + Dive);promoteretags on main; benchmark + Trivy run async inimage-analysis.yml. Docs-only changes skip the build chain.
Tool Management
All tools are declared in mise.toml and installed via mise install.
Python dependencies are managed via uv with python/pyproject.toml.
Local Testing
uv run --project python pytest tests/ -x -q # All tests
uv run --project python dotfiles-setup verify run # Contract verification
mise run pin-actions # Verify GHA SHA-pinning
mise run lint-docs # Validate agent documentation
