360 Secure SkillHub
360 安全技能中心

architect

在写代码前梳理改动涉及的系统,提出两种类型、函数签名和模块边界方案,选择状态归属最清晰、调用方依赖最少的方案;若权宜之计反复出现则重新设计。

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

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add cursor/plugins/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.