一键导入
adapter-sync
Generate or refresh the local Claude adapter surface for DocMason from canonical committed sources.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate or refresh the local Claude adapter surface for DocMason from canonical committed sources.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Accept an ordinary user question inside a DocMason workspace, route it to the right inner workflow, and preserve conversation-native logs automatically.
Answer a user question through DocMason's canonical grounded workflow using retrieval, provenance tracing, render escalation, and a final answer-state check.
Produce evidence-backed research, planning, drafting, or composition output from the published DocMason knowledge base while preserving provenance and answer-file discipline.
Stage, incrementally refresh, validate, and publish the DocMason knowledge base from the local source corpus.
Trace published DocMason knowledge objects or answer text back to evidence units and provenance records.
Retrieve ranked evidence bundles from the published DocMason knowledge base.
| name | adapter-sync |
| description | Generate or refresh the local Claude adapter surface for DocMason from canonical committed sources. |
Use this skill when the task is to generate or refresh the currently supported adapter artifacts.
This is an explicit adapter-maintenance workflow.
It is not a universal prerequisite before every ordinary ask turn.
For non-native compatibility targets such as Claude Code, this is the first adaptation step once workspace bootstrap has determined that generated adapter guidance is needed.
If the agent cannot write local generated files, stop and explain that adapter synchronization cannot proceed.
AGENTS.md, canonical SKILL.md files, and canonical workflow.json sidecars as the authored source of truth.claude as the default target unless the user explicitly asks for another target.docmason status --json when you need to confirm whether the generated adapter is missing or stale.docmason sync-adapters --json.docmason status --json when you need to confirm the adapter is now fresh.sync-adapters instead of hand-editing generated files.docmason sync-adapters --json succeeds or returns a clear unsupported-target or metadata-validation failure that the main agent can surface directly..claude/CLAUDE.md is the sole Claude project-memory entry file in this repo.adapters/claude/project-memory.md and adapters/claude/workflow-routing.md files that .claude/CLAUDE.md can import..claude/skills/ thin shim layer instead of relying on a hand-created symlink to the full repo skills tree.