Skip to content
backnotprop avatar

Principle Foundational Thinking

Foundational thinking skill that shapes core types and data structures before any logic is written.

CCM score
61 of 100
skills.sh installs
13.2K
GitHub stars
5.5K
last updated
Nov 30, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers choosing core types early, tracing access patterns, and matching structures to the dominant code paths
  • Guides concurrency decisions by asking what happens when another actor modifies shared state, and isolating it when the answer is not "nothing"
  • Sequences scaffold work such as CI, tests, and shared types ahead of feature work, with small single-purpose commits
  • Designed for use before writing logic, when the data shape still determines how downstream code turns out

Install

$ npx -y skills add backnotprop/pstack --skill principle-foundational-thinking -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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.

Details

Repository
github.com/backnotprop/pstack
First seen
Nov 30, 2026

More from backnotprop/pstack

All 44

Similar to Principle Foundational Thinking