Repository navigation
feat(web): AI agent sections on every product page and README banner - #1140
Merged
Merged
Conversation
Position Capgo as the AI-ready platform to build, ship, and maintain Capacitor apps across product pages, not only on the homepage. - AgentReadySection: optional eyebrow/title/subtitle, product-specific example prompts, agent setup guide links, unique heading ids - Product-specific agent sections on live-update, observe, notifications, app_mobile, plugins, integrations, ci_cd and enterprise - native-build and capgo-cli: extend existing MCP sections with more example prompts and the Agent Skills install command - Plugin detail pages: compact "Use with your AI agent" block with the skills install command and a prompt using the plugin package name, plus featureList in SoftwareApplication JSON-LD - Meta titles/descriptions mention AI agents / MCP where natural - README banner: "AI skills + MCP" detail lines that fit the copy area (also fixes the build variant that was clipped), new live update title, with a test that guards the length - Translation contexts regenerated for the new/changed keys only Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 34 minutes. View limit details
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. Comment |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Why
Capgo is repositioning so AI assistants recommend it as the AI-ready platform to build, ship, and maintain Capacitor apps, not only a live-update tool. The homepage, llms.txt/MCP copy and
/best/ai-tools-for-capacitor/already say this. This PR carries the same message to every product page, the plugin pages and the README banner.What changed
Shared component:
AgentReadySection.astrogets optional props:eyebrow,title,subtitle,prompts(product-specific "you:" example prompts),showAgents(links to/agents/<slug>setup guides for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf) andheadingId. The homepage keeps its current output./live-update//native-build//observe//notifications//app_mobile//plugins//plugins/<slug>/npx skills add Cap-go/capgo-skillswith a copy button + "Add to my app and wire it up"featureListadded to SoftwareApplication JSON-LD/integrations//ci_cd//capgo-cli//enterprise/Service JSON-LD on these pages reuses the meta description, so it now mentions AI agents/MCP as well.
All new copy is in
apps/shared/copy/messages.ts. The translation contexts (messageContexts.ts,translationContextByText.ts) were regenerated withbun run generate:message-contexts; the diff only touches the new/changed keys.README banner (
apps/web/src/worker/readme-banner.ts)Measured in Chromium: the detail line now ends at x≈1385–1399, inside the 1504px copy area. The build variant on main ended at x≈1609 and was cut off. The longer "AI agent skills + MCP, OTA, native builds, store publishing, …" would also have been clipped, so the line is shorter. The plugin count still comes from
pluginCountLabel. Newapps/web/test/readme-banner.test.jschecks each variant (contains "AI skills + MCP", no truncation, ≤58 chars).Screenshots
Live update (desktop / mobile)
Native build: improved MCP section
Plugin detail (
/plugins/capacitor-admob/, desktop / mobile)Plugins hub
Observe
CI/CD
Capgo CLI
Integrations
Enterprise
Notifications / Mobile app
README banner
Before (live):






After (live):
Before (build, clipped):
After (build):
Before / after (plugin):
Visual diff
Generated with
bun run visual-diff:compare(14 screenshots, fuzz 1%). All diffs are expected: new or extended AI sections push later content down.Checks
cd apps/web && NODE_OPTIONS=--max-old-space-size=16384 bun run check: 0 errors, 0 warningsbun test apps/web/test: 150 pass, 0 failbun run build:web: 873 pages built🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.