AI-native design editor. Open-source Figma alternative.
docs: keep PR writing concise and reduce review noise
Danila Poyarkov981d403504ba
diff --git a/.coderabbit.yaml b/.coderabbit.yamlindex 20d4aa531..6c3175a42 100644--- a/.coderabbit.yaml+++ b/.coderabbit.yaml@@ -1,12 +1,23 @@# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.jsonlanguage: "en-US"early_access: false+tone_instructions: >-+ Be concise and direct. Use short paragraphs or bullets.+ No emojis, praise, jokes, decorative headings, or unnecessary tables.+ Explain the concrete problem, consequence, and suggested correction.reviews:profile: "assertive"request_changes_workflow: false- high_level_summary: true+ high_level_summary: falsereview_status: true+ changed_files_summary: false+ estimate_code_review_effort: false+ suggested_labels: false+ suggested_reviewers: false+ in_progress_fortune: false+ poem: false+ enable_prompt_for_ai_agents: falsesequence_diagrams: falsefinishing_touches:docstrings:@@ -39,4 +50,5 @@ knowledge_base:- "CONTRIBUTING.md"chat:- auto_reply: true+ art: false+ auto_reply: falsediff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.mdindex 99149fb4b..5439dcb8d 100644--- a/.github/PULL_REQUEST_TEMPLATE.md+++ b/.github/PULL_REQUEST_TEMPLATE.md@@ -4,11 +4,13 @@ Before opening a PR, read `CONTRIBUTING.md` and `AGENTS.md`. PRs should explain### Summary-<!-- Explain what this PR changes and why. Remove this comment before opening. -->+<!-- One short paragraph: the problem, why it matters, and the outcome. Remove guidance comments before opening. -->### What changed-- Add a concise summary here.+<!-- One to three meaningful implementation details. Do not repeat the Summary or list every changed file. -->++- Describe a meaningful implementation detail.### AI assistance@@ -18,6 +20,7 @@ Models: None### Validation-- [ ] `bun run check`-- [ ] Tests added or updated, or not needed because: explain here-- [ ] CHANGELOG.md updated, or not needed because: explain here+<!-- List commands actually run and their results, plus relevant checks not run and why. Note changelog status. Replace these examples; do not claim unperformed validation. -->++- Checks/tests: commands and results, or not run and why.+- Changelog: updated, or not needed and why.diff --git a/AGENTS.md b/AGENTS.mdindex f6bf2c44b..cbda5cc28 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -164,6 +164,10 @@ Private tooling belongs under `tools/<domain>/{src,tests}`, with kebab-case doma- Keep Kiwi runtime changes minimal; prefer wrappers for project policy.- Guard browser globals explicitly in Core. Name repeated/cross-feature constants; app-wide values belong in `src/constants.ts`.+## Issue and PR writing++Use concise, concrete technical prose for issues, PR descriptions, and public comments. Lead with the problem and outcome; add a short example when needed to make the behavior clear. Avoid filler, promotional claims, decorative emojis, unnecessary tables, and file-by-file change inventories. Preserve the PR template's headings: Summary explains why and the outcome; What changed adds one to three non-repeated details; Validation reports actual commands/results and relevant omissions; AI assistance discloses known model names. Link lengthy logs or design notes rather than expanding the description into a work diary. Follow `CONTRIBUTING.md`; brevity must not omit reproduction steps, material risks, or validation limitations.+## Code review- Review codebase fit, not just the diff. Before judging or implementing a change, inspect the owning folder, nearby analogous implementations, shared helpers/types, public exports, callers, and tests. Check new files against the established file tree, package boundaries, naming, and local conventions. Prefer an existing abstraction when it fits; do not invent a parallel pattern or demand unrelated cleanup.diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 8893775a5..584e98be7 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -31,9 +31,9 @@ Pull requests must be reviewable without guessing the author's intent.### PR body- Follow the PR template when one is provided.-- Explain what changed and why it changed.-- Include a concrete list or paragraph of meaningful changes.-- Document validation, such as `bun run check`, targeted tests, docs-only review, or an explicit reason validation was not run.+- Keep the existing template headings. Use one short Summary paragraph for the problem, why it matters, and the outcome. Use What changed for one to three meaningful implementation details, not a repeated summary or a file-by-file inventory.+- Write concrete, direct prose. Avoid promotional claims, filler, decorative emojis, and unnecessary tables. Add a small example when the behavior is otherwise hard to explain; keep lengthy logs or design notes in linked material.+- Document commands actually run and their results, such as `bun run check`, targeted tests, or docs-only review. State relevant checks not run and why, and note whether a changelog entry is needed. Do not present planned validation as completed.- Complete the AI assistance section. If an LLM materially helped create or modify the PR, list the model names you know. Write `None` otherwise. This is review context, not authorship attribution; prompts and transcripts are not required.- Keep the body primarily in English. Code identifiers, file paths, logs, error messages, and short quoted examples may use their original language.