Open
docs(contributing): 补充命名约定的两条说明 #5
MelimeliAdd on Aug 15
docs(contributing): 补充命名约定的两条说明 #5
Open
Total: 1 files changed+6-1
| @@ -81,7 +81,12 @@ never auto-track your branch — see `SECURITY.md`. | |||
| 81 | ## Naming | 81 | ## Naming |
| 82 | 82 | ||
| 83 | `name` must match `^[a-zA-Z0-9._-]+$` and be unique in the catalog. Use a | 83 | `name` must match `^[a-zA-Z0-9._-]+$` and be unique in the catalog. Use a |
| 84 | -clear, specific name (`commit-craft`, not `tools`). | 84 | +clear, specific name (`commit-craft`, not `tools`). For verified plugins the |
| 85 | +in-tree directory name under `plugins/` must match `name` exactly — the | ||
| 86 | +validator enforces this so install paths stay predictable. Avoid reserved | ||
| 87 | +prefixes already owned by official plugins (`atomcode-workflows`, `commit-craft`, | ||
| 88 | +`git-worktree`) and names that would collide with built-in slash commands after | ||
| 89 | +the `plugin-name:` namespacing is stripped. | ||
| 85 | 90 | ||
| 86 | ## Checklist | 91 | ## Checklist |
| 87 | 92 | ||