Skip to content

claude code#354

Merged
himkt merged 3 commits into
mainfrom
claude-code
May 22, 2026
Merged

claude code#354
himkt merged 3 commits into
mainfrom
claude-code

Conversation

@himkt
Copy link
Copy Markdown
Owner

@himkt himkt commented May 22, 2026

  • feat: add claude configs again
  • feat: add make recipe to deploy non-Nix managed files
  • feat: add option to deploy only non-Nix managed files

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Reintroduces Claude Code configuration into the dotfiles repo and extends the existing simple-deploy workflow so non–Nix-managed files can be deployed separately (useful when only a subset of config should be symlinked outside Nix).

Changes:

  • Added a simple-deploy-nix-unsupported-only Make target and a --nix-unsupported-only option in bin/simple-deploy.py.
  • Added Claude Code settings, hooks, helper scripts, rules, and several skills (GitHub CLI, English review, bilingual explain, NixOS boot troubleshooting, LSP-based symbol tracing).
  • Introduced a Bash command validator hook (validate_bash.py) and a statusline script (status.py) for Claude Code.

Reviewed changes

Copilot reviewed 12 out of 16 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
Makefile Adds a new deploy target for only “nix-unsupported” files.
bin/simple-deploy.py Adds --nix-unsupported-only and metadata in DEPLOY_MAP to filter deploy scope.
home/modules/claude/files/settings.json Adds Claude Code settings: permissions, hooks, status line, plugins, model, etc.
home/modules/claude/files/bin/validate_bash.py Adds a shell-command parser/validator used by the PreToolUse hook.
home/modules/claude/files/bin/status.py Adds a status line renderer for model/cwd/cost/context window usage.
home/modules/claude/files/bin/english_review.py Adds a Stop-hook that samples sessions and stores English reviews in SQLite.
home/modules/claude/files/rules/tool-discovery.md Adds guidance to prefer skills/MCP tools when available.
home/modules/claude/files/rules/removal.md Adds guidance for full repo cleanup when removing features/options.
home/modules/claude/files/rules/git-workflow.md Adds git workflow rules (commit message format, no git -C, etc.).
home/modules/claude/files/rules/bash-command.md Adds rules for Bash tool-call safety/pattern matching.
home/modules/claude/files/skills/pathfinder-explain/SKILL.md Adds an LSP-based symbol tracing/explanation skill.
home/modules/claude/files/skills/nixos-boot-troubleshoot/SKILL.md Adds a step-by-step NixOS boot failure troubleshooting skill.
home/modules/claude/files/skills/github-cli/SKILL.md Adds a skill for fetching PR/issue details via gh with focused --jq.
home/modules/claude/files/skills/english-review/SKILL.md Adds the manual English review skill and references the canonical format spec.
home/modules/claude/files/skills/english-review/format.md Defines the canonical output format consumed by the skill + stop hook.
home/modules/claude/files/skills/bilingual-explain/SKILL.md Adds a bilingual response formatting skill (plain English + Japanese).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Makefile
Comment on lines +44 to +46
simple-deploy-nix-unsupported-only:
python3 bin/simple-deploy.py --nix-unsupported-only --dry-run
python3 bin/simple-deploy.py --nix-unsupported-only
Rules to ensure Bash commands match `permissions.allow` patterns in settings.json.
Using shell operators breaks pattern matching and triggers user approval prompts that block work.

- NEVER use `&&` or `;` to chain commands. Each command must be a separate Bash tool call. Pipes (`|`) are allowed
@himkt himkt merged commit 891c98b into main May 22, 2026
4 checks passed
@himkt himkt deleted the claude-code branch May 22, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants