back
loading skill details...
A comprehensive test skill for verifying ClawHub publish pipeline functionality
--- name: test-publish-skill version: 1.0.0 description: A comprehensive test skill for verifying ClawHub publish pipeline functionality tags: - testing - pipeline - ci-cd --- # Test Publish Skill ## Overview This skill provides comprehensive testing and validation capabilities for the ClawHub skill publishing pipeline. It verifies API connectivity, token authentication, multipart upload format, and license acceptance status. ## Architecture The skill operates in three phases: 1. **Pre-flight checks** - Validates token, connectivity, and configuration 2. **Upload validation** - Confirms multipart/form-data format and file integrity 3. **Post-publish verification** - Checks published skill metadata and version ## Commands ### Check Token Status ```bash clawhub whoami ``` ### Publish a Skill ```bash clawhub skill publish ./my-skill \ --slug my-skill \ --name "My Skill" \ --version 1.0.0 \ --changelog "Initial release" ``` ### Device Flow Login ```bash clawhub login --device --no-browser ``` ## Configuration | Variable | Description | Default | |----------|-------------|---------| | `CLAWHUB_REGISTRY` | Registry API base URL | `https://clawhub.ai` | | `CLAWHUB_CONFIG_PATH` | Token config file path | `~/.config/clawhub/config.json` | | `CLAWHUB_DISABLE_TELEMETRY` | Disable install telemetry | unset | ## Error Handling | Error | Cause | Resolution | |-------|-------|------------| | `401 Unauthorized` | Invalid or revoked token | Run `clawhub login` | | `license terms must be accepted` | Account has not accepted MIT-0 | Complete browser login at clawhub.ai | | `skillId: invalid value` | API response parsing issue | Check CLI version and API compatibility | ## Changelog ### 1.0.0 - Initial release with full pipeline validation - Device flow authentication support - Comprehensive error handling and diagnostics
don't have the plugin yet? install it then click "run inline in claude" again.