一键导入
api-design-reviewer
Use when reviewing public APIs, package exports, custom-element properties/events/slots, or cross-package contracts in PIE Players.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when reviewing public APIs, package exports, custom-element properties/events/slots, or cross-package contracts in PIE Players.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Workflow for adding or modifying a custom-element package — registration entrypoints, package `exports`, build artifacts, and pre-flight checks. Use when creating a new `@pie-players/*` CE package, adding a new `*-element.ts` registration entry, modifying the `exports` map of a publishable package, or validating CE consumer wiring. Trigger on cues like "register custom element", "add CE entry", "package exports", "components/*-element", "publishable package", "CE registration".
Reviews educational assessment interfaces for WCAG 2.2 Level AA compliance and assessment-specific accessibility needs. Use when implementing new interactions, reviewing UI changes, or conducting accessibility audits of test-taking interfaces.
Use when the user asks to grill or stress-test a plan/design, especially when terminology, domain language, CONTEXT.md, or ADR updates may matter.
Use when the user asks to draft, update, or turn a conversation/plan into a PIE Players PRD under docs/prds/ for a public contract, cross-package feature, architecture decision, or implementation-ready contract.
Author changesets and prepare releases under the fixed (lockstep) versioning policy. Use whenever creating a `.changeset/*.md`, scoping a release, choosing a bump level, running `bun run version` / `bun run release` / `bun run release:with-version`, or adding a new publishable package. Trigger on cues like "changeset", "release", "publish", "version bump", "patch", "minor", "major", "fixed versioning", "lockstep".
| name | api-design-reviewer |
| description | Use when reviewing public APIs, package exports, custom-element properties/events/slots, or cross-package contracts in PIE Players. |
Review only public or cross-package surfaces. Skip purely internal refactors unless they change a contract consumed outside the module.
pie-* tags
or model/session IDs. A host may substitute its package version only on a
cloned runtime config; the caller's authored config must remain unchanged.shadow: "open" vs shadow: "none" changes the public styling, DOM hook, or host-integration contract.pie-* or data-pie-* hooks and avoid exposing generic class names as accidental API.exports against built dist artifacts, not source-only convenience paths.pie-item client contract and include the required inline comment plus tests.Lead with contract risks, then note missing tests or docs. Prefer concrete file/symbol references over broad style advice.