跳到正文
FunCoding

principle-foundational-thinking

Apply before writing logic: choosing core types and data structures, sequencing scaffold-vs-feature work, asking what concurrent actors share. Get the data structures right so downstream code becomes obvious.

Star
5,569
许可证
MIT
最近提交
2026年12月1日

skills/principle-foundational-thinking/SKILL.md

在 GitHub 上查看

Foundational Thinking

Get the data shape right before writing logic. Define core types early, trace every access pattern, and choose structures that match the dominant paths. DRY the structure, not every line.

Before sharing state between actors, ask what happens if another actor modifies it concurrently. If the answer is not "nothing", isolate.

Scaffold first. Whatever helps every later phase (CI, tests, shared types) goes first, after removing dead code. Keep commits small and single-purpose.

相似的 Skill

精选

domain-modeling

编写词汇表,记录架构决策,澄清术语歧义。

MAmattpocock/skills336k近 7 天新增 5,004 个 star

writing-fragments

MAmattpocock/skills336k近 7 天新增 5,004 个 star

writing-shape

MAmattpocock/skills336k近 7 天新增 5,004 个 star

writing-beats

MAmattpocock/skills336k近 7 天新增 5,004 个 star

perfect-docs

MAmattpocock/skills336k近 7 天新增 5,004 个 star

writing-skills

OBobra/superpowers331k近 7 天新增 5,757 个 star