Skip to content
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
License
MIT
Last commit
Dec 1, 2026

skills/principle-foundational-thinking/SKILL.md

View on 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.

Similar Skills

Featured

domain-modeling

Write a glossary, record ADRs, and clarify vague terms.

MAmattpocock/skills336k5,004 new stars in the last 7 days

writing-fragments

MAmattpocock/skills336k5,004 new stars in the last 7 days

writing-shape

MAmattpocock/skills336k5,004 new stars in the last 7 days

writing-beats

MAmattpocock/skills336k5,004 new stars in the last 7 days

perfect-docs

MAmattpocock/skills336k5,004 new stars in the last 7 days

writing-skills

OBobra/superpowers331k5,757 new stars in the last 7 days