Imported from 0disoft/zdp-auth-ui (
.agents/skills/package-surface/SKILL.md). Install upstream withnpx skills add 0disoft/zdp-auth-ui --skill package-surface. Copyright stays with the author.
Package Surface Skill
Use When
Package exports, files, build output, clean consumer fixtures, style entrypoints, or release readiness change.
Procedure
- Read
package.json,scripts/build-package-surface.ts,scripts/check-auth-ui.ts, andexamples/clean-consumer/AuthUiCleanConsumer.svelte. - Keep public entrypoints limited to package root,
./styles.css,./i18n, and./contractunless the package contract is deliberately expanded. - Do not point package consumers at
src/**. - Check version impact when packaged files or package metadata change.
- Verify with
zdp_auth_ui_build,zdp_auth_ui_check, andzdp_auth_ui_npm_pack_dry_runwhen package output changes.
