본문으로 건너뛰기
cccskills
무료GitHub에 공개

clawhub-convex

Apply ClawHub-specific rules when developing with Convex, including deployment targeting, runtime checks, data migrations, search performance, and skill statistics. It also directs specialized work to the appropriate companion skills.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

Apply ClawHub-specific Convex conventions and route to the right managed Convex skill. Use for any change under convex/, Convex commands or deployment targeting, query performance, migrations, retention, runtime validation, or skill stat reads and writes in the ClawHub repository.

설치 방법 보기

이럴 때 유용합니다

  • Changing Convex functions or schemas
  • Planning production data migrations
  • Reviewing search query performance
  • Updating skill download and install statistics

포함된 파일(2)

  • SKILL.md5.6 KB
  • agents/openai.yaml210 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

ClawHub Convex

Use the managed Convex guidance for general framework behavior and this skill for ClawHub's repository-specific boundaries.

Start Here

  1. Read convex/_generated/ai/guidelines.md before editing Convex code.
  2. Name the target runtime before running a Convex command: local, dev, or prod. Include the exact deployment when known and whether the current function/schema code has already been pushed there.
  3. Route to the most specific companion skill:
    • Query cost, indexes, read amplification, subscriptions, or OCC: convex-performance-audit
    • Production migration, backfill, schema narrowing, or table reshaping: convex-migration-helper and create-and-cleanup-migration
    • Tables, TTL fields, cleanup crons, retention, auth/session cleanup, metric dedupe cleanup, or deprecated table removal: convex-retention
    • Auth, reusable components, or setup: use the matching managed Convex skill.

Do not edit upstream-managed Convex skills to store ClawHub policy.

Commands And Runtime Validation

  • Push new or changed functions before convex run:
    • dev: bunx convex dev --once
    • prod: deploy through the workflow described by clawhub-production-release
  • For a non-interactive direct production deploy when explicitly required, use bunx convex deploy -y.
  • If bunx convex run --env-file .env.local ... returns 401 MissingAccessToken after login, omit --env-file and target the deployment with --deployment <name> or --prod.
  • Regenerate committed API/types with bunx convex codegen after Convex API/schema changes.
  • Import mutations from convex/functions.ts, not convex/_generated/server, so ClawHub's trigger wrapper runs. Type imports can still come from convex/_generated/server.
  • Do not disable typechecking for an ordinary direct deploy. The production workflow owns its explicit deploy behavior and exceptions.

Mocked ctx tests cover pure business logic only. When behavior depends on pagination, indexes, validators, auth identity, internal/public boundaries, schedulers, actions calling functions, HTTP actions, storage, or OCC, also run a real Convex path such as:

  • bunx convex dev --once
  • bunx convex run ...
  • an HTTP action smoke
  • bun run test:pw:local-auth

Tests that invoke a mutation through ._handler need a mock database with normalizeId: vi.fn() for trigger-wrapper compatibility.

ClawHub Migration Boundaries

  • Default production data changes to @convex-dev/migrations; the companion skills own batching, dry runs, resume/progress, confirmation, validation, and cleanup.
  • Put component-backed table-wide backfills in convex/migrations.ts.
  • Put custom repairs, admin-gated operations, and incident-specific workflows in convex/maintenance.ts.
  • Keep one-off operator migration runs out of .github/workflows/deploy.yml.
  • Remove temporary migration functions in a follow-up PR after production apply and verification unless they are intentionally retained as maintenance tooling.

Query And Bandwidth Work

Use convex-performance-audit for the detailed rules on indexes, bounded reads, denormalization, digest tables, subscriptions, and function limits. Before writing or reviewing a performance-sensitive query, check deployment health when available:

bunx convex insights --details
bunx convex logs --failure

Prefer measured runtime signals over speculative restructuring.

ClawHub Hot-Path Conventions

Use convex-performance-audit for the complete workflow. Preserve these ClawHub-specific implementations when touching their paths:

  • Public listing and browse pages use one-shot ConvexHttpClient.query() reads unless the user needs live updates.
  • When a skillSearchDigest row exists, resolve owner data with digestToOwnerInfo(digest). Do not re-read the owner document when the digest already contains the required owner fields.
  • Keep denormalized tables synchronized through the existing convex-helpers triggers and skip writes when derived fields did not change.
  • Paginate computed search results client-side after running the scoring pipeline once; do not rerun the full vector, lexical, and popularity pipeline for each page.
  • Add delayMs between backfill batches that update reactively subscribed tables.
  • Split mutations that would read more than the transaction budget through the existing action-query-mutation pattern.

Skill Stat Contract

The skills table still has a compatibility shape for four migrated stats:

Legacy nested fieldTop-level source of truth
stats.downloadsstatsDownloads
stats.starsstatsStars
stats.installsCurrentstatsInstallsCurrent
stats.installsAllTimestatsInstallsAllTime
  • Read these fields with readCanonicalStat() from convex/lib/skillStats.ts. It prefers the top-level field and falls back for pre-migration documents.
  • Write deltas with applySkillStatDeltas(). It updates both shapes in one patch.
  • Any direct patch touching these values must update both shapes.
  • Nested-only reads remain valid for stats.comments and stats.versions.
  • When adding a migrated stat field, use the same dual-write shape and add a cursor-based backfill.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Review code using shared OpenClaw instructions and a Python helper, while also following the target repository’s review requirements. This skill points to a common installation that supplies the actual review procedure.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Reviewing code with shared OpenClaw instructions
  • Applying repository-specific review requirements
  • Keeping shared review instructions up to date
openclaw/clawhub9.5천2026년 10월 18일 업데이트

Create and manage Axiom alert rules and notification destinations through its API. Connect alerts to email, Slack, or webhooks, check monitor history, and adjust thresholds and evaluation schedules to address excessive or missing alerts.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Set up error alerts and notification destinations
  • Tune monitors that send too many alerts
  • Investigate monitors that never trigger
openclaw/clawhub9.5천2026년 10월 18일 업데이트

axiom-sre

무료

Investigate production incidents and bugs using logs, metrics, and code evidence. The skill guides hypothesis testing, root cause analysis, fix validation, and reusable investigation notes, with access to configured observability tools such as Axiom.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Investigate production outages and rising error rates
  • Trace causes using logs, metrics, and code
  • Reproduce bugs and validate minimal fixes
openclaw/clawhub9.5천2026년 10월 18일 업데이트

Design and build Axiom dashboards from logs or metrics, the numerical measurements of system behavior. Create charts, filters, and layouts for monitoring and reporting, or migrate existing Splunk and Grafana panels while validating queries against available data.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Build a service health monitoring dashboard
  • Create interactive filters for investigating logs
  • Migrate dashboards from Splunk or Grafana
openclaw/clawhub9.5천2026년 10월 18일 업데이트

Drafts, previews, sends, and records emails for existing ClawHub content rights cases. It supports publisher removal notices and requester updates, requires approval of the final draft, and preserves the exact correspondence in the case record.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Preparing a skill removal notice for a publisher
  • Sending a requester a progress update or closure note
  • Preserving sent correspondence in an existing rights case
openclaw/clawhub9.5천2026년 10월 18일 업데이트

Support ClawHub staff moderation through its local admin tool, including skill reports, removals and restores, user restrictions, publisher and package management, and staff email, with approval checks and verification after changes.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Triage skill reports and restore hidden listings
  • Ban users or lift account restrictions
  • Manage organization publishers and package ownership
openclaw/clawhub9.5천2026년 10월 18일 업데이트

openclaw의 스킬 모두 보기

이 스킬의 문제 신고