Files
turso/docs/agent-guides/pr-workflow.md
Mikaël Francoeur fea3468ca7 agent instructions
2026-10-09 14:05:02 -04:00

1.2 KiB

name, description
name description
pr-workflow Commits, formatting, CI, dependencies, security

PR Workflow Guide

Commit Practices

  • Atomic commits. Small, focused, single purpose
  • Don't mix: logic + formatting, logic + refactoring
  • Good message = easy to write short description of intent

Learn git rebase -i for clean history.

PR Guidelines

  • Keep PRs focused and small
  • Make your fixes surgical, try to minimize the diffs when you can.
  • Run relevant tests before submitting
  • Each commit tells part of the story
  • Do not include test plans in PR descriptions. Do not name the tests that were added. Do not say how many tests passed. CI will contain that information.

CI Environment Notes

If running as GitHub Action:

  • Max-turns limit in .github/workflows/claude.yml
  • OK to commit WIP state and push
  • OK to open WIP PR and continue in another action
  • Don't spiral into rabbit holes. Stay focused on key task

Security

Never commit:

  • .env files
  • Credentials
  • Secrets

Third-Party Dependencies

When adding:

  1. Add license file under licenses/
  2. Update NOTICE.md with dependency info

External APIs/Tools

  • Never guess API params or CLI args
  • Search official docs first
  • Ask for clarification if ambiguous