Skip to content

docs: redesign README header for first-5-seconds hook#79

Merged
Jamkris merged 4 commits into
mainfrom
docs/readme-hook-redesign
May 13, 2026
Merged

docs: redesign README header for first-5-seconds hook#79
Jamkris merged 4 commits into
mainfrom
docs/readme-hook-redesign

Conversation

@Jamkris

@Jamkris Jamkris commented May 13, 2026

Copy link
Copy Markdown
Owner

Summary

Reshapes the top of the README so a first-time visitor sees what makes EGC different in 5 seconds instead of scrolling past 4 install options to find out. Also fixes a broken npm install code fence that's been rendering as raw text on GitHub.

What changes

New header lead

Before:

A comprehensive configuration suite for Gemini CLI / Antigravity.
This extension provides production-ready agents, skills, hooks, commands, rules, and MCP configurations designed to supercharge your development workflow with Gemini.

After:

Battle-tested agents, skills, and workflows for Gemini CLI / Antigravity.
Ports 183 skills and 48 agents from Everything Claude Code, retuned for Gemini's tool model. Adds Gemini-native features like /egc-grok — a whole-repo audit that uses Gemini's 1M context window in a single pass (Claude Code's 200K can't).

Stats badges

Added next to license: skills-183, agents-48, commands-80. Static for now; refresh when inventory drifts ~5%+. Could move to dynamic shields.io if maintenance becomes a recurring ask.

New "What you can do" section

Five bullets, each naming a real command or agent (all cross-checked against the repo):

  • /egc-grok — whole-repo audit (1M context)
  • @planner — phased plan + WAIT-for-confirm
  • /egc-tdd + @tdd-guide — TDD with 80%+ coverage
  • @security-reviewer — OWASP top 10 + secrets
  • 183 skills, on-demand

Quick Start collapsed to a single command

Before: 4 install options + auth + uninstall variants, all expanded inline → ~80 lines before reaching Usage.

After: one line (gemini extensions install <repo>) + API key env var. Everything else (script-based install, manual copy, dev-mode link, all uninstall variants) moved into a single <details> fold. Still discoverable, no longer pushes the value prop below the fold.

Broken markdown cleaned up

The old Quick Start had a naked npm install -g @google/gemini-cli@latest line floating outside any code block, and a stray four-backtick fence. Rendered as raw text on GitHub. Gone.

Untouched

  • Language nav (line 1)
  • Attribution + ecosystem-port disclaimer (lines 3–5, already polished from upstream feedback round)
  • Usage section
  • What's Inside file tree
  • Troubleshooting / Contributing / License

Risks

  • Count drift — skill/agent/command numbers in badges go stale as inventory grows. Mitigation: refresh on releases that bump counts by 5%+. Or move to dynamic shields if it becomes annoying.
  • Tone change perceived as marketing — the "Claude Code's 200K can't" line is factually correct and the ECC maintainer just merged two backports from this repo, so the relationship is healthy. Can soften to "uses Gemini's larger context window" if reviewer feedback comes in.
  • Existing user install path — no install commands changed, just visually moved. Anyone following the previous README will still find their option, just inside a fold.

Test plan

  • npm run lint clean (markdownlint included)
  • npm test 279/279
  • Cross-checked every command/agent name in the new section against commands/ and agents/
  • Visual review — header, badges, "What you can do", Quick Start render cleanly in GitHub markdown preview

Summary by cubic

