wca-data-boundary

wca-data-boundary is a cursor rule for Cursor from williamisnotdefined/rubiks-cube-solver. It costs 0 tokens per session (2,541 once invoked), scanned A, original, MIT.

Guidance for the World Cube Association (WCA) data system, including its web API, database, import process, and web client. The WCA is the organization that governs official speedcubing competitions.

In plain words
What is it for?
Use it when changing WCA API definitions, OpenAPI documentation, data imports, PostgreSQL storage, background workers, or the web client that reads WCA data.
Why use it?
It helps keep the public data contract, imported records, database lifecycle, and web requests in agreement.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/williamisnotdefined/rubiks-cube-solver/wca-data-boundary
Clone the repo
git clone --depth 1 https://github.com/williamisnotdefined/rubiks-cube-solver

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wca-data-boundary

README.md
[![agentmods](https://agentmods.dev/badge/rules/williamisnotdefined/rubiks-cube-solver/wca-data-boundary.svg)](https://agentmods.dev/rules/williamisnotdefined/rubiks-cube-solver/wca-data-boundary)
Your own site
<a href="https://agentmods.dev/rules/williamisnotdefined/rubiks-cube-solver/wca-data-boundary"><img src="https://agentmods.dev/badge/rules/williamisnotdefined/rubiks-cube-solver/wca-data-boundary.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 2,541 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.02541
Opus 5 $0.00000 $0.01270
Sonnet 5 $0.00000 $0.00508
Haiku 4.5 $0.00000 $0.00254

Measured 3d ago against content hash 5904a438c0eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

wca-data-boundary scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/wca-data-boundary.mdc · 169 lines

How it starts

The opening of the file, as written. The whole thing — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Generated from ai/registry.json. Do not edit manually.

Canonical skill: ../../ai/skills/wca-data-boundary.md.

Referenced context:

  • ../../ai/rules/wca-data-rules.md
  • ../../ai/rules/frontend-rules.md
  • ../../ai/rules/testing-rules.md
  • ../../ai/architecture/wca-data.md

This file is compiled from canonical AI knowledge files. Edit canonical files under ai, then run npm run ai:sync.

Compiled AI Skill: wca-data-boundary

Canonical Skill: ai/skills/wca-data-boundary.md

WCA Data Boundary

Use for the WCA Data workspace, OpenAPI contract, import worker, PostgreSQL lifecycle, or web WCA client.

Read First

  • ai/rules/wca-data-rules.md
  • ai/rules/frontend-rules.md
  • ai/rules/testing-rules.md
  • ai/architecture/wca-data.md

Workflow

  • Identify whether the change owns public API, canonical data, import, persistence, worker, or web consumption.
  • Preserve contract-first OpenAPI and dataset metadata; keep Axum/Nginx routing aligned around the non-localized 308 docs redirect.
  • Use fixture/disposable verification unless a real target was explicitly approved.
  • Run WCA build/tests and the relevant web client tests; run public smoke only against an intentional available target.

Referenced Context

Reference: ai/rules/wca-data-rules.md

WCA Data Rules

  • Treat apps/wca-data/openapi/wca-data-v1.yaml and contract tests as the public API contract.
  • Keep import, canonical domain, public API, persistence, and worker concerns separately owned.
  • Validate archive size and expected entries; extract only expected TSV files.
  • Run local write checks with npm run wca:sync-once -- --fixture. Real sync and persistent migrations require explicit target approval.
  • Never execute downloaded SQL or expose fixture data in production. A successful production import retains only the active dataset; retired and failed datasets are removed after atomic publication, so rollback requires a backup or fresh verified import.
  • Verify workspace changes with npm run wca:build and npm run wca:test; use the public smoke command only when the target is intentional and available.

Read the full file on GitHub · 169 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 169 lines · 0 tokens per session scan A 5904a438c0eb

Subscribe to this mod's changes

wca-data-boundary is a cursor rule published in the GitHub repository williamisnotdefined/rubiks-cube-solver (4 stars, last pushed 10d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,541 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.