Contributing
Step-by-step guides for contributing code to TomoriBot. These assume you have the repository cloned and the source open — they extend or modify the bot itself.
Start with development-tasks.md for the task index and coding
conventions, then jump to the guide for your task.
Local Setup
Section titled “Local Setup”getting-started.md— set up TomoriBot locally with Bun + PostgreSQL for developmentdocs-authoring.md— docs routes, frontmatter, sidebar, cards, and asset conventions
Adding Things
Section titled “Adding Things”adding-slash-command.mdadding-event-handler.mdadding-builtin-tool.mdadding-feature-flag-tool.mdadding-setup-module.mdadding-db-column.mdadding-new-provider.mdadding-locale.mdadding-persona-preset.md
Testing Your Changes
Section titled “Testing Your Changes”Conventions and Policies
Section titled “Conventions and Policies”comment-policy.md— durable comments and the advisory policy auditraw-sql-boundary.md— keeping raw SQL in the repository layerdependency-security-policy.md— overrides, patches, and audit exceptions