ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 ray-manaloto

coordinator-handoff

dotfiles のコーディネーターセッションのコンテキスト使用量が設定した上限に達すると /coordinator-handoff を自動送信し、ステータスラインにハートビートを表示します。

ray-manaloto@ray-manaloto

ray-manaloto/dotfiles/tree/main/.claude/skills/coordinator-handoff

翻訳済み

この 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

  1. Stage 0: install.sh bootstraps mise.
  2. Stage 1: mise installs git, chezmoi, and uv.
  3. Stage 2: chezmoi init clones the repo and applies templated configs.
  4. 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 DotfilesConfig centralizes 16 env vars; hk.pkl for git hooks with shared hk-common.pkl checks.
  • Zero-Bash: Logic is encapsulated in a typed, linted Python library (dotfiles_setup).
  • Zero Lint Suppressions: No noqa, type: ignore, or pylint: disable — enforced by no_lint_skip hk step.
  • Environment Auditor: Built-in health checks for identity, toolchains, and SSH connectivity.
  • CI/CD: GitHub Actions — lint → contract-preflight → a changes path-gate → base-prep → p2996-prep → build → smoke-test (smoke + Dive); promote retags on main; benchmark + Trivy run async in image-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

関連作品