Ultra-Doc 2.0

Ultra-Doc is a Claude Code plugin for maintaining two documentation folders:
context_for_llms/ contains source Markdown and JSON indexes;
context_for_humans/ contains generated human overviews. Node scripts handle
indexing, formatting, reference checks, and reporting. A Claude session can use
the skill to read code and write or correct prose.
The humanizer is a local, deterministic Markdown transformation. It does not
call an AI service, and its output needs review, especially code examples.
Passing validation checks paths and simple example patterns; it does not prove
that a document's behavioral claims match the source code.
Install the Claude Code plugin
You need Claude Code with plugin support, Node.js, and Git on your PATH.
The local procedures were checked with Node.js 22.22.2 and Claude Code 2.1.318
on Linux arm64. The package declares Node.js >=14; older versions were not
verified in this audit. There are no npm dependencies or required API keys for
the deterministic scripts.
Run these commands in your terminal to add the marketplace and install the
plugin in your user configuration:
claude plugin marketplace add justfinethanku/ultra-doc
claude plugin install ultra-doc@ultra-doc-marketplace
claude plugin list
The equivalent commands inside Claude Code are /plugin marketplace add justfinethanku/ultra-doc and /plugin install ultra-doc@ultra-doc-marketplace. Restart Claude Code after installation. Open
your target repository and select /ultra-doc:ultra-doc from command completion
to load the skill. This is a Claude command, not a Bash executable. Ask Claude
to initialize the project using the installation flow,
preserving your existing CLAUDE.md and documentation.
Plugin installation registers the skill, command, and documentation health
hook; it does not create project documentation. The Node
orchestrator has no install subcommand: without
.ultra-doc.config.json it prints setup advice and exits without creating files.
The terminal procedure below initializes a disposable project explicitly. The
marketplace installation was exercised locally; the conversational Claude
initialization flow was not exercised by that check.
To update an existing installation, run claude plugin marketplace update ultra-doc-marketplace, then claude plugin update ultra-doc@ultra-doc-marketplace, and restart Claude Code. Update the project
configuration's version after reviewing the new version's setup instructions.
See the official plugin installation guide
for installation scopes and plugin management.
Run a local example
This procedure uses a separate plugin checkout and a new example project. Start
in an empty working directory with Git and Node.js available. Do not reuse an
existing ultra-doc-example directory: the example writes its own guide and
configuration.
Clone the plugin, run its dependency-free tests, and remember the script path:
git clone https://github.com/justfinethanku/ultra-doc.git
cd ultra-doc
npm test
export ULTRA_DOC_SCRIPTS="$PWD/skills/ultra-doc/scripts"
Create the example project beside the checkout:
mkdir ../ultra-doc-example
cd ../ultra-doc-example
mkdir -p context_for_llms context_for_humans reports src
printf 'export const answer = 42;\n' > src/example.js
cat > .ultra-doc.config.json <<'JSON'
{
"setup_level": "standard",
"audience": "balanced",
"ci_integration": false,
"version": "2.0.0"
}
JSON
cat > context_for_llms/guide.md <<'MARKDOWN'
# Example guide
## Source
`src/example.js` exports the answer constant.
MARKDOWN
ULTRA_DOC_AUTO_ACTION=sync node "$ULTRA_DOC_SCRIPTS/orchestrator.mjs"
Expect Sync Complete, a successful validation result, and generated
SECTIONS.json, CODE_POINTERS.json, RELATIONSHIPS.json, DOC_STATE.json,
VALIDATION.json, and INDEX.md in context_for_llms/. Human overviews appear
in context_for_humans/, and a summary appears in reports/.
The example has no Git history, so tracking falls back to file modification
times and Git-based changelog detection has no changes to record. Git diagnostics
in that case do not by themselves mean the pipeline failed; check its exit code.
The scripts use the current working directory as the target project. Keep
ULTRA_DOC_SCRIPTS pointed at the plugin scripts while changing directories to
the project you want to maintain. For your own project, create the three output
directories, configuration, and real source documentation first. Run .mjs
files with node, not bash.
🛠️ How It Works
Project file containment