360 Secure SkillHub
360 安全技能中心

architect

在写代码前梳理受影响的系统,提出两种类型、签名与模块边界方案,按状态归属、任务一致性和调用方最小知识选择并记录依据,再指导实现;大型或有争议的设计交由 arena 综合。

分类:开发
mdsmithaustin
热度 0.00
最近更新 2026-11-26 11:31:30

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add mdsmithaustin/pstack/architect
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
architect
description
Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use for /architect, 'architect this', 'design this', or non-trivial work where jumping to code would lock in the wrong shape.

Architect

Before writing code, trace every system the change touches, then sketch two different shapes for it (types, signatures, module boundaries) and pick the one where each piece of state has one owner, each task has one way to do it, and callers need to know least. Record the criterion that decided the pick. Build first the piece that could invalidate the rest. Call the Skill tool with principle-sequence-verifiable-units. Redesign instead of patching if workarounds repeat.

For a large or contested design, call the Skill tool with arena instead of sketching alone. Start implementing, yourself or through a delegate, only after arena returns its synthesized design.