claude custom commands
This commit is contained in:
@@ -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.
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.file.".claude/commands".source = ./commands;
|
||||
}
|
||||
Reference in New Issue
Block a user