Skip to content

Latest commit

ย 

History

543 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

seekerkrt's Dotfiles

ๆ—ฅๆœฌ่ชž | English


ๆ—ฅๆœฌ่ชž

Caution

ใ€้‡่ฆใ€‘ใ“ใ‚Œใฏๅ€‹ไบบๅฐ‚็”จใฎใƒใƒƒใ‚ฏใ‚ขใƒƒใƒ—ใƒชใƒใ‚ธใƒˆใƒชใงใ™ ๆœฌใƒชใƒใ‚ธใƒˆใƒชใฏใ€ไฝœ่€…ใฎ็‰นๅฎšใฎใƒใƒผใƒ‰ใ‚ฆใ‚งใ‚ขใŠใ‚ˆใณ็’ฐๅขƒ ๏ผˆArch Linux / Windows 11 ใƒ‡ใƒฅใ‚ขใƒซใƒ–ใƒผใƒˆ๏ผ‰ใซไพๅญ˜ใ—ใŸๅ€‹ไบบ็”จ่จญๅฎšใงใ™ใ€‚ ๆฑŽ็”จใƒ†ใƒณใƒ—ใƒฌใƒผใƒˆใ‚„ใ€ไป–ไบบใŒใใฎใพใพๅฐŽๅ…ฅใ™ใ‚‹ใŸใ‚ใฎใ‚‚ใฎใงใฏใ‚ใ‚Šใพใ›ใ‚“ใ€‚

็‰นใซSecure Boot้–ข้€ฃใฎ่จญๅฎšใ‚„ใƒใƒผใƒ‰ใ‚ฆใ‚งใ‚ขๅ›บๆœ‰ใฎใ‚นใ‚ฏใƒชใƒ—ใƒˆใฏใ€ ใใฎใพใพๅฎŸ่กŒใ™ใ‚‹ใจๆœ€ๆ‚ชใฎๅ ดๅˆ**ใ‚ทใ‚นใƒ†ใƒ ใŒ่ตทๅ‹•ใ—ใชใใชใ‚‹ใ€ ใ‚ใ‚‹ใ„ใฏใƒ‡ใƒผใ‚ฟใŒ็ ดๆใ™ใ‚‹ๆใ‚Œ๏ผˆใƒฉใƒณใƒ‰ใƒžใ‚คใƒณ๏ผ‰**ใŒใ‚ใ‚Šใพใ™ใ€‚ ๅ†…ๅฎนใ‚’ๅๅˆ†ใซ็†่งฃใ›ใšใซใ‚ณใƒ”ใƒผ๏ผ†ใƒšใƒผใ‚นใƒˆใ—ใŸใ‚Šใ€ ใ‚นใ‚ฏใƒชใƒ—ใƒˆใ‚’ๅฎŸ่กŒใ—ใŸใ‚Šใ—ใชใ„ใงใใ ใ•ใ„ใ€‚

ๆฆ‚่ฆ

ใ“ใฎใƒชใƒใ‚ธใƒˆใƒชใฏใ€ไฝœ่€…๏ผˆseekerkrt๏ผ‰ใฎ่จญๅฎšใƒ•ใ‚กใ‚คใƒซใ‚’็ฎก็†ใƒปๅŒๆœŸใ™ใ‚‹ใŸใ‚ใฎใ‚‚ใฎใงใ™ใ€‚ GNU Stowใซใ‚ˆใ‚‹ใƒ›ใƒผใƒ ใƒ‡ใ‚ฃใƒฌใ‚ฏใƒˆใƒชใธใฎๅฑ•้–‹ใ€่‡ชไฝœsystemd unit / drop-inใฎ้…็ฝฎใ€ Secure Boot้‹็”จใ‚นใ‚ฏใƒชใƒ—ใƒˆใ€ใƒ‘ใƒƒใ‚ฑใƒผใ‚ธไธ€่ฆงใฎใƒใƒƒใ‚ฏใ‚ขใƒƒใƒ—ใชใฉใ‚’ๅซใฟใพใ™ใ€‚

ๆœฌใƒชใƒใ‚ธใƒˆใƒชใฏGitHubใ‚’ๆœฌๅฎถใจใ—ใฆ้‹็”จใ•ใ‚ŒใฆใŠใ‚Šใ€GitLabไธŠใฎๅŒๅใƒชใƒใ‚ธใƒˆใƒชใฏใƒใƒƒใ‚ฏใ‚ขใƒƒใƒ—ใƒŸใƒฉใƒผใงใ™ใ€‚ไธปใชๆ›ดๆ–ฐๅ…ƒใฏGitHubใงใ™ใ€‚ ใพใŸใ€็ง˜ๅฏ†้ตใ‚„ใƒˆใƒผใ‚ฏใƒณใชใฉใฎๆฉŸๅฏ†ๆƒ…ๅ ฑใฏ็ฎก็†ๅฏพ่ฑกๅค–ใจใชใฃใฆใ„ใพใ™ใ€‚

ใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆใฎไธปใชๆง‹้€ 

.
โ”œโ”€โ”€ stow/                     # GNU Stowใงๅฑ•้–‹ใ™ใ‚‹ใƒฆใƒผใ‚ถใƒผ่จญๅฎš
โ”‚   โ”œโ”€โ”€ alacritty/            # Alacritty่จญๅฎš
โ”‚   โ”œโ”€โ”€ antigravity/          # Antigravity IDE่จญๅฎš
โ”‚   โ”œโ”€โ”€ bash/                 # Bash่จญๅฎš
โ”‚   โ”œโ”€โ”€ btop/                 # btop่จญๅฎš
โ”‚   โ”œโ”€โ”€ cargo/                # Cargo่จญๅฎš
โ”‚   โ”œโ”€โ”€ ccache/               # ccache่จญๅฎš
โ”‚   โ”œโ”€โ”€ chrome/               # Chrome่จญๅฎš
โ”‚   โ”œโ”€โ”€ clang-format/         # clang-format่จญๅฎš
โ”‚   โ”œโ”€โ”€ claude/               # Claude Code่จญๅฎš๏ผˆโ†’ ใ‚จใƒผใ‚ธใ‚งใƒณใƒˆ่จญๅฎšใฎๅ‚็…งๅ…ˆ๏ผ‰
โ”‚   โ”œโ”€โ”€ codex/                # Codex่จญๅฎš๏ผˆโ†’ ใ‚จใƒผใ‚ธใ‚งใƒณใƒˆ่จญๅฎšใฎๅ‚็…งๅ…ˆ๏ผ‰
โ”‚   โ”œโ”€โ”€ conky/                # Conky่จญๅฎš
โ”‚   โ”œโ”€โ”€ copilot/              # GitHub CopilotๆŒ‡็คบ
โ”‚   โ”œโ”€โ”€ editorconfig/         # EditorConfig่จญๅฎš
โ”‚   โ”œโ”€โ”€ emacs/                # Emacs่จญๅฎš
โ”‚   โ”œโ”€โ”€ env/                  # ็’ฐๅขƒๅค‰ๆ•ฐ่จญๅฎš
โ”‚   โ”œโ”€โ”€ fonts/                # ใƒ•ใ‚ฉใƒณใƒˆ่จญๅฎš
โ”‚   โ”œโ”€โ”€ foot/                 # footใ‚ฟใƒผใƒŸใƒŠใƒซ่จญๅฎš
โ”‚   โ”œโ”€โ”€ gemini/               # Antigravity CLI่จญๅฎš๏ผˆโ†’ ใ‚จใƒผใ‚ธใ‚งใƒณใƒˆ่จญๅฎšใฎๅ‚็…งๅ…ˆ๏ผ‰
โ”‚   โ”œโ”€โ”€ git/                  # Git่จญๅฎš
โ”‚   โ”œโ”€โ”€ grok/                 # Grok่จญๅฎš๏ผˆโ†’ ใ‚จใƒผใ‚ธใ‚งใƒณใƒˆ่จญๅฎšใฎๅ‚็…งๅ…ˆ๏ผ‰
โ”‚   โ”œโ”€โ”€ hypr/                 # Hyprland่จญๅฎš
โ”‚   โ”œโ”€โ”€ kde/                  # KDE่จญๅฎš
โ”‚   โ”œโ”€โ”€ mako/                 # mako้€š็Ÿฅใƒ„ใƒผใƒซ่จญๅฎš
โ”‚   โ”œโ”€โ”€ markdownlint/         # markdownlint่จญๅฎš
โ”‚   โ”œโ”€โ”€ npm/                  # npm่จญๅฎš
โ”‚   โ”œโ”€โ”€ nvim/                 # Neovim่จญๅฎš
โ”‚   โ”œโ”€โ”€ scripts/              # ๅ€‹ไบบ็”จใ‚นใ‚ฏใƒชใƒ—ใƒˆ๏ผˆagy / update-ai-cli.sh / sync-handoff ใชใฉ๏ผ‰
โ”‚   โ”œโ”€โ”€ sway/                 # Sway่จญๅฎš
โ”‚   โ”œโ”€โ”€ tmux/                 # tmux่จญๅฎš
โ”‚   โ”œโ”€โ”€ tmuxp/                # tmuxp่จญๅฎš
โ”‚   โ”œโ”€โ”€ vim/                  # Vim่จญๅฎš
โ”‚   โ”œโ”€โ”€ vscode/               # VS Code่จญๅฎš
โ”‚   โ”œโ”€โ”€ waybar/               # Waybar่จญๅฎš
โ”‚   โ”œโ”€โ”€ wezterm/              # WezTerm่จญๅฎš
โ”‚   โ”œโ”€โ”€ xorg/                 # X.Org่จญๅฎš
โ”‚   โ”œโ”€โ”€ yazi/                 # yaziใƒ•ใ‚กใ‚คใƒฉใƒผ่จญๅฎš
โ”‚   โ”œโ”€โ”€ zsh/                  # Zsh่จญๅฎš
โ”‚   โ””โ”€โ”€ zsh-functions/        # Zsh้–ขๆ•ฐ
โ”œโ”€โ”€ systemd/                  # ่‡ชไฝœsystemd unit / drop-in๏ผˆStow็ฎก็†ๅฏพ่ฑกๅค–๏ผ‰
โ”‚   โ”œโ”€โ”€ system/               # โ†’ /etc/systemd/system/ ใธ้…็ฝฎ
โ”‚   โ”‚   โ””โ”€โ”€ clamav-clamonacc.service.d/
โ”‚   โ”‚       โ””โ”€โ”€ override.conf
โ”‚   โ””โ”€โ”€ user/                 # โ†’ ~/.config/systemd/user/ ใธ้…็ฝฎ
โ”‚       โ””โ”€โ”€ ssh-agent.service
โ”œโ”€โ”€ system/secureboot/        # Secure Boot้–ข้€ฃใฎ่จญๅฎšใจใ‚นใ‚ฏใƒชใƒ—ใƒˆ
โ”œโ”€โ”€ pkglist/                  # ๆ˜Ž็คบใ‚คใƒณใ‚นใƒˆใƒผใƒซๆธˆใฟใƒ‘ใƒƒใ‚ฑใƒผใ‚ธไธ€่ฆง
โ”œโ”€โ”€ vscode/                   # VS Codeๆ‹กๅผตไธ€่ฆง๏ผˆStow็ฎก็†ๅฏพ่ฑกๅค–๏ผ‰
โ”œโ”€โ”€ sample/                   # ใ‚ทใ‚นใƒ†ใƒ ่จญๅฎšใƒ•ใ‚กใ‚คใƒซใฎใ‚ตใƒณใƒ—ใƒซ
โ”œโ”€โ”€ docs/                     # ่ฃœๅŠฉใƒ‰ใ‚ญใƒฅใƒกใƒณใƒˆ
โ”‚   โ”œโ”€โ”€ AI-CODINGAGENTS-INSTALLATIONS.md  # AI CLIใฎๅฐŽๅ…ฅ็ตŒ่ทฏใจๆ›ดๆ–ฐๆ–นๆณ•
โ”‚   โ””โ”€โ”€ steam-shared-library.md           # Windows / LinuxใฎSteamใƒฉใ‚คใƒ–ใƒฉใƒชๅ…ฑๆœ‰ใ‚ปใƒƒใƒˆใ‚ขใƒƒใƒ—ๆ–นๆณ•
โ”œโ”€โ”€ github/                   # GitHub rulesetใƒ†ใƒณใƒ—ใƒฌใƒผใƒˆ๏ผˆๆ‰‹ๅ‹•้ฉ็”จใ€Stowๅฏพ่ฑกๅค–๏ผ‰
โ”‚   โ””โ”€โ”€ rulesets/
โ”‚       โ”œโ”€โ”€ protect-main.json
โ”‚       โ”œโ”€โ”€ protect-main-develop.json
โ”‚       โ””โ”€โ”€ dotfiles-protect-main.json
โ”œโ”€โ”€ apply-stow.sh             # Stowใƒชใƒณใ‚ฏใ‚’ไฝœๆˆ
โ”œโ”€โ”€ remove-stow.sh            # Stowใƒชใƒณใ‚ฏใ‚’ๅ‰Š้™ค
โ”œโ”€โ”€ setup-systemd-services.sh # systemd unit / drop-inใฎ้…็ฝฎใจenable็Šถๆ…‹ใฎๅ†็พ
โ”œโ”€โ”€ save-pkglist.sh           # ใƒ‘ใƒƒใ‚ฑใƒผใ‚ธไธ€่ฆงใ‚’ไฟๅญ˜
โ”œโ”€โ”€ setup-pkglist.sh          # ใƒ‘ใƒƒใ‚ฑใƒผใ‚ธไธ€่ฆงใ‹ใ‚‰ๅฐŽๅ…ฅ
โ”œโ”€โ”€ save-vscode-extensions-list.sh  # VS Codeๆ‹กๅผตไธ€่ฆงใ‚’ไฟๅญ˜
โ”œโ”€โ”€ setup-vscode-extensions-list.sh # VS Codeๆ‹กๅผตไธ€่ฆงใ‹ใ‚‰ๅฐŽๅ…ฅ
โ”œโ”€โ”€ backup-ssh-allowlist.sh   # SSH้ตใจ่จญๅฎšใ‚’ๆš—ๅทๅŒ–ใƒใƒƒใ‚ฏใ‚ขใƒƒใƒ—
โ”œโ”€โ”€ restore-ssh-allowlist.sh  # ๆš—ๅทๅŒ–ใ—ใŸSSH้ตใจ่จญๅฎšใ‚’ๅพฉๅ…ƒ
โ”œโ”€โ”€ backup-ssh-config.sh      # SSH่จญๅฎšใฎใฟใ‚’ๆš—ๅทๅŒ–ใƒใƒƒใ‚ฏใ‚ขใƒƒใƒ—
โ”œโ”€โ”€ restore-ssh-config.sh     # ๆš—ๅทๅŒ–ใ—ใŸSSH่จญๅฎšใฎใฟใ‚’ๅพฉๅ…ƒ
โ””โ”€โ”€ setup-system.sh           # ใ‚ทใ‚นใƒ†ใƒ ๅด่จญๅฎšใ‚’้…็ฝฎ

GitHub rulesetใƒ†ใƒณใƒ—ใƒฌใƒผใƒˆ

github/rulesets/ ใฏ GitHub ใฎ branch ruleset ใ‚’ๆ‰‹ๅ‹•้ฉ็”จใ™ใ‚‹ใŸใ‚ใฎ JSON ใƒ†ใƒณใƒ—ใƒฌใƒผใƒˆใงใ™ใ€‚ Stow ๅฏพ่ฑกๅค–ใงใ€ใƒชใƒใ‚ธใƒˆใƒชใธ่‡ชๅ‹•้ฉ็”จใ™ใ‚‹ใ‚นใ‚ฏใƒชใƒ—ใƒˆใฏใ‚ใ‚Šใพใ›ใ‚“ใ€‚ bypass_actors ใฏไฝœ่€…ใ‚ขใ‚ซใ‚ฆใƒณใƒˆๅ‘ใ‘ใชใฎใงใ€ไป–ใƒชใƒใ‚ธใƒˆใƒชใธๆต็”จใ™ใ‚‹ๅ ดๅˆใฏๆ›ธใๆ›ใˆใฆใใ ใ•ใ„ใ€‚

ใƒ•ใ‚กใ‚คใƒซ ๅฏพ่ฑกbranch ๅ†…ๅฎน
protect-main.json main ๅ‰Š้™ค็ฆๆญขใ€non-fast-forward็ฆๆญขใ€PRๅฟ…้ ˆ๏ผˆๆ‰ฟ่ช0ใ€ๆœช่งฃๆฑบใ‚นใƒฌใƒƒใƒ‰ใฎresolveๅฟ…้ ˆ๏ผ‰
protect-main-develop.json main ใจ develop ๅŒไธŠ
dotfiles-protect-main.json main ๅ‰Š้™ค็ฆๆญขใฎใฟ๏ผˆrulesetๅ private-protect-main๏ผ‰

ใ‚ณใƒผใƒ‡ใ‚ฃใƒณใ‚ฐใ‚จใƒผใ‚ธใ‚งใƒณใƒˆ่จญๅฎšใฎๅ‚็…งๅ…ˆ

Important

ๅ…ฑ้€šๅฅ‘็ด„ใฎๆญฃๆœฌใฏ stow/codex/.codex/AGENTS.md ใฎ1ใคใ ใ‘ใงใ™ใ€‚ CLAUDE.md ใฏ @~/.codex/AGENTS.md ใงCodexๆญฃๆœฌใ‚’importใ—ใ€ GEMINI.md ใฏใใ“ใ‹ใ‚‰ใฎไธ€ๆ–นๅ‘ๅŒๆœŸใซใ‚ˆใ‚‹็งปๆค็‰ˆใงใ™ใ€‚ ใฉใกใ‚‰ใ‚‚ใ‚จใƒผใ‚ธใ‚งใƒณใƒˆๅ›บๆœ‰ใฎๅทฎๅˆ†ใ ใ‘ใ‚’ๅฑ€ๆ‰€็š„ใซๆŒใกใพใ™ใ€‚ ๅ…ฑ้€šใƒซใƒผใƒซใ‚’ๅค‰ๆ›ดใ™ใ‚‹ๅ ดๅˆใฏใ€ๅฟ…ใšCodexๆญฃๆœฌใ‚’ๅ…ˆใซ็›ดใ—ใฆใใ ใ•ใ„ใ€‚

