Skip to main content

best-api

Design, review or repair a Plate public call shape using live Slate-based contracts, ideal call sites, inference and ownership.

来源信息

仓库
udecode/plate
最近来源活动
2026年10月12日 22:51
检测到的 SKILL.md 语言
英语
星标
16,655
分支
994

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
description
Design, review or repair a Plate public call shape using live Slate-based contracts, ideal call sites, inference and ownership.
argument-hint
[design | review | repair] <API, diff or plan>
name
best-api
metadata
{"skiller":{"source":".agents/rules/best-api.mdc"}}
# Best API Own the public call-site decision. `VISION.md` owns product direction; `verdict` decides whether the direction earns work. The Plan playbook owns adoption and its review gates. Read public types, exports, runtime owners, representative consumers and docs. Inspect local dependency source and prior art before inventing an abstraction. Show the normal call and one real customization using actual public imports. Classify every noun by its honest package, registry or application owner. Compare keeping, deleting, merging, inlining and replacing. Keep a boundary only for an independent current job or a correctness, security, serialized data, native behavior or runtime law. Prefer one obvious common path with inference, useful JSDoc and progressive disclosure. Implementation difficulty does not establish good API design; published compatibility still needs an explicit adoption decision in this stable checkout. A runtime cost argument requires `benchmark`'s matched pre-acceptance probe. A type-only decision can record N/A with source evidence. A short call that hides the wrong owner is not an accepted design. For review, rank concrete findings P0 through P3 and give one recommended target with source, consumers, rejected alternatives and proof. A read-only review reports the repair and implements nothing. For an authorized repair, update the owning contract and every live example, doc, skill and check that teaches it. Search the old names and their word variants with `git grep --untracked`; distinguish release history from current teaching. Check Chinese twins, regenerate owned output and forward-test the real call. Keep unresolved public API teaching open in the plan.
在 GitHub 查看