一键导入
docs-sync
Align docs/ with the real implementation — remove stale claims, add missing details, correct wrong file names, and update contracts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Align docs/ with the real implementation — remove stale claims, add missing details, correct wrong file names, and update contracts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | docs-sync |
| description | Align docs/ with the real implementation — remove stale claims, add missing details, correct wrong file names, and update contracts. |
Use this skill when implementation has moved ahead of docs, when docs reference stale filenames/APIs, or when you need to harden the docs before a new feature phase.
This table tells you which code to inspect for each doc. Always inspect both sides before editing a doc.
| Doc | Inspect these code files |
|---|---|
docs/ARCHITECTURE.md | src/engine/index.ts, src/app/store/workspace.store.ts, src-tauri/src/lib.rs, src/features/ directory structure, src-tauri/src/ directory structure |
docs/ENGINE_SPEC.md | src/engine/index.ts, src/engine/types.ts, src/engine/evaluator/evaluator.ts, src/engine/context/evaluation-context.ts, src/engine/language/builtin-functions.ts |
docs/DATABASE_SCHEMA.md | src-tauri/src/db/, src-tauri/src/services/document_repository.rs, src-tauri/src/services/settings_repository.rs |
docs/AI_SPEC.md | src/features/ai/ai.types.ts, src/features/ai/ai.native.ts, src-tauri/src/commands/ai.rs, src-tauri/src/services/ai_service.rs, src-tauri/src/services/openrouter_provider.rs |
docs/API_CONTRACTS.md | src-tauri/src/lib.rs (tauri::generate_handler!), all src/features/*/*.native.ts files, all src-tauri/src/commands/*.rs files |
docs/IMPLEMENTATION_ROADMAP.md | src/features/ directory — which features exist vs. what roadmap claims |
docs/STATUS_GAP_ANALYSIS.md | Any file the gap references — verify gap is still real by reading the actual file |
docs/SYNTAX_REFERENCE.md | src/engine/language/lexicon.ts, src/engine/language/builtin-functions.ts, src/engine/types.ts |
docs/ARCHITECTURE.md uses old file names (document-scanner.ts, eval-context.ts, evaluator.operators.ts) that were renamed. Always verify against the real file tree.lib.rs and commands/*.rs but not listed in docs/API_CONTRACTS.md.docs/IMPLEMENTATION_ROADMAP.md still shows it as pending.docs/STATUS_GAP_ANALYSIS.md lists a gap that was already fixed in code.db/ but docs/DATABASE_SCHEMA.md doesn't reflect it.Always summarize:
Implement or improve tray, quick popup, global shortcut, single-instance, and restore behavior for the Windows-first Tauri 2 app.
Use this skill for React + TypeScript implementation, refactoring, and review tasks involving components, hooks, props typing, children typing, refs, effects, context, reducers, events, forms, utility functions, async UI state, generic components, type modeling, module/export conventions, and React architecture decisions. Trigger this skill when creating or refactoring React TypeScript code and when choosing the right abstraction boundary for maintainable React applications.
Use this skill for any UI work in numpad — shadcn components, theming, shell layout, feature UI, settings dialogs, inspector panels, or Windows 11-like desktop productivity styling.
Implement or extend optional, review-first AI infrastructure for numpad without compromising deterministic engine authority.
Refactor and extend the deterministic calculation engine while preserving correctness and explicit domain boundaries.
Audit the numpad repository — implementation state, docs drift, architecture health, and next priorities.