Redesigned the README header across English, Korean, and Chinese to surface the “why” in 5 seconds and streamline install. Pinned all script URLs to v1.3.12, documented the --all uninstall path, and added a “First Command” section to zh-CN for parity.

  • New Features

    • New lead with upstream port context and Gemini-native /egc-grok callout.
    • Stats badges (skills 183, agents 48, commands 80); fixed stale counts in KO/ZH mirrors.
    • “What you can do” with real entry points: /egc-grok, @planner, /egc-tdd + @tdd-guide, @security-reviewer, on-demand skills.
    • Quick Start collapsed to gemini extensions install … + GEMINI_API_KEY; other methods in a single details fold; mirrored in docs/ko-KR/README.md and docs/zh-CN/README.md.
    • Added “首次命令” to docs/zh-CN/README.md with /egc-grok, /egc-plan, /egc-tdd, and the Antigravity prefix note.
  • Bug Fixes

    • Fixed malformed markdown fence and a stray npm install line.
    • Pinned all curl | bash URLs to refs/tags/v1.3.12 with a short audit note; mirrored in KO/ZH.
    • Documented --all uninstall and aligned uninstall examples/labels (selective and purge variants).

Written for commit 566052a. Summary will update on new commits.

Summary by CodeRabbit

  • Documentation
    • README rewritten with updated branding/badges and a Gemini-focused overview
    • Streamlined installation centering on GEMINI_API_KEY and a single install command
    • Expanded install methods (script/Antigravity, manual copy, developer linking) plus selective and full uninstall guidance (version-pinned examples)
    • Translated READMEs (Korean, Chinese) updated with new onboarding flow, examples, and updated agent/skill/command counts

Review Change Stack

The first impression decided no stars. The header lead was
"comprehensive configuration suite" — abstract, doesn't tell a
visitor why this repo is different from vanilla Gemini CLI. The
Quick Start also had a broken code fence (a stray naked
`npm install` line and a runaway four-backtick block) that
rendered ugly on GitHub.

Changes (README.md only, no source/code edits):

