Skip to content

Build your personal knowledge base with Trilium Notes

chore(skills): remove upstream contribution-process content from the reviewing skill

Elian Doran347e7d5e78d4
diff --git a/.claude/skills/ckeditor5-reviewing/SKILL.md b/.claude/skills/ckeditor5-reviewing/SKILL.md
index 04773df451..b1ad1c06c9 100644
--- a/.claude/skills/ckeditor5-reviewing/SKILL.md
+++ b/.claude/skills/ckeditor5-reviewing/SKILL.md
@@ -2,14 +2,12 @@
name: ckeditor5-reviewing
description: >-
Review or audit CKEditor 5 plugin/feature code or a PR/diff. Use when checking
- a CKEditor 5 plugin for correctness, idiom, and project process: schema /
- conversion / command / UI / widget code, CKEditor-specific defects (asymmetric
- upcast/downcast, unconsumed upcast elements, missing inline-widget position
- mapping, command refresh/isEnabled bugs, memory leaks, t() gaps, editing/UI
- split violations, post-v42 import mistakes), and contribution process
- (changelog entries, commits, coverage). Pairs with the
- ckeditor5-plugin-development and ckeditor5-testing skills and delegates their
- checklists.
+ a CKEditor 5 plugin for correctness and idiom: schema / conversion / command /
+ UI / widget code, and CKEditor-specific defects (asymmetric upcast/downcast,
+ unconsumed upcast elements, missing inline-widget position mapping, command
+ refresh/isEnabled bugs, memory leaks, t() gaps, editing/UI split violations,
+ post-v42 import mistakes). Pairs with the ckeditor5-plugin-development and
+ ckeditor5-testing skills and delegates their checklists.
---
# Reviewing CKEditor 5 plugins
@@ -41,9 +39,9 @@ checking your own feature before opening a PR. For *writing* the feature, use
2. **Read model-first.** The model is the source of truth; trace the feature in order
**schema → conversion → command → UI**. Confirm each layer is present and consistent (e.g. a
new model element has a schema registration *and* upcast *and* downcast *and* an insertion path).
-3. **Run the tests + coverage** for the affected package (see `ckeditor5-testing`). CKEditor holds
- **100% branch coverage**, but coverage ≠ correctness: confirm the *change itself* is tested,
- not just that lines are hit. A bug fix with no new/changed test is a red flag even at 100%.
+3. **Run the tests** for the affected code (see `ckeditor5-testing`). Coverage ≠ correctness:
+ confirm the *change itself* is tested, not just that lines are hit. A bug fix with no
+ new/changed test is a red flag even when coverage stays green.
4. **Observe behavior.** Attach the CKEditor Inspector (model / view / schema / commands), then:
round-trip `editor.getData()` → `setData()` (does content survive a save?); exercise selection
edge cases (collapsed vs. ranged, inside objects/limits, at attribute boundaries); toggle
@@ -53,9 +51,7 @@ checking your own feature before opening a PR. For *writing* the feature, use
modes specific to CKEditor.
7. **Verify each finding before reporting it** (see below). Reproduce it, or cite the exact line
and the rule it breaks. Discard the ones that don't hold up.
-8. **Check process** (if the project follows CKEditor's): changelog entry, commit/PR conventions,
- CLA, signed commits — `references/contribution-process.md`.
-9. **Report** findings: severity-tagged, `file:line`, with the concrete fix or question.
+8. **Report** findings: severity-tagged, `file:line`, with the concrete fix or question.
## Triage / severity
@@ -92,14 +88,17 @@ I don't see a `dataDowncast`.") rather than a false assertion.
| File | Use it for |
|------|-----------|
| `references/defect-patterns.md` | The CKEditor-specific bug catalog: for each, the symptom, how to spot it in a diff, why it's wrong, and the fix. The core of a correctness review. |
-| `references/contribution-process.md` | Project process a reviewer validates: file-based changelog entries (`.changelog/`, types/scope/closes), commit & PR conventions, branch naming, CLA, signed commits, coverage expectations. Relevant when reviewing for the ckeditor5 project or a package that adopts its process. |
+
+> **Out of scope:** the CKEditor *project's own* contribution process (the `.changelog/` entry
+> system, `pnpm run nice`, CLA, signed commits, branch naming) is specific to contributing to the
+> upstream ckeditor5 monorepo — not to reviewing a plugin in your own project — so this skill does
+> not cover it. If you're contributing upstream, follow that repository's CONTRIBUTING guide.
## Provenance & source references
-Self-contained and library-focused. Any `docs/…` / `packages/…` / `.changelog/` paths or the
-baseline commit point into the **upstream CKEditor 5 repository**
+Self-contained and library-focused. Any `docs/…` / `packages/…` paths or the baseline commit point
+into the **upstream CKEditor 5 repository**
([github.com/ckeditor/ckeditor5](https://github.com/ckeditor/ckeditor5)), not the project you are
-reviewing. Distilled at upstream commit **`9ecca53627`** (mid-2026) from
-`docs/framework/contributing/{contributing,changelog-entries,code-style}.md` and the patterns in
-the companion skills. To refresh, compare those paths against that commit inside a clone of
-ckeditor5 and bump the reference here.
+reviewing. Distilled at upstream commit **`9ecca53627`** (mid-2026) from the patterns in the
+companion skills and `docs/framework/contributing/code-style.md`. To refresh, compare those paths
+against that commit inside a clone of ckeditor5 and bump the reference here.
diff --git a/.claude/skills/ckeditor5-reviewing/references/contribution-process.md b/.claude/skills/ckeditor5-reviewing/references/contribution-process.md
deleted file mode 100644
index 5255c35377..0000000000
--- a/.claude/skills/ckeditor5-reviewing/references/contribution-process.md
+++ /dev/null
@@ -1,90 +0,0 @@
-# Contribution process (what a reviewer validates)
-
-The process side of a review — relevant when reviewing for the **ckeditor5 project itself**, or a
-package that adopts its conventions. (A standalone plugin in your own repo may use a different
-process; treat this as the upstream model.) Paths like `.changelog/` refer to the upstream repo.
-
-## Changelog entries (file-based)
-
-CKEditor uses a Markdown, file-based changelog (Changesets-style): each change ships a file in
-`.changelog/` that is compiled into the release changelog. **A PR with user-facing changes is
-expected to include a changelog entry.**
-
-- Create with **`pnpm run nice`** (NICE = New Individual Changelog Entry). It writes
- `.changelog/YYYYMMDDHHMMSS_{branch-name}.md` with a frontmatter template to fill in. One file =
- **one change** (add several files for several changes).
-- Frontmatter fields:
- - `type` (**required**) — one of:
- | type | release | meaning |
- |------|---------|---------|
- | `Feature` | minor | new user-facing functionality |
- | `Fix` | patch | bug fix / small improvement |
- | `Other` | patch | enhancement/refactor, not a fix or feature (e.g. API cleanup) |
- | `Major breaking change` | major | breaks the integration / plugin-dev API |
- | `Minor breaking change` | minor | breaks the low-level customizable API |
- - `scope` (optional) — affected package short name(s), `@ckeditor/` stripped (e.g. `ckeditor5-ui`);
- most-impacted first; omit for broad/generic changes; use `ckeditor5` for the main package.
- - `closes` / `see` (optional) — issues resolved / referenced. Formats: `123`,
- `ckeditor/ckeditor5#123`, or full URL.
- - `communityCredits` (optional) — GitHub usernames of external contributors to credit.
- - **body** (**required**) — a concise, **user-facing** summary (this text ships in the public
- changelog). Reference methods as `ClassName#methodName()`.
-
-Example:
-
-```md
----
-type: Fix
-scope:
- - ckeditor5-link
-closes:
- - 14724
----
-
-The link balloon no longer steals focus when opening via keyboard.
-```
-
-**As a reviewer**, validate the entry (the changelog doc assigns this explicitly): correct `type`,
-right issue reference(s), breaking-change flagged correctly, grammar, and that the message makes
-sense to *other developers* in the context of the whole editor — not just to the author. Fix it via
-GitHub suggestions if needed. The new file-based system is for **public, user-facing** changes only
-(internal-only changes need no entry).
-
-## Tests & coverage
-
-- **100% code coverage including branches** is required; PRs with missing tests are not accepted.
-- Coverage is necessary but not sufficient: **every change must be tested** — a bug fix that doesn't
- move coverage still needs a test proving the fix. A manual test may also be requested.
-- See the `ckeditor5-testing` skill for how the suite runs.
-
-## Code style
-
-Enforced partly by Git hooks (lint + style on commit), but not everything is auto-caught — review
-against the `ckeditor5-plugin-development` skill's `references/conventions.md`. Don't rely on tools
-alone.
-
-## Pull requests
-
-- Open/identify a **ticket** first (skippable only for trivial typo/doc changes); reference the
- ticket(s) the PR resolves.
-- Branch naming: **`i/GITHUB-ISSUE-NUMBER`**.
-- **Minimal & focused** — only what the ticket describes; no unrelated changes squeezed in.
-- Provide context in the PR: how to test, decisions made, known problems.
-- Merge: typically **Squash and merge** (the changelog comes from the `.changelog/` file, not the
- commit messages, so you don't copy anything at merge time).
-
-## CLA & signed commits
-
-- A signed **Contributor License Agreement** (cla.ckeditor.com) is required for contributions to be
- accepted.
-- Since **January 2025**, all commits to the main branches **must be signed** (Git signing; the GPG
- key's name/email must match the committer). Part of their SOC2 compliance.
-
-## Reviewer checklist (process)
-
-- [ ] Changelog entry present for user-facing changes, with correct `type`/`scope`/`closes` and a
- clear user-facing body.
-- [ ] Tests cover the change itself; coverage stays at 100%.
-- [ ] PR is minimal and references its ticket; branch is `i/NNN`.
-- [ ] Breaking changes flagged (`Major`/`Minor breaking change`) and justified.
-- [ ] Commits signed; CLA in place (for external contributors).