360 Secure SkillHub
360 安全技能中心

architect

在编写代码前梳理改动涉及的系统,给出两种不同的类型、函数签名与模块边界草案,选出状态归属单一、调用方依赖最少的方案;遇到较大或有争议的设计时改用 arena Skill,并在实现阶段持续参与。

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

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add backnotprop/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.
disable-model-invocation
true

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. Redesign instead of patching if workarounds repeat.

For a large or contested design, run the arena skill instead of sketching alone.