Skip to content

docs: refactor README + landing page (heavy slim)#284

Merged
erishforG merged 2 commits intodevelopfrom
chore/docs-refactor
May 4, 2026
Merged

docs: refactor README + landing page (heavy slim)#284
erishforG merged 2 commits intodevelopfrom
chore/docs-refactor

Conversation

@erishforG
Copy link
Copy Markdown
Owner

Heavy refactor of README.md and docs/index.html based on a critical info-architecture review.

Why

Problem Symptom
README 1527 줄 — 같은 가치 메시지 4-5번 반복 tagline → What is → Why → Problem → Solution이 거의 같은 말
Command Reference 933줄이 README에 그대로 박혀있음 docs/reference/와 100% 중복, dead weight
docs/index 20+개 feature card 평면 나열 우선순위 없음 → Bitbucket이 ship.draft와 동등한 비중
AI agent 메시징이 README의 30% 차지 일반 개발자가 "AI 도구"로 오해할 위험
Guide의 "What's New in v0.4" 섹션 v0.5에서 또 같은 문제 발생

What

README.md1527 → 204 lines

  • New tagline: "From ticket to PR. One command."
  • 단일 데모 블록 + 60-second tour
  • Top 6 features (각 1단락 + 코드 한 줄)
  • Comparison table (vs GitButler / git-town / etc.)
  • Error code matrix (compact)
  • Documentation links → docs/{guide, reference}
  • 제거: 중복된 Use Cases 섹션, 전체 Command Reference (link으로), Token Efficiency before/after 확장, Problem/Solution 중복

docs/index.html22 cards → 6 featured + collapsible <details>

  • 6 통합 카드:
    1. Ticket-driven worktrees (tracker integration + adopt + sibling layout)
    2. Stacked PRs done right (--on + --submit + nav comments)
    3. Multi-forge, multi-CI (GitHub + GitLab + Bitbucket Cloud + Pipelines)
    4. One-step ship + lifecycle (ship + clean + merge + undo + conflicts)
    5. Built for agents (--json + JSONL + error codes + offline + schemastore)
    6. Build cache + ergonomics (shared_cache + shell + completions + doctor)
  • 나머지 16 features<details> 블록 안에 grid로 정리 — 클릭 시 펼쳐짐, 스크롤 피로 0
  • AI 메시지 1개 카드로 압축

docs/guide/index.html

  • "What's New in v0.4" → "Recipes & Examples" (영구적 이름, 다음 버전에서도 추가만)
  • 사이드바 링크 함께 갱신

Diff stats

```
README.md | 1553 ++++--------------
docs/guide/index.html | 10 +-
docs/index.html | 283 ++--------
3 files changed, 182 insertions(+), 1664 deletions(-)
```

Verification

  • All 3 HTML files validate (depth-balanced parse)
  • Local server python3 -m http.server 8765 confirms 6 featured cards + 1 `more-features` block render correctly
  • README links to schemastore.org, github.io/git-parsec/{guide, reference} verified

Notes

  • 27개 명령어 reference는 그대로 docs/reference/index.html에 유지 (이미 완벽)
  • 디자인 톤(다크 테마, 그라디언트, 터미널 mock)은 그대로 — 정보 설계만 정돈
  • 이 PR은 v0.4.0에 포함시킬지, v0.4.1로 분리할지 별도 결정 필요

🤖 Generated with Claude Code

erishforG and others added 2 commits May 4, 2026 20:00
Critical review found four big problems:
- README.md was 1527 lines — same value-prop messaging repeated 4-5 times
  (tagline → What is → Why → Problem → Solution), Use Cases section
  duplicated, the entire 933-line Command Reference was a copy of
  docs/reference/index.html.
- docs/index.html had 22 feature cards laid out flat — no priority,
  scroll fatigue, mega-cap features (Bitbucket, Stacked PRs) shown at
  the same visual weight as ship.draft defaults.
- AI agent messaging took ~30% of README, risking miscategorization as
  an "AI tool" when most users are general developers.
- The "What's New in v0.4" section in the guide was version-specific —
  same problem will recur for v0.5, v0.6.

Changes
-------
README.md (1527 → 204 lines)
- New tagline: "From ticket to PR. One command."
- Single demo block (no repeats), 60-second tour, Top 6 features,
  comparison table, error code matrix, doc links.
