skillhub/cli/test/integration
dongmucat 1067d0ff6e feat(publish): add --dry-run validation endpoint and CLI option
Add a validate-only endpoint (POST /api/cli/v1/skills/{namespace}/publish/validate)
that runs the full pre-publish validation chain without persisting anything.
This allows developers to check their package locally before actual publishing.

The validation covers:
- SKILL.md existence and frontmatter parsing (name, description required)
- File extension whitelist and size limits
- Credential leak scanning with line-number precision
- Slug generation and name conflict detection

CLI usage: `skillhub publish <path> --dry-run`

Closes #429
2026-05-18 10:36:58 +08:00
..
auth-commands.test.ts test(cli): add comprehensive integration tests and fix update command bugs 2026-05-07 14:46:40 +08:00
doctor-command.test.ts refactor(cli): improve doctor command semantics and transparency 2026-05-09 11:30:36 +08:00
error-output.test.ts fix(cli): improve parse error output 2026-04-29 15:37:05 +08:00
help-command.test.ts test(cli): add comprehensive integration tests and fix update command bugs 2026-05-07 14:46:40 +08:00
install-command.test.ts test(cli): add comprehensive integration tests and fix update command bugs 2026-05-07 14:46:40 +08:00
list-command.test.ts test(cli): add comprehensive integration tests and fix update command bugs 2026-05-07 14:46:40 +08:00
publish-command.test.ts refactor(cli): improve doctor command semantics and transparency 2026-05-09 11:30:36 +08:00
publish-dry-run.test.ts feat(publish): add --dry-run validation endpoint and CLI option 2026-05-18 10:36:58 +08:00
remove-command.test.ts test(cli): add comprehensive integration tests and fix update command bugs 2026-05-07 14:46:40 +08:00
search-command.test.ts test(cli): add comprehensive integration tests and fix update command bugs 2026-05-07 14:46:40 +08:00
update-command.test.ts test(cli): add comprehensive integration tests and fix update command bugs 2026-05-07 14:46:40 +08:00
version-command.test.ts test(cli): add comprehensive integration tests and fix update command bugs 2026-05-07 14:46:40 +08:00
whoami-command.test.ts test(cli): add comprehensive integration tests and fix update command bugs 2026-05-07 14:46:40 +08:00