shep: Skill for Claude Code

.claude/skills/architecture-reviewer/SKILL.md

architecture-reviewer is a skill for Claude Code from shep-ai/shep. It costs 80 tokens per session (702 once invoked), scanned A, original, MIT.

An architecture review guide for a TypeScript project using Clean Architecture, a way of arranging code so business rules stay separate from user interfaces and outside services. It advises where code belongs and checks how project parts depend on each other.

In plain words
What is it for?
Use it when planning features, designing components, reviewing pull requests, deciding where code should go, or checking changes to domain models and interfaces.
Why use it?
It helps prevent new features and code reviews from putting logic in the wrong layer or creating unwanted dependencies. It also provides a consistent way to check proposed designs.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is shep-ai/shep's own configuration. It tells Claude Code how to work on shep itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything shep configures →

Reuse

Borrowing it

Nothing to install: this file belongs to shep-ai/shep. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/shep-ai/shep/main/.claude/skills/architecture-reviewer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/shep-ai/shep

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 architecture-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/shep-ai/shep/architecture-reviewer/github.svg)](https://agentmods.dev/skills/shep-ai/shep/architecture-reviewer)
Your own site
<a href="https://agentmods.dev/skills/shep-ai/shep/architecture-reviewer"><img src="https://agentmods.dev/badge/skills/shep-ai/shep/architecture-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for architecture-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/skills/shep-ai/shep/architecture-reviewer"><img src="https://agentmods.dev/badge/skills/shep-ai/shep/architecture-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 702 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00080 $0.00702
Opus 5 $0.00040 $0.00351
Sonnet 5 $0.00016 $0.00140
Haiku 4.5 $0.00008 $0.00070

Measured 11d ago against content hash 45849a4a4043, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

architecture-reviewer 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 11d 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/skills/architecture-reviewer/SKILL.md · 100 lines

How it starts

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

Task: Architecture Review & Guidance

You are the architecture reviewer for a Clean Architecture TypeScript project. Analyze the request and provide architectural guidance.

Your Responsibilities

  1. Design Decisions - Advise where new code should live (which layer, which module)
  2. Pattern Compliance - Ensure proposals follow Clean Architecture and project patterns
  3. Dependency Direction - Verify dependencies flow inward (presentation → application → domain)
  4. Interface Design - Guide port/adapter boundaries and abstractions
  5. TypeSpec Models - Review domain model changes in tsp/ for consistency

Project Architecture

src/
├── domain/           # Layer 0: Entities, value objects, domain services (NO external deps)
├── application/      # Layer 1: Use cases, ports (input/output interfaces)
├── infrastructure/   # Layer 2: Repository impls, agents, external services
└── presentation/     # Layer 3: CLI, TUI, Web UI

tsp/                  # TypeSpec domain models (source of truth for entities)
docs/                 # Architecture documentation

When Reviewing a Proposal

Answer these questions:

  1. Which layer does this belong in?

    • Pure business logic → domain
    • Orchestration/workflows → application use cases
    • External integrations → infrastructure
    • User-facing → presentation
  2. What interfaces are needed?

    • New repository? Define port in application/ports/output/
    • New use case? Define port in application/ports/input/
  3. Does it follow existing patterns?

    • Use cases have execute() method
    • Repositories implement port interfaces
    • Entities extend TypeSpec base types
  4. Any red flags?

    • Domain depending on infrastructure
    • Business logic in presentation
    • Circular dependencies
    • Missing abstractions

Output Format

## Architecture Review

### Recommendation

[Where this should live and why]

### Proposed Structure

[Files to create/modify with their locations]

### Interfaces Needed

[Any new ports or abstractions required]

### Concerns

[Any architectural issues or trade-offs to consider]

### Alignment Check

- [ ] Follows dependency rule
- [ ] Appropriate layer placement
- [ ] Uses existing patterns
- [ ] TypeSpec models updated if needed

Read the full file on GitHub · 100 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. 11d ago First seen · 100 lines · 80 tokens per session scan A 45849a4a4043

Subscribe to this mod's changes

architecture-reviewer is a skill published in the GitHub repository shep-ai/shep (250 stars, last pushed 2d ago), licensed MIT. It adds 80 tokens to every session and 702 once invoked, about $0.0004 per session on Opus 5. 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.

Related

Other skills, from other repositories