mit einem Klick
update-docs
// Update ryOS documentation by analyzing the codebase and syncing docs with current implementation. Use when updating docs, syncing documentation, or when docs are outdated.
// Update ryOS documentation by analyzing the codebase and syncing docs with current implementation. Use when updating docs, syncing documentation, or when docs are outdated.
Design and style UI components for ryOS following the 4 OS themes (System 7, macOS Aqua, Windows XP, Windows 98). Use when creating UI components, styling elements, working with themes, adding visual effects, or implementing retro OS aesthetics.
Create new applications for ryOS following established patterns and conventions. Use when building a new app, adding an application to the desktop, creating app components, or scaffolding app structures.
Localize ryOS apps and components by extracting hardcoded strings, replacing with translation keys, and syncing across languages. Use when localizing an app, adding i18n support, translating UI text, or working with translation files.
| name | update-docs |
| description | Update ryOS documentation by analyzing the codebase and syncing docs with current implementation. Use when updating docs, syncing documentation, or when docs are outdated. |
Update manually-written docs by launching parallel sub-agents for each section.
| Section | Files | Related Code |
|---|---|---|
| Overview | 1-overview.md, 1.1-architecture.md | src/, api/, package.json |
| Apps Index | 2-apps.md | src/apps/*/index.ts, appRegistry.tsx |
| Framework | 3-*.md files | src/components/layout/, src/stores/, src/themes/ |
| AI System | 4-ai-system.md | api/chat.ts, src/apps/chats/tools/ |
| File System | 5-file-system.md | useFileSystemStore.ts, src/apps/finder/ |
| Audio System | 6-audio-system.md | audioContext.ts, useSound.ts, src/apps/synth/ |
| UI Components | 7-*.md files | src/components/ui/, src/lib/locales/ |
| API Reference | 8-*.md files | api/*.ts |
For each section, launch a Task with:
For incremental updates (recommended):
bun run scripts/generate-changelog.ts --months=1
For full regeneration (12 months):
bun run scripts/generate-changelog.ts
bun run scripts/generate-docs.ts
git diff docs/
Overview: Review package.json, src/ structure → update tech stack, features
Apps Index: Review src/apps/*/index.ts, appRegistry.tsx → update app list
Framework: Review WindowFrame.tsx, stores, themes → update window/state/theme docs
AI System: Review api/chat.ts, tools → update models, capabilities
File System: Review useFileSystemStore.ts, finder → update operations
Audio System: Review audioContext.ts, synth → update audio features
UI Components: Review src/components/ui/, locales → update component list, i18n
API Reference: Review api/*.ts → update endpoints, request/response formats
| Arg | Sections |
|---|---|
overview | 1-overview, 1.1-architecture |
apps | 2-apps |
framework | 3-* files |
ai | 4-ai-system |
filesystem | 5-file-system |
audio | 6-audio-system |
ui | 7-* files |
api | 8-* files |
--months=1 for recent updates, full regen only when neededgenerate-app-docs.tsgenerate-docs.ts after updates