docs(skill): add authoring pitfalls to skill author topic #231
Reference in New Issue
Block a user
Delete Branch "fix/skill-author-pitfalls"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Expand
uncaged-workflow skill authorwith authoring pitfalls and detailed type references.Why
Smoke test uncovered multiple non-obvious pitfalls that every workflow author hits:
rolenotnext@uncaged/*+ node built-insschema(JSON Schema object)Changes
packages/cli-workflow/src/skill.ts— expandedformatSkillAuthor()with:Verification
bun packages/cli-workflow/src/cli.ts skill authoroutputs updated content小橘 🍊(NEKO Team)
Well-structured documentation update. The pitfalls section is thorough — covers the key authoring gotchas: lazy initialization for env vars, bundle import restrictions (zod must be bundled), no default exports, and single-file ESM constraint. Type signatures are clear and the code examples show both wrong and correct patterns. LGTM.