claude custom commands

This commit is contained in:
Miguel Palhas
2025-11-19 07:46:40 +00:00
parent fa97d8857d
commit a593e0696e
6 changed files with 48 additions and 0 deletions
@@ -0,0 +1,19 @@
Merge a branch from the worktree.
If you're currently working on a worktree, assume that's the one I'm referring to.
Start by merging back the new main branch, since I may have made changes to it.
# Language specific:
## Rust
Ensure cargo check is happy.
Ensure clippy is happy. clean up any new warnings.
## Typescript
Ensure tsc is happy.
# Finally
Squash the commits into a single one, merge into the base branch, and delete the worktree.
@@ -0,0 +1,9 @@
Create a new worktree for the requested feature. keep the branch name concise, but starting with claude/.
Do all the work for the feature in the new worktree.
Once I ask you to merge:
- start by merging back the new main branch, since I may have made changes to it.
- solve any conflicts that arise.
- merge the new worktree into the main branch.
- delete the worktree.
+9
View File
@@ -0,0 +1,9 @@
{
lib,
pkgs,
config,
...
}:
{
home.file.".claude/commands".source = ./commands;
}
+1
View File
@@ -16,6 +16,7 @@
./dev.nix
./aider.nix
./cpp.nix
./claude
];
programs = {
+4
View File
@@ -28,6 +28,10 @@
lsof
ktlint
croc
# typst
typst
typstyle
];
programs.tmux = {
+6
View File
@@ -23,9 +23,13 @@
tab_bar_style = "powerline";
tab_powerline_style = "slanted";
tab_title_template = "{tab.active_wd.split('/')[-1]}{' :{}'.format(num_windows) if num_windows > 1 else ''}";
tab_bar_filter = "session:~ or session:^$";
# keys
kitty_mod = "alt";
# remove control
allow_remote_control = true;
};
keybindings = {
@@ -51,6 +55,8 @@
"kitty_mod+j" = "neighboring_window down";
"kitty_mod+k" = "neighboring_window up";
"kitty_mod+l" = "neighboring_window right";
"f7>/" = "goto_session";
};
extraConfig = ''