ๅ„ใ‚จใƒผใ‚ธใ‚งใƒณใƒˆใŒๅฎŸ้š›ใซ่ชญใ‚€ใƒ•ใ‚กใ‚คใƒซใจใ€ใ“ใฎใƒชใƒใ‚ธใƒˆใƒชๅ†…ใงใฎๅฎŸไฝ“ใฎๅฏพๅฟœใฏๆฌกใฎใจใŠใ‚Šใงใ™ใ€‚

ใ‚จใƒผใ‚ธใ‚งใƒณใƒˆ ใƒชใƒใ‚ธใƒˆใƒชๅ†…ใฎๅฎŸไฝ“ ๅฎŸ้š›ใฎๅ‚็…งๅ…ˆ ๅ†…ๅฎน
Codex stow/codex/.codex/AGENTS.md ~/.codex/AGENTS.md ๅ…ฑ้€šๅฅ‘็ด„ใฎๆญฃๆœฌ
Codex stow/codex/.agents/skills/ ~/.agents/skills/ Skill 9็จฎ๏ผˆdirectory symlink๏ผ‰
Codex stow/codex/.codex/config.toml ~/.codex/config.toml ๅธธ็”จใƒ‡ใƒ•ใ‚ฉใƒซใƒˆ
Codex stow/codex/.codex/*.config.toml ~/.codex/ ใƒขใƒ‡ใƒซๅˆฅใƒ—ใƒญใƒ•ใ‚กใ‚คใƒซ๏ผˆastra / luna / sol / terra / spark / safe๏ผ‰
Codex stow/codex/.codex/config.toml.example ~/.codex/config.toml.example ๆœ€ๅฐๆง‹ๆˆใฎไพ‹
Codex stow/codex/.codex/rules/ ~/.codex/rules/ prefix_rule๏ผˆๅฎŸใƒ•ใ‚กใ‚คใƒซcopyใ€‚็พๅœจใฏ default.rules๏ผ‰
Claude Code stow/claude/.claude/CLAUDE.md ~/.claude/CLAUDE.md Codexๆญฃๆœฌใฎimport๏ผ‹ๅ›บๆœ‰ๅทฎๅˆ†
Claude Code stow/claude/.claude/skills/ ~/.claude/skills/ Skill 9็จฎ
Claude Code stow/claude/.claude/settings.json ~/.claude/settings.json ๆจฉ้™ใ€ใƒขใƒ‡ใƒซใ€hooksใ€ใƒ—ใƒฉใ‚ฐใ‚คใƒณ็ญ‰
Claude Code stow/claude/.claude/hooks/ ~/.claude/hooks/ Codex rulesใ‚’Bash PreToolUseใธๆต็”จใ™ใ‚‹ใ‚ฒใƒผใƒˆ
Antigravity CLI stow/gemini/.gemini/GEMINI.md ~/.gemini/GEMINI.md Codexๆญฃๆœฌใ‹ใ‚‰ใฎ็งปๆค
Antigravity CLI stow/gemini/.gemini/antigravity-cli/skills/ ~/.gemini/antigravity-cli/skills/ Skill 9็จฎ
Antigravity CLI stow/gemini/.gemini/settings.json ~/.gemini/settings.json Gemini CLI่จญๅฎš
Antigravity CLI stow/gemini/.gemini/antigravity-cli/settings.json ~/.gemini/antigravity-cli/settings.json Antigravity CLI่จญๅฎš
Grok stow/grok/.grok/AGENTS.md ~/.grok/AGENTS.md Codexๆญฃๆœฌใธใฎsymlink
Grok stow/grok/.grok/config.toml ~/.grok/config.toml CLI / UI / marketplace ่จญๅฎš๏ผˆๆœช้…็ฝฎๆ™‚seed๏ผ‰
GitHub Copilot stow/copilot/.copilot/instructions/global.instructions.md ~/.copilot/instructions/global.instructions.md Codexๆญฃๆœฌใธใฎๅ‚็…ง

SkillใฏCodexใƒปClaude CodeใƒปAntigravity CLIใฎ3ใ‚จใƒผใ‚ธใ‚งใƒณใƒˆๅ…ฑ้€šใงๆฌกใฎ9็จฎใ‚’้…็ฝฎใ—ใฆใ„ใพใ™ใ€‚

audit  commit-prep  cpp-conventions  github
handoff  handoff-inline  handoff-archive  issue-slice  verify

Note

Claude Codeใ ใ‘ใฏ verify ใงใฏใชใ verify-diff ใจใ„ใ†ๅๅ‰ใงใ™ใ€‚ verify ใŒ็ต„ใฟ่พผใฟใ‚ณใƒžใƒณใƒ‰ใจ่ก็ชใ™ใ‚‹ใŸใ‚ใ€ๆ„ๅ›ณ็š„ใซใƒชใƒใƒผใƒ ใ—ใฆใ„ใพใ™ใ€‚ ไธญ่บซใฎๅฅ‘็ด„ใฏไป–ใ‚จใƒผใ‚ธใ‚งใƒณใƒˆใฎ verify ใจๅŒใ˜ใงใ™ใ€‚

issue-sliceใฏGitHub IssueใพใŸใฏๆ˜Ž็คบใ•ใ‚ŒใŸPRๅ˜ไฝใงscope / non-scopeใ‚’ๅ›บๅฎšใ—ใ€ ๆ—ขๅญ˜ใฎauditใ€cpp-conventionsใ€verify๏ผˆClaude Codeใงใฏverify-diff๏ผ‰ใ€ commit-prepใ€githubใ€handoffใธๅฟ…่ฆใชๆฎต้šŽใงroutingใ—ใชใŒใ‚‰ใ€ ๆœ€ๅฐๅฎŸ่ฃ…ใจๆคœ่จผใ‚’้€ฒใ‚ใฆcommitๅ‰ใงๅœๆญขใ™ใ‚‹ใ‚ชใƒผใ‚ฑใ‚นใƒˆใƒฌใƒผใ‚ฟใงใ™ใ€‚

้•ทใ„testใ€buildใ€release-checkใ€compilerใ€runtimeใ€diff็ญ‰ใฎไฝœๆฅญlogใฏใ€ repositoryใธ่ฟฝๅŠ ใ›ใš~/handoff/<repo>/<scope>/ใธtimestampไป˜ใfilenameใงไฟๅญ˜ใ—ใพใ™ใ€‚ ๆœ€็ต‚ๅ ฑๅ‘Šใซใฏraw logใ‚’่ฒผใ‚‰ใšใ€pass / failใ€ไฟๅญ˜pathใ€้‡่ฆใช่ฆ็‚นใ ใ‘ใ‚’่จ˜่ผ‰ใ—ใพใ™ใ€‚ ~/handoff ใ‚’ ~/PrivateDocs/handoff/ ใธ *.md / *.txt ใ ใ‘ๅŒๆœŸใ™ใ‚‹ใ‚นใ‚ฏใƒชใƒ—ใƒˆใฏ stow/scripts/.local/bin/sync-handoff ใงใ™๏ผˆStowๅฑ•้–‹ๅพŒใฏ sync-handoff๏ผ‰ใ€‚

handoff็ณป3็จฎ๏ผˆhandoff / handoff-inline / handoff-archive๏ผ‰ใฎๆœฌๆ–‡ใจใ€ handoff/references/common.mdใ‚’3ใ‚จใƒผใ‚ธใ‚งใƒณใƒˆใงไธ€่‡ดใ•ใ›ใ‚‹้‹็”จใงใ™ใ€‚ SKILL.mdใฎfront matterใจใ€handoff-inlineใฎๅ…ฑ้€šreferenceๅ‚็…งใƒ‘ใ‚นใฏใ‚จใƒผใ‚ธใ‚งใƒณใƒˆๅ›บๆœ‰ๅทฎๅˆ†ใจใ—ใฆ่จฑๅฎนใ—ใพใ™ใ€‚

verificationใฎ่ฉณ็ดฐworkflowใฏverify๏ผˆClaude Codeใงใฏverify-diff๏ผ‰ใ‚’ๆญฃใจใ—ใ€ issue-sliceใฏacceptance criteriaใƒปimpact / riskใ‚’ๆธกใ—ใฆๅฟ…่ฆใชๆคœ่จผใฎๅฎŒไบ†ใ‚’็ขบ่ชใ—ใพใ™ใ€‚ handoffใจhandoff-inlineใฏๅ…ฑ้€šreferenceใ‚’ไฝฟใ„ใ€inlineใฏ้€šๅธธไฟๅญ˜ใฎSKILL.mdใ‚’่ชญใ‚€ๅฟ…่ฆใŒใ‚ใ‚Šใพใ›ใ‚“ใ€‚ github/references/commands.mdใฏCLIไพ‹ใŒๅฟ…่ฆใชๅ ดๅˆใ ใ‘ๅ‚็…งใ—ใ€ๅฎ‰ๅ…จๅขƒ็•Œใฏgithub/SKILL.mdใซๆฎ‹ใ—ใพใ™ใ€‚

supporting referenceใฏๅ„Skill directoryๅ†…ใซ็ฝฎใใ€ๅŒใ˜Stow treeใง้…ๅธƒใ—ใพใ™ใ€‚ CodexใฎSkill directory symlinkใจClaudeใฎๆ—ขๅญ˜fold้…็ฝฎใงใฏsourceๅ†…ใฎ่ฟฝๅŠ fileใŒๅ‚็…งๅฏ่ƒฝใซใชใ‚Šใพใ™ใ€‚ Geminiใฎ--no-folding้…็ฝฎใงใฏใ€ๆ–ฐ่ฆreference่ฟฝๅŠ ๅพŒใซStowใ‚’ๅ†้ฉ็”จใ—ใฆfile symlinkใ‚’ไฝœๆˆใ—ใพใ™ใ€‚ ๅ‚็…งpathใฏsourceๅดใ ใ‘ใงใชใใ€้…็ฝฎๅ…ˆใ‹ใ‚‰ใฎ่งฃๆฑบใ‚‚็ขบ่ชใ—ใพใ™ใ€‚

Warning

gemini ใƒ‘ใƒƒใ‚ฑใƒผใ‚ธใฏ --no-folding ใงใ™ใ€‚ ~/.gemini ใฏๅฎŸใƒ‡ใ‚ฃใƒฌใ‚ฏใƒˆใƒชใฎใพใพๆฎ‹ใ‚Šใ€่ฟฝ่ทกๅฏพ่ฑก๏ผˆGEMINI.mdใ€ settings.jsonใ€antigravity-cli/settings.jsonใ€skills/๏ผ‰ใ ใ‘ใŒfile symlinkใซใชใ‚Šใพใ™ใ€‚ history.jsonlใ€log/ใ€conversations/ใ€brain/ ใชใฉใฎๅฎŸ่กŒๆ™‚ใƒ‡ใƒผใ‚ฟใฏ ใƒ›ใƒผใƒ ๅดใธๆ›ธใ่พผใพใ‚Œใพใ™ใ€‚ๅคใ„fold้…็ฝฎๅ‘ใ‘ใฎ้™คๅค–ใŒ .gitignore ใซๆฎ‹ใฃใฆใ„ใพใ™ใ€‚

Grokใฎ config.toml ใฏfile symlinkใงใฏใชใใ€ๆœช้…็ฝฎๆ™‚ใ ใ‘copyใ™ใ‚‹seedใงใ™ใ€‚ ๆ—ขๅญ˜ใฎlive configใฏGrok่‡ช่บซใŒๆ›ธใๆ›ใˆใ‚‹ใŸใ‚ไธŠๆ›ธใใ—ใพใ›ใ‚“ใ€‚ ~/.grok ใฏๅฎŸใƒ‡ใ‚ฃใƒฌใ‚ฏใƒˆใƒชใฎใพใพๆฎ‹ใ‚Šใ€AGENTS.md ใ ใ‘ใŒfile symlinkใงใ™ใ€‚ Skill 9็จฎใฎ่ค‡่ฃฝใฏ stow/grok ใซใฏ็ฝฎใ„ใฆใ„ใพใ›ใ‚“ใ€‚ auth.jsonใ€sessions/ใ€logs/ ใชใฉใฎๅฎŸ่กŒๆ™‚ใƒ‡ใƒผใ‚ฟใฏใƒ›ใƒผใƒ ๅดใซๆฎ‹ใ‚Šใ€ ใ“ใฎใƒชใƒใ‚ธใƒˆใƒชใฎ่ฟฝ่ทกๅฏพ่ฑกๅค–ใงใ™ใ€‚

AI CLIใฎๅฐŽๅ…ฅ็ตŒ่ทฏใจไธ€ๆ‹ฌๆ›ดๆ–ฐ

ๅ„CLIใฎๅฐŽๅ…ฅ็ตŒ่ทฏใ€็พๅœจใฎ้…็ฝฎใ€ๆ›ดๆ–ฐใ‚ณใƒžใƒณใƒ‰ใฏ docs/AI-CODINGAGENTS-INSTALLATIONS.md ใ‚’ๆญฃๆœฌใจใ—ใพใ™ใ€‚

CLI ๅฐŽๅ…ฅ็ตŒ่ทฏ Command
Codex npm global codex
Claude Code ๅ…ฌๅผnative installer claude
Grok npm global grok
Antigravity CLI ๅ…ฌๅผinstaller + dotfiles็ฎก็†ใฎwrapper agy

4็จฎใ‚’ใพใจใ‚ใฆๆ›ดๆ–ฐใ™ใ‚‹ใ‚นใ‚ฏใƒชใƒ—ใƒˆใฏ stow/scripts/.local/bin/update-ai-cli.sh ใงใ™ใ€‚ Stowๅฑ•้–‹ๅพŒใฏ ~/.local/bin/update-ai-cli.sh ใจใ—ใฆๅฎŸ่กŒใงใใพใ™ใ€‚

update-ai-cli.sh

CLIใ”ใจใซPATHไธŠใฎๅฎŸไฝ“ใจๆ›ดๆ–ฐๅ‰ๅพŒใฎversionใ‚’่กจ็คบใ—ใ€<command> update ใ‚’ codex โ†’ claude โ†’ grok โ†’ agy ใฎ้ †ใงๅฎŸ่กŒใ—ใพใ™ใ€‚ PATHใซ็„กใ„CLIใฏSKIPๆ‰ฑใ„ใงไธญๆ–ญใ›ใšใ€1ใคใงใ‚‚ๅคฑๆ•—ใ—ใŸๅ ดๅˆใฏ็ต‚ไบ†ใ‚ณใƒผใƒ‰1ใ‚’่ฟ”ใ—ใพใ™ใ€‚

Steamๅ…ฑๆœ‰ใƒฉใ‚คใƒ–ใƒฉใƒช

Windows / Linux ใฎ Steam ใƒฉใ‚คใƒ–ใƒฉใƒชๅ…ฑๆœ‰ใ‚ปใƒƒใƒˆใ‚ขใƒƒใƒ—ๆ–นๆณ•ใฏ docs/steam-shared-library.md ใ‚’ๆญฃๆœฌใจใ—ใพใ™ใ€‚

ไธป่ฆใ‚นใ‚ฏใƒชใƒ—ใƒˆใฎไฝฟใ„ๆ–น

ๆ–ฐ่ฆArch็’ฐๅขƒใงใฎๅˆๆœŸๆง‹็ฏ‰ใฏใ€ๅ„ใ‚นใ‚ฏใƒชใƒ—ใƒˆใฎ่ฒฌๅ‹™ใซๆฒฟใฃใฆๆฌกใฎ้ †ใงๅฎŸ่กŒใ—ใพใ™ใ€‚

  1. ใƒ‘ใƒƒใ‚ฑใƒผใ‚ธใฎๅฐŽๅ…ฅ: ./setup-pkglist.sh
  2. $HOMEๅด่จญๅฎšใฎ้ฉ็”จ: ./apply-stow.sh
  3. ใ‚ทใ‚นใƒ†ใƒ ๅด๏ผˆSecure Boot๏ผ‰่จญๅฎšใฎ้…็ฝฎ: sudo ./setup-system.sh
  4. systemd unit / drop-inใฎ้…็ฝฎใจenable: ./setup-systemd-services.sh --apply
  5. ๅฟ…่ฆใซๅฟœใ˜ใฆSSH่จญๅฎšใฎๅพฉๅ…ƒ: ./restore-ssh-config.sh BACKUP_DIR ๏ผˆ้ตใ‚‚ๅซใ‚ใ‚‹ๅ ดๅˆใฏ ./restore-ssh-allowlist.sh BACKUP_DIR๏ผ‰
  6. ๅฟ…่ฆใซๅฟœใ˜ใฆVS Codeๆ‹กๅผตใฎๅฐŽๅ…ฅ: ./setup-vscode-extensions-list.sh

ๅ…จ้ƒจใ‚’ใพใจใ‚ใฆๅฎŸ่กŒใ™ใ‚‹bootstrapใ‚นใ‚ฏใƒชใƒ—ใƒˆใฏใ‚ใ‚Šใพใ›ใ‚“ใ€‚ไธŠ่จ˜ใ‚’ๅ€‹ๅˆฅใซๅฎŸ่กŒใ—ใพใ™ใ€‚

1. ใƒ‰ใƒƒใƒˆใƒ•ใ‚กใ‚คใƒซใฎ้ฉ็”จใƒปๅŒๆœŸ

ใƒ›ใƒผใƒ ใƒ‡ใ‚ฃใƒฌใ‚ฏใƒˆใƒช๏ผˆ$HOME๏ผ‰ใซ่จญๅฎšใƒ•ใ‚กใ‚คใƒซใฎใ‚ทใƒณใƒœใƒชใƒƒใ‚ฏใƒชใƒณใ‚ฏใ‚’ๅฑ•้–‹ใ—ใพใ™ใ€‚

./apply-stow.sh

๏ผˆvscode / gemini / antigravity / grok ใƒ‘ใƒƒใ‚ฑใƒผใ‚ธๅ…จไฝ“ใจใ€ codex ใƒ‘ใƒƒใ‚ฑใƒผใ‚ธใฎ .codex subtreeใซใฏ --no-folding ใŒ้ฉ็”จใ•ใ‚Œใพใ™ใ€‚ Codex Skillใฏ ~/.agents/skills/<skill> ใฎdirectory symlinkใจใ—ใฆๅฑ•้–‹ใ•ใ‚Œใพใ™ใ€‚ Codexใฎ ~/.codex/rules/*.rules ใฏStow symlinkใงใฏใชใใ€ apply-stow.sh ใŒใƒชใƒใ‚ธใƒˆใƒชๅดใ‚’ๅฎŸใƒ•ใ‚กใ‚คใƒซใจใ—ใฆcopyใ—ใพใ™๏ผˆๆ—ขๅญ˜fileใฏไธŠๆ›ธใ๏ผ‰ใ€‚ remove-stow.sh ใฏใ€ใƒชใƒใ‚ธใƒˆใƒชๅดใจๅ†…ๅฎนใŒไธ€่‡ดใ™ใ‚‹copyใ ใ‘ใ‚’ๅ‰Š้™คใ—ใ€ ้…็ฝฎๅพŒใซๅค‰ๆ›ดใ•ใ‚ŒใŸrulesใฏๆฎ‹ใ—ใพใ™ใ€‚ Grokใฎ config.toml ใฏStowๅฏพ่ฑกๅค–ใงใ€ๆœช้…็ฝฎๆ™‚ใ ใ‘ๅฎŸใƒ•ใ‚กใ‚คใƒซใจใ—ใฆseedใ•ใ‚Œใพใ™ใ€‚๏ผ‰

Important

systemd unit / drop-in / enable็Šถๆ…‹ใฏStowใฎ็ฎก็†ๅฏพ่ฑกๅค–ใงใ™ใ€‚ ใ“ใ‚Œใ‚‰ใฏ systemd/ ใจ setup-systemd-services.sh ใŒ็ฎก็†ๅ…ƒใงใ™ใ€‚ apply-stow.sh / remove-stow.sh ใฏๆ—งใƒ‘ใƒƒใ‚ฑใƒผใ‚ธๅ systemd-user ใ‚’ SKIP_PACKAGES ใจใ—ใฆ้™คๅค–ใ—ใฆใ„ใพใ™ใ€‚ใƒ‘ใƒƒใ‚ฑใƒผใ‚ธ่‡ชไฝ“ใฏๅ‰Š้™คๆธˆใฟใงใ€ ใ“ใฎๆŒ‡ๅฎšใฏ่ชคใฃใฆStow็ฎก็†ใธๆˆปใ•ใชใ„ใŸใ‚ใฎใ‚ฌใƒผใƒ‰ใจใ—ใฆๆฎ‹ใ—ใฆใ„ใพใ™ใ€‚ StowใŒๅŒใ˜ใƒ‘ใ‚นใธsymlinkใ‚’ๅผตใ‚‹ใจใ€setupใ‚นใ‚ฏใƒชใƒ—ใƒˆใŒ้…็ฝฎใ—ใŸๅฎŸใƒ•ใ‚กใ‚คใƒซใจ conflictใ™ใ‚‹ใŸใ‚ใงใ™ใ€‚

2. ใƒ‘ใƒƒใ‚ฑใƒผใ‚ธใƒชใ‚นใƒˆใจVS Codeๆ‹กๅผตไธ€่ฆงใฎไฟๅญ˜ใจๅฐŽๅ…ฅ

ๆ™ฎๆฎตใ‚คใƒณใ‚นใƒˆใƒผใƒซใ—ใฆใ„ใ‚‹ใƒ‘ใƒƒใ‚ฑใƒผใ‚ธใฎไธ€่ฆงใ‚’็ฎก็†ใ—ใพใ™ใ€‚ ใƒปใƒชใ‚นใƒˆใฎไฟๅญ˜๏ผˆ็พๅœจใฎ็Šถๆ…‹ใ‚’ไฟๅญ˜๏ผ‰:

./save-pkglist.sh

ใƒปใƒ‘ใƒƒใ‚ฑใƒผใ‚ธใฎๅฐŽๅ…ฅ๏ผˆใ‚ฏใƒชใƒผใƒณใ‚คใƒณใ‚นใƒˆใƒผใƒซๆ™‚ใชใฉ๏ผ‰:

./setup-pkglist.sh

๏ผˆ่‡ชๅ‹•็š„ใซๅ…ฌๅผใƒ‘ใƒƒใ‚ฑใƒผใ‚ธใฏ pacmanใ€AURใƒ‘ใƒƒใ‚ฑใƒผใ‚ธใฏ yay ใพใŸใฏ paru ใ‚’ๆคœๅ‡บใ—ใฆ --needed ใงใ‚คใƒณใ‚นใƒˆใƒผใƒซใ—ใพใ™๏ผ‰

VS Codeๆ‹กๅผตใ‚‚ๅŒๆง˜ใซไธ€่ฆงใง็ฎก็†ใ—ใพใ™ใ€‚ ใƒปๆ‹กๅผตไธ€่ฆงใฎไฟๅญ˜:

./save-vscode-extensions-list.sh

ใƒปๆ‹กๅผตใฎๅฐŽๅ…ฅ:

./setup-vscode-extensions-list.sh

ไฟๅญ˜ๅ…ˆใฏ $DOTFILES/vscode/extensions-list.txt ใงใ™ใ€‚ $DOTFILES ใŒๆœช่จญๅฎšใฎใจใใฏ $HOME/dotfiles ใ‚’ไฝฟใ„ใพใ™ใ€‚ ๅฐŽๅ…ฅๅดใฏๆ—ขใซๅ…ฅใฃใฆใ„ใ‚‹ๆ‹กๅผตใ‚’ใ‚นใ‚ญใƒƒใƒ—ใ—ใพใ™ใ€‚

3. SSH่จญๅฎšใฎใƒใƒƒใ‚ฏใ‚ขใƒƒใƒ—ใจๅพฉๅ…ƒ

็ง˜ๅฏ†้ตใ‚’ๅซใ‚€ใŸใ‚ใ€ใƒชใƒใ‚ธใƒˆใƒชใซใ‚ณใƒŸใƒƒใƒˆใ—ใŸใใชใ„ ~/.ssh ไปฅไธ‹ใฎ้‡่ฆใƒ•ใ‚กใ‚คใƒซใ‚’ใ€ ใƒฆใƒผใ‚ถใƒผใŒๆŒ‡ๅฎšใ—ใŸๅค–้ƒจใƒ‡ใ‚ฃใƒฌใ‚ฏใƒˆใƒช๏ผˆBACKUP_DIR๏ผ‰ใธGPGๆš—ๅทๅŒ–ใ—ใฆ้€€้ฟใ—ใพใ™ใ€‚ ใฉใกใ‚‰ใฎใ‚นใ‚ฏใƒชใƒ—ใƒˆใ‚‚ BACKUP_DIR ใŒๅฟ…้ ˆๅผ•ๆ•ฐใงใ€ใƒชใƒใ‚ธใƒˆใƒชๅ†…ใซใฏไฟๅญ˜ใ—ใพใ›ใ‚“ใ€‚

ใƒปใƒใƒƒใ‚ฏใ‚ขใƒƒใƒ—๏ผˆ~/.ssh/configใ€id_ed25519ใ€id_ed25519.pub ใฎใฟใ€‚ authorized_keys / known_hosts / known_hosts.old ใฏ้™คๅค–๏ผ‰:

./backup-ssh-allowlist.sh /path/to/secure-backup-dir

ใƒปๅพฉๅ…ƒ:

./restore-ssh-allowlist.sh /path/to/secure-backup-dir

ๅฏพ่ฑกใƒ•ใ‚กใ‚คใƒซใฏ BACKUP_DIR/ssh-backup.tar.gz.gpg ใงใ™ใ€‚ ใƒใƒƒใ‚ฏใ‚ขใƒƒใƒ—ๅดใฏ BACKUP_DIR ใŒๅญ˜ๅœจใ—ใชใ„ๅ ดๅˆใฏไธญๆญขใ—ใ€ๆ—ขๅญ˜ใƒใƒƒใ‚ฏใ‚ขใƒƒใƒ—ใฏ ใ‚ฟใ‚คใƒ ใ‚นใ‚ฟใƒณใƒ—ไป˜ใ .bak ใธใƒญใƒผใƒ†ใƒผใ‚ทใƒงใƒณใ—ใฆใ‹ใ‚‰็ฝฎใๆ›ใˆใพใ™ใ€‚ ๅพฉๅ…ƒๅดใฏใ‚ขใƒผใ‚ซใ‚คใƒ–ๅ†…ๅฎนใ‚’allowlistใงๆคœ่จผใ—ใ€~/.ssh ใŒๅญ˜ๅœจใ—ใฆ็ฉบใงใชใ„ๅ ดๅˆใฏ ไธŠๆ›ธใใ‚’ๆ‹’ๅฆใ—ใพใ™ใ€‚

ใพใŸใ€~/.ssh/config ใฎใฟใ‚’ๅ–ใ‚Šๆ‰ฑใ†ใƒใƒƒใ‚ฏใ‚ขใƒƒใƒ—ใƒปๅพฉๅ…ƒใ‚นใ‚ฏใƒชใƒ—ใƒˆใ‚‚็”จๆ„ใ•ใ‚Œใฆใ„ใพใ™ใ€‚

ใƒปSSH่จญๅฎšใฎใฟใƒใƒƒใ‚ฏใ‚ขใƒƒใƒ—:

./backup-ssh-config.sh /linuxshare/Backup

ใƒปSSH่จญๅฎšใฎใฟๅพฉๅ…ƒ:

./restore-ssh-config.sh /linuxshare/Backup

/linuxshare/Backup ใฏไพ‹ใงใ‚ใ‚Šๅ›บๅฎšใƒ‘ใ‚นใงใฏใ‚ใ‚Šใพใ›ใ‚“ใ€‚ ๅฏพ่ฑกใƒ•ใ‚กใ‚คใƒซใฏไธ€่ˆฌๅฝขใง BACKUP_DIR/ssh-config.tar.gz.gpg ใงใ™ใ€‚

ใƒใƒƒใ‚ฏใ‚ขใƒƒใƒ—ๅดใฎๆŒ™ๅ‹•:

  • BACKUP_DIR ใฏๅฟ…้ ˆๅผ•ๆ•ฐ
  • ๆŒ‡ๅฎšใƒ‡ใ‚ฃใƒฌใ‚ฏใƒˆใƒชใฏไบ‹ๅ‰ใซๅญ˜ๅœจใ—ใฆใ„ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚‹๏ผˆใ‚นใ‚ฏใƒชใƒ—ใƒˆใฏ่‡ชๅ‹•ไฝœๆˆใ—ใชใ„๏ผ‰
  • ๅฏพ่ฑกใฏ ~/.ssh/config ใฎใฟ
  • GPG symmetric encryption๏ผˆgpg -c๏ผ‰ใงๆš—ๅทๅŒ–ใ™ใ‚‹
  • ๅ‡บๅŠ›ๅ…ˆใฏ BACKUP_DIR/ssh-config.tar.gz.gpg

ๅพฉๅ…ƒๅดใฎๆŒ™ๅ‹•:

  • BACKUP_DIR ใฏๅฟ…้ ˆๅผ•ๆ•ฐ
  • BACKUP_DIR/ssh-config.tar.gz.gpg ใ‹ใ‚‰ๅพฉๅ…ƒใ™ใ‚‹
  • ๅพฉๅ…ƒๅ…ˆใฏ ~/.ssh/config ใฎใฟ
  • ใ‚ขใƒผใ‚ซใ‚คใƒ–ๅ†…ๅฎนใ‚’ๆคœ่จผใ—ใ€.ssh/config ไปฅๅค–ใ‚’ๅซใ‚€ๅ ดๅˆใฏไธญๆญขใ™ใ‚‹
  • ๆ—ขๅญ˜ใฎ ~/.ssh/config ใฏใ‚ฟใ‚คใƒ ใ‚นใ‚ฟใƒณใƒ—ไป˜ใ .bak ใธ้€€้ฟใ—ใฆใ‹ใ‚‰ไธŠๆ›ธใใ™ใ‚‹
  • ~/.ssh ใ‚’700ใ€~/.ssh/config ใ‚’600ใธ่จญๅฎšใ™ใ‚‹
  • ~/.ssh ใ‚„ ~/.ssh/config ใŒsymlinkใฎๅ ดๅˆใฏๆ‹’ๅฆใ™ใ‚‹

4. ใ‚ทใ‚นใƒ†ใƒ ๅด Secure Boot ๆง‹ๆˆใฎ้…็ฝฎ

sudo ./setup-system.sh

ใ“ใ‚Œใซใ‚ˆใ‚Šใ€GRUBๆ›ดๆ–ฐๆ™‚ใซ่‡ชๅ‹•ใง็ฝฒๅใ‚’ใ‚„ใ‚Š็›ดใ™ pacman ใƒ•ใƒƒใ‚ฏใ‚„ใ€ ๅฐ‚็”จใฎใƒใƒƒใ‚ฏใ‚ขใƒƒใƒ—ใƒปใƒชใ‚นใƒˆใ‚ขใ‚นใ‚ฏใƒชใƒ—ใƒˆใŒ /usr/local/sbin ใซๅ…ฅใ‚Šใพใ™ใ€‚ ่ฉณ็ดฐใชๅพฉๆ—งๆ‰‹้ †ใฏ system/secureboot/README.md ใ‚’ๅ‚็…งใ—ใฆใใ ใ•ใ„ใ€‚

5. systemd unit / drop-in ใฎ้…็ฝฎใจenable

systemd/ ้…ไธ‹ใฎ่‡ชไฝœunitใจdrop-inใ‚’้…็ฝฎใ—ใ€ๆ˜Ž็คบ็ฎก็†ใ—ใฆใ„ใ‚‹unitใฎ ๆฐธ็ถšenable็Šถๆ…‹ใ‚’ๅ†็พใ—ใพใ™ใ€‚ systemd unit / drop-in / enable็Šถๆ…‹ใฏGNU Stowใงใฏใชใใ€ systemd/ ใจ setup-systemd-services.sh ใŒ็ฎก็†ๅ…ƒใงใ™ใ€‚

ใƒปdry-run๏ผˆๅผ•ๆ•ฐใชใ—ใƒปๆ—ขๅฎš๏ผ‰:

./setup-systemd-services.sh

ใƒ•ใ‚กใ‚คใƒซใ‚ทใ‚นใƒ†ใƒ ใ‚‚systemdใฎ็Šถๆ…‹ใ‚‚ๅค‰ๆ›ดใ›ใšใ€ไฝ•ใŒ่กŒใ‚ใ‚Œใ‚‹ใ‹ใ ใ‘ใ‚’่กจ็คบใ—ใพใ™ใ€‚

ใƒป้ฉ็”จ:

./setup-systemd-services.sh --apply

่‡ชไฝœunit / drop-inใ‚’้…็ฝฎใ—ใ€ๅฟ…่ฆใชunitใฎๆฐธ็ถšenable็Šถๆ…‹ใ‚’ๅ†็พใ—ใพใ™ใ€‚ ๅ‡ฆ็†้ †ใฏๆฌกใงๅ›บๅฎšใงใ™ใ€‚

custom system / user unitใƒปdrop-inใฎ้…็ฝฎ
โ†’ ๅฟ…่ฆใชๅ ดๅˆใ ใ‘daemon-reload
โ†’ system unitใฎenable
โ†’ user unitใฎenable

ใƒป้ฉ็”จๅพŒใซinactiveใชunitใ ใ‘่ตทๅ‹•:

./setup-systemd-services.sh --apply --now

--now ใฏinactiveใชunitใฎstartใ ใ‘ใ‚’่กŒใ„ใ€restart / stopใฏใ—ใพใ›ใ‚“ใ€‚

็พๅœจใฎๅฎŸ่ฃ…ใฎๅฎ‰ๅ…จๆ–น้‡:

  • ใƒ‘ใƒƒใ‚ฑใƒผใ‚ธใฎใ‚คใƒณใ‚นใƒˆใƒผใƒซใฏ่กŒใ‚ใชใ„
  • disableใ—ใชใ„
  • mask / unmaskใ—ใชใ„
  • stopใ—ใชใ„
  • restartใ—ใชใ„
  • masked unitใฏๆ‰‹ๅ‹•ๅฏพๅฟœใจใ—ใฆskipใ—ใ€ๅ‹ๆ‰‹ใซๅค‰ๆ›ดใ—ใชใ„
  • ๅญ˜ๅœจใ—ใชใ„unitใฏใƒ‘ใƒƒใ‚ฑใƒผใ‚ธๆœชๅฐŽๅ…ฅใฎๅฏ่ƒฝๆ€งใจใ—ใฆ่จ˜้Œฒใ—ใ€ไธญๆ–ญใ—ใชใ„
  • ้…็ฝฎใ™ใ‚‹ใฎใฏdotfilesใŒๆŒใค่‡ชไฝœunitใจdrop-inใ ใ‘ใงใ€ ใƒ‘ใƒƒใ‚ฑใƒผใ‚ธๆไพ›ใฎunitๆœฌไฝ“ใฏshadowใ—ใชใ„

English

Caution

[CRITICAL] Personal Backup Repository Only This repository contains personal configuration files tailored to the author's hardware and environment (Arch Linux / Windows 11 dual-boot). It is NOT a general-purpose template or a reusable setup guide.

In particular, the Secure Boot recovery scripts and hardware-specific configuration could render your system unbootable or cause data loss if executed blindly. Do not copy-paste or execute these scripts unless you thoroughly understand the code.

Overview

This repository manages and syncs the author's (seekerkrt) dotfiles. It includes GNU Stow deployment, custom systemd unit / drop-in installation, Secure Boot maintenance scripts, and package-list backups.

This repository is primarily hosted on GitHub, and the same-named repository on GitLab serves as a backup mirror. GitHub is the primary upstream for updates. Additionally, sensitive information such as private keys and tokens is excluded from this repository.

Repository Structure

.
โ”œโ”€โ”€ stow/                     # User config deployed by GNU Stow
โ”‚   โ”œโ”€โ”€ alacritty/            # Alacritty config
โ”‚   โ”œโ”€โ”€ antigravity/          # Antigravity IDE config
โ”‚   โ”œโ”€โ”€ bash/                 # Bash config
โ”‚   โ”œโ”€โ”€ btop/                 # btop config
โ”‚   โ”œโ”€โ”€ cargo/                # Cargo config
โ”‚   โ”œโ”€โ”€ ccache/               # ccache config
โ”‚   โ”œโ”€โ”€ chrome/               # Chrome config
โ”‚   โ”œโ”€โ”€ clang-format/         # clang-format config
โ”‚   โ”œโ”€โ”€ claude/               # Claude Code config (see: Agent Configuration)
โ”‚   โ”œโ”€โ”€ codex/                # Codex config (see: Agent Configuration)
โ”‚   โ”œโ”€โ”€ conky/                # Conky config
โ”‚   โ”œโ”€โ”€ copilot/              # GitHub Copilot instructions
โ”‚   โ”œโ”€โ”€ editorconfig/         # EditorConfig
โ”‚   โ”œโ”€โ”€ emacs/                # Emacs config
โ”‚   โ”œโ”€โ”€ env/                  # Environment variables config
โ”‚   โ”œโ”€โ”€ fonts/                # Fonts config
โ”‚   โ”œโ”€โ”€ foot/                 # foot terminal config
โ”‚   โ”œโ”€โ”€ gemini/               # Antigravity CLI config (see: Agent Configuration)
โ”‚   โ”œโ”€โ”€ git/                  # Git config
โ”‚   โ”œโ”€โ”€ grok/                 # Grok config (see: Agent Configuration)
โ”‚   โ”œโ”€โ”€ hypr/                 # Hyprland config
โ”‚   โ”œโ”€โ”€ kde/                  # KDE config
โ”‚   โ”œโ”€โ”€ mako/                 # mako notification daemon config
โ”‚   โ”œโ”€โ”€ markdownlint/         # markdownlint config
โ”‚   โ”œโ”€โ”€ npm/                  # npm config
โ”‚   โ”œโ”€โ”€ nvim/                 # Neovim config
โ”‚   โ”œโ”€โ”€ scripts/              # Local scripts (agy, update-ai-cli.sh, sync-handoff, โ€ฆ)
โ”‚   โ”œโ”€โ”€ sway/                 # Sway config
โ”‚   โ”œโ”€โ”€ tmux/                 # tmux config
โ”‚   โ”œโ”€โ”€ tmuxp/                # tmuxp config
โ”‚   โ”œโ”€โ”€ vim/                  # Vim config
โ”‚   โ”œโ”€โ”€ vscode/               # VS Code config
โ”‚   โ”œโ”€โ”€ waybar/               # Waybar config
โ”‚   โ”œโ”€โ”€ wezterm/              # WezTerm config
โ”‚   โ”œโ”€โ”€ xorg/                 # X.Org config
โ”‚   โ”œโ”€โ”€ yazi/                 # yazi terminal file manager config
โ”‚   โ”œโ”€โ”€ zsh/                  # Zsh config
โ”‚   โ””โ”€โ”€ zsh-functions/        # Zsh functions
โ”œโ”€โ”€ systemd/                  # Custom systemd units / drop-ins (not Stow-managed)
โ”‚   โ”œโ”€โ”€ system/               # deployed to /etc/systemd/system/
โ”‚   โ”‚   โ””โ”€โ”€ clamav-clamonacc.service.d/
โ”‚   โ”‚       โ””โ”€โ”€ override.conf
โ”‚   โ””โ”€โ”€ user/                 # deployed to ~/.config/systemd/user/
โ”‚       โ””โ”€โ”€ ssh-agent.service
โ”œโ”€โ”€ system/secureboot/        # Secure Boot config and scripts
โ”œโ”€โ”€ pkglist/                  # Explicit package lists
โ”œโ”€โ”€ vscode/                   # VS Code extension list (not Stow-managed)
โ”œโ”€โ”€ sample/                   # System configuration samples
โ”œโ”€โ”€ docs/                     # Supplementary documentation
โ”‚   โ”œโ”€โ”€ AI-CODINGAGENTS-INSTALLATIONS.md  # AI CLI install paths and updates
โ”‚   โ””โ”€โ”€ steam-shared-library.md           # Windows / Linux shared Steam library setup
โ”œโ”€โ”€ github/                   # GitHub ruleset templates (manual apply, not Stow-managed)
โ”‚   โ””โ”€โ”€ rulesets/
โ”‚       โ”œโ”€โ”€ protect-main.json
โ”‚       โ”œโ”€โ”€ protect-main-develop.json
โ”‚       โ””โ”€โ”€ dotfiles-protect-main.json
โ”œโ”€โ”€ apply-stow.sh             # Create Stow links
โ”œโ”€โ”€ remove-stow.sh            # Remove Stow links
โ”œโ”€โ”€ setup-systemd-services.sh # Install systemd units and enable state
โ”œโ”€โ”€ save-pkglist.sh           # Save package lists
โ”œโ”€โ”€ setup-pkglist.sh          # Install packages from lists
โ”œโ”€โ”€ save-vscode-extensions-list.sh  # Save VS Code extension list
โ”œโ”€โ”€ setup-vscode-extensions-list.sh # Install VS Code extensions from list
โ”œโ”€โ”€ backup-ssh-allowlist.sh   # Back up SSH keys and config with GPG
โ”œโ”€โ”€ restore-ssh-allowlist.sh  # Restore SSH keys and config from GPG
โ”œโ”€โ”€ backup-ssh-config.sh      # Back up only SSH config with GPG
โ”œโ”€โ”€ restore-ssh-config.sh     # Restore only SSH config from GPG
โ””โ”€โ”€ setup-system.sh           # Install system-side config

GitHub Ruleset Templates

github/rulesets/ holds JSON templates for GitHub branch rulesets. They are not Stow-managed, and this repository has no script that applies them automatically. bypass_actors is scoped to the author's account; rewrite it before reusing a template on another repository.

File Target branches Contents
protect-main.json main No deletion, no non-fast-forward, PR required (0 approvals, unresolved threads must be resolved)
protect-main-develop.json main and develop Same as above
dotfiles-protect-main.json main Deletion blocked only (ruleset name private-protect-main)

Agent Configuration

Important

stow/codex/.codex/AGENTS.md is the single source of truth for the shared contract. CLAUDE.md imports the Codex source via @~/.codex/AGENTS.md, and GEMINI.md is a one-way port of it. Both carry only agent-specific deltas. Always edit the Codex source first when changing a shared rule.

Each agent reads the following files, backed by this repository:

Agent Source in this repo Resolved path Contents
Codex stow/codex/.codex/AGENTS.md ~/.codex/AGENTS.md Canonical shared contract
Codex stow/codex/.agents/skills/ ~/.agents/skills/ 9 skills (directory symlinks)
Codex stow/codex/.codex/config.toml ~/.codex/config.toml Default config
Codex stow/codex/.codex/*.config.toml ~/.codex/ Per-model profiles (astra / luna / sol / terra / spark / safe)
Codex stow/codex/.codex/config.toml.example ~/.codex/config.toml.example Minimal example config
Codex stow/codex/.codex/rules/ ~/.codex/rules/ prefix_rule files (copied as real files; currently default.rules)
Claude Code stow/claude/.claude/CLAUDE.md ~/.claude/CLAUDE.md Imports the Codex source + deltas
Claude Code stow/claude/.claude/skills/ ~/.claude/skills/ 9 skills
Claude Code stow/claude/.claude/settings.json ~/.claude/settings.json Permissions, model, hooks, plugins
Claude Code stow/claude/.claude/hooks/ ~/.claude/hooks/ Gate that reuses Codex rules on Bash PreToolUse
Antigravity CLI stow/gemini/.gemini/GEMINI.md ~/.gemini/GEMINI.md Port of the Codex source
Antigravity CLI stow/gemini/.gemini/antigravity-cli/skills/ ~/.gemini/antigravity-cli/skills/ 9 skills
Antigravity CLI stow/gemini/.gemini/settings.json ~/.gemini/settings.json Gemini CLI settings
Antigravity CLI stow/gemini/.gemini/antigravity-cli/settings.json ~/.gemini/antigravity-cli/settings.json Antigravity CLI settings
Grok stow/grok/.grok/AGENTS.md ~/.grok/AGENTS.md Symlink to the Codex source
Grok stow/grok/.grok/config.toml ~/.grok/config.toml CLI, UI, and marketplace settings (seed if missing)
GitHub Copilot stow/copilot/.copilot/instructions/global.instructions.md ~/.copilot/instructions/global.instructions.md Points to the Codex source

Codex, Claude Code, and Antigravity CLI carry the same nine skills:

audit  commit-prep  cpp-conventions  github
handoff  handoff-inline  handoff-archive  issue-slice  verify

Note

On Claude Code the skill is named verify-diff, not verify. It is renamed deliberately because verify collides with a built-in command. The contract itself matches the other agents' verify.

issue-slice is the orchestrator for a GitHub Issue or an explicitly selected PR-sized implementation slice. It fixes scope and non-scope, routes to the existing audit, cpp-conventions, verify (verify-diff on Claude Code), commit-prep, github, and handoff skills when needed, performs the minimum implementation and verification, and stops before commit.

Long test, build, release-check, compiler, runtime, and diff logs are kept outside the repository under ~/handoff/<repo>/<scope>/ with timestamped filenames. Final responses report pass / fail, the saved path, and key points instead of embedding raw logs. stow/scripts/.local/bin/sync-handoff copies *.md and *.txt from ~/handoff to ~/PrivateDocs/handoff/ (available as sync-handoff after Stow).

The bodies of the three handoff skills (handoff / handoff-inline / handoff-archive) and handoff/references/common.md are kept identical across all three agents. SKILL.md front matter and the common-reference path in handoff-inline are permitted per-agent differences.

verify (verify-diff on Claude Code) owns the detailed verification workflow. issue-slice supplies acceptance criteria and impact / risk, then checks that the required verification is complete. handoff and handoff-inline use the common reference; inline does not need to read the normal-save SKILL.md. github/references/commands.md is read only when CLI examples are needed; safety boundaries remain in github/SKILL.md.

Supporting references live inside each skill directory and are deployed through the same Stow tree. Codex skill directory symlinks and the current Claude folded layout expose new source files directly. Gemini's --no-folding layout needs Stow reapplied to create links for new references. Check reference resolution from the deployed paths as well as the sources.

Warning

The gemini package uses --no-folding. ~/.gemini remains a real directory; only tracked files (GEMINI.md, settings.json, antigravity-cli/settings.json, and skills/) are file symlinks. Runtime data such as history.jsonl, log/, conversations/, and brain/ is written on the home side. .gitignore still has exclusions left over from the older folded layout.

Grok's config.toml is a seed copy, not a Stow symlink. If a live config already exists, it is left alone because Grok rewrites it. ~/.grok remains a real directory; only AGENTS.md is a file symlink. This repository does not keep a copy of the nine skills under stow/grok. Runtime data such as auth.json, sessions/, and logs/ stays in the home directory and is not tracked.

AI CLI Installation and Bulk Update

docs/AI-CODINGAGENTS-INSTALLATIONS.md is the source of truth for how each CLI is installed, where it currently lives, and how it is updated.

CLI Install path Command
Codex npm global codex
Claude Code Official native installer claude
Grok npm global grok
Antigravity CLI Official installer + wrapper in this repo agy

stow/scripts/.local/bin/update-ai-cli.sh updates all four at once. After Stow deployment it is available as ~/.local/bin/update-ai-cli.sh.

update-ai-cli.sh

For each CLI it prints the resolved path and the version before and after, then runs <command> update in the order codex โ†’ claude โ†’ grok โ†’ agy. A CLI missing from PATH is skipped without aborting the run; the script exits with 1 if any update failed.

Shared Steam Library

docs/steam-shared-library.md is the source of truth for the Windows / Linux shared Steam library setup.

Usage of Core Scripts

On a fresh Arch install, run the scripts in this order, matching their respective responsibilities:

  1. Install packages from lists: ./setup-pkglist.sh
  2. Deploy $HOME config: ./apply-stow.sh
  3. Install system-side (Secure Boot) config: sudo ./setup-system.sh
  4. Install systemd units / drop-ins and enable them: ./setup-systemd-services.sh --apply
  5. Restore SSH config if needed: ./restore-ssh-config.sh BACKUP_DIR (or ./restore-ssh-allowlist.sh BACKUP_DIR to include the keys)
  6. Install VS Code extensions if needed: ./setup-vscode-extensions-list.sh

There is no single all-in-one bootstrap script; run the steps individually.

1. Deploy Dotfiles

Creates symlinks from the stow/ directory to your $HOME.

./apply-stow.sh

(The vscode, gemini, antigravity, and grok packages, and the .codex subtree of the codex package, use --no-folding. Codex Skills are deployed as directory symlinks at ~/.agents/skills/<skill>. ~/.codex/rules/*.rules are not Stow symlinks; apply-stow.sh copies them from the repository as real files and overwrites existing copies. remove-stow.sh deletes a copied rule only when it still matches the repository source, and leaves rules that were edited after deployment. Grok's config.toml is excluded from Stow and seeded as a real file only when it is missing.)

Important

systemd units, drop-ins, and enable state are out of Stow's scope. They are owned by systemd/ and setup-systemd-services.sh. apply-stow.sh and remove-stow.sh list the former package name systemd-user in SKIP_PACKAGES. The package itself is already deleted; the entry remains as a guard against accidentally putting systemd back under Stow, because a Stow symlink at the same path would conflict with the real files installed by the setup script.

2. Package Lists and VS Code Extensions

Track and sync installed packages across installations. ใƒปTo save current packages:

./save-pkglist.sh

ใƒปTo install packages from the lists:

./setup-pkglist.sh

๏ผˆAutomatically detects yay or paru for foreign/AUR packages and applies --needed๏ผ‰

VS Code extensions are managed the same way. ใƒปTo save the extension list:

./save-vscode-extensions-list.sh

ใƒปTo install extensions from the list:

./setup-vscode-extensions-list.sh

The list is $DOTFILES/vscode/extensions-list.txt. If $DOTFILES is unset, $HOME/dotfiles is used. Already-installed extensions are skipped.

3. SSH Configuration Backup and Restore

Securely backs up critical SSH files (including private keys) into a GPG-encrypted archive stored in a user-specified external directory (BACKUP_DIR), outside the git history. BACKUP_DIR is a required argument for every script below; nothing is ever written inside this repository.

ใƒปBackup (only ~/.ssh/config, id_ed25519, and id_ed25519.pub; authorized_keys, known_hosts, and known_hosts.old are excluded):

./backup-ssh-allowlist.sh /path/to/secure-backup-dir

ใƒปRestore:

./restore-ssh-allowlist.sh /path/to/secure-backup-dir

The archive is BACKUP_DIR/ssh-backup.tar.gz.gpg. The backup script aborts if BACKUP_DIR does not exist, and rotates an existing archive to a timestamped .bak before replacing it. The restore script validates the archive against the same allowlist and refuses to overwrite ~/.ssh if it exists and is not empty.

Additionally, scripts to back up and restore only the ~/.ssh/config file are available.

ใƒปBackup SSH Config only:

./backup-ssh-config.sh /linuxshare/Backup

ใƒปRestore SSH Config only:

./restore-ssh-config.sh /linuxshare/Backup

/linuxshare/Backup is only an example, not a fixed path. In general terms the archive is BACKUP_DIR/ssh-config.tar.gz.gpg.

Backup behavior:

  • BACKUP_DIR is a required argument
  • The directory must already exist; the script never creates it
  • Only ~/.ssh/config is included
  • GPG symmetric encryption (gpg -c) is used
  • The output is BACKUP_DIR/ssh-config.tar.gz.gpg

Restore behavior:

  • BACKUP_DIR is a required argument
  • Restores from BACKUP_DIR/ssh-config.tar.gz.gpg
  • Only ~/.ssh/config is restored
  • The archive contents are validated; anything other than .ssh/config aborts
  • An existing ~/.ssh/config is moved to a timestamped .bak before overwrite
  • ~/.ssh is set to 700 and ~/.ssh/config to 600
  • A symlinked ~/.ssh or ~/.ssh/config is rejected

4. Secure Boot Setup (System-wide)

sudo ./setup-system.sh

This deploys tools to /usr/local/sbin and handles automatic sbctl re-signing whenever grub updates via a post-transaction pacman hook. For recovery details, refer to system/secureboot/README.md.

5. systemd Units and Drop-ins

Installs the custom units and drop-ins under systemd/ and reproduces the persistent enable state of the explicitly managed units. systemd units, drop-ins, and enable state are owned by systemd/ and setup-systemd-services.sh, not by GNU Stow.

ใƒปDry run (no arguments, the default):

./setup-systemd-services.sh

It changes neither the filesystem nor any systemd state; it only reports what would happen.

ใƒปApply:

./setup-systemd-services.sh --apply

Installs the custom units / drop-ins and reproduces the persistent enable state of the required units. The order is fixed:

install custom system / user units and drop-ins
โ†’ daemon-reload only when unit files actually changed
โ†’ enable system units
โ†’ enable user units

ใƒปStart inactive units after applying:

./setup-systemd-services.sh --apply --now

--now only starts units that are currently inactive; it never restarts or stops anything.

Safety policy of the current implementation:

  • Never installs packages
  • Never disables units
  • Never masks or unmasks units
  • Never stops units
  • Never restarts units
  • Skips masked units for manual handling instead of changing them
  • Records missing units as possibly-uninstalled packages and keeps going
  • Installs only the custom units and drop-ins owned by this repository, never shadowing a package-provided unit file

About

Personal dotfiles for Arch Linux

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages