architecture
Skill33k starsChanged 8 months agoApache-2.0View on GitHub
Project architecture and file structure conventions for all process types. Use when: (1) Creating new files or modules, (2) Deciding where code should go, (3) Converting single-file components to directories, (4) Reviewing code for structure compliance, (5) Adding new bridges, services, agents, or workers.
82 other projects use a version of this, 3 of them edited.
How people change it
All 3 edited versions we compared keep every one of its 3 rules.
Of the 3 edited versions we compared: 3 keep every rule.
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- MagicJosh/rastheir own version, first seen Oct 6, 2026
- wellwelwel/lagunetheir own version, first seen Oct 4, 2026
- patrickjaja/claude-desktop-extratheir own version, first seen Oct 4, 2026
- fabiandistler/agentstheir own version, first seen Sep 30, 2026
- afonsoft/skillstheir own version, first seen Sep 30, 2026
- rafaelh/skillstheir own version, first seen Sep 30, 2026
Who's talking about iOfficeAI/AionUi
- @github-trending.bsky.social“🎉 Celebrating! 🎉 (500+ new stars) 📦 iOfficeAI / AionUi ⭐ 7,431 (+961) 🗒 TypeScript Free, local, …”Bluesky · Jan 20, 2026 · 3 likes
- @yug1224.com“AionUiはローカルで動作し、ファイル管理やExcel操作など日常のPC作業を会話で助ける無料のAIアシスタントらしい。マルチエージェントやWebUIでのリモートアクセスにも対応するみたい。 yug1224 …”Bluesky · Nov 16, 2025 · 3 likes
- beclab/apps“[Add App]AionUi”GitHub · May 15, 2026 · 2 reactions
- @github-trending-js.bsky.social“🚀 Skyrocketing! 🚀 (200+ new stars) 📦 iOfficeAI / AionUi ⭐ 24,803 (+347) 🗒 TypeScript Free, local, …”Bluesky · May 12, 2026 · 2 likes
- A Hacker News story“Show HN: AionUi – Open-Source Cowork for Claude Code, Gemini CLI, Codex and More”Hacker News · Jan 13, 2026 · 2 points
The biggest 5 of 70 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 70
Talked about on GitHub, Bluesky and Hacker News (70 times).
On GitHub · 50
- May 15, 2026[Add App]AionUi — beclab/apps2 reactions
- Jul 7, 2026Backlog: v2.1.34 deferred upstream ports — 100yenadmin/evaOS-GUI1 reaction · 52 comments
- Jul 7, 2026P1: Port upstream v2.1.28-v2.1.30 reliability fixes with evaOS guardrails — 100yenadmin/evaOS-GUI1 reaction · 5 comments
- Jul 7, 2026P1: Port upstream slash command menu and Settings revamp safely — 100yenadmin/evaOS-GUI1 reaction · 21 comments
- Jul 7, 2026P1: Port upstream v2.1.30 Assistants/add-ons UX without breaking evaOS modules — 100yenadmin/evaOS-GUI1 reaction · 18 comments
45 more on GitHub
- Jul 6, 2026Sprint: v2.1.34 Upstream Runtime Sync — 100yenadmin/evaOS-GUI1 reaction · 72 comments
- Jul 2, 2026Add AionUi to Agent Interfaces and UIs — ARUNAGIRINATHAN-K/ai-agent-registry1 reaction · 2 comments
- Nov 4, 2026docs: describe AionUi in the Desktop and Web clients list — agentclientprotocol/agent-client-protocol0 reactions · 1 comment
- Nov 1, 2026[catalog-candidate] aionui-desktop-local — ePlus-DEV/free-tier-hub0 reactions · 3 comments
- Oct 28, 2026Agent teams: make the worker limit configurable, and separate team size from concurrency — aicodeking/pandacode0 reactions · 1 comment
- Oct 19, 2026feat(team): allow team lead reassignment — iOfficeAI/AionCore0 reactions
- Oct 17, 2026[P1] Restore usable desktop owner workflows: agents, trash, guided setup, automation and quota — thanhtuyen662002/Agent-Forge0 reactions · 2 comments
- Oct 17, 2026[Upstream #487] docs: add AionUi to projects — Heretek-AI/awesome-opencode0 reactions · 6 comments
- Sep 28, 2026agent-skills.github.iofficeai.aionui: init at 2.2.2 — sudosubin/agents.nix0 reactions
- Sep 23, 2026右侧栏打开 Word/Excel/PPT 只能显示纯文本,希望能直接预览 — anywhere-labs/dsh-desktop0 reactions · 1 comment
- Sep 15, 2026feat(acp): add stock AionUi integration spike 🤖🤖🤖 — NVIDIA-NeMo/labs-OO-Agents0 reactions · 2 comments
- Aug 28, 2026sync: useful upstream 0.2.0 features into WorkMate — suoak/AionCore0 reactions
- Aug 22, 2026chore(release): reconcile AionUi v2.1.60 metadata — CleverC2200/AionUi0 reactions · 1 comment
- Aug 22, 2026feat(chat): adopt cross-conversation delivery UI — CleverC2200/AionUi0 reactions · 1 comment
- Aug 22, 2026feat(settings): adopt font family selection — CleverC2200/AionUi0 reactions · 1 comment
- Aug 22, 2026feat(settings): adopt archived conversation paging — CleverC2200/AionUi0 reactions · 1 comment
- Aug 21, 2026feat(project): add fs/remount to rebuild stale mounts — iOfficeAI/AionCore0 reactions
- Aug 14, 2026[Add App] AionUi — beclab/apps0 reactions
- Aug 10, 2026feat(auth): multi-user foundation with admin, shares, and WebUI bootstrap — iOfficeAI/AionCore0 reactions · 1 comment
- Aug 9, 2026新增 AionUi 到 MCP 客户端 — yzfly/Awesome-MCP-ZH0 reactions
- Aug 7, 2026fix(antigravity): parse TSV output from `agy models` — iOfficeAI/AionCore0 reactions
- Jul 30, 2026fix(project): add temporary fs/resolve command for preview file paths — iOfficeAI/AionCore0 reactions
- Jul 24, 2026feat(shell): open workspace folders in Zed when installed — iOfficeAI/AionCore0 reactions · 2 comments
- Jul 21, 2026feat(provider): add per-model capability settings — iOfficeAI/AionCore0 reactions
- Jul 20, 2026fix(system): apply keep-awake client preference — iOfficeAI/AionCore0 reactions
- Jul 10, 2026Github trending [iOfficeAI/OfficeCLI] AI一键操控Office文档 — web1992/github-trending0 reactions
- Jul 9, 2026Github trending [iOfficeAI/OfficeCLI] AI控制Office的瑞士军刀 — web1992/github-trending0 reactions
- Jul 7, 2026Port conversation sidebar sticky reveal UX — 100yenadmin/evaOS-GUI0 reactions · 4 comments
- Jul 3, 2026fix(agent): align unchecked availability with team runtime selection — iOfficeAI/AionCore0 reactions
- Jul 2, 2026Add AionUi to Applications — deepseek-ai/awesome-deepseek-integration0 reactions
- Jul 2, 2026Add AionUi — OpenRouterTeam/awesome-openrouter0 reactions
- Jul 1, 2026docs: add AionUi to projects — awesome-opencode/awesome-opencode0 reactions
- Jun 30, 2026Add AionUi to Multi-Agent Task Solver Projects — Jenqyang/Awesome-AI-Agents0 reactions · 2 comments
- Jun 30, 2026feat(team): add run state snapshot endpoint — iOfficeAI/AionCore0 reactions
- Jun 29, 2026fix(aionrs): preserve non-v1 version segment in OpenAI-compatible base_url (AionUi #2713) — iOfficeAI/AionCore0 reactions
- Jun 29, 2026Add AionUi client — punkpeye/awesome-mcp-clients0 reactions
- Jun 29, 2026docs: add AionUi integration guide (EN + zh-CN) — deepseek-ai/awesome-deepseek-agent0 reactions
- Jun 25, 2026fix(agent): classify ACP and provider errors — iOfficeAI/AionCore0 reactions
- Jun 21, 2026feat(channel): add Mattermost channel — iOfficeAI/AionCore0 reactions · 2 comments
- Jun 18, 2026fix(aionrs): add platform context regressions — iOfficeAI/aionrs0 reactions
- Jun 14, 2026Connection fails with PROTOCOL_MISMATCH (1002) against OpenClaw 2026.6.1 — client pinned to protocol 3, gateway requires 4 — MarlBurroW/pinchchat0 reactions · 3 comments
- Jun 13, 2026[brew-browser] Upgrade failed — msitarzewski/brew-browser0 reactions · 2 comments
- Jun 11, 2026ci(build): add manual build workflow — iOfficeAI/AionCore0 reactions
- Jun 10, 2026fix(agent): wait for task shutdown during clear — iOfficeAI/AionCore0 reactions
- Jun 1, 2026feat(conversation): side conversation fork API — iOfficeAI/AionCore0 reactions · 1 comment
On Bluesky · 16
- Jan 20, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 iOfficeAI / AionUi ⭐ 7,431 (+961) 🗒 TypeScript Free, local, open-source Cowork for Gemini CLI,… — @github-trending.bsky.social3 likes and reposts · 1 reply
- Nov 16, 2025AionUiはローカルで動作し、ファイル管理やExcel操作など日常のPC作業を会話で助ける無料のAIアシスタントらしい。マルチエージェントやWebUIでのリモートアクセスにも対応するみたい。 yug1224 starred iOfficeAI/AionUi… — @yug1224.com3 likes and reposts
- May 12, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 iOfficeAI / AionUi ⭐ 24,803 (+347) 🗒 TypeScript Free, local, open-source 24/7 Cowork app for… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Oct 10, 2026🚀 GitHub Intelligence Drop gpt-pilot (Python • 🟢) ⭐ 33.7K → https://github.com/Pythagora-io/gpt-pilot AionUi (TypeScript • 🟢) ⭐ 33.4K →… — @githubfeed.bsky.social1 likes and repost
- May 28, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 iOfficeAI / AionUi ⭐ 26,976 (+183) 🗒 TypeScript Free, local, open-source 24/7 Cowork app for OpenClaw,… — @github-trending-js.bsky.social1 likes and repost
11 more on Bluesky
- Mar 21, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 iOfficeAI / AionUi ⭐ 19,577 (+167) 🗒 TypeScript Free, local, open-source 24/7 Cowork app and OpenClaw… — @github-trending-js.bsky.social1 likes and repost
- Mar 1, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 iOfficeAI / AionUi ⭐ 17,468 (+125) 🗒 TypeScript Free, local, open-source 24/7 Cowork app and OpenClaw… — @github-trending-js.bsky.social1 likes and repost
- Feb 12, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 iOfficeAI / AionUi ⭐ 15,223 (+257) 🗒 TypeScript Free, local, open-source 24/7 Cowork and OpenClaw… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Feb 9, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 iOfficeAI / AionUi ⭐ 12,919 (+336) 🗒 TypeScript Free, local, open-source 24/7 Cowork and OpenClaw… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jan 22, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 iOfficeAI / AionUi ⭐ 9,092 (+562) 🗒 TypeScript Free, local, open-source Cowork for Gemini CLI,… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jan 22, 2026iOfficeAI/AionUi: Free, local, open-source Cowork for Gemini CLI, Claude Code, Codex, Opencode, Qwen Code, Goose Cli, Auggie, and more | 🌟… — @chrisshort.net1 likes and repost
- Jan 19, 2026github.com/iOfficeAI/Ai... — @omg26.bsky.social1 likes and repost
- Jan 18, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 iOfficeAI / AionUi ⭐ 5,357 (+660) 🗒 TypeScript Free, local, open-source Cowork for Gemini CLI,… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Apr 30, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 iOfficeAI / AionUi ⭐ 23,095 (+241) 🗒 TypeScript Free, local, open-source 24/7 Cowork app and… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Feb 12, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 iOfficeAI / AionUi ⭐ 15,223 (+257) 🗒 TypeScript Free, local, open-source 24/7 Cowork and OpenClaw… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Feb 8, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 iOfficeAI / AionUi ⭐ 12,919 (+336) 🗒 TypeScript Free, local, open-source 24/7 Cowork and OpenClaw… — @github-trending.bsky.social0 likes and reposts · 1 reply
On Hacker News · 4
- Jan 13, 2026Show HN: AionUi – Open-Source Cowork for Claude Code, Gemini CLI, Codex and More2 points · 2 comments
- May 27, 2026AionUi: Open-Source AI Cowork Platform for Claude Code, Codex and Gemini1 point
- Jan 17, 2026Aionui – Unified desktop workspace for multiple CLI AI agents1 point
- Sep 11, 2025Show HN: AionUi v1.2 – GUI to Boost Gemini CLI with Multi-Agent1 point
Used with
Projects with it also use deployment-procedures, behavioral-modes and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
xfstudioSkilldeployment-procedures
Production deployment principles and decision-making. Safe deployment workflows, rollback strategies, and verification. Teaches thinking, not scripts.
Also in 5 projects that use this
xfstudioSkillbehavioral-modes
AI operational modes (brainstorm, implement, debug, review, teach, ship, orchestrate). Use to adapt behavior based on task type.
Also in 4 projects that use this
tiendatworkSkill2d-games
2D game development principles. Sprites, tilemaps, physics, camera.
Also in 3 projects that use this
tiendatworkSkill3d-games
3D game development principles. Rendering, shaders, physics, cameras.
Also in 3 projects that use this
CES-LtdSkilloss-pr
Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.
Also in 3 projects that use this
CES-LtdSkillpr-automation
PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".
Also in 3 projects that use this
- +1 more from xfstudio
- +5 more from tiendatwork
Other versions82 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- FerroxLabs/wayland★ 60888% same
- CES-Ltd/TitanX★ 4888% same
- AI-Answer/Agent-Club★ 988% same
Wrote their own version · 79
- anthropics/knowledge-work-plugins★ 26ksame name
- ktnyt/cclsp★ 675same name
- patrickjaja/claude-desktop-extra★ 657same name
- owainlewis/blueprint★ 410same name
- microsoft/powerplatform-build-tools★ 308same name
- techygarg/lattice★ 197same name
- sd0xdev/sd0x-harness★ 191same name
- wellwelwel/lagune★ 172same name
- Houseofmvps/ultraship★ 123same name
- TheBeardedBearSAS/claude-craft★ 106same name
69 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- bump-versionSkill
- i18nSkill
- testingSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 0 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 74 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 111
Single file vs directory: If a component needs a private sub-component or hook, convert to a directory with index.tsx.
- Very specific: line 112
Page-private first: Start code in pages/<PageName>/.
- Very specific: line 124
When tests/unit/ exceeds 10 direct children, group into subdirectories matching source structure.
“Common” is measured: kept by at least 6 in 10 of the 74 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Architecture Skill
Determine correct file placement and structure for an Electron multi-process project.
Detailed References
- Renderer layer (components, hooks, utils, pages, CSS): references/renderer.md
- Main process & shared layer (bridges, services, worker, preload): references/process.md
- Project root & monorepo layout (directory structure, migration status): references/project-layout.md
Decision Tree — Where Does New Code Go?
Is it UI (React components, hooks, pages)?
└── YES → packages/desktop/src/renderer/ → see references/renderer.md
Is it an IPC handler responding to renderer calls?
└── YES → packages/desktop/src/process/bridge/ → see references/process.md
Is it business logic running in the main process?
└── YES → packages/desktop/src/process/services/ → see references/process.md
Is it an AI platform connection (API client, message protocol)?
└── YES → packages/desktop/src/process/agent/<platform>/
Is it a background task that runs in a worker thread?
└── YES → packages/desktop/src/process/worker/
Is it used by BOTH main and renderer processes?
└── YES → packages/desktop/src/common/
Is it an HTTP/WebSocket endpoint?
└── YES → packages/desktop/src/process/webserver/
Is it a plugin/extension resolver or loader?
└── YES → packages/desktop/src/process/extensions/
Is it a messaging channel (Lark, DingTalk, Telegram)?
└── YES → packages/desktop/src/process/channels/Process Boundary Rules
Hard rules — violating them causes runtime crashes.
| Process | Can use | Cannot use |
Main (packages/desktop/src/process/) | Node.js, Electron main APIs, fs, path, child_process | DOM APIs (document, window, React) |
Renderer (packages/desktop/src/renderer/) | DOM APIs, React, browser APIs | Node.js APIs (fs, path), Electron main APIs |
Worker (packages/desktop/src/process/worker/) | Node.js APIs | DOM APIs, Electron APIs |
Preload (packages/desktop/src/preload/) | contextBridge, ipcRenderer | DOM manipulation, Node.js fs |
Cross-process communication:
- Main ↔ Renderer: IPC via
packages/desktop/src/preload/+packages/desktop/src/process/bridge/*.ts - Main ↔ Worker: fork protocol via
packages/desktop/src/process/worker/WorkerProtocol.ts
// NEVER in renderer
import { something } from '@process/services/foo'; // crashes at runtime
// Use IPC instead
const result = await window.api.someMethod(); // goes through preloadNaming Conventions
Directories
| Scope | Convention | Reason |
| Renderer component/module dirs | PascalCase | React convention — dir name = component name |
| Everything else | lowercase | Node.js convention |
| Categorical dirs (everywhere) | lowercase | components/, hooks/, utils/, services/ |
| Platform dirs (everywhere) | lowercase | acp/, codex/, gemini/ — cross-process consistency |
Quick test: "Inside
packages/desktop/src/renderer/AND represents a specific component/feature (not a category)?" → PascalCase. Otherwise → lowercase.
Files
| Content | Convention | Examples |
| React components, classes | PascalCase | SettingsModal.tsx, CronService.ts |
| Hooks | camelCase with use prefix | useTheme.ts, useCronJobs.ts |
| Utilities, helpers | camelCase | formatDate.ts, cronUtils.ts |
| Entry points | index.ts / index.tsx | Required for directory-based modules |
| Config, types, constants | camelCase | types.ts, constants.ts |
| Styles | kebab-case or Name.module.css | chat-layout.css |
Structural Rules
- Directory size limit: Max 10 direct children. Split into subdirectories by responsibility when approaching.
- No single-file directories: Merge into parent or related directory.
- Single file vs directory: If a component needs a private sub-component or hook, convert to a directory with
index.tsx. - Page-private first: Start code in
pages/<PageName>/. Promote to shared only when a second consumer appears.
Test File Mapping
Tests mirror source files in tests/ subdirectories:
| Source | Test |
packages/desktop/src/process/services/CronService.ts | tests/unit/cronService.test.ts |
packages/desktop/src/renderer/hooks/ui/useAutoScroll.ts | tests/unit/useAutoScroll.dom.test.ts |
packages/desktop/src/process/extensions/ExtensionLoader.ts | tests/unit/extensions/extensionLoader.test.ts |
When tests/unit/ exceeds 10 direct children, group into subdirectories matching source structure.
Quick Checklist
- Code is in the correct process directory (no cross-process imports)
- Renderer code does not use Node.js APIs
- Main process code does not use DOM APIs
- New IPC channels are bridged through
preload.ts - Renderer component/module dirs use PascalCase; categorical dirs use lowercase
- Platform dirs use lowercase everywhere
- Directory-based modules have
index.tsx/index.tsentry point - Page-private code is under
pages/<PageName>/, not in shared dirs - No single-file directories
- No directory exceeds 10 direct children
- New source files are auto-included in coverage — verify they are not accidentally excluded in
vitest.config.ts→coverage.exclude - New services separate pure logic from IO
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

