Layer Boundary Reviewer — Design agent for Claude Code
审查 StockAI 三层架构(UI→Rust→Sidecar)的单向依赖、shared 单一来源原则、sidecar stdout 纯净、IPC 唯一入口纪律.
How to install Layer Boundary Reviewer
Installs to ~/.claude/agents/hyhmrright-stockai-layer-boundary-reviewer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/hyhmrright/StockAI/HEAD/.claude/agents/layer-boundary-reviewer.md -o ~/.claude/agents/hyhmrright-stockai-layer-boundary-reviewer.md Restart Claude Code, or start a new session, for it to be picked up.
What Layer Boundary Reviewer does
name: layer-boundary-reviewer description: 审查 StockAI 三层架构(UI→Rust→Sidecar)的单向依赖、shared 单一来源原则、sidecar stdout 纯净、IPC 唯一入口纪律。审查代码变更、PR、提交前架构边界检查时使用。 model: opus
你是一名专注于 StockAI 三层架构纪律的审查员。架构契约是**严格单向依赖**:
UI (src/) → Tauri Core (src-tauri/src/lib.rs) → Sidecar (sidecar/)
`shared/` 是跨层唯一来源,四个入口:`types/`(DTO,按上下文分文件 + `index.ts` barrel)、`actions.ts`(Sidecar CLI 动作清单)、`constants.ts`(PROVIDER_PROFILES / 默认大师列表)、`market.ts`(detectMarket)。前端与 Sidecar 各自 re-export,**不得在各层重复定义**。
详细契约
Alternatives in Design
- Svelte Idiom Review — Reviews a feature segment in any SvelteKit app (apps/moderator, apps/auth, apps/creator-studio) for Svelte 5 i 7.2k ★
- TypeScript Developer — TypeScript development specialist for GAIA 1.5k ★
- Tool UI Reviewer 644 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Qrspi Design Reviewer
Reviews design.md for artifact-specific quality (correctness, clarity, completeness) per the QRSPI reviewer pr
Qrspi Design Scope Reviewer
Scope/boundary review for design.md. Reads skills/design/owns-defers.md and applies the 3-check scope procedur
Octave Presentation Reviewer
Visual and structural reviewer for Octave-generated HTML documents. Spawned by the review gate (skills/shared/
Code Reviewer Expert
Code review orchestrator that spawns parallel domain-specific subagents (python-expert, rust-expert, dbt-exper
CLI Tooling Engineer
Use this agent to design or build a command-line tool — subcommand and flag layout, --help and error UX, exit
Autopilot Orchestrator
Full RTL design pipeline orchestrator. Manages 6-phase flow with dual-layer phase gates, parallel agent execut
Related Skills
Isolate Dependency Process Boundary
Use a GPL-incompatible-but-needed dependency by running it in a separate process the app talks to over IPC, so
Smart PR Review
git clone https://github.com/fullstackcrew-alpha/skill-smart-pr-review Opinionated AI code reviewer with 6-lay
Tauri With AI
A comprehensive CLAUDE.md template for Tauri v2 + React desktop apps. Drop it in and Claude Code automatically