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;
}