- Removed: duplicated Use Cases section, full Command Reference (now
  linked to docs/reference/), AI Token Efficiency / Before-After
  expansion, redundant Why/Problem/Solution sections.

docs/index.html (22 cards → 6 featured cards + collapsible "More features")
- 6 consolidated cards: Ticket-driven worktrees · Stacked PRs · Multi-
  forge & multi-CI · One-step ship + lifecycle · Built for agents ·
  Build cache + ergonomics.
- Remaining 16 features compressed into a `<details>` block — visible
  on demand, no scroll fatigue, all features still discoverable.
- AI agent messaging consolidated to one card ("Built for agents")
  covering --json, JSONL, error codes, offline, headless, schemastore.

docs/guide/index.html — "What's New in v0.4" section renamed to
"Recipes & Examples" with a permanent home; future versions can keep
adding recipes here without further renames.

All HTML validated (depth balanced). README links to docs/{guide,reference}
verified. The release workflow's docs snapshot will pick this up on next
release.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
Extends the docs refactor with discovery layer improvements aimed at
both classic search engines and modern answer engines (Anthropic /
OpenAI / Perplexity / Google AI).

AEO (Answer Engine Optimization)
--------------------------------
- New `docs/llms.txt` (3.5 KB) — emerging standard for LLM crawlers.
  Concise project summary with key facts (latest version, install,
  auth, config, error codes, comparisons), structured for clean LLM
  ingestion.
- New `docs/llms-full.txt` (13 KB) — comprehensive plain-text dump
  covering all 27 commands, configuration, auth, error codes, stacked
  PRs, multi-forge support, observability, FAQ. One-stop file for any
  LLM/agent that needs the full picture.
- `docs/robots.txt` explicitly welcomes GPTBot, ChatGPT-User,
  ClaudeBot, anthropic-ai, PerplexityBot, Google-Extended, CCBot.
- Added `<link rel="alternate" type="text/plain" href="/llms.txt">`
  on every page so crawlers can discover the LLM-friendly variants.

Structured data (Schema.org JSON-LD)
------------------------------------
docs/index.html now emits 4 JSON-LD blocks:
  1. SoftwareApplication — bumped to v0.4.0, datePublished 2026-05-04,
     softwareRequirements, releaseNotes URL, screenshot URL,
     applicationSubCategory, expanded keywords (Bitbucket, JSONL, etc.)
  2. HowTo — 5-step "60-second tour" (start → switch → commit → ship →
     ci/merge) so Google can render a HowTo carousel and AI engines
     can answer "how do I use parsec".
  3. BreadcrumbList — supports Google sitelinks.
  4. FAQPage — expanded from 10 → 18 Q&As with v0.4-specific entries
     (Bitbucket, offline, observability JSONL, compress, config schema,
     forges/CI, build cache).

docs/guide/index.html — TechArticle + BreadcrumbList (replaces the
two stale duplicate JSON-LD blocks that existed lower in the file).

docs/reference/index.html — TechArticle + BreadcrumbList (same
cleanup of duplicate blocks).

Social / SEO meta polish
------------------------
- og:image + twitter:image (demo.gif as fallback) — previously absent;
  social shares now show a preview.
- og:image:width / height / alt, og:locale, og:site_name on all pages.
- Page titles tightened with primary keywords:
  - index: "From ticket to PR. One command. | Git worktree lifecycle…"
  - guide: "Getting Started Guide — git-parsec | Install, configure,
    ship in 5 minutes"
  - reference: "Command Reference — git-parsec | All 27 commands…"
- Descriptions rewritten to surface v0.4 differentiators (Bitbucket,
  stacked PRs, JSONL observability) while staying under 160 chars.
- robots meta with max-snippet/max-image-preview/max-video-preview
  signals for richer SERP rendering.

Sitemap
-------
- All `lastmod` dates bumped from 2026-04-22 → 2026-05-04 to trigger
  re-crawl.
- llms.txt and llms-full.txt added to sitemap with priority 0.7.

Validation
----------
- All 3 HTML pages parse with balanced depth.
- All 8 JSON-LD blocks (4 + 2 + 2) parse as valid JSON, types verified.
- Local server confirms files served with correct MIME types.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@erishforG erishforG merged commit 7783412 into develop May 4, 2026
11 checks passed
@erishforG erishforG deleted the chore/docs-refactor branch May 4, 2026 11:15
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