Skip to content

Commit 0edff88

Browse files
committed
feat(claude): task command detects existing docs/plans directory
1 parent 5245860 commit 0edff88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

claude/commands/task.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ allowed-commands: Write, Bash(mkdir:*), Bash(mkdir -p:*)
1919
```
2020

2121
- The task-name should be a short, hyphenated version of the provided task name or description argument (e.g., "implement-authentication", "refactor-database-layer"). Be concise and summarize if necessary.
22-
- Create the directory with `mkdir -p ~/.claude/plans/$(date +%Y-%m-%d)-task-name` but replace `task-name` with the hyphenated version of the provided task name or description.
22+
- Find the <plans-directory>, if the project has an existing `./docs/plans` directory, use that instead of `~/.claude/plans/`.
23+
- Create the directory with `mkdir -p <plans-directory>/$(date +%Y-%m-%d)-task-name` but replace `task-name` with the hyphenated version of the provided task name or description.
2324
- 1-TASK.md should contain a single H1 header with the provided task name or description.
2425

2526
Once created:

0 commit comments

Comments
 (0)