Skip to content
Agentmart
Submit a tool

architect

Choose an architecture when a consequential design boundary is unsettled.

Skill by Yeshwanthyk

IndexedMIT★ 6
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/yeshwanthyk-architect

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Choose an architecture when a consequential design boundary is unsettled.

Use cases: design

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/architect

What's inside

Skill name
architect
Description
Choose an architecture when a consequential design boundary is unsettled.
License
MIT
Instructions
37 lines in SKILL.md · view on GitHub

Files (5)

  • SKILL.md
  • candidate-template.md · references/
  • design-red-flags.md · references/
  • rationale-template.md · references/
  • runner-prompt.md · references/

SKILL.md (first lines)

# Architect

Settle a consequential design choice before implementation depends on it. Start from how callers use the capability, then derive types, ownership, dependencies, and failure behavior. Use the smallest design that preserves real invariants and leaves room for known change.

## Ground

Read the relevant implementation and tests. Use [`how`](../how/SKILL.md) for current mechanics and how's [History](../how/SKILL.md#history) view when history or an operational constraint can change the choice. Name the decision seam, callers, current contracts, state and external authorities, fixed constraints, and unresolved gaps. Do not treat filenames or conventions as intent. When the change enters an existing design and bolting it on would distort that design, read [redesign-from-first-principles](../yesh-router/references/principles/redesign-from-first-principles.md) before sketching.

## Sketch

Write caller-facing usage before the type sketch; read [design-from-usage](../yesh-router/references/principles/design-from-usage.md) before writing it. Show the dominant calls, inputs, outputs, and failure handling; two or three examples are useful when they expose different contracts, but use fewer for a narrow case. Derive data structures from those access patterns; when they represent domain states, read [type-system-discipline](../yesh-router/references/principles/type-system-discipline.md). Parse external, storage, or framework data at the boundary; when the sketch parses that data or changes a data contract, read [boundary-discipline](../yesh-router/references/principles/boundary-discipline.md).

Describe module responsibilities, dependency direction, state transitions, side effects, observability, migration, rollout, and production/test substitution points. When the design holds stateful logic, or the current code repeats a shape assumption across files, read [model-the-domain](../yesh-router/references/principles/model-the-domain.md). Design it twice: sketch at least two structurally distinct whole-shape candidates before choosing, even when the first looks sufficient; point fixes inside one shape do not count. For a novel choice with no established precedent and several viable approaches, read [exhaust-the-design-space](../yesh-router/references/principles/exhaust-the-design-space.md) before selecting a shape. Prefer a small public surface that hides real policy. When comparing candidates, read [simplicity](../yesh-router/references/principles/simplicity.md) and screen each against [`design-red-flags.md`](references/design-red-flags.md). Judge candidates as an agent contributor would change them: it 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 repo. For a design that will be handed to others, write each candidate with [`candidate-template.md`](references/candidate-template.md) and the decision with [`rationale-template.md`](references/rationale-template.md). Run swarm's [best-of](../swarm/SKILL.md#best-of) branch only when competing whole-shape alternatives would materially improve the decision.

Record the selected shape, rejected alternatives, tradeoffs, risks, and open questions. Keep the rationale beside the sketch for larger changes.

When the decision seam concerns sequencing staged delivery, replay, or progress-metadata gates, consult [forward implementation first](../yesh-router/references/principles/forward-implementation-first.md). Use it within the current design decision, not as another architecture phase.

## Implement or hand off

An architecture-only request ends with the selected design and its rationale. If implementation is already requested, continue without adding a new approval checkpoint. If implementation reveals a mismatch, determine whether the sketch, requirement, or implementation was wrong and update the design before adding exceptions. Verify the wiring that matters to the changed contract.

Delegation is optional. When useful, follow [delegation](../yesh-router/references/delegation.md), use [`runner-prompt.md`](references/runner-prompt.md), and review the actual candidate artifacts; do not delegate a shared mutable write target.

## Redesign signal

Return to the sketch when repeated workarounds, casts, always-present optionals, caller knowledge of internals, or multiple deviations expose the same boundary problem. Subtract dead weight and choose again with the new constraint. Leave a deliberate unresolved constraint visible when it cannot yet be removed.

## Output

Lead with the target shape and why it fits. Include caller usage, types/signatures, module and ownership map, boundary contracts, production/test wiring, migration and rollout, verification points, tradeoffs, risks, rejected alternatives, and open decisions as applicable.

## Completion

Architecture is complete when an executor can implement the selected shape from live contracts, ownership, dependency direction, invariants, failure behavior, migration/rollout, and proof points, with material alternatives and unknowns made explicit. Do not turn a settled mechanical choice into an architecture exercise.

From Yeshwanthyk/agent-skills, MIT.

More from Yeshwanthyk/agent-skills

Signals

Stars
6
Forks
0
Open issues
0
Last commit (this folder)
Oct 13, 2026 (16 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Yeshwanthyk

Cite this page

architect skill. Agent Mart. https://agentmart.dev/skills/yeshwanthyk-architect (last updated 2026-10-24)