From component-developer
Launches interactive web-based schema tester for visually testing and validating configSchema.json and configRowSchema.json. Auto-opens browser on localhost.
How this command is triggered — by the user, by Claude, or both
Slash command
/component-developer:schema-test --port PORTThis command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Test Configuration Schemas Launch the interactive schema tester to visually test `configSchema.json` and `configRowSchema.json`. ## Steps ### 1. Find component_config/ ### 2. Validate JSON ### 3. Ensure Flask is available ### 4. Start server and open browser ## Reference See `skills/build-component-ui/references/schema-tester.md` for troubleshooting, common patterns, and usage guide.
Launch the interactive schema tester to visually test configSchema.json and configRowSchema.json.
if [ -d "component_config" ]; then
COMPONENT_CONFIG="$(pwd)/component_config"
elif [ -d "../component_config" ]; then
COMPONENT_CONFIG="$(cd .. && pwd)/component_config"
else
echo "Error: component_config/ not found. Run from component root."
exit 1
fi
python3 -m json.tool "$COMPONENT_CONFIG/configSchema.json" > /dev/null || { echo "Invalid JSON in configSchema.json"; exit 1; }
python3 -m json.tool "$COMPONENT_CONFIG/configRowSchema.json" > /dev/null 2>&1 || true
python3 -c "import flask" 2>/dev/null || pip3 install flask flask-cors -q
PORT=8000
[[ "$ARGUMENTS" == *"--port"* ]] && PORT=$(echo "$ARGUMENTS" | grep -oP '(?<=--port )\d+')
SCRIPT="$PLUGIN_PATH/skills/build-component-ui/scripts/component_schema_tester.py"
python3 "$SCRIPT" "$COMPONENT_CONFIG" --port "$PORT" &
sleep 2
command -v open &>/dev/null && open "http://localhost:$PORT" \
|| xdg-open "http://localhost:$PORT" 2>/dev/null \
|| echo "Open in browser: http://localhost:$PORT"
echo "Schema tester running at http://localhost:$PORT — Ctrl+C to stop"
wait
See skills/build-component-ui/references/schema-tester.md for troubleshooting, common patterns, and usage guide.
npx claudepluginhub keboola/ai-kit --plugin component-developer/validate-schemasImplements Zod-based API schema validation with reusable schemas, TypeScript type generation, request/response middleware, tests, and documentation.
/test-apiDesign comprehensive API testing strategy including contracts and integration tests.
/validate-api-responsesGenerates JSON Schema definitions, Ajv validators, Express middleware, tests, docs, and monitoring to validate API responses against schemas.
/json-validatorValidates JSON against schemas (draft-07, 2019-09, 2020-12), formats and minifies JSON, runs JSONPath queries, compares JSON diffs, and reports detailed syntax and type errors.
/api-contract-testerTests API contracts via Pact consumer/provider, Postman collections, OpenAPI/GraphQL schemas. Validates compatibility, detects breaking changes, generates reports.