360 Secure SkillHub
360 安全技能中心

architect

面向非平凡改动的设计前置流程:先追踪改动涉及的系统,勾画两种不同的类型、签名与模块边界方案,按单一状态归属、单一实现路径、调用方最少知情择优;实现期间持续对照草图与已接受的偏差,大型或争议设计可改用 arena 技能。

分类:开发
michael-denyer
热度 0.00
最近更新 2026-11-19 17:15:19

安装

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

On Codex, read the platform mapping, including its per-skill notes, before following this skill.

On GitHub Copilot, read the platform mapping, including its per-skill notes, before following this skill.

On Muse, read the platform mapping, including its per-skill notes, before following this skill.

On Antigravity, read the platform mapping, including its per-skill notes, before following this skill.

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.

Before closing each implementation unit or handing its contract to the next worker, compare accepted deviations with the saved sketch and rationale. Once the owner or review process accepts a change, update the affected parts of the sketch and record who accepted it. Keep unaccepted changes and unresolved disagreements visible, and never edit the sketch merely to justify what was implemented.