You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: humanlayer/commands/ci_commit.md
+5-15Lines changed: 5 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,31 +10,21 @@ You are tasked with creating git commits for the changes made during this sessio
10
10
11
11
1.**Think about what changed:**
12
12
- Review the conversation history and understand what was accomplished
13
-
- Check current changes:
14
-
- For git users: `git status` and `git diff`
15
-
- For jj users: `jj status` and `jj diff`
16
-
- Consider whether changes should be one commit/change or multiple logical commits/changes
13
+
- Run `git status` to see current changes
14
+
- Run `git diff` to understand the modifications
15
+
- Consider whether changes should be one commit or multiple logical commits
17
16
18
17
2.**Plan your commit(s):**
19
18
- Identify which files belong together
20
19
- Draft clear, descriptive commit messages
21
20
- Use imperative mood in commit messages
22
21
- Focus on why the changes were made, not just what
23
22
24
-
3.**Execute the commits:**
25
-
26
-
For git users:
23
+
3.**Execute upon confirmation:**
27
24
- Use `git add` with specific files (never use `-A` or `.`)
28
25
- Never commit the `thoughts/` directory or anything inside it!
29
26
- Never commit dummy files, test scripts, or other files which you created or which appear to have been created but which were not part of your changes or directly caused by them (e.g. generated code)
30
-
- Create commits with your planned messages: `git commit -m "message"`
31
-
32
-
For jj users:
33
-
- Changes are automatically tracked, no need to stage
34
-
- Never include the `thoughts/` directory or anything inside it in your change description!
35
-
- Never include dummy files, test scripts, or other files which you created or which appear to have been created but which were not part of your changes
36
-
- Update the change description: `jj describe -m "message"`
37
-
- If multiple changes needed, create new changes with `jj new` for each
27
+
- Create commits with your planned messages until all of your changes are committed with `git commit -m`
38
28
39
29
## Remember:
40
30
- You have the full context of what was done in this session
Copy file name to clipboardExpand all lines: humanlayer/commands/create_handoff.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Use the following information to understand how to create your document:
16
16
- ENG-XXXX is the ticket number (replace with `general` if no ticket)
17
17
- ENG-ZZZZ is the ticket number (omit if no ticket)
18
18
- description is a brief kebab-case description
19
-
- Use the Skill tool to gather metadata: invoke the "spec-metadata" skill
19
+
- Use the **spec-metadata** skill to generate all relevant metadata
20
20
- Examples:
21
21
- With ticket: `2025-01-08_13-55-22_ENG-2166_create-context-compaction.md`
22
22
- Without ticket: `2025-01-08_13-55-22_create-context-compaction.md`
@@ -65,7 +65,8 @@ type: implementation_strategy
65
65
```
66
66
---
67
67
68
-
### 3. Approve and Complete
68
+
### 3. Present Result
69
+
69
70
Once this is completed, you should respond to the user with the template between <template_response></template_response> XML tags. do NOT include the tags in your response.
Remember: This command helps you investigate without burning the primary window's context. Perfect for when you hit an issue during manual testing and need to dig into logs, database, or git state.
Copy file name to clipboardExpand all lines: humanlayer/commands/founder_mode.md
+10-29Lines changed: 10 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,32 +7,13 @@ you're working on an experimental feature that didn't get the proper ticketing a
7
7
assuming you just made a commit, here are the next steps:
8
8
9
9
10
-
1. Get the commit identifier you just made (if you didn't make one, read `.claude/commands/commit.md` and make one):
11
-
- For git users: Get the SHA with `git rev-parse HEAD`
12
-
- For jj users: Get the change ID with `jj log -r @ --no-graph -T 'change_id.short()'`
13
-
14
-
2. Read `.claude/commands/linear.md` - think deeply about what you just implemented, then create a linear ticket about what you just did, and put it in 'in dev' state - it should have ### headers for "problem to solve" and "proposed solution"
15
-
16
-
3. Fetch the ticket to get the recommended branch name
17
-
18
-
4. Create a new branch from main with your changes:
19
-
20
-
For git users:
21
-
```bash
22
-
git checkout main
23
-
git checkout -b 'BRANCHNAME'
24
-
git cherry-pick 'COMMITHASH'
25
-
git push -u origin 'BRANCHNAME'
26
-
```
27
-
28
-
For jj users:
29
-
```bash
30
-
jj new main -m "description from ticket"
31
-
jj squash --from 'CHANGEID'# Squash the experimental change into new change
32
-
jj bookmark create BRANCHNAME
33
-
jj git push --bookmark BRANCHNAME
34
-
```
35
-
36
-
5. Create PR: `gh pr create --fill`
37
-
38
-
6. Read '.claude/commands/describe_pr.md' and follow the instructions
10
+
1. get the sha of the commit you just made (if you didn't make one, read `.claude/commands/commit.md` and make one)
11
+
12
+
2. read `.claude/commands/linear.md` - think deeply about what you just implemented, then create a linear ticket about what you just did, and put it in 'in dev' state - it should have ### headers for "problem to solve" and "proposed solution"
13
+
3. fetch the ticket to get the recommended git branch name
14
+
4. git checkout main
15
+
5. git checkout -b 'BRANCHNAME'
16
+
6. git cherry-pick 'COMMITHASH'
17
+
7. git push -u origin 'BRANCHNAME'
18
+
8. gh pr create --fill
19
+
9. read '.claude/commands/describe_pr.md' and follow the instructions
0 commit comments