dotfiles-public
CLAUDE.md1 starsChanged 9 days agoMITView on GitHub
@context/conventions.md @context/structure.md Claude Code は本ファイルを最優先の指示として実行すること。 このリポは Issueドリブン期である。 禁止・強制(rebuild 系・flake.lock 編集・secrets 読み書き・git push 等の遮断)は .claude/settings.json の deny と .claude/hooks/ の PreToolUse フックで管理する。本ファイルには書かない。
- Commits and pushes
In this repository18 other files it gives its agents.
- consolidate-rulesSkill
- guarantee-auditSkill
- jp-writingSkill
- local-issueSkill
- md-writingSkill
- memory-writeSkill
- mermaid-diagramSkill
- module-devSkill
- mvp-docsSkill
- nix-tool-installSkill
- pr-workflowSkill
- readme-i18nSkill
- repo-aboutSkill
- repo-publishSkill
- repo-readmeSkill
- repo-standardizeSkill
- skill-devSkill
- sops-secretsSkill
The file
Files
CLAUDE.md
@context/conventions.md @context/structure.md
Claude Code は本ファイルを最優先の指示として実行すること。
フェーズ
このリポは Issueドリブン期である。
動作フロー
- 起動時に
issues/内の対象 Issue(status: open)を確認する。 - 実装開始前に
context/conventions.mdとcontext/structure.mdを読み、規約と構造を把握する。 - ローカル環境にて
claude/{id}-{branch-slug}ブランチ上で作業していることを認識する(ブランチと worktree は入口のiが作成済み)。 - 実装・検証・ローカルコミットは
pr-workflowスキル(.claude/skills/pr-workflow/SKILL.md)の手順に従う。実装してコミットしたら確認者の判定を受け、user に見てもらうもの(使い心地・起票時の合意から外れたこと・実機)があるときだけ止まって確認を受け、指摘を直す。見るものが無いとき、または OK を受けたら Issue を閉じて PR を出す。マージは user がiか GitHub で押す。
コマンド
- Flake 評価チェック:
nix flake check - フォーマット:
nix fmt - Zsh 構文チェック:
zsh -n home-manager/modules/zsh/functions/<file>.sh
アーキテクチャの要点
- Nix Flakes で macOS(nix-darwin)と Linux(NixOS)の開発機を一元管理する。OS 差は Nix 側で
pkgs.stdenv.isDarwin、シェル側でhome-manager/modules/zsh/functions/os.shのシムに閉じ込める。 - デバイス定義は
devices/(共通はcommon/、デバイス別は<device>/)、ユーザ環境はhome-manager/(config/とmodules/)。 - Issue 駆動の役割分離ワークフローを支える Zsh マクロは
home-manager/modules/zsh/functions/。 - 機密の実値は
secrets-agents/に分離し、公開リポには載せない(読み書き禁止)。
検証手段
- PR 前の Agent 側確認は
nix flake check(評価エラーの検出)とzsh -n(構文チェック)まで。 - 実適用(
nixos-rebuild/darwin-rebuild/home-manager switch)は user が各デバイスで実施。手順は PR の## 検証手順に記載する。
禁止・強制(rebuild 系・flake.lock 編集・secrets 読み書き・git push 等の遮断)は
.claude/settings.jsonの deny と.claude/hooks/の PreToolUse フックで管理する。本ファイルには書かない。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

