Skip to content

Commit 9a7d857

Browse files
adds claude prepreview command
1 parent 51a4b44 commit 9a7d857

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.claude/commands/prereview.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
description: Clear context & review changes on current branch
3+
allowed-tools: Bash(git:*)
4+
---
5+
6+
/clear
7+
8+
The parent branch is: $ARGUMENTS (default to main if no argument provided)
9+
10+
Check the local commits I've added to the current branch and make suggestions about what to improve:
11+
12+
- opportunities for refactoring
13+
- potential bugs
14+
- best practices to follow
15+
- libraries to use
16+
- check that I've followed established patterns in the project and used any apropriate utilities etc.
17+
- check the claude.md files and make sure I follow the instructions there
18+
19+
Give me feedback as if you were code reviewing a PR.

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,7 @@ lib-cov
5959
*.sw?
6060
.turbo
6161

62-
.claude
62+
.claude/*
63+
!.claude/commands/
64+
.claude/commands/*
65+
!.claude/commands/prereview.md

0 commit comments

Comments
 (0)