chore: add PR workflow and worktree-aware release process
Some checks failed
CI / Build and Test (push) Has been cancelled
Some checks failed
CI / Build and Test (push) Has been cancelled
This commit is contained in:
18
CLAUDE.md
18
CLAUDE.md
@@ -1,5 +1,21 @@
|
||||
# Via Project Instructions
|
||||
|
||||
## Workflow
|
||||
|
||||
All changes go through PRs:
|
||||
|
||||
1. Enter a worktree (`EnterWorktree`) at session start.
|
||||
2. Make changes, commit with semantic messages.
|
||||
3. `/pr` to push, open a PR, wait for CI, and squash-merge.
|
||||
(Or use `/pr-create` and `/pr-merge` separately for more control.)
|
||||
|
||||
## Releasing
|
||||
|
||||
Run `/release` from a **non-worktree session on main**. It tags and publishes
|
||||
what is already on main — it does not commit new changes.
|
||||
|
||||
## Worktree Usage
|
||||
|
||||
Always enter a worktree at the start of a session using the `EnterWorktree` tool. This prevents parallel Claude Code sessions from interfering with each other.
|
||||
Always enter a worktree at the start of a session using the `EnterWorktree`
|
||||
tool. This prevents parallel Claude Code sessions from interfering with each
|
||||
other.
|
||||
|
||||
Reference in New Issue
Block a user