一键导入
sync-docs
Check docs/ai/ spec files and ADRs for inconsistencies with the codebase, then fix all discrepancies.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Check docs/ai/ spec files and ADRs for inconsistencies with the codebase, then fix all discrepancies.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Bump version, generate changelog draft, tag, and deploy a release.
Create a feature branch, commit changes, push, and open a PR to main.
Check docs/ai/ spec files and ADRs for inconsistencies with the actual codebase. Report only, no modifications.
Scan the codebase for security vulnerabilities. Check OWASP top 10, input validation, auth, crypto, and known BACKLOG security items.
Scan the project for refactoring opportunities, then fix them. No behavior/visual changes.
Create a new Architecture Decision Record (ADR) for a proposed feature or design change.
| name | sync-docs |
| description | Check docs/ai/ spec files and ADRs for inconsistencies with the codebase, then fix all discrepancies. |
| allowed-tools | Read, Glob, Grep, Agent, Edit, Write, Bash(ls *) |
Scan all documentation in docs/ai/ for inconsistencies with the actual codebase, then fix all discrepancies so docs match the implementation.
Check and fix these doc files:
README.md — project description, feature list, tech stack, project structuredocs/ai/)CLAUDE.md — project description, build commands, conventions, key architecture notesdocs/ai/BACKLOG.md — check completed items against code, remove if donedocs/ai/architecture.md — ADR statuses, component list, directory structure, commandsdocs/ai/overview.md — current state, non-goalsdocs/ai/sequencer-spec.md — Pattern/Track/Trig interfaces, playback behaviordocs/ai/audio-interface.md — WorkletCommand, WorkletPattern, WorkletTrig, Engine APIdocs/ai/sound-design.md — voice params, paramDefs ranges/defaultsdocs/ai/ui-design.md — component descriptions, layout, mobile viewsdocs/ai/glossary.md — term accuracy, missing termsdocs/ai/DATA_MODEL.md — Song/Pattern/Cell/Track/Trig interfaces, relationships, mermaid ERD entity fields and classDiagram runtime state fieldsdocs/ai/MESSAGE_FLOW.md — WorkletCommand flow, message protocol, signaling, mermaid sequence diagram function namesdocs/ai/adr/INDEX.md — ADR statuses (Implemented vs actual state)site/src/content/docs/).mdx files under site/src/content/docs/docs/ (EN) and site/src/content/docs/ja/docs/ (JA) — tutorials, feature guides, getting-started pagessrc/lib/components/SidebarHelp.svelte)Read all doc files listed above.
Cross-reference with codebase by reading/grepping these key source files:
src/lib/types.ts — Song, Pattern, Cell, Trig, Track interfacessrc/lib/state.svelte.ts — reactive state shapesrc/lib/audio/engine.ts — Engine API, patternToWorklet serializationsrc/lib/audio/dsp/types.ts — WorkletCommand, WorkletPattern, WorkletTrig, WorkletInsertFxsrc/lib/audio/worklet-processor.ts — WorkletCommand handlingsrc/lib/paramDefs.ts — voice parameter definitions (names, ranges, defaults)src/lib/components/*.svelte — component names and existencesrc/lib/audio/dsp/voices.ts — voice registrysrc/lib/components/SidebarHelp.svelte — app help textCheck for these types of inconsistencies:
erDiagram entity fields and classDiagram class fields as structured data — compare every field name, type, and description 1:1 against the source TypeScript interfaces (DATA_MODEL.md ERD vs types.ts, classDiagram vs state.svelte.ts, MESSAGE_FLOW.md sequence diagrams vs actual function names in scenePlayback.ts / engine.ts)Use TodoWrite to create a task list of all fixes needed.
Apply fixes using Edit tool for each doc file. Rules:
docs/ai/adr/INDEX.mdOutput a summary of all changes made:
## Docs Sync Summary
### [filename]
- [description of fix applied]
### No changes needed
- [filename] — already consistent