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/: Discord locale codes, UI strings, frozen protocol keys, seed descriptions, docs and README scope, and the per-locale gate sequencedocs-site-localization.md: docs routes, locale config, hreflang, and translated READMEsadding-persona-preset.mdadding-env-variable.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 auditpanel-prose-and-layout.md: text width, markers, and structure inside a panelraw-sql-boundary.md: keeping raw SQL in the repository layerdependency-security-policy.md: overrides, patches, and audit exceptions