Agent Skills › udecode/plate › registry-changelog

registry-changelog

GitHub

用于规范编写和验证 Plate registry 用户可见变更的更新日志。当涉及 UI、组件、示例或元数据等前端展示层变更时触发,确保遵循 MDX 格式契约并正确生成发布说明。

.agents/skills/registry-changelog/SKILL.md udecode/plate

Trigger Scenarios

修改 apps/www/src/registry/** 下的用户可见内容 需要为 UI 组件、Kits 或示例添加版本更新记录

Install

npx skills add udecode/plate --skill registry-changelog -g -y
More Options

Non-standard path

npx skills add https://github.com/udecode/plate/tree/main/.agents/skills/registry-changelog -g -y

Use without installing

npx skills use udecode/plate@registry-changelog

指定 Agent (Claude Code)

npx skills add udecode/plate --skill registry-changelog -a claude-code -g -y

安装 repo 全部 skill

npx skills add udecode/plate --all -g -y

预览 repo 内 skill

npx skills add udecode/plate --list

SKILL.md

Frontmatter
{
    "name": "registry-changelog",
    "metadata": {
        "skiller": {
            "source": ".agents\/rules\/registry-changelog.mdc"
        }
    },
    "description": "Author and verify Plate registry changelog entries for user-visible registry UI, kit, example, and registry metadata changes."
}

Registry Changelog

Use this when a task changes user-visible Plate registry output under apps/www/src/registry/**: UI components, node renderers, kits, examples, registry metadata, style dependencies, or install behavior.

This skill owns the registry changelog contract. plate-ui owns the trigger, changeset owns package-vs-registry release-artifact classification, docs-creator owns release-page topology, and task owns closeout. Do not copy this schema into those skills.

Source

Canonical source files live under:

apps/www/src/registry/changelog/entries/*.mdx

Generated public artifacts live under:

apps/www/src/registry/changelog/*.json

Never hand-edit generated changelog JSON. Edit the MDX entry source, then run the generator.

When Required

Add or update a registry changelog entry when a task changes user-visible registry behavior, copied-code install shape, kit composition, examples, style dependencies, or component rendering.

Mark it N/A only when the registry diff is not user-visible, such as tests, internal task plans, mechanical rule changes, or pure generated output from an existing changelog source.

Mixed package plus registry work may need both:

  • published package user-visible delta: package changeset
  • user-visible registry delta: registry changelog entry

Registry-only work under apps/www/src/registry/** uses the registry changelog instead of a package changeset.

Authoring Contract

Use one MDX file per changelog event.

---
id: 2026-06-15-fix-editor-wrapping
date: 2026-06-15
status: draft
kind: fix
summary: "Fix editor wrapping"
change: {"type":"source","date":"2026-06-15","commits":[]}
release: {"status":"unresolved"}
diagnostics: []
---
<!-- entry: {"id":"2026-06-15-editor-wrapping-3b8c2c1a","kind":"fix","migrationNotes":[]} -->
- **`editor`**, **`editor-static`**: Fix preserved-space wrapping in editable and static editors.

Frontmatter:

Field Required Contract
id yes Stable event id. Prefer YYYY-MM-DD-short-slug.
date yes Event date in YYYY-MM-DD.
status yes Usually draft until release metadata is known.
kind yes new, fix, behavior, wiring, rename, or remove.
summary yes One user-facing sentence. No changelog voice.
change yes JSON object. Use {"type":"source","date":"YYYY-MM-DD","commits":[]} unless exact PR metadata is known.
release yes JSON object. Use {"status":"unresolved"} unless release metadata is known.
diagnostics yes JSON array. Use [] unless warning metadata is intentional.
legacyRelease migration only Keep only for migrated historical entries. New entries should omit it.

Each visible bullet row may have an entry metadata comment immediately above it. Use it when you need stable row id, explicit kind, or migration notes. If you omit it, the generator can infer defaults, but explicit metadata is better for durable changelog entries.

Row bullets must name real registry item ids in backticks:

- **`item-name`**, **`second-item`**: User-facing summary.

Do not write implementation diary, test notes, internal architecture rationale, or vague ownership prose. Users want what changed for copied registry code.

Commands

Create a new source entry:

node tooling/scripts/generate-ui-changelog-entries.mjs \
  --new 2026-06-15-fix-editor-wrapping \
  --summary "Fix editor wrapping" \
  --items editor,editor-static \
  --kind fix

Regenerate public JSON:

node tooling/scripts/generate-ui-changelog-entries.mjs --write

Verify source and generated JSON agree:

node tooling/scripts/generate-ui-changelog-entries.mjs --check

Run focused generator coverage after changing the generator, schema, or changelog source layout:

bun test tooling/scripts/generate-ui-changelog-entries.test.mjs

Closeout

Before handoff:

  • source entry exists or the plan records a concrete N/A reason
  • generated JSON is updated with --write
  • --check passes
  • focused generator tests run when the generator/schema changed
  • package changeset decision is recorded separately when package code changed

Version History

  • af5e430 Current 2026-08-20 19:27

Same Skill Collection

.agents/skills/adversarial-document-reviewer/SKILL.md
.agents/skills/agent-browser-issue/SKILL.md
.agents/skills/agent-native-reviewer/SKILL.md
.agents/skills/architecture-strategist/SKILL.md
.agents/skills/autoclosure/SKILL.md
.agents/skills/autogoal/SKILL.md
.agents/skills/autoreview/SKILL.md
.agents/skills/best-practices-researcher/SKILL.md
.agents/skills/clawpatch/SKILL.md
.agents/skills/clawsweeper/SKILL.md
.agents/skills/code-simplicity-reviewer/SKILL.md
.agents/skills/coherence-reviewer/SKILL.md
.agents/skills/components/SKILL.md
.agents/skills/continue/SKILL.md
.agents/skills/correctness-reviewer/SKILL.md
.agents/skills/dev-browser/SKILL.md
.agents/skills/diagnosing-bugs/SKILL.md
.agents/skills/docs-creator/SKILL.md
.agents/skills/editor-harvest-plan/SKILL.md
.agents/skills/editor-test-harvester/SKILL.md
.agents/skills/feasibility-reviewer/SKILL.md
.agents/skills/framework-docs-researcher/SKILL.md
.agents/skills/frontend-design/SKILL.md
.agents/skills/git-history-analyzer/SKILL.md
.agents/skills/gpt-pro/SKILL.md
.agents/skills/grill-me/SKILL.md
.agents/skills/hard-cut/SKILL.md
.agents/skills/issue-intelligence-analyst/SKILL.md
.agents/skills/learnings-researcher/SKILL.md
.agents/skills/maintainability-reviewer/SKILL.md
.agents/skills/major-task/SKILL.md
.agents/skills/north-star/SKILL.md
.agents/skills/orchestrator/SKILL.md
.agents/skills/pattern-recognition-specialist/SKILL.md
.agents/skills/performance-oracle/SKILL.md
.agents/skills/performance/SKILL.md
.agents/skills/plate-plan/SKILL.md
.agents/skills/plate-plugin-creator/SKILL.md
.agents/skills/plate-ui/SKILL.md
.agents/skills/potion-yjs-dev-browser-test/SKILL.md
.agents/skills/product-lens-reviewer/SKILL.md
.agents/skills/project-standards-reviewer/SKILL.md
.agents/skills/promote-beta/SKILL.md
.agents/skills/react-useeffect/SKILL.md
.agents/skills/react/SKILL.md
.agents/skills/release-lanes/SKILL.md
.agents/skills/repo-research-analyst/SKILL.md
.agents/skills/reproduce-bug/SKILL.md
.agents/skills/research-wiki/SKILL.md

Metadata

Files
0
Version
a9bfa84
Hash
35db4432
Indexed
2026-08-20 19:27

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-27 18:18
浙ICP备14020137号-1