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:
- 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.
run "kitty @ set-tab-title" to set the tab title of this kitty sessionn to "claude/<project>/<feature>"
+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/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"
}