360 Secure SkillHub
360 安全技能中心

principle-foundational-thinking

提供软件开发前的 foundational thinking 指导:先确定核心类型与数据结构、追踪访问模式、识别并发共享状态,并优先完成 CI、测试与共享类型等脚手架工作,同时保持提交小而单一。

分类:开发
cursor
热度 51.95
最近更新 2026-11-17 11:40:34

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add cursor/plugins/principle-foundational-thinking
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
principle-foundational-thinking
description
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.
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.

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