AI-native design editor. Open-source Figma alternative.
docs: say when a commit takes a scope (#1309)
Danila Poyarkov8ba2715d76a8
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex d67602bcb..75d5df4e3 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -98,7 +98,7 @@ The Commit messages check flags known AI co-author identities in newly introduceThe **Commit messages** CI job checks every commit introduced by a PR, including docs-only PRs. It does not lint existing base-branch history or GitHub's synthetic merge commit. The aggregate CI result requires this job to pass.-Use `type(optional-scope): short description`, for example `fix(MCP): preserve connection settings`. Allowed types are `feat`, `fix`, `refactor`, `perf`, `docs`, `test`, `build`, `ci`, and `chore`. Keep subjects short, imperative, and narrowly scoped; explain rationale in the body. Keep headers within 100 characters and omit a trailing period. Product names retain their casing (DOM/CSS, HTML, JSX, Tailwind, Kiwi, `.fig`, MCP, CLI, AI, ACP, i18n); bodies and footers may contain long lines. Release commits use exactly `Release vX.Y.Z`, or `Release vX.Y.Z-beta.N` for a pre-release.+Use `type(optional-scope): short description`, for example `fix(MCP): preserve connection settings`. Scope a change that stays within one package or product area, named as its folder (`fig`, `core`, `canvas`, `cloud`) or product (`MCP`, `CLI`); leave a change that spans several unscoped. Allowed types are `feat`, `fix`, `refactor`, `perf`, `docs`, `test`, `build`, `ci`, and `chore`. Keep subjects short, imperative, and narrowly scoped; explain rationale in the body. Keep headers within 100 characters and omit a trailing period. Product names retain their casing (DOM/CSS, HTML, JSX, Tailwind, Kiwi, `.fig`, MCP, CLI, AI, ACP, i18n); bodies and footers may contain long lines. Release commits use exactly `Release vX.Y.Z`, or `Release vX.Y.Z-beta.N` for a pre-release.PR titles follow the same convention because GitHub uses them as merge subjects. The separate **PR title** workflow checks new and updated PRs, including title edits, without rerunning the full CI suite. Title validation disables commitlint's default merge/revert exceptions. Release titles and commits retain the exact `Release vX.Y.Z` (or `-beta.N`) convention.