schema-defense
Keeps the schema explainable and round-trippable. Use when writing migrations, models, import/export, or DATA-MODEL.md.
- License 许可
- MIT
- 最近更新
- 2026-10-07
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- schema-defense
- description
- Keeps the schema explainable and round-trippable. Use when writing migrations, models, import/export, or DATA-MODEL.md.
03 SKILL.md 正文
Schema defense
Read plans/02-data-model-and-pipeline.md and context/fixtures-expectations.md.
Rules
- One sentence per table in DATA-MODEL.md.
- FIG.01 all ten stages have a home.
- Uniqueness: invite tokens; one active submission per team per event; one assignment per judge×project×batch.
- Survive constant rater, incomplete batch, duplicate entry.
- Import/export paths exist or are listed as T4 work, not forgotten columns.
- A human on the team must be able to defend the schema in writing (hackathon rule).
04 同仓库更多 Skills
writeup-capture
Writes session journal entries for the Write Up Quest. Use at session end, after large decisions, isolation bugs, or when the user mentions writeup, journal, or postmortem.
role-isolation
Enforces FIG.02 / T2.03 backend role isolation with a curl matrix. Use when touching auth, sessions, scores, assignments, exports, votes, or any list/get endpoint.
judging-maths
Weighted rubric, robust z-score normalization, and Bradley-Terry pairwise ranking. Use when implementing scores, ranking, assignment maths, JUDGING.md, or bonus proofs.
dogfood-spec
Maps work to Dogfood T1-T4 bullets, FIG.01 stages, and out-of-scope list. Use when implementing features, choosing scope, or when the user mentions tiers, the brief, or dogfoodhack.
docs-sync
Updates architecture, data-model, judging, and journal docs in the same change as code. Use after mergeable schema, API, or judging changes, or when writing README/ARCHITECTURE/DATA-MODEL/JUDGING.
docker-offline
Keeps the portal one-command and offline. Use when editing docker-compose, adding dependencies, object storage, auth, email, or any third-party SDK.