Skip to content

[docs] docs: reduce bloat in data-ops.md#20437

Merged
pelikhan merged 1 commit intomainfrom
docs/unbloat-data-ops-afe49c473779a6e5
Mar 11, 2026
Merged

[docs] docs: reduce bloat in data-ops.md#20437
pelikhan merged 1 commit intomainfrom
docs/unbloat-data-ops-afe49c473779a6e5

Conversation

@github-actions
Copy link
Contributor

Reduces documentation bloat in docs/src/content/docs/patterns/data-ops.md by 24% (249 → 188 lines, -61 lines).

File Improved

docs/src/content/docs/patterns/data-ops.md

Types of Bloat Removed

  1. Structural redundancy — The intro paragraph and the "Separation of Concerns" subsection described the same two-phase concept in nearly identical language. Merged into a single concise opening sentence that incorporates the "When to Use" use-cases inline (-17 lines).

  2. Verbose example agent prompt — The PR Activity Summary example had a four-section agent prompt (## Available Data, ## Your Task with nested bullet lists, and ## Report Format with a full markdown output template). Replaced with a concise, realistic prompt that demonstrates good practice without over-engineering (-30 lines).

  3. Padded Best Practices — Five verbose bold-paragraph items rewritten as a tight bullet list with no information loss (-7 lines).

Changes Summary

Section Before After
Intro + "When to Use" + "Separation of Concerns" ~28 lines ~3 lines
Example agent prompt ~43 lines ~8 lines
Best Practices ~14 lines ~7 lines
Total 249 lines 188 lines

Screenshots

Screenshots could not be captured in this run due to network sandbox restrictions preventing Playwright from accessing the preview server (connection refused to localhost:4321 and timeout for the container network IP). The docs build completed successfully with all internal links valid.

References:

🗜️ Compressed by Documentation Unbloat ·

  • expires on Mar 13, 2026, 12:11 AM UTC

Remove structural redundancy between intro and "Separation of Concerns"
section, simplify verbose example agent prompt, and condense "Best
Practices" into a compact bullet list. Reduces file from 249 to 188
lines while preserving all essential information.

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 11, 2026
@pelikhan pelikhan marked this pull request as ready for review March 11, 2026 00:36
Copilot AI review requested due to automatic review settings March 11, 2026 00:36
@pelikhan pelikhan merged commit 231a9f8 into main Mar 11, 2026
@pelikhan pelikhan deleted the docs/unbloat-data-ops-afe49c473779a6e5 branch March 11, 2026 00:36
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

Reduces verbosity in the DataOps documentation by consolidating redundant explanations, shortening an example agent prompt, and tightening best-practice guidance.

Changes:

  • Condensed the intro/“when to use” guidance into a single, more compact opening paragraph.
  • Simplified the PR Activity Summary example prompt to a shorter, more realistic instruction set.
  • Rewrote “Best Practices” as a concise bullet list.

💡 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.

Comment on lines +116 to 117
Create a discussion summarizing: total PRs, merge rate, code changes (+/- lines), top contributors, and any notable trends. Keep it concise and factual.
````
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

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

The Weekly PR Summary example still uses a 4-backtick fence (aw wrap … ) but it no longer contains nested triple-backtick blocks. Consider switching to a standard 3-backtick fence for consistency with the other examples in this doc and to avoid confusing future edits.

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.

2 participants