Skip to content

docs: comprehensive README and CLAUDE.md improvements - #60

Merged
alanbem merged 24 commits into
mainfrom
docs/readme-improvements
Mar 18, 2026
Merged

docs: comprehensive README and CLAUDE.md improvements#60
alanbem merged 24 commits into
mainfrom
docs/readme-improvements

Conversation

@alanbem

@alanbem alanbem commented Mar 18, 2026

Copy link
Copy Markdown
Owner

Summary

Comprehensive documentation overhaul based on a structured 3-perspective review (engineer, technical writer, marketing specialist) with cross-review debate and consensus synthesis.

  • README.md: Fix outdated content, add missing sections, improve accuracy and onboarding
  • CLAUDE.md: Fix accuracy issues, document security decisions, remove stale content

Changes (24 commits, each reviewable independently)

Accuracy fixes

  • Remove outdated Node.js/npm pain points (Claude Code uses native binary now)
  • Replace broken Docker Hub version badge with working pulls badge
  • Fix SSH auth section to reflect automatic key loading via dclaude ssh keys
  • Clarify aws login is a valid newer AWS CLI command
  • Clarify Windows requires WSL2
  • Fix shell completions path for npm-installed users
  • Update Project Structure with claude-launcher.sh and tmux-wrapper.sh

New content

  • Add Docker/OrbStack/Colima prerequisite to Quick Start
  • Add first-run expectations (image pull + auth prompt)
  • Add Container Management section (stop, rm, pull, update, new, attach, shell)
  • Add Git Configuration section for dclaude git
  • Expand Chrome DevTools section with --port, --setup-only, config options
  • Add shell completions install instructions
  • Add path mirroring ASCII diagram in How It Works
  • Add DCLAUDE_TMUX_SESSION to env var table
  • Document CLAUDE_UNSAFE_TRUST_WORKSPACE=true in CLAUDE.md Security section

Improvements

  • Explain "d" in dclaude (subtitle: "Dockerized Claude Code")
  • Add CI/CD status badge
  • Elevate safety/isolation to first bullet in Why section
  • Explain .dclaude vs DCLAUDE_* variable naming relationship
  • Cross-link the two SSH sections
  • Note multi-arch support (AMD64 + ARM64/Apple Silicon)
  • Remove stale "Known Issues (Fixed)" from CLAUDE.md tmux section

Review process

Three AI agents reviewed both files from different angles, then cross-reviewed each other's findings to challenge disagreements. Consensus was synthesized and approved before implementation.

Test plan

  • Verify all badge URLs render correctly on GitHub
  • Verify all internal anchor links work
  • Verify shell completions path works for npm install: source "$(npm root -g)/@alanbem/dclaude/completions/dclaude.bash"
  • Read through README as a new user — does the flow make sense?

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Added MCP server configuration for Chrome DevTools support
    • Introduced container management commands for lifecycle operations
    • Added shell completion support for bash and zsh
  • Documentation

    • Expanded setup guides with prerequisites and first-run instructions
    • Enhanced authentication guidance for SSH and Git in containerized environment
    • Added Chrome DevTools configuration instructions
    • Clarified environment variables and configuration file options

alanbem and others added 24 commits March 18, 2026 02:43
Add "Dockerized Claude Code" subtitle so new visitors immediately
understand what the name means.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
New users who don't have Docker installed will hit a confusing error.
This makes the requirement explicit upfront.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Tell users what to expect on first launch (image pull + auth prompt)
so they don't think the tool is broken during the initial setup.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The container isolation benefit is the strongest differentiator.
Move it from last to first position in the "Why dclaude?" list
without changing the overall tagline.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
A passing build badge signals active maintenance and working code.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The dclaude script is bash and the npm package excludes Windows.
Make it explicit that WSL2 is required on Windows.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
New users may not realize the unprefixed config file variables map
to the prefixed environment variables.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
SSH Authentication and SSH Key/Server Management are related but
serve different purposes. Add cross-references so users find both.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This is the most user-facing of the undocumented env vars, enabling
named concurrent sessions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Path mirroring is the core innovation. A simple visual makes the
concept click faster than bullet points alone.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
aws login is a valid newer AWS CLI command that supersedes
aws sso login for SSO flows while also supporting IAM users.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Document previously undiscoverable subcommands: new, attach, stop,
rm, pull, update, shell. Placed in its own section between Features
and Environment Variables to keep Basic Usage focused.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This subcommand bridges the gap between SSH auth (keys) and git
identity (name/email for commits). Was documented in CLAUDE.md
but completely absent from user-facing README.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The previous 2-line Chrome section omitted --port, --setup-only,
profile configuration, and how the architecture works (Chrome on
host, MCP in container).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Completions for bash and zsh exist in completions/ but there was
no guidance on how to install them.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
CI builds both architectures but this was not mentioned anywhere
in the README.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This env var is baked into the Dockerfile but was undocumented.
Explain why it's set (container isolation replaces workspace trust)
so contributors understand the security model.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
These scripts were added to the Dockerfile but missing from the
README project structure listing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
These fixed bugs are already guarded against by the "Critical Tmux
Configuration" section which documents the correct settings and why
they matter. The "Fixed" subsection added noise without new info.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The shields.io Docker Hub version badge returns "invalid response
data". Replace with the working Docker pulls badge (shows 2.2k),
which also serves as a social proof signal.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Claude Code now uses native binary installation, not npm. Remove
outdated Node.js/npm pain points and add the filesystem access
concern which is more relevant.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The placeholder /path/to/dclaude/ was broken for npm users. Use
$(npm root -g) to resolve the actual install location, and show
the source install path as an alternative.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
dclaude already warns when no keys are loaded and directs users to
run 'dclaude ssh keys'. The old text implied manual ssh-add was
required.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Mention Docker Desktop, OrbStack, and Colima as examples rather
than only Docker, since many users use alternative runtimes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Mar 18, 2026

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 270e8464-4346-49ed-b33c-15fb3f5450f8

📥 Commits

Reviewing files that changed from the base of the PR and between 0f69ccc and 78db931.

📒 Files selected for processing (3)
  • .mcp.json
  • CLAUDE.md
  • README.md

📝 Walkthrough

Walkthrough

This pull request introduces MCP server configuration for Chrome DevTools and comprehensively updates documentation to reflect a Dockerized Claude setup, including container management procedures, environment variables, authentication setup, and new utility scripts.

Changes

Cohort / File(s) Summary
Chrome DevTools Configuration
.mcp.json
New MCP server configuration for Chrome DevTools with stdio transport running chrome-devtools-mcp@latest on localhost:9222.
Documentation Updates
CLAUDE.md, README.md
Expanded documentation covering Dockerized Claude deployment; updated AWS authentication descriptions, security notes, container lifecycle management, environment variables, Chrome DevTools setup with .mcp.json, shell completions, and WSL2 prerequisites.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 A Docker dawn breaks, containers bloom,
Configuration files fill the room,
Chrome DevTools dance on port nine-two-two,
Documentation guides in every hue,
The warren of setup, now crystal and true!

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/readme-improvements
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

You can enable review details to help with troubleshooting, context usage and more.

Enable the reviews.review_details setting to include review details such as the model used, the time taken for each step and more in the review comments.

@alanbem
alanbem merged commit f810dec into main Mar 18, 2026
6 of 7 checks passed
@alanbem
alanbem deleted the docs/readme-improvements branch March 18, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant