CraftCI - Automated UX Craft & Billing-Safety CI Gate

v0.1.0
io.github.srigenmedia/craft-ci Checked 3 days ago Published 15 days ago

Automated 20-rule UX craft, 5-posture Playwright/Axe & billing-safety CI gate + MCP server.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

craft_audit_code_snippet Audit Code Snippet (20 Rules)

Run the full 20-rule CraftCI static, UI posture, and billing-safety audit on a code snippet and return score, grade, and remediations.

ParameterTypeDescription
code *stringSource code to audit
filenamestringVirtual file path (e.g. src/checkout.ts)

craft_verify_billing_safety Verify Billing & Webhook Safety

Audit TypeScript or JavaScript payment and webhook handlers against the 5 critical Financial and Webhook Security rules (401/403, SKU pricing, HMAC, idempotency, zero PII logs).

ParameterTypeDescription
code *stringPayment or webhook handler source code

craft_score_posture_report Score 5-Posture & Accessibility Craft

Evaluate HTML, CSS, or TSX UI templates across CraftCI's 10 layout and accessibility rules including 5-posture overflow guards, 44px targets, tabular-nums, and reduced-motion.

ParameterTypeDescription
markup *stringHTML/CSS/TSX UI source code
filenamestringUI file name (e.g. App.tsx or index.html)

craft_generate_ci_gate Generate CraftCI GitHub Action Gate

Generate a ready-to-paste GitHub Actions workflow YAML and CraftCI gate configuration for a target minimum score.

ParameterTypeDescription
minScorenumberMinimum Craft Score threshold (0-100)
previewUrlstringOptional staging preview URL