SkillHub

propai-sync

v2026.2.28

Maintain and operate the PropAI Sync monorepo, including hosted-platform BYOK API validation and Railway deployment checks. Use when working in propai-sync to run scoped tests, build gates, hosted smoke checks (`/api/health`, `/api/auth/bootstrap`, `/api/users/me`), and ClawHub-ready skill publishin...

Sourced from ClawHub, Authored by Vishal

Installation

Please help me install the skill `propai-sync` from SkillHub official store. npx skills add vishalgojha/propai-sync

PropAI Sync

Run all commands from the repo root.

Execute Core Workflow

  1. Inspect scope with git status --short and git diff --name-only.
  2. Run focused quality checks for touched files.
  3. Run pnpm build before any deploy or handoff.
  4. Run hosted smoke with:
  5. node skills/propai-sync/scripts/hosted-smoke.mjs
  6. Record executed commands and outcomes in HANDOFF.md.

Enforce Hosted Smoke Contract

  • Verify health_ok is true.
  • Verify bootstrap succeeds and returns an API key.
  • Verify /api/users/me succeeds with that API key.
  • Treat any non-2xx response as a failing gate.

Run Railway E2E Validation

  1. Authenticate Railway CLI:
  2. npx @railway/cli login
  3. npx @railway/cli status
  4. Deploy from the current branch.
  5. Validate live endpoints in this order:
  6. GET /api/health
  7. POST /api/auth/bootstrap
  8. GET /api/users/me with X-API-Key from bootstrap
  9. Log live URL, UTC timestamp, and endpoint results in HANDOFF.md.

Publish To ClawHub

  1. Bump version and changelog summary for the skill update.
  2. Publish:
  3. clawhub publish skills/propai-sync --slug propai-sync --name "PropAI Sync" --version <semver> --tags latest --changelog "<summary>"