architect
Sketch caller usage, types and module ownership for a concrete structural change before implementation. Use when shared contracts or competing designs need resolution.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- architect
- description
- Sketch caller usage, types and module ownership for a concrete structural change before implementation. Use when shared contracts or competing designs need resolution.
02 资源文件 6
- 参考文档agents/openai.yaml322 B
- 许可证LICENSE1.0 KB
- 参考文档references/design-red-flags.md1.4 KB
- 参考文档references/rationale-template.md627 B
- 参考文档upstream.json681 B
- 参考文档UPSTREAM.md1.1 KB
03 SKILL.md 正文
Architect
Adapted from Poteto's PStack. See provenance and adaptations when updating this skill. Reuse the selected orchestrator and accepted plan.
Ground the concrete change
Start from the desired user outcome and existing callers, state owners, invariants and compatibility obligations. Reuse prior exploration. Follow the actual path through the relevant code; naming files alone is insufficient. Investigate the rationale of a boundary before proposing to move it. Keep domain, authorization and runtime behavior intact unless the task owns changes.
Sketch the caller's experience first
Show realistic imports and calls, then derive function signatures, data types and module boundaries. Keep sketches and pseudocode in the design artifact until implementation; do not publish empty implementations as working behavior.
For a material structural choice compare at least two distinct arrangements of ownership or public interface. When constraints force one viable choice, explain the rejected alternative and reuse that conclusion. Tiny local edits do not need this workflow. Use the host's proportional planning and authorized model/delegation policy; this skill supplies design criteria, not another runner.
Read design warning signs to screen the candidates. Prefer an interface that hides meaningful policy and complexity, with one owner for each invariant. A short public interface with a long chain of pass-through calls is not automatically a simpler design. Preserve required compatibility instead of deleting alternate paths merely because they exist.
Record the chosen shape, evidence, tradeoffs and rejected alternatives using the rationale outline only as much as the decision needs. Resolve technical unknowns from source or an authorized bounded prototype; ask the user only for a material missing product decision or authority.
Implement within the retained endpoint
If the request is design-only or asks for a checkpoint, return the design. Otherwise continue authorized implementation through the existing development flow. Settle shared names and contracts before delegating writers. A deviation is evidence: determine whether the sketch, requirements or implementation is wrong before spreading a workaround.
Repeated special branches, casts, duplicated ownership or callers depending on internal stages are reasons to revisit the affected design. A single difficult case is not proof of a bad architecture. Redesign the smallest responsible boundary and reverify affected behavior, preserving completed valid work.
Output: caller examples, ownership and types, rationale, relevant verification and remaining limits. A sketch does not establish implementation or acceptance.
04 同仓库更多 Skills
working-backwards
Define a software feature through PRFAQ and staged documents when the user requests working backwards before coding.
flow-implement
Implement a requested software change through verification, corrections, and its authorized delivery endpoint.
development-steward
Run the scheduled, read-only weekly maintenance review for the six explicitly opted-in repositories and prepare one concise private report for Check-in.
grill-with-docs
Run one recoverable interview for functional, visual, or mixed software grills; reuse equivalent answers and offer the shared HTML questionnaire.
global-agent-guardrails
Install, audit, test, or update the Development System's global destructive-command guard for Codex, Claude Code and T3 Code. Use when configuring agent safety hooks or investigating whether dangerous shell operations are blocked.
impeccable
Design or refine frontend UI using project context and a focused design playbook; also handles visual critique and polish.