trove-principle-data-shape
Foundational Thinking — get the data shape right before writing logic. Choose core types and structures first; a late data-structure change is a rewrite, early it is a one-line diff. Use before writing logic, choosing core types, or sequencing scaffold-vs-feature work.
- License 许可
- MIT
- 所属仓库
- bravew/trove
- 最近更新
- 2026-11-12
- Stars
- ★ 10
- Forks
- 1
01 前言 Front Matter
- name
- trove-principle-data-shape
- metadata
- { "trove-category": "code", "trove-category-label": "Code" }
- description
- Foundational Thinking — get the data shape right before writing logic. Choose core types and structures first; a late data-structure change is a rewrite, early it is a one-line diff. Use before writing logic, choosing core types, or sequencing scaffold-vs-feature work.
- when_to_use
- what's the data shape; model this first; foundational thinking
- user-invocable
- true
02 资源文件 1
- 其他SKILL.md.tmpl1.1 KB
03 SKILL.md 正文
<!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly --> <!-- Regenerate: bun run build:skills -->
Principle: Foundational Thinking
Get the data shape right before writing logic. Structural decisions protect option value: a data-structure change made late is a rewrite; made early it is often a one-line diff.
- Name the core types and how data flows between them before writing behavior.
- Scaffold-first test: does every subsequent phase benefit from this structure existing? If yes, build it first.
- Ask what concurrent actors share before you let them share it.
- Subtraction precedes scaffolding: remove dead weight, then build on the simpler base.
Pairs with trove-architect (sketch the shape) and trove-principle-type-discipline (make the shape honest).
04 同仓库更多 Skills
using-trove
Skill discipline anchor for the Trove marketplace. Loaded once per session; routes the agent to the right trove-* skill before code, planning, review, or git actions.
trove-write-skill
Skill authoring workflow. Use when creating or updating a Codex or Trove skill, including rubrics, tasks, metadata, and validation.
trove-worktree
Git worktree workflow for spikes, risky experiments, and broad refactors that should not disturb the user's current branch.
trove-why
Reconstruct design rationale and decision history from evidence — source control, issue tracker (Linear), docs (Notion), chat (Slack), error tracking (Sentry) — with calibrated confidence. Use for "why does X work this way", "why did we pick Y", regressions, and postmortems. Use trove-explain for how it works now.
trove-verify
Completion verification workflow. Use before claiming done, fixed, complete, ready, or shipped.
trove-unslop
Cut AI tells from writing — PR descriptions, release notes, specs, commit bodies, and replies. Use before finalizing prose, or when the user asks to clean up, de-slop, or make text sound human.