Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Principle Foundational Thinking?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/jueyi6-principle-foundational-thinking)
---
name: principle-foundational-thinking
description: Before writing logic, get the core types and data structures right.
disable-model-invocation: true
---
# 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.
Setup first. Whatever helps every later phase (CI, tests, shared types) goes first, after removing dead code. Keep commits small and single-purpose.