npx skills add https://github.com/tldraw/tldraw --skill write-prtldraw/tldraw 中 PR 标题和描述的规范。
使用语义化 PR 标题(遵循 Conventional Commits 格式):
<类型>(<范围>): <描述>
feat - 新功能fix - 错误修复docs - 仅文档更新refactor - 既不修复错误也不添加功能的代码更改perf - 性能改进test - 添加或修复测试chore - 维护任务广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
一个描述受影响区域的名词:fix(编辑器):、feat(同步):、docs(示例):
feat(编辑器): 添加对齐阈值配置选项fix(箭头): 修正与旋转形状的绑定行为docs: 更新同步文档refactor(存储): 简化迁移系统使用此模板:
<描述段落>
### 变更类型
- [x] `bugfix` | `improvement` | `feature` | `api` | `other`
### 测试计划
1. 测试步骤...
2. 另一个步骤...
- [ ] 单元测试
- [ ] 端到端测试
### 发布说明
- 面向用户的变更简要描述
以 "为了 X,此 PR 做了 Y。" 开头。
[x] 勾选恰好一个类型当变更影响 api-report.md 时包含:
### API 变更
- 为 X 添加了 `Editor.newMethod()`
- 破坏性变更!移除了 `Editor.oldMethod()`
- 将 `Editor.method()` 更改为接受可选的 `options` 参数
创建一个包含以下各部分的净 LOC(代码行数)变更的表格。所有行的总和必须与 PR 的总差异匹配。没有变更的行可以省略。
核心代码 — SDK 包 (packages/) 的源代码,不包括测试和 API 报告
测试 — 单元测试、端到端测试 (*.test.*, e2e/)
自动化生成文件 — 生成的文件(例如 api-report.api.md、快照)
文档 — 文档站点和示例 (apps/docs/, apps/examples/)
应用 — 应用程序代码 (apps/dotcom/, apps/mcp-app/, apps/vscode/ 等),不包括端到端测试
模板 — 入门模板 (templates/)
配置/工具 — 配置文件、锁定文件、lint 配置、CI、构建脚本 (eslint.config.*, yarn.lock 等)
| 部分 | LOC 变更 |
|---|---|
| 核心代码 | +10 / -2 |
| 测试 | +5 / -0 |
| 自动化生成文件 | +0 / -1 |
| 文档 | +2 / -0 |
| 应用 | +3 / -1 |
| 模板 | +0 / -0 |
| 配置/工具 | +1 / -0 |
搜索并链接此 PR 解决的相关议题。
每周安装量
152
代码仓库
GitHub 星标数
46.0K
首次出现
2026年1月22日
安全审计
安装于
gemini-cli130
opencode125
antigravity119
codex118
github-copilot117
cursor109
Standards for PR titles and descriptions in tldraw/tldraw.
Use semantic PR titles (Conventional Commits format):
<type>(<scope>): <description>
feat - New featurefix - Bug fixdocs - Documentation onlyrefactor - Code change that neither fixes a bug nor adds a featureperf - Performance improvementtest - Adding or fixing testschore - Maintenance tasksA noun describing the affected area: fix(editor):, feat(sync):, docs(examples):
feat(editor): add snap threshold configuration optionfix(arrows): correct binding behavior with rotated shapesdocs: update sync documentationrefactor(store): simplify migration systemUse this template:
<description paragraph>
### Change type
- [x] `bugfix` | `improvement` | `feature` | `api` | `other`
### Test plan
1. Step to test...
2. Another step...
- [ ] Unit tests
- [ ] End to end tests
### Release notes
- Brief description of changes for users
Start with: "In order to X, this PR does Y."
[x]Include when changes affect api-report.md:
### API changes
- Added `Editor.newMethod()` for X
- Breaking! Removed `Editor.oldMethod()`
- Changed `Editor.method()` to accept optional `options` parameter
Create a table that includes net LOC changes for each of the following sections. The sum of all rows must match the total PR diff. Omit rows with no changes.
Core code — SDK packages (packages/) source, excluding tests and API reports
Tests — unit tests, e2e tests (*.test.*, e2e/)
Automated files — generated files (e.g. api-report.api.md, snapshots)
Documentation — docs site and examples (apps/docs/, apps/examples/)
Apps — application code (apps/dotcom/, apps/mcp-app/, apps/vscode/, etc.), excluding e2e tests
Search for and link relevant issues that this PR addresses.
Weekly Installs
152
Repository
GitHub Stars
46.0K
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
gemini-cli130
opencode125
antigravity119
codex118
github-copilot117
cursor109
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
116,600 周安装
Templates — starter templates (templates/)
Config/tooling — config files, lock files, lint config, CI, build scripts (eslint.config.*, yarn.lock, etc.)
| Section | LOC change |
|---|---|
| Core code | +10 / -2 |
| Tests | +5 / -0 |
| Automated files | +0 / -1 |
| Documentation | +2 / -0 |
| Apps | +3 / -1 |
| Templates | +0 / -0 |
| Config/tooling | +1 / -0 |