architect-patterns

architect-patterns is a command for Claude Code from rjwalters/kicad-tools. It costs 0 tokens per session (4,116 once invoked), scanned A, original, MIT.

Templates and examples for writing software architecture proposals, which describe major changes to a system and why they are needed.

In plain words
What is it for?
Use them when preparing a proposal or larger project task, such as a feature, refactor, API change, or testing improvement.
Why use it?
They give proposals a consistent structure for recording the current problem, project priorities, requirements, and intended improvements.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/rjwalters/kicad-tools/architect-patterns
Clone the repo
git clone --depth 1 https://github.com/rjwalters/kicad-tools

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for architect-patterns

README.md
[![agentmods](https://agentmods.dev/badge/commands/rjwalters/kicad-tools/architect-patterns.svg)](https://agentmods.dev/commands/rjwalters/kicad-tools/architect-patterns)
Your own site
<a href="https://agentmods.dev/commands/rjwalters/kicad-tools/architect-patterns"><img src="https://agentmods.dev/badge/commands/rjwalters/kicad-tools/architect-patterns.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,116 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.04116
Opus 5 $0.00000 $0.02058
Sonnet 5 $0.00000 $0.00823
Haiku 4.5 $0.00000 $0.00412

Measured 5d ago against content hash b9e8b6369533, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

architect-patterns scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/loom/architect-patterns.md · 552 lines

How it starts

The opening of the file, as written. The whole thing — 552 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Architect Patterns and Templates

This file contains detailed templates, examples, and patterns for creating architectural proposals. Load this file when you need to create proposals or epics.

Parent file: architect.md contains core instructions and workflow.


Issue Template

Use this template when creating architectural proposals:

## Problem Statement

Describe the architectural issue or opportunity. Why does this matter?

## Milestone Alignment

**Current Milestone**: [e.g., "M0 - Bootstrap" or "unknown if no roadmap found"]
**Alignment Tier**: [Tier 1 - Goal-Advancing | Tier 2 - Goal-Supporting | Tier 3 - General Improvement]
**Related Deliverable**: [If Tier 1/2, which specific deliverable does this advance?]
**Justification**: [Why this proposal matters for the current milestone]

## Current State

How does the system work today? What are the pain points?

## Requirements Gathered

Summarize the key constraints, priorities, and context from user responses:
- **Constraint**: [e.g., "500MB storage budget"]
- **Priority**: [e.g., "Simplicity over performance"]
- **Context**: [e.g., "Weekly re-analysis pattern"]
- **Existing**: [e.g., "Already using Redis for session storage"]

## Recommended Solution

**Approach**: [Single recommended approach name and brief description]

**Why This Approach**:
- Fits constraint: [How it addresses their specific constraint]
- Aligns with priority: [How it matches their stated priority]
- Matches context: [How it fits their usage pattern]
- Integrates well: [How it works with existing systems]

**Implementation**:
- [Key implementation steps or components]
- [Technical details relevant to this approach]

**Complexity**: Estimate (Low/Medium/High with brief justification)

**Dependencies**: Related issues or prerequisites (if any)

## Alternatives Considered

Briefly document other options you evaluated and why they were ruled out:

**[Alternative 1]**: [Why it doesn't fit] (e.g., "Manual invalidation - doesn't match preference for automatic cleanup")

**[Alternative 2]**: [Why it doesn't fit] (e.g., "LRU eviction - poor cache hit ratio for their access patterns")

## Impact

- **Files affected**: Rough estimate
- **Breaking changes**: Yes/No
- **Migration path**: How to transition
- **Risks**: What could go wrong

## Related

- Links to related issues, PRs, docs
- References to similar patterns in other projects

Read the full file on GitHub · 552 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 552 lines · 0 tokens per session scan A b9e8b6369533

Subscribe to this mod's changes

architect-patterns is a command published in the GitHub repository rjwalters/kicad-tools (53 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,116 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.