skills/architecture-ownership/SKILL.md
Determine runtime owner, first-fix layer, and canonical long-term module or package owner in layered codebases. Use when placing code across UI vs platform shell vs runtime orchestration vs domain or application vs shared core vs adapter or integration layers, debugging ownership issues, removing duplicate policy paths, or answering "where should this live?" architecture questions.
npx skillsauth add regenrek/agent-skills architecture-ownershipInstall 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.
Use this skill for repo-specific ownership and placement decisions in layered systems.
Focus on long-term canonical ownership, not only the layer where the current bug appears.
Before deciding ownership:
When docs are incomplete:
When answering an ownership or placement question, explicitly separate:
Runtime ownerFirst fix ownerCanonical long-term ownerCompeting owners that are wrongCleanup directionDo not collapse these into a single answer.
First fix owner or also the Canonical long-term owner.UI layer
Platform shell
Runtime orchestration layer
First fix ownerCanonical long-term ownerDomain or application layer
Shared core layer
Adapter or integration layer
Translate these generic layers into the repo's actual module, package, crate, or service names before making a recommendation.
Example: a planning policy bug currently lives in a runtime runner module.
Runtime owner: runtime orchestration layerFirst fix owner: runtime orchestration layerCanonical long-term owner: domain or application layerType or capability owner: shared core layerCompeting owners that are wrong: UI layer, platform shell, adapter or integration layersFor a reusable classification matrix and example splits, see references/ownership-matrix.md.
tools
Live-test any Electron desktop app with native-devtools-mcp, Chrome DevTools Protocol, screenshots, OCR, and accessibility tools. Use when the user asks for Electron UI verification, MCP-driven app control, renderer CDP interaction, native desktop automation, screenshots, or OCR-driven checks.
testing
Find, clone, inspect, and summarize high-quality GitHub reference repositories for coding agents. Use when a user asks for GitHub reference projects, examples, prior art, inspiration, implementation patterns, or includes "$search-context" in a coding prompt.
testing
Run or install repo security leak checks with BetterLeaks and Trivy. Use when asked to scan for leaked secrets, vulnerable dependencies, misconfigurations, add secret-leak guardrails, add BetterLeaks, add forbidden-path hooks, or run secleak-check before release.
development
Run a reusable JavaScript supply-chain security baseline with pnpm-first hardening, release-age gating, lifecycle-script controls, exotic dependency checks, CI install checks, and optional incident IOC profiles.