Skip to content
Back to skills

Project Architecture

ASecurity

Navigate Caxri's process, persistence, security, product, and toolchain architecture. Use when locating the owning process, changing IPC or Runtime boundaries, modifying persistence, paths, PTYs, files, Git, Agents, recovery, or dependency/toolchain decisions, adding or upgrading dependencies, or updating architecture contracts.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 24, 2026
developmenttypescriptrustshellsqlnodegitapifrontendsecurityperformance

Works with

  • terminal
  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 24, 2026

npx -y skills add tjx666/caxri --skill project-architecture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Project Architecture?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Project Architecture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tjx666-project-architecture/badge)](https://www.skillsdirectory.com/skills/tjx666-project-architecture)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: project-architecture
description: Navigate Caxri's process, persistence, security, product, and toolchain architecture. Use when locating the owning process, changing IPC or Runtime boundaries, modifying persistence, paths, PTYs, files, Git, Agents, recovery, or dependency/toolchain decisions, adding or upgrading dependencies, or updating architecture contracts.
---

# Project Architecture

Choose the topic that owns the current decision. Read that reference first; follow another topic
only when the implementation crosses its boundary. For an unfamiliar area, resolve current owner
paths with `rg --files` or `rg -l`, then search those verified files with `rg -n` before bounded reads.
If a remembered path is missing, inventory the owner again instead of trying another guessed path.
Do not concatenate the reference directory or load every topic as
baseline context. [The architecture index](references/architecture.md) preserves the broader map.

| Decision                                                                   | Read                                                       |
| -------------------------------------------------------------------------- | ---------------------------------------------------------- |
| Project, Session, Workbench Root, deletion, notifications                  | [Product model](references/product-model.md)               |
| Main / Server / Host ownership, profile, Desktop lease, process restart    | [Process model](references/process-model.md)               |
| Typed requests, capabilities, events, Preload, error boundaries            | [IPC](references/ipc.md)                                   |
| Package imports, mobile boundary, Server domain placement and composition  | [Packages](references/packages.md)                         |
| Human CLI, Agent CLI authority, distributed skill                          | [CLI](references/cli.md)                                   |
| SQLite, schema, durable Session state, Terminal snapshots                  | [Persistence](references/persistence.md)                   |
| PTY launch, Shell observation, suspension, detach, restore                 | [Terminal lifecycle](references/terminal-lifecycle.md)     |
| PTY input/backpressure, file links, split layout, Terminal actions         | [Terminal interaction](references/terminal-interaction.md) |
| Path authorization, symlinks, free-path browsing, create/move/save         | [Files and paths](references/files-and-paths.md)           |
| Editor buffers, external changes, project search, diff surfaces            | [Editor and search](references/editor-and-search.md)       |
| Settings persistence, keybindings, theme tokens                            | [Settings and themes](references/settings-and-themes.md)   |
| Git scopes, worktree attribution, history, diff exclusions, Project Status | [Git](references/git.md)                                   |
| Provider catalog, Agent identity, automatic/manual names, managed Shell    | [Agent identity](references/agent-identity.md)             |
| Agent Endpoint grants, peer messages, dispatch, human steering             | [Agent messaging](references/agent-messaging.md)           |
| Provider lifecycle hooks, generation fencing, bridge trust and install     | [Agent hooks](references/agent-hooks.md)                   |
| Browser isolation, native folder grants, free-path security                | [Security](references/security.md)                         |
| Hot-path costs, startup and Renderer benchmarks                            | [Performance](references/performance.md)                   |
| Log privacy, event catalog, diagnostic retention, GPU recovery             | [Diagnostics](references/diagnostics.md)                   |

For delegated work, give each reviewer the topic paths for its assigned dimensions, not the full
architecture corpus. Reviewers may follow adjacent contracts as their evidence requires. Measure
changes to this routing with the same scoped task, actual returned read bytes, and answer coverage;
file size alone does not establish task savings or quality.

- Read [references/stack-baseline.md](references/stack-baseline.md) when selecting or upgrading
  dependencies, including `ni` catalog mode and the TypeScript 6/7 alias.
- Read [references/electron-toolchain.md](references/electron-toolchain.md) for the Electron, Vite,
  packaging, native-module, and TypeScript toolchain decision.
- Call the Skill tool with "competitors" to survey how competing agent workbenches solved a design
  problem before inventing a new approach. Do this before designing or implementing a substantial
  new product feature; do not invent a new interaction pattern first.
- Call the Skill tool with "source-layout" to place, split, or rename source files.

Before changing a contract, identify the owning process and verify the current implementation.
Update the matching reference in the same change when the architecture or toolchain contract
changes. Root `DESIGN.md` is reserved for frontend and UI design. Mechanical enforcement of
package, import, and domain locks lives in ESLint and
`scripts/__tests__/workspace-contract.test.ts`. Prefer asynchronous Node.js APIs over `*Sync`
variants in Main, Server, and tooling code; test code is exempt, and a deliberately synchronous
production boundary needs a comment justifying it.

Files in this skill

  • SKILL.md5.3 KB
  • agents/openai.yaml244 B
  • references/agent-hooks.md16.4 KB
  • references/agent-identity.md11.7 KB
  • references/agent-messaging.md9.8 KB
  • references/architecture.md2.7 KB
  • references/cli.md6.3 KB
  • references/diagnostics.md14.2 KB
  • references/editor-and-search.md9.7 KB
  • references/electron-toolchain.md12.7 KB
  • references/files-and-paths.md15.7 KB
  • references/git.md16.8 KB
  • references/ipc.md10.3 KB
  • references/packages.md4.5 KB
  • references/performance.md7.7 KB
  • references/persistence.md23.8 KB
  • references/process-model.md14.1 KB
  • references/product-model.md7.7 KB
  • references/security.md25.8 KB
  • references/settings-and-themes.md5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.