.agents/skills/architecture/SKILL.md
Guides architecture reviews and architecture-aligned changes in ESPlotter, enforcing hexagonal boundaries across main, preload, renderer, and shared layers.
npx skillsauth add esplotter/esplotter architectureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill defines how to evaluate and apply changes while preserving ESPlotter architecture. It is the default baseline for architecture-focused reviews and refactors.
Primary source:
docs/architecture/architecture.mdmain, preload, renderer, and shared.src/app/main/<feature>/.code-standards.tests and routed test skills.domain: business rules, no Electron/external API imports.application: use cases orchestrating domain and ports.infrastructure: adapters for IPC, persistence, filesystem, observers.main.ts only handles app lifecycle and feature registration.src/app/main)electron, fs, fetch, or similar in use cases.src/app/preload)@main.window and delegate through shared IPC contracts.src/app/renderer)@main or @preload.src/app/shared)For each architecture review, verify:
main.ts when lazy dynamic loading is possible.Return a structured YAML report including:
status: ok | needs_clarification | errorsummary: one-paragraph architecture assessmentscope: files/modules and assumptions reviewedfindings: list of findings with title, severity, evidence, rule, fixverdict: ready | ready_with_changes | not_readynext_actions: ordered, minimal action planwarnings: assumptions, risks, or unresolved questionsdevops
Applies consistent renderer UI/UX implementation patterns using a Vercel-inspired white theme, strong accessibility defaults, and repository component conventions.
development
Use this first for any task that changes behavior or tests. This is a test strategy and routing skill, it selects the right test-suite skill(s), defines when to escalate coverage (for example e2e/compiled parity), and enforces regression rules.
tools
Guides how to design, implement, and validate high-value unit tests for renderer pure logic (stores, selectors, mappers, and utility flows) with strict no-DOM boundaries and deterministic contract assertions.
testing
Guides how to design, implement, and validate high-value unit tests for preload bridge contracts, renderer-facing exposures, and IPC delegation behavior with clear boundaries and deterministic collaborator doubles.