- New tagline: "Battle-tested agents, skills, and workflows for
  Gemini CLI / Antigravity." Then a one-line differentiator
  paragraph that names the upstream port AND the Gemini-native
  killer feature (/egc-grok, 1M context vs Claude Code's 200K).
- Stats badges added next to license: skills 183, agents 48,
  commands 80. Concrete numbers, scannable at a glance.
- New "What you can do" section with five concrete bullets, each
  naming a real command or agent: /egc-grok, @Planner, /egc-tdd
  + @tdd-guide, @security-reviewer, 183 skills on-demand. All
  five entry points cross-checked against the repo before this
  commit — they exist.
- Quick Start collapsed to a single one-line `gemini extensions
  install` command + the API key env var. The four other install
  paths (Antigravity script, manual copy, dev-mode link, uninstall
  variants) move into a single <details> fold so they're still
  there but no longer push the value prop below the fold.
- Broken markdown fences in the old Quick Start cleaned up.
- Usage / What's Inside / Troubleshooting / Contributing /
  License sections untouched.

Counts will drift; refresh when releases bump skill/agent
inventory by more than ~5%. (Could shields.io-dynamic these
later if it becomes a recurring maintenance ask.)

npm run lint clean. npm test 279/279.
@coderabbitai

coderabbitai Bot commented May 13, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 635e5796-026b-41bf-a631-b0f6d24c0b6e

📥 Commits

Reviewing files that changed from the base of the PR and between e00db29 and 566052a.

📒 Files selected for processing (1)
  • docs/zh-CN/README.md

Walkthrough

Root README and localized Korean/Chinese READMEs rewritten to present Gemini CLI/Antigravity branding, capability bullets, a streamlined Quick Start using gemini extensions install plus GEMINI_API_KEY, and consolidated install/uninstall instructions (pinned script tags and manual/developer options).

Changes

Documentation Updates

Layer / File(s) Summary
Root README restructure
README.md
Header badges and project description updated; feature overview replaced with capability bullets; Quick Start shows gemini extensions install plus GEMINI_API_KEY; installation/uninstallation consolidated into a <details> block with Antigravity/script, CLI+Antigravity, manual copy, developer linking, and selective/purge uninstall variants (pinned script tags).
Korean README updates
docs/ko-KR/README.md
Header/badges and quick-start rewritten to center on gemini extensions install + GEMINI_API_KEY; example first command changed to /egc-grok and direct agent calls; documented counts updated for agents (28→48), skills (125→183), and commands (60→80); Antigravity script URLs pinned.
Chinese README updates
docs/zh-CN/README.md
Opening badges and intro replaced with “Everything Gemini Code”; added “你能做什么” capability list; quick-start uses Gemini extension install and GEMINI_API_KEY; extended install/manual/uninstall reorganized into <details> with pinned Antigravity scripts and manual-install warnings; added first-command examples.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

docs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: redesigning README headers with a focus on improving first impression. It directly relates to the substantial README updates across multiple files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/readme-hook-redesign

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@README.md`:
- Around line 50-56: The README currently demonstrates running the installer
directly from the main branch via curl | bash which is unsafe; update the
example invocations to reference a pinned release tag or specific commit SHA in
the URLs (replace ".../main/scripts/install.sh" with
".../refs/tags/vX.Y.Z/scripts/install.sh" or
".../commit/<SHA>/scripts/install.sh") and add a note to verify a published
checksum/signature for that release (or link to a checksum file next to the
release) before executing; reference the install script name install.sh and the
example curl command so reviewers can locate and update those lines and include
brief instructions to prefer downloading the release artifact and verifying
integrity instead of piping to bash.
- Around line 54-56: Add an uninstall example showing the shared uninstall
script invoked with the --all flag so readers know it removes both CLI and
Antigravity; update the "CLI + Antigravity" section in README.md to include a
parallel example to the install line that runs the uninstall script with --all
(same script URL used in the install example) and a brief note that --all
removes both components, alongside the existing --antigravity example.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: d2704d9c-76ea-4f73-8676-3714d59f6f5d

📥 Commits

Reviewing files that changed from the base of the PR and between aebff8f and 744377a.

📒 Files selected for processing (1)
  • README.md

Comment thread README.md
Comment thread README.md

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 1 file

P1 — curl | bash from `main` is unsafe (CodeRabbit, line 56):
  All five `raw.githubusercontent.com/.../main/scripts/*` URLs
  pinned to `refs/tags/v1.3.12`. Avoids the supply-chain risk of
  installer drift between releases. Added a brief explanatory
  note linking to the blob URL so readers can audit the script
  before piping to bash.

P2 — uninstall --all flag undocumented (CodeRabbit, line 56):
  The install section showed `--all` (CLI + Antigravity) but the
  uninstall section only showed `--antigravity`. Verified
  scripts/uninstall.sh:28 supports `--all` (sets both
  TARGET_ANTIGRAVITY and TARGET_CLI). Added a parallel uninstall
  --all example and tightened the comment labels for the three
  uninstall variants (Antigravity only / CLI + Antigravity / full
  Antigravity purge).

Bump cadence: when the next release tag lands, run
`sed -i '' 's|refs/tags/v1.3.12|refs/tags/v1.3.13|g' README.md`
or similar. Could be automated in scripts/release.sh as a
follow-up if this becomes recurring.

npm run lint clean.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@README.md`:
- Around line 52-55: The README contains installer curl commands pinned to a
non-existent tag "refs/tags/v1.3.12" which will cause installs to fail; update
the URLs in the README to point to a valid ref by either creating the v1.3.12
tag that includes scripts/install.sh and scripts/uninstall.sh or change the
pinned ref to a known good branch/tag (e.g., "main" or the current release tag)
wherever "refs/tags/v1.3.12" appears around the installer lines and for both
scripts/install.sh and scripts/uninstall.sh invocations.
- Around line 11-13: The README's skills badge currently shows "skills-183" and
should be updated to "skills-284"; locate the badge markdown line that contains
"![Skills](https://img.shields.io/badge/skills-183-green)" and change the
URL/text segment to "![Skills](https://img.shields.io/badge/skills-284-green)"
so the badge reflects the correct inventory count.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: e4630a55-b250-4a99-b83e-839f61c94712

📥 Commits

Reviewing files that changed from the base of the PR and between 744377a and d049ff9.

📒 Files selected for processing (1)
  • README.md

Comment thread README.md
Comment thread README.md
The English README redesign in this PR (new header, badges, "What
you can do", collapsed Quick Start, tag-pinned curl URLs, --all
uninstall) was applied to docs/ko-KR/README.md and
docs/zh-CN/README.md so non-English visitors see the same first-
5-seconds hook and the same supply-chain-safe install commands.

Per-mirror changes:

docs/ko-KR/README.md
  - Stats badges added (skills-183, agents-48, commands-80) next
    to the existing language-stack badges.
  - Tagline rewritten: "Gemini CLI / Antigravity 를 위한 검증된
    에이전트, 스킬, 워크플로우 모음." + a Gemini-native
    differentiator paragraph naming the 1M-context advantage.
  - New "무엇을 할 수 있나" section with the same five concrete
    bullets as English (/egc-grok, @Planner, /egc-tdd, etc).
  - Quick Start collapsed: one extension-install line + API key
    + everything else (script-based, manual notes, uninstall
    variants) inside a <details> fold.
  - 4 curl URLs in install + 3 uninstall URLs pinned to
    refs/tags/v1.3.12; uninstall --all example added.
  - Stale inventory counts fixed: 28→48 agents, 125→183 skills,
    60→80 commands (3 locations in "구성 요소" section).

docs/zh-CN/README.md
  - Stats badges added (skills-183, agents-48, commands-80).
  - Tagline rewritten with Gemini-native framing.
  - New "你能做什么" section with the same five bullets in
    Simplified Chinese.
  - Quick Start collapsed identically to English (single
    extension-install + API key + <details> fold).
  - 5 curl URLs pinned to refs/tags/v1.3.12; uninstall --all
    example added.

Untouched in both:
  - Language nav (line 1)
  - Attribution + ecosystem-port disclaimer (lines 3-5, already
    polished from upstream feedback round)
  - Below-the-fold sections (사용 예시, 구성 요소,
    Troubleshooting equivalents, Contributing, License)

npm run lint clean.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/zh-CN/README.md`:
- Around line 43-96: The zh-CN README is missing a "First Command" section that
highlights the Gemini-native `/egc-grok` command (creating inconsistency with
ko-KR); add a short "首次命令" or "第一个命令" block immediately after the existing
installation details (after the </details> closing) that mirrors the ko-KR
content: show `/egc-grok` as the first example, include examples for direct
agent calls like `@architect "设计微服务架构"` and `@security-reviewer "审计此文件的注入漏洞"`,
and include the Antigravity note explaining the `egc-` prefix behavior and
conflicts with `/plan` (so readers see `/egc-grok`, `/egc-plan`, `/egc-tdd`
order and the prefix guidance).
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 3909afe2-08b8-415d-89c3-35801453e761

📥 Commits

Reviewing files that changed from the base of the PR and between d049ff9 and e00db29.

📒 Files selected for processing (2)
  • docs/ko-KR/README.md
  • docs/zh-CN/README.md

Comment thread docs/zh-CN/README.md
CodeRabbit (PR #79 round 3) flagged the zh-CN README as missing
the post-install "First Command" hook that ko-KR has. Adds the
section in the same position (immediately after the install
<details> fold, before the dedicated 使用方法 section) so the
zh-CN reader sees the same first-command suggestion (/egc-grok)
and the same Antigravity prefix note as the Korean reader.

Mirrors ko-KR's content:
  - /egc-grok as the first example (whole-repo audit)
  - /egc-plan + /egc-tdd as workflow entry points
  - @architect + @security-reviewer for direct agent calls
  - Antigravity bare-name vs egc- prefix explanation

npm run lint clean.
@Jamkris Jamkris merged commit 4f21223 into main May 13, 2026
10 checks passed
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