claude commands

This commit is contained in:
Miguel Palhas
2025-11-19 09:25:40 +00:00
parent a593e0696e
commit b46e05fd71
6 changed files with 38 additions and 12 deletions
@@ -1,9 +1,7 @@
Create a new worktree for the requested feature. keep the branch name concise, but starting with claude/. In "<project>/worktrees/<feature>" create a new worktree for the requested feature.
create the directory if it doesn't exist.
keep the branch name concise, but starting with claude/.
Do all the work for the feature in the new worktree. do all the work for the feature in the new worktree.
Once I ask you to merge: run "kitty @ set-tab-title" to set the tab title of this kitty sessionn to "claude/<project>/<feature>"
- 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.
+5
View File
@@ -5,5 +5,10 @@
... ...
}: }:
{ {
home.file.".default-npm-packages".text = ''
@anthropic-ai/claude-code
'';
home.file.".claude/commands".source = ./commands; home.file.".claude/commands".source = ./commands;
home.file.".claude/settings.json".source = ./settings.json;
} }
+26
View File
@@ -0,0 +1,26 @@
{
"permissions": {
"allow": [
"Bash(kitten @ set-tab-title:*)",
"Bash(mkdir:*)",
"Bash(rg:*)",
"Bash(chmod:*)",
"Bash(find:*)",
"Bash(rustup target:*)",
"Bash(ls:*)",
"Bash(cargo:*)",
"Bash(cp:*)",
"Bash(yarn:*)",
"Bash(sed:*)",
"Bash(gh:*)",
"Bash(git:*)",
"Bash(grep:*)",
"Bash(node:*)"
],
"defaultMode": "acceptEdits"
},
"feedbackSurveyState": {
"lastShownTime": 1754052643456
},
"$schema": "https://json.schemastore.org/claude-code-settings.json"
}
+2 -1
View File
@@ -22,7 +22,7 @@
tab_bar_edge = "bottom"; tab_bar_edge = "bottom";
tab_bar_style = "powerline"; tab_bar_style = "powerline";
tab_powerline_style = "slanted"; tab_powerline_style = "slanted";
tab_title_template = "{tab.active_wd.split('/')[-1]}{' :{}'.format(num_windows) if num_windows > 1 else ''}"; # tab_title_template = "{tab.active_wd.split('/')[-1]}{' :{}'.format(num_windows) if num_windows > 1 else ''}";
tab_bar_filter = "session:~ or session:^$"; tab_bar_filter = "session:~ or session:^$";
# keys # keys
@@ -30,6 +30,7 @@
# remove control # remove control
allow_remote_control = true; allow_remote_control = true;
listen_on = "unix:/tmp/kitty.sock";
}; };
keybindings = { keybindings = {
-4
View File
@@ -126,10 +126,6 @@
"ASDF_NODEJS_AUTO_ENABLE_COREPACK" = "true"; "ASDF_NODEJS_AUTO_ENABLE_COREPACK" = "true";
}; };
home.file.".default-npm-packages".text = ''
@anthropic-ai/claude-code
'';
home.sessionPath = [ home.sessionPath = [
"./.git/safe/../../node_modules/.bin" "./.git/safe/../../node_modules/.bin"
"./.git/safe/../../bin" "./.git/safe/../../bin"