claude commands
This commit is contained in:
@@ -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,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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
|
}
|
||||||
@@ -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 = {
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user