dokai-ai
v1.1.0
Published
Coding-agent assets for DOKAI: Claude Code commands, the agent-agnostic dokai skill, and the AGENTS.md helper used by the CLI.
Downloads
468
Maintainers
Readme
dokai-ai
Coding-agent assets for DOKAI — local-first documentation for any repo.
This is an internal package consumed by the dokai-kit CLI. You normally install dokai-kit, not this package directly.
It bundles the agent-facing templates and the helpers the CLI uses to scaffold them during dokai init:
copyAgentAssets— installs the Claude Code assets into.claude/(the/set-documentationand/update-documentationslash commands →.claude/commands/, thedokaisub-agent →.claude/agents/, and the focuseddokai-docs+dokai-apiskills →.claude/skills/), plus the agent-agnosticdokai-docs+dokai-apiskills →.agents/skills/.patchClaudeMd/patchAgentsMd— idempotently maintain a manageddokaiblock inCLAUDE.md(Claude-optimized) and the repo rootAGENTS.md(read by Codex/Cursor/Gemini-style agents), each pointing the agent at its skills/commands.removeLegacyAssets— on upgrade, removes the pre-split singledokaiskill (.claude/skills/dokai/,.agents/skills/dokai/).
Slash commands and the sub-agent are Claude-specific; every other agent works from the .agents/ skills (which carry the set/update workflow) and the AGENTS.md pointer. The skills are split so each stays focused: dokai-docs for the DOKAI/ markdown tree, dokai-api for the OpenAPI specs under DOKAI/openapi/.
License
MIT © hacoeur-24
