Skip to content

[docs] docs: consolidate repetitive engine sections in engines.md#19779

Merged
pelikhan merged 2 commits intomainfrom
docs/unbloat-engines-54f8afe845e62324
Mar 6, 2026
Merged

[docs] docs: consolidate repetitive engine sections in engines.md#19779
pelikhan merged 2 commits intomainfrom
docs/unbloat-engines-54f8afe845e62324

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 6, 2026

Cleans up docs/src/content/docs/reference/engines.md by replacing four near-identical "Using X" sections with a single comparison table.

What changed

File improved: docs/src/content/docs/reference/engines.md

Bloat removed:

  • Eliminated the "Available Coding Agents" bullet list that duplicated section headings
  • Replaced 4 separate "Using Copilot / Claude / Codex / Gemini" sections (each with the same 2-step structure) with a single table
  • Removed duplicated "Copilot CLI is the default" statement (was stated twice)
  • Removed a list of "Common uses" from the Args section (redundant with the example's inline comments)
  • Removed a list of path format types from Custom Engine Command (self-evident)

Supporting fixes (broken links from removed anchors):

  • Updated 3 links in auth.mdx from old section anchors to #available-coding-agents
  • Updated 1 link in faq.md from old section anchor to #available-coding-agents

Metrics

Metric Before After
Lines 141 95
Reduction 33% (-46 lines)
Information lost None

Build verification

npm run build passes with All internal links are valid.

Screenshots

Screenshots could not be captured in this run — Playwright was unable to connect to the local preview server due to the network sandbox/firewall constraints in this environment.

References: §22742422309

🗜️ Compressed by Documentation Unbloat ·

  • expires on Mar 8, 2026, 12:17 AM UTC


✨ PR Review Safe Output Test - Run 22743892947

💥 [THE END] — Illustrated by Smoke Claude ·

Replace four identical "Using X" sections with a concise table,
removing ~46 lines of bloated repetitive content while preserving
all links, frontmatter values, and auth doc references.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added automation documentation Improvements or additions to documentation labels Mar 6, 2026
@pelikhan pelikhan marked this pull request as ready for review March 6, 2026 02:50
Copilot AI review requested due to automatic review settings March 6, 2026 02:50
@pelikhan pelikhan merged commit f10c144 into main Mar 6, 2026
2 checks passed
@pelikhan pelikhan deleted the docs/unbloat-engines-54f8afe845e62324 branch March 6, 2026 02:50
Copy link
Contributor

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

Consolidates the AI engine selection documentation by replacing repetitive per-engine “Using X” sections with a single comparison table, and updates internal links that referenced the removed anchors.

Changes:

  • Replaced four near-identical “Using …” sections in engines.md with a single engine/secret comparison table.
  • Trimmed redundant explanatory bullets in engines.md (args/common uses, command path formats, duplicated “default” notes).
  • Updated internal links in auth.mdx and faq.md to point at the new #available-coding-agents anchor.

Reviewed changes

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

File Description
docs/src/content/docs/reference/engines.md Consolidates engine setup into a single table and removes duplicated/redundant sections.
docs/src/content/docs/reference/auth.mdx Updates “See also” links to the new engines anchor after section removal.
docs/src/content/docs/reference/faq.md Fixes a reference link to the engines page after anchor removal.
Comments suppressed due to low confidence (2)

docs/src/content/docs/reference/auth.mdx:112

  • This link text claims the AI Engines page contains “additional configuration needed when using Claude with GitHub MCP”, but that section now only lists engines/secrets and doesn’t describe MCP-specific setup. Update the link target (e.g., to the MCP guide / Tools docs) or adjust the sentence so it doesn’t promise content that isn’t present.
See also [AI Engines](/gh-aw/reference/engines/#available-coding-agents) for additional configuration needed when using Claude with GitHub MCP.

docs/src/content/docs/reference/auth.mdx:130

  • This “See also” sentence says the AI Engines page provides “additional configuration needed when using Codex with GitHub MCP”, but the engines page no longer includes MCP-specific configuration details. Either point to the MCP/Tools documentation that covers that setup, or reword this so it’s not misleading.
See also [AI Engines](/gh-aw/reference/engines/#available-coding-agents) for additional configuration needed when using Codex with GitHub MCP.

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

You can also share your feedback on Copilot code review. Take the survey.

```

See also [Using Gemini](/gh-aw/reference/engines/#using-google-gemini-cli) for additional configuration needed when using Gemini with GitHub MCP.
See also [AI Engines](/gh-aw/reference/engines/#available-coding-agents) for additional configuration needed when using Gemini with GitHub MCP.
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

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

This “See also” line implies the AI Engines page includes “additional configuration needed when using Gemini with GitHub MCP”, but the engines page doesn’t describe MCP-specific setup anymore. Please either link directly to the MCP/Tools docs that cover the configuration, or soften the wording to match what the target page actually contains.

This issue also appears in the following locations of the same file:

  • line 112
  • line 130

Copilot uses AI. Check for mistakes.
Comment on lines +12 to 13
Set `engine:` in your workflow frontmatter and configure the corresponding secret:

Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

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

The guidance is slightly self-contradictory: it says to set engine: in workflow frontmatter, but a few lines later notes engine: can be omitted for Copilot (the default). Consider rephrasing to clarify that engine: is optional and only required when selecting a non-default engine, while the secret still must be configured.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants