360 Secure SkillHub
360 安全技能中心

principle-foundational-thinking

这是一份面向软件开发的基础思考准则:先确定核心类型与数据结构,梳理访问模式,再处理并发共享状态;同时先完成脚手架和清理死代码,保持提交小而单一。

分类:开发
michael-denyer
热度 0.00
最近更新 2026-11-25 17:32:59

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add michael-denyer/pstack-claude/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.
user-invocable
false

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.