Skip to content
cccskills
FreePublished on GitHub

deploy-ai-config

ai-agents/ と dotfiles/ の編集内容を各 AI CLI(~/.claude, ~/.codex)と ~/.config へ反映するデプロイ手順。「設定を反映」「デプロイ」「~/.claude に配って」「スキル/エージェント/設定を更新したから配布」等を求められたときに使用する。

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md4.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Deploy AI config

このリポジトリ(my-pde)が AI CLI 設定とドットファイルの source of truth。ai-agents/ や dotfiles/ を編集したら、このスキルで配布物を各ツールへ反映する。全 mise タスクはリポジトリルートの mise.toml に 定義されており、リポジトリ内ならどこからでも mise run <task> で実行できる。

何をどのタスクで配るか

編集した場所反映タスク配布先
ai-agents/agents.xmlmise run claude-link(Codex は codex-link)~/.claude/CLAUDE.md(symlink)
ai-agents/skills/**mise run skills-copy各 CLI の skills/(全 CLI 一括)
ai-agents/personal/skills/**mise run skills-copy各 CLI の skills/(汎用と同じ配布先)
ai-agents/agents/**mise run agents-copy各 CLI の agents/(Claude)
ai-agents/settings/**(hooks/rules/settings.json)mise run settings-copy各 CLI のルート(Claude/Codex)
ai-agents/hooks/**mise run settings-copy~/.claude/hooks/(plugin とも二重配布)
dotfiles/wezterm/**mise run dotfiles-link~/.config/wezterm(symlink)

*-copy は実体コピー(編集ごとに再実行が必要、既存エントリは上書き)。*-link / dotfiles-link は symlink(一度貼れば追従)。

手順

  1. git status で何を編集したかを確認し、上表から必要なタスクだけ選ぶ。
  2. 実行内容を事前確認: mise tasks info skills-copy 等(特に初回や配布先を確認したいとき)。
  3. 実行: 該当タスクを mise run <task> で実行。複数同時なら mise run skills-copy ::: agents-copy ::: settings-copy (::: 区切り。スペース区切りだと2つ目以降がタスク引数扱いになる)。
  4. Claude 設定(hooks/rules/settings.json)を変えた場合は、反映を効かせるため Claude Code セッションの 再読み込みが必要(/memory でルール、/hooks 相当でフック状態を確認)。

検証

  • *-copy 後: 配布先(例 ls ~/.claude/skills, ls ~/.claude/hooks)に最新が入ったか確認。
  • *-link 後: ls -l ~/.claude/CLAUDE.md / ls -l ~/.config/wezterm が本リポジトリを指す symlink か確認。
  • hooks を変えたら、対象ファイルを 1 つ編集して PostToolUse フォーマッタ/Stop linter が想定通り動くか確認。

注意

  • このリポジトリ直下の .claude/(rules・settings.json・guard hook・skills/)は このリポジトリ専用 で、 デプロイ対象ではない。配布されるのは ai-agents/ と dotfiles/ 配下のみ。
  • .claude/skills/ の my-pde 専用スキル(skill-scaffold / hook-scaffold / agent-codex-convert / routine-create-clean-connectors / deploy-ai-config)はコミットするだけでよい。clone の一部として ローカルにもクラウド Routine にも載る。配るとむしろ他リポで実行できないスキルが一覧に残る。
  • スキルをどのルートに置くかの判断軸は .claude/rules/skill-authoring.md、フックは .claude/rules/hook-authoring.md にある。
  • ai-agents/hooks/ は plugin(ai-agents@my-pde)と settings-copy の両方から配られ、ローカルでは 二重に発火する。移行期の意図した状態で、どちらを落とすかは実測後に決める。
  • バージョンピン(environment/**)はこのスキルの対象外。guard-version-pins.sh で保護されている。

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Convert Claude markdown subagent files to Codex CLI TOML format. Parses YAML frontmatter and body, applies model/permission/tool mappings, and outputs to agents/codex/<name>.toml.

The English summary is being prepared. Showing the original description.

hodanov/my-pde3Updated Oct 18, 2026

Create or update a Markdown blog draft from recent work and export it with `YYYY-MM-DD_slug.md` naming. Output directory can be set via environment variable or CLI option; if missing, ask the user and pass it explicitly.

The English summary is being prepared. Showing the original description.

hodanov/my-pde3Updated Oct 18, 2026

変更をコミットしてドラフトPRを作成する一連のGit/ghワークフロー。ユーザーが「コミットして」「PR作って」「draft PR」等を求めたときに使用し、status/diff確認・命令形コミット・push・gh pr create --draft(--assignee hodanov)まで実行する。ユーザーの明示リクエストが無くても、実装完了後にcommitやPRが必要になった場面(dev-workflowのcommitフェーズ等)では必ずこれを使う。`git commit` や `gh pr create` を単体でBash直接実行しない。

The English summary is being prepared. Showing the original description.

hodanov/my-pde3Updated Oct 18, 2026

1 つの作業ツリーに混ざった差分を、変更理由ごとの意味単位のコミットへ分割する。ユーザーが「コミットを分割して」「意味単位で分けて」「commit-split」等を求めたとき、または機能追加・付随リファクタ・設定/ドキュメント修正が 1 コミットに混在していると気づいたときに使用する。分割案を提示して承認を得てからステージし、コミットごとに単独で成立することを確認する。メッセージ規約・push・PR の作成は commit-and-draft-pr へ委譲する。

The English summary is being prepared. Showing the original description.

hodanov/my-pde3Updated Oct 18, 2026

gitleaks + pre-commit を使ってローカルコミット時のクレデンシャル混入を機械的にブロックする。「クレデンシャル漏洩防止」「シークレット混入対策」「gitleaks」「pre-commit シークレット」「credential leak prevention」に言及した場合に使用する。

The English summary is being prepared. Showing the original description.

hodanov/my-pde3Updated Oct 18, 2026

依存パッケージ(Go modules / npm / Terraform provider / GitHub Actions / pre-commit 等)の アップグレードを、outdated 検出 → CHANGELOG・破壊的変更の確認 → 更新 → lint/test 検証 → コミットまで一連の手順で安全に適用する。「依存更新」「パッケージを上げて」「dependency update」 「go get -u」「npm update」「provider を上げる」等に言及されたときに使用する。

The English summary is being prepared. Showing the original description.

hodanov/my-pde3Updated Oct 18, 2026

See all skills by hodanov

Report a problem with this skill