Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .claude/docs/WORKFLOWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,20 @@
- Use `testutil.WaitLong` for timeouts in tests
- Always use `t.Parallel()` in tests

## Git Workflow

### Working on PR branches

When working on an existing PR branch:

```sh
git fetch origin
git checkout branch-name
git pull origin branch-name
```

Then make your changes and push normally. Don't use `git push --force` unless the user specifically asks for it.

## Commit Style

- Follow [Conventional Commits 1.0.0](https://www.conventionalcommits.org/en/v1.0.0/)
Expand Down
12 changes: 12 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,18 @@ app, err := api.Database.GetOAuth2ProviderAppByClientID(ctx, clientID)

### Full workflows available in imported WORKFLOWS.md

### Git Workflow

When working on existing PRs, check out the branch first:

```sh
git fetch origin
git checkout branch-name
git pull origin branch-name
```

Don't use `git push --force` unless explicitly requested.

### New Feature Checklist

- [ ] Run `git pull` to ensure latest code
Expand Down
Loading