Principle Foundational Thinking: Install and Security

Principle Foundational Thinking

Published by cursor in plugins

No known issues5.6k installs

What this skill does

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.

Add Principle Foundational Thinking to your agent

Review the source and files first. When you are ready, copy the prompt instruction or use the CLI command supported by your environment.

Install with a prompt

Paste this into a compatible coding agent:

add this skill "principle-foundational-thinking" from https://github.com/cursor/plugins

Install with the CLI

Run this command in a controlled environment after reviewing the repository:

npx skills add https://github.com/cursor/plugins --skill principle-foundational-thinking

Skill instructions

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.

Files included

  • SKILL.md

More skills