genoffice
CLAUDE.md8.6k starsChanged 4 months agoApache-2.0View on GitHub
Guidance for AI agents and human contributors working in this repo. The suite supports light / dark / system UI themes. The switching mechanism is a data-theme attribute on <html> plus CSS custom properties defined once in packages/ui/src/tokens.css (light defaults in :root, overrides in [data-theme='dark'], and a prefers-color-scheme media-query fallback for system mode). 1. UI chrome colors must use semantic tokens. Never write raw #hex / rgb() in renderer CSS rules or chrome-related inline styles — reference var(--surface), var(--text), var(--hover),…
Trending
More talk lately.about the whole repository
Who's talking about genspark-ai/genoffice
- A Hacker News story“World's first Open-Source AI Office Suite for Docs, Sheets, Slides and PDF”Hacker News · Aug 3, 2026 · 4 points
- A Hacker News story“AI Office Suite”Hacker News · Oct 1, 2026 · 2 points
- @agentpalisade.bsky.social“An Apache-2.0 desktop office suite whose real engineering is byte-preserving .docx patching, a Rust .xlsx …”Bluesky · Aug 30, 2026 · 2 likes
- A Hacker News story“GenOffice – GenSpark's AI native office suite”Hacker News · Aug 4, 2026 · 2 points
- sudosubin/agents.nix“agent-skills.github.genspark-ai.genoffice: 0.10.1038 → 0.11.0”GitHub · Oct 3, 2026
The biggest 5 of 21 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 21
Talked about on GitHub, Hacker News and Bluesky (21 times).
On GitHub · 17
- Oct 3, 2026agent-skills.github.genspark-ai.genoffice: 0.10.1038 → 0.11.0 — sudosubin/agents.nix0 reactions
- Oct 2, 2026chore: remove stray dup_srv.py script and .packages-ready marker — FJRG2007/polaris0 reactions
- Sep 29, 2026Add GenOffice — AppImage/appimage.github.io0 reactions · 1 comment
- Sep 28, 2026compat save:块结构保存不支持 images 块、original 重排与生成块混合、SDT 分组片段 (COMPAT-08) — LilLeapo/rsWordParser0 reactions
- Sep 28, 2026compat save:修订保存不支持 pPrChange 与 original 块的修订包裹 (COMPAT-08) — LilLeapo/rsWordParser0 reactions
12 more on GitHub
- Sep 28, 2026compat save:生成段落 / run 静默丢格式(字距、sym、keepNext 等),themeColor 与东亚字体写法错误 (COMPAT-08) — LilLeapo/rsWordParser0 reactions · 1 comment
- Sep 28, 2026compat save:字段重发不支持 instrField,REF 丢 w:dirty 与开关,XE 之前的文字丢失 (COMPAT-08) — LilLeapo/rsWordParser0 reactions · 1 comment
- Sep 28, 2026compat save:section 保存静默丢弃 gutter / docGrid / lineNumbers / 脚注尾注属性等 (SAVE-07) — LilLeapo/rsWordParser0 reactions
- Sep 28, 2026compat save:numbering 保存静默丢弃 levelEdits / picBullets 与 level 的格式字段 (SAVE-07) — LilLeapo/rsWordParser0 reactions
- Sep 28, 2026compat_ts:公式 MathML 边框、画布与 SmartArt 等零散显示差异 — LilLeapo/rsWordParser0 reactions · 1 comment
- Sep 28, 2026compat_ts:w:altChunk 未展开,块序列与 docxIndex 对不上 (COMPAT-04) — LilLeapo/rsWordParser0 reactions
- Sep 28, 2026compat_ts:fieldDisplay 缺少 leader / runs / 间距,Zotero 字段未识别 (COMPAT-03a) — LilLeapo/rsWordParser0 reactions
- Sep 28, 2026compat_ts:页眉页脚分段与 TS 不一致,并缺少边框 / 表格行 / 图片定位字段 (COMPAT-05) — LilLeapo/rsWordParser0 reactions
- Sep 28, 2026compat_ts:Run 投影缺少东亚字体 / 语言、主题色、字距、位置、w:sym、边框等字段 (COMPAT-07) — LilLeapo/rsWordParser0 reactions
- Sep 28, 2026compat_ts:样式与 docDefaults 投影缺少 basedOn / uiPriority / unhideWhenUsed / custom / widowControl 等 (COMPAT-02) — LilLeapo/rsWordParser0 reactions
- Sep 27, 2026agent-skills.github.genspark-ai.genoffice: init at 0.10.1038 — sudosubin/agents.nix0 reactions
- Sep 16, 2026Embed GenOffice DOCX editor from pinned source (E1 fallback) — yydd-gif/ipw0 reactions
On Hacker News · 3
- Aug 3, 2026World's first Open-Source AI Office Suite for Docs, Sheets, Slides and PDF4 points
- Oct 1, 2026AI Office Suite2 points
- Aug 4, 2026GenOffice – GenSpark's AI native office suite2 points
On Bluesky · 1
- Aug 30, 2026An Apache-2.0 desktop office suite whose real engineering is byte-preserving .docx patching, a Rust .xlsx sidecar, and PDF text editing… — @agentpalisade.bsky.social2 likes and reposts
In this repositoryOne other file it gives its agents.
- genofficeSkill
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
UI chrome colors must use semantic tokens: Never write raw #hex / rgb() in renderer CSS rules or chrome-related inline styles — reference …
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
Guidance for AI agents and human contributors working in this repo.
Theming rules (mandatory)
The suite supports light / dark / system UI themes. The switching mechanism is a
data-theme attribute on <html> plus CSS custom properties defined once in
packages/ui/src/tokens.css (light defaults in :root, overrides in
[data-theme='dark'], and a prefers-color-scheme media-query fallback for
system mode).
- UI chrome colors must use semantic tokens. Never write raw
#hex/rgb()in renderer CSS rules or chrome-related inline styles — referencevar(--surface),var(--text),var(--hover), etc. frompackages/ui/src/tokens.css. Raw values are allowed only on custom-property definition lines (--x: #...;— token, accent, or app-scoped variable definitions). CI enforces this for new/changed renderer CSS lines (tools/check-theme-colors.mjs). - Every new token gets both values. Adding a token means adding it to all
three blocks in
tokens.css(light, dark, system-dark fallback). - Accent colors stay per-app. Each app defines
--accent/--accent-dark/--accent-soft(and its dark-adjusted values) in its ownstyles.css. Shared rules referencevar(--accent)and inherit the app's brand color. - Document content is never re-authored by the theme. Page surfaces, cell
fills, slide content, PDF page bitmaps, export/print stylesheets, chart
palettes, highlight color maps, stamps, and WordArt presets are document
data: they stay hardcoded, must not reference chrome tokens, and every
save/export/print path must produce identical output in both themes. A
Word/Excel-style dark page (Sheets via Univer's
darkMode, Docs viaapps/docs/src/renderer/editor/dark-page.ts) is a display-time remap only: the authored color stays the real declaration, the remapped twin lives in a screen-only--dk-*/.page-darklayer, and print/export never see it. - Canvas-drawn UI affordances go through a constants table. Konva/canvas
editing chrome (selection frames, guides, handles) reads from the app's
canvas color table (e.g.
canvas-colors.ts) keyed by the current theme — no inline hex in draw calls.
Build gotchas
- App main-process code (
apps/*/src/main) is compiled into the shell build. After changing it, rebuild the shell or the change silently does not run. - In dev mode, preload changes require a rebuild — a stale preload leaves the renderer blank.
- Workspace packages listed in an app's
dependenciesmust also be added to theexternalizeDepsPluginexcludelist, or the packaged app crashes on launch. useI18n()'stis not referentially stable; never put it in a hook dependency array. Store the key and translate at render time.
UI strings (i18n)
- Large dictionaries are sharded per locale:
i18n/strings-<domain>.tsis a thin aggregator overi18n/<domain>/<lang>.ts(one file per language,zhdefines the key set). Add a new key tozh.tsand to every sibling shard; thesatisfies Record<keyof typeof zh, string>on each shard turns a missing or extra key into a type error. Never grow the aggregator back into a single 19-locale object.
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.

