New dotfiles#9
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
dotfiles を現行開発環境に合わせて刷新し、Neovim を Lua + lazy.nvim 構成へ移行、Claude Code 設定を claude/ 配下でリポジトリ管理化、symlink 管理を XDG 準拠の new_link/new_clean に更新し、Docker ビルドを buildx 中心に再編する統合PRです。
Changes:
- Neovim を
config/nvim/の Lua 構成(lazy.nvim + plugin 分割 + ftplugin)へ移行 - Claude Code 設定(rules / skills / hooks / statusline など)を
claude/に集約し、symlink 対象に追加 - Makefile の
new_link/new_clean導入と Dockerfile 群の更新(buildx・マルチアーキ対応・ツール更新)
Reviewed changes
Copilot reviewed 121 out of 122 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
| zshrc.local.template | ローカル上書き用の zsh 環境変数テンプレ追加 |
| vintrc.yaml | vint 設定削除(Neovim 構成刷新に伴う) |
| versions/TENSORFLOW_C_VERSION | TensorFlow C バージョン更新 |
| versions/NGT_VERSION | NGT バージョン更新 |
| versions/GO_VERSION | Go バージョン更新 |
| tmux.conf | XDG 配下への移動、キー/端末設定の更新 |
| starship.toml | Starship 設定を大幅刷新 |
| Makefile.d/version.mk | NGT upstream 移転に追従 |
| Makefile | new_link/new_clean 追加、buildx ベースの build に更新 |
| gitignore | グローバル gitignore の追記 |
| gitconfig | GPG signing key 更新 |
| efm-lsp-conf.yaml | efm-langserver 設定削除 |
| editorconfig | インデント/対象パターンの調整 |
| dockers/rust.Dockerfile | Rust ツール群の更新(starship 追加など) |
| dockers/go.Dockerfile | buildx 前提の GO ダウンロードを arch/OS 可変に |
| dockers/env.Dockerfile | Neovim/NGT/Node ツール等のセットアップ更新(arch 分岐追加) |
| dockers/docker.Dockerfile | trivy pin・slimtoolkit 周辺の更新 |
| dockers/base.Dockerfile | xsel 追加などベースパッケージ更新 |
| Dockerfile | 最終イメージから coc/zplug を除去し XDG 配置へ寄せる |
| config/sheldon/plugins.toml | Sheldon 設定追加(zsh plugin 管理移行) |
| config/nvim/lua/plugins/util.lua | Telescope 等のユーティリティ系 plugin 定義追加 |
| config/nvim/lua/plugins/ui.lua | UI 系 plugin 定義追加(colorscheme, lualine, neo-tree, noice 等) |
| config/nvim/lua/plugins/git.lua | gitsigns 定義追加 |
| config/nvim/lua/plugins/coding.lua | Comment/autopairs/Copilot 系 plugin 定義追加 |
| config/nvim/lua/config/lazy.lua | lazy.nvim bootstrap + LSP キーマップ等の基本設定 |
| config/nvim/lua/config/keymap.lua | キーマップと FileType ごとの簡易インデント設定追加 |
| config/nvim/lua/config/format.lua | :Format コマンド追加(ft ごとの client 絞り込み) |
| config/nvim/lua/config/base.lua | Neovim 基本設定・autocmd 等追加 |
| config/nvim/init.lua | 新 Lua 構成のエントリポイント追加 |
| config/nvim/after/ftplugin/typescript.lua | TypeScript ftplugin 追加 |
| config/nvim/after/ftplugin/python.lua | Python ftplugin 追加 |
| config/nvim/after/ftplugin/lua.lua | Lua ftplugin 追加 |
| config/nvim/after/ftplugin/javascript.lua | JavaScript ftplugin 追加 |
| config/nvim/after/ftplugin/go.lua | Go ftplugin 追加 |
| coc-settings.json | coc.nvim 設定削除 |
| claude/statusline-command.sh | Claude Code 用 statusline コマンド追加 |
| claude/skills/write-spec/SKILL.md | write-spec skill 追加(英訳版) |
| claude/skills/write-spec/references/interrogation.md | write-spec の interrogation 観点追加(英訳版) |
| claude/skills/work-intake/SKILL.md | work-intake skill 追加(英訳版) |
| claude/skills/work-intake/references/notion-adapter.md | Notion adapter 手順追加(英訳版) |
| claude/skills/tech-docs-writer/SKILL.md | tech-docs-writer skill 追加(英訳版) |
| claude/skills/tech-docs-writer/references/runbook.md | runbook テンプレ追加(英訳版) |
| claude/skills/tech-docs-writer/references/readme.md | readme テンプレ追加(英訳版) |
| claude/skills/tech-docs-writer/references/api.md | API spec テンプレ追加(英訳版) |
| claude/skills/tech-docs-writer/references/adr.md | ADR テンプレ追加(英訳版) |
| claude/skills/sync-k8s-manifest-from-code/SKILL.md | manifest sync skill 追加(英訳版) |
| claude/skills/security-review-local/SKILL.md | security audit skill 追加(英訳版) |
| claude/skills/rust-bootstrap/SKILL.md | Rust bootstrap skill 追加(英訳版) |
| claude/skills/retrospect/SKILL.md | retrospect skill 追加(英訳版) |
| claude/skills/grill-me/SKILL.md | grill-me skill 追加(英訳版) |
| claude/skills/claude-session-jsonl/references/parser-typescript.md | session jsonl parser 参考追加(TS/英訳版) |
| claude/skills/claude-session-jsonl/references/parser-rust.md | session jsonl parser 参考追加(Rust/英訳版) |
| claude/skills/claude-session-jsonl/references/parser-python.md | session jsonl parser 参考追加(Python/英訳版) |
| claude/skills/arc42-c4/SKILL.md | arc42×C4 reference skill 追加(英訳版) |
| claude/skills/add-rust-crate/references/tui.md | TUI 雛形 reference 追加(英訳版) |
| claude/settings.json | Claude Code 設定ファイルをリポジトリ管理化 |
| claude/rules/spec-contract.md | spec contract 追加 |
| claude/rules/security.md | security ルール追加 |
| claude/rules/performance.md | performance ルール追加 |
| claude/hooks/guard-bash.sh | Bash tool ガード hook 追加 |
| claude/CLAUDE.md | Claude Code グローバル指示追加 |
| claude/ja/README.md | 日本語 SoT 運用手順追加 |
| claude/ja/skills/write-spec/SKILL.md | write-spec(日本語原文)追加 |
| claude/ja/skills/write-spec/references/interrogation.md | interrogation(日本語原文)追加 |
| claude/ja/skills/work-intake/SKILL.md | work-intake(日本語原文)追加 |
| claude/ja/skills/work-intake/references/notion-adapter.md | notion-adapter(日本語原文)追加 |
| claude/ja/skills/tech-docs-writer/SKILL.md | tech-docs-writer(日本語原文)追加 |
| claude/ja/skills/tech-docs-writer/references/runbook.md | runbook(日本語原文)追加 |
| claude/ja/skills/tech-docs-writer/references/readme.md | readme(日本語原文)追加 |
| claude/ja/skills/tech-docs-writer/references/api.md | api(日本語原文)追加 |
| claude/ja/skills/tech-docs-writer/references/adr.md | adr(日本語原文)追加 |
| claude/ja/skills/sync-k8s-manifest-from-code/SKILL.md | manifest sync(日本語原文)追加 |
| claude/ja/skills/security-review-local/SKILL.md | security-review-local(日本語原文)追加 |
| claude/ja/skills/retrospect/SKILL.md | retrospect(日本語原文)追加 |
| claude/ja/skills/grill-me/SKILL.md | grill-me(日本語原文)追加 |
| claude/ja/skills/claude-session-jsonl/references/parser-typescript.md | session jsonl parser(日本語原文/TS)追加 |
| claude/ja/skills/claude-session-jsonl/references/parser-rust.md | session jsonl parser(日本語原文/Rust)追加 |
| claude/ja/skills/claude-session-jsonl/references/parser-python.md | session jsonl parser(日本語原文/Python)追加 |
| claude/ja/skills/arc42-c4/SKILL.md | arc42-c4(日本語原文)追加 |
| claude/ja/skills/add-rust-crate/references/tui.md | add-rust-crate TUI(日本語原文)追加 |
| CLAUDE.md | リポジトリ側の Claude Code ガイド追加 |
| alias | devrun のマウント/パスを XDG/Claude 対応に更新 |
| .gitignore | nvim lock/log・zshrc.local・claude/settings.local.json を ignore 追加 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Squash of the new-dotfiles branch (31 commits): - migrate Neovim from coc.nvim/init.vim to lazy.nvim based Lua config (config/nvim with lsp/coding/git/ui plugins and per-language ftplugin) - manage Claude Code config under claude/ (CLAUDE.md, settings.json, hooks, rules, 3 agents, ~20 skills; Japanese sources kept in claude/ja) - replace link/clean with XDG-compliant new_link/new_clean targets, covering ~/.config and ~/.claude symlinks - switch docker_build to docker buildx and simplify Dockerfile (drop coc.nvim/zplug install, move tmux.conf to ~/.config/tmux) - follow NGT upstream move (yahoojapan/NGT -> NGT-labs/NGT) - mount ~/.claude and ~/.claude.json into the dev container via devrun - includes GitHub code-scanning autofixes for Makefile and nvim config, and a copilot fix for the env.Dockerfile npm install list Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: vankichi <kyukawa315@gmail.com>
| -v $rcpath/monokai.vim:$container_home/.config/nvim/colors/monokai.vim \ | ||
| -v $rcpath/tmux-kube:$container_home/.tmux-kube \ | ||
| -v $rcpath/tmux.conf:$container_home/.tmux.conf \ | ||
| -v $rcpath/nvim:$container_home/.config/nvim \ |
| @@ -13,7 +13,7 @@ version/go: | |||
| .PHONY: verison/ngt | |||
Comment on lines
+27
to
+30
| ["ui-select"] = { | ||
| require("telescope.themes").get_dropdown({}) | ||
| -- even more opts | ||
| } |
Comment on lines
+40
to
+42
| opt.visualbell = true | ||
| vim.t_vb = "" | ||
| opt.errorbells = false |
Comment on lines
+106
to
+107
| set -g default-terminal screen | ||
| set -g default-terminal "tmux-256color" |
Comment on lines
+4
to
+6
| export VOLTA_HOME="$HOME/.volta" | ||
| export NODE_PATH="$HOME/.volta/bin" | ||
| export PATH="$VOLTA_HOME/bin:$PATH" |
| vim.cmd([[colorscheme tokyonight]]) | ||
| end, | ||
| }, | ||
| --- bufffer line |
Comment on lines
28
to
32
| ENV NVIM_HOME $HOME/.config/nvim | ||
| ENV VIM_PLUG_HOME $NVIM_HOME/plugged/vim-plug | ||
| ENV LIBRARY_PATH /usr/local/lib:$LIBRARY_PATH | ||
| ENV ZPLUG_HOME $HOME/.zplug | ||
| # ENV ZPLUG_HOME $HOME/.zplug | ||
| ENV PATH $GOPATH/bin:/usr/local/go/bin:$CARGO_PATH/bin:$DART_PATH/bin:$GCLOUD_PATH/bin:$PATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
dotfiles を現行の開発環境に合わせて全面刷新する統合 PR。大きくは以下の 4 本柱です。
claude/として repo 管理化(agents / skills / hooks / rules)~/.config) 準拠のnew_link/new_cleanに刷新feature PR #10 (New Claude Settings)・#11 (dev loop intake skills) はこの branch に merge 済みで、本 PR に含まれます。
変更内容
1. Neovim: coc.nvim → lazy.nvim (Lua)
coc-settings.json/init.vim/monokai.vim/vintrc.yaml/efm-lsp-conf.yamlを削除config/nvim/に新構成を追加:lua/config/— base(基本設定)/ keymap / format / lazy(plugin manager bootstrap)lua/plugins/— lsp / coding / git / ui / utilafter/ftplugin/— go / lua / python / typescript / javascript の言語別設定lazy-lock.jsonと nvim log は gitignore(機械ごとに揺れるため)2. Claude Code 設定の repo 管理化 (
claude/)claude/CLAUDE.md— global instructions(~/.claude/CLAUDE.mdに symlink)claude/settings.json/statusline-command.sh/hooks/guard-bash.shclaude/rules/— security / performance / spec-contract(dev loop の人間–agent 契約)claude/agents/— code-refactor-advisor / dev-orchestrator / go-feature-tdd の 3 agentclaude/skills/— go・rust・k8s の reference skill、commit-push-branch、work-intake、write-spec、retrospect など約 20 skillclaude/ja/— 日本語版を source of truth として保持し、live 側(claude/agentsclaude/skills)は英訳。更新手順はclaude/ja/README.md参照claude/settings.local.jsonは gitignore(public repo にローカル・社内設定を載せない)3. symlink 管理の刷新 (Makefile)
link/clean→new_link/new_cleanに置き換え~/.config配下へ統一:tmux/tmux.conf・nvim(ディレクトリごと symlink)・starship.toml・sheldon/plugins.toml~/.claude配下(CLAUDE.md / settings.json / agents / skills / hooks / rules)もnew_linkで一括 symlinkzshrc.localがあれば~/.zshrc.localに symlink(なければ skip)4. Docker / build
~/.config/tmux/に変更docker_buildをdocker buildx build --platform ... --pushに変更。DOCKER_BUILDER_PLATFORMは当面linux/amd64のみ(arm64 はコメントアウトで保留)yahoojapan/NGT→NGT-labs/NGT)5. その他
devrunで~/.claude/~/.claude.jsonをコンテナにマウントし、コンテナ内でも Claude Code を利用可能にlazy-lock.json/ nvim log /zshrc.local/claude/settings.local.jsonを追加動作確認
🤖 Generated with Claude Code