Skip to content

Optimize README and docs structure for adoption clarity#222

Merged
bguidolim merged 3 commits intomainfrom
claude/optimize-readme-docs-zwE9d
Mar 4, 2026
Merged

Optimize README and docs structure for adoption clarity#222
bguidolim merged 3 commits intomainfrom
claude/optimize-readme-docs-zwE9d

Conversation

@bguidolim
Copy link
Copy Markdown
Collaborator

Context

The README had grown into a comprehensive reference document that buried the quick-start flow under walls of feature tables, use cases, and command listings. New users had to scroll past ~300 lines before reaching real-world examples. This restructure optimizes for the adoption funnel: hook → install → use → learn more.

Changes

  • Slim README — Removed duplicated content (key features table, detailed use cases, full command reference, safety table, detailed artifact table) and replaced with concise summaries linking to dedicated docs pages
  • New docs/cli.md — Complete CLI reference extracted from README, with flag tables and usage examples for every command (sync, pack, doctor, cleanup, export)
  • New docs/README.md — Documentation hub with "Getting Started", "Building Tech Packs", and "Understanding the Engine" sections plus a quick-links table
  • Enhanced docs/architecture.md — Added "Safety & Trust" section (previously only in README) with implementation details
  • Navigation footers — Added consistent footer navigation bar across all doc pages for discoverability
  • Fix docs accuracy — Added missing --yes flag to doctor command docs, clarified trust verification behavior for local packs

Test Plan

  • Verify all relative links between docs resolve correctly
  • Confirm README quick-start flow reads clearly without prior context
  • Check docs/cli.md covers all commands from mcs --help

claude added 2 commits March 4, 2026 08:13
Restructure README from 354-line reference doc into ~210-line
conversion-oriented landing page. Create documentation funnel:
README for first impression + quick start, docs/* for depth.

Changes:
- README: Remove Key Features table (redundant with comparison table),
  Commands Reference (extracted to docs/cli.md), component type catalog
  and pack creation snippet (already in creating-tech-packs.md), condense
  Safety & Trust table to summary with link, condense Use Cases, move
  Real-World Examples up for social proof after Quick Start
- docs/cli.md: New complete CLI reference with all commands and flags
  including mcs export (previously undocumented in user-facing docs)
- docs/architecture.md: Add Safety & Trust section with expanded
  guarantee explanations, fix broken relative link to techpack-schema.md
- docs/README.md: New documentation index with progressive-disclosure
  navigation and task-to-page quick links
- All docs: Add consistent navigation footer with next/prev suggestions

No information lost — every section removed from README exists in docs/.

https://claude.ai/code/session_01QQjDZUxdL9JvBjqmQPKd8N
- docs/cli.md: Add missing `-y, --yes` flag to `mcs doctor` section
  (exists in DoctorCommand.swift but was not documented)
- docs/architecture.md: Clarify trust verification behavior — modified
  scripts are detected and user is prompted to re-trust, not outright
  rejected

https://claude.ai/code/session_01QQjDZUxdL9JvBjqmQPKd8N
Copilot AI review requested due to automatic review settings March 4, 2026 09:16
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Restructures project documentation to make the root README more adoption-focused (quick-start first) while moving reference-heavy material into a dedicated docs/ hub and CLI reference.

Changes:

  • Slims the root README.md by removing long reference sections and linking to dedicated docs.
  • Adds a docs hub (docs/README.md) and a full CLI reference (docs/cli.md).
  • Updates existing docs with consistent footer navigation and expands architecture docs with a “Safety & Trust” section.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
README.md Refocuses the root README around quick-start + links to deeper docs.
docs/README.md New documentation landing page with quick links and navigation.
docs/cli.md New complete CLI reference extracted from README.
docs/architecture.md Fixes an internal link and adds “Safety & Trust” section + footer nav.
docs/creating-tech-packs.md Adds “Next” + footer navigation.
docs/techpack-schema.md Adds “Next” + footer navigation.
docs/troubleshooting.md Adds “Back to docs home” + footer navigation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

docs/cli.md Outdated
@@ -0,0 +1,138 @@
# CLI Reference

Complete command reference for `mcs`. For a quick introduction, see the [README](../README.md#-quick-start).
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fragment #-quick-start does not match the generated GitHub anchor for the ## 🚀 Quick Start heading in the root README (it will be #quick-start). Update this link so it resolves correctly.

Suggested change
Complete command reference for `mcs`. For a quick introduction, see the [README](../README.md#-quick-start).
Complete command reference for `mcs`. For a quick introduction, see the [README](../README.md#quick-start).

Copilot uses AI. Check for mistakes.
docs/README.md Outdated

New to mcs? Start here:

1. [Install and Quick Start](../README.md#-quick-start) — Get your first pack running in under 2 minutes
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ../README.md#-quick-start link is using an incorrect anchor. In the root README the heading is ## 🚀 Quick Start, which GitHub anchors as #quick-start (without the leading dash). Update the fragment so the link resolves.

Suggested change
1. [Install and Quick Start](../README.md#-quick-start) — Get your first pack running in under 2 minutes
1. [Install and Quick Start](../README.md#quick-start) — Get your first pack running in under 2 minutes

Copilot uses AI. Check for mistakes.
- Remove leading dash from Quick Start anchor (#-quick-start → #quick-start)
@bguidolim bguidolim enabled auto-merge (squash) March 4, 2026 09:32
@bguidolim bguidolim merged commit 6004ec8 into main Mar 4, 2026
4 checks passed
@bguidolim bguidolim deleted the claude/optimize-readme-docs-zwE9d branch March 4, 2026 09:33
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.

3 participants