architect
БесплатноБез исполняемых скриптовНе проверенWHEN shaping non-trivial code whose types, signatures, non-type contracts or module boundaries are not settled, before implementation; NOT for edits inside…
от mintuz★ 38 звёзд на GitHubОб этом скилле
Architect
Sketch types, function signatures, class shapes and module boundaries with not implemented bodies and pseudocode. Run the arena skill to synthesise one design from competing candidates, then fill in code against the chosen sketch.
Scope
The request sets how far the run goes:
- Design-only (the request asks for a design, shape or sketch and does not authorise code changes): run Phases A and B, return the sketch and rationale, and stop.
- Implementation authorised: run every phase.
- Commits: commit the sketch or the implementation only when the user authorised commits.
Track the phases in scope as a checklist: Ground, Sketch, Agree, Implement, Scrap.
Phase A: Ground the problem
Build a real mental model of every system the new code touches. Run the how skill over the relevant subsystems and produce the architectural explanation it prescribes; naming a file is not grounding. If the design redefines ownership or layering, also run the why skill on the existing shape so its rationale becomes a constraint, not a guess.
Skip Phase A only when the work is genuinely greenfield, with no surrounding system to integrate.
Complete when: every system the new code touches has a how explanation, plus a why account wherever ownership or layering changes.
Phase B: Sketch
Run the arena skill to produce the sketch. Hand it:
- Artifact: the design sketch and rationale for this task, shaped per Outputs.
- Grounding: the Phase A
howandwhyexplanations. - Runner prompt:
references/runner-prompt.md, as each candidate's prompt. - Candidates: at least two.
- Extra criteria, added to the rubric arena derives:
- Design it twice. Candidates are structurally distinct whole-shape alternatives, not point fixes inside one shape (
principle-exhaust-the-design-space), even when the first looks sufficient. Assign each candidate a distinct constraint lens fromreferences/runner-prompt.mdso each commits to its own shape; one that hedges toward a safe middle fails. - Caller first. Each candidate writes the caller's usage (the README or quickstart a consumer reads, plus two or three realistic call sites) before its types, and its type sketch agrees with that usage.
- Red flags. Each candidate passes
references/design-red-flags.md; revise or reject flagged shapes, while keeping intentionally thin edges thin. Assume the next contributor is an agent that sees only the files it opened, copies the nearest example and takes the shortest path that compiles. Prefer the design where a change that looks right from one file is right for the whole repository. - Interface depth. Prefer the design that hides more complexity behind a smaller, simpler public surface. A rich interface can keep call chains short by concentrating capability instead of scattering it across layers.
- Full contract and dependency fidelity. When the design crosses a module, process, storage or third-party boundary, read
references/contract-and-dependency-checks.md: audit non-type obligations (call ordering, lifecycle, dependency construction, retries, partial failure, cancellation, consistency) and classify each dependency across all eight axes, stating what test substitutes cannot prove.
- Design it twice. Candidates are structurally distinct whole-shape alternatives, not point fixes inside one shape (
Arena decides whether candidates run as subagents or are drafted in turn, each to completion before reading any other, and handles judging, picking the base and grafting. Copy its synthesis note into the rationale's "Synthesis decision" section. The note names the base and why, each graft with its source candidate, and each rejected candidate or part with its reason.
Complete when: arena has returned one synthesised sketch, its rationale exists per Outputs, the usage and the type sketch agree, and "Synthesis decision" names the base, every graft and every rejection.
Phase C: Agree (opt-in)
Default: when implementation is authorised, proceed directly to Phase D with the synthesised design. Opt in to a checkpoint when the invoker asks for one ("/architect with checkpoint", "stop and show me before implementing" or similar): surface the synthesised design and pause for sign-off. A design-only request ends here with the sketch and rationale.
With commit authorisation, the synthesis can ship as its own commit, as the scaffold-first mode of principle-foundational-thinking. Planned, scoped breakage during fill-in is fine (principle-outcome-oriented-execution).
If the human pushes back on the shape, in a checkpoint or after the fact, treat that as Phase A evidence: re-ground and re-run Phase B before writing more code.
Phase D: Implement against the sketch
Replace not implemented bodies with code and pseudocode with logic. The synthesised sketch is the contract. Deviations from it are a si
Установить architect в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл architect?
WHEN shaping non-trivial code whose types, signatures, non-type contracts or module boundaries are not settled, before implementation; NOT for edits inside one function, read-only explanation, repo-wide hotspot scans, physical folder/package layout, or work whose design is already agreed; sketches caller usage, types, dependencies and module boundaries through arena, then implements against the agreed sketch when authorised
Как установить скилл architect?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл architect запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic