skillset-dev-schema
Change or review Skillset workspace config, source frontmatter, shared metadata fields, structural validation, examples, and generated schema artifacts. Use whenever adding, removing, renaming, validating, or documenting a key shared by compiler and authoring surfaces.
- License 许可
- MIT
- 最近更新
- 2026-11-01
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- title
- Skillset Schema Development
- version
- 0.1.0
- description
- Change or review Skillset workspace config, source frontmatter, shared metadata fields, structural validation, examples, and generated schema artifacts. Use whenever adding, removing, renaming, validating, or documenting a key shared by compiler and authoring surfaces.
02 资源文件 1
- 参考文档references/contract-workflow.md1.5 KB
03 SKILL.md 正文
Skillset Schema Development
Keep One Contract Owner
- Read
docs/project/tenets.md, relevant ADRs, anddocs/development/schema-contracts.md. - Confirm the field represents a real adaptive source meaning. Keep provider-only contracts under explicit provider blocks.
- Change
packages/schema/src/contracts.tsand shared value contracts before teaching compiler, Workbench, CLI, or documentation another shape. - Add structural diagnostics in
packages/schema/src/validate.ts; keep path resolution, destination policy, graph semantics, and rendering behavior in Core. - Route all consumers through
@skillset/schemainstead of maintaining parallel allowed-key lists.
Read references/contract-workflow.md for the artifact, validation, example, and release checklist.
Verify The Contract
- Extend schema descriptor, validation, and maximal-example coverage.
- Run
bun run schema:generate, inspect generated schemas and examples, then runbun run schema:check. - Run focused schema and affected-consumer tests with
bun run test:focused -- <test-files...>. - Add a package Changeset for package-facing schema changes and a Skillset change entry when the self-hosted source contract or generated-output promise changes.
- Rebuild and check self-hosted output when canonical
.skillset/source changes. - Run
bun run typecheckandbun run checkbefore handoff.
Do not document a field that the schema package does not own, hand-edit generated schema artifacts, or use provider spelling as a second portable key for the same meaning.
04 同仓库更多 Skills
use-skillset
Use the skillset compiler in a repo with skillset.yaml or a .skillset/ directory. Covers creating a workspace, adding skills, rules, agents, hooks, and plugins, building and checking Claude, Codex, and Cursor output, repairing stale or hand-edited generated files, recording changes, cutting releases, importing existing skills, and marketplaces. Use when asked to add a rule, record a change, cut a release, or fix generated output.
broken
42
reference
Keep project references organized for review.
portable-proof
Proves that generated Agent Skills are accepted by pinned external consumers.
plugin-proof
Proves immediate-child skill fidelity inside an Agent Plugins package.
sink
Kitchen-sink skill exercising shared resources and custom resource mappings.