360 Secure SkillHub
360 安全技能中心

principle-redesign-from-first-principles

该技能提供一条设计原则:把新需求并入现有设计时,不要直接叠加,而要先通读受影响文件、理解当前设计,再设想若从零开始会如何构建;随后将变更传播到类型、文档、示例和理由说明,先想清整体重构,再分阶段交付。它强调在集成变更时保留设计的可扩展选择。

分类:开发
backnotprop
热度 69.41
最近更新 2026-11-24 05:23:55

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add backnotprop/pstack/principle-redesign-from-first-principles
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
principle-redesign-from-first-principles
description
Apply when integrating a new requirement into an existing design.
disable-model-invocation
true

Redesign From First Principles

When integrating a change, don't bolt it onto the existing design. Redesign as if the requirement had been a foundational assumption from the start.

  • Read all affected files and understand the current design
  • Ask: "if we were writing this from scratch with this new requirement, what would we build?"
  • Propagate the change through every reference: types, docs, examples, rationale sections
  • Think about the whole redesign, then deliver it incrementally

This is the method for preserving option value when integrating changes into an existing design.