Skip to content

[docs] docs: unbloat SpecOps pattern page#23204

Merged
pelikhan merged 1 commit intomainfrom
docs/unbloat-spec-ops-6ab72ed1f4cbd71a
Mar 27, 2026
Merged

[docs] docs: unbloat SpecOps pattern page#23204
pelikhan merged 1 commit intomainfrom
docs/unbloat-spec-ops-6ab72ed1f4cbd71a

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Removes ~19% of content from docs/src/content/docs/patterns/spec-ops.md (173 → 141 lines, 48 deletions / 15 insertions).

What was removed

  • Redundant intro list — "Use SpecOps when you need to:" repeated concepts already in the opening sentence; merged into the paragraph.
  • Verbose "How SpecOps Works" steps — 5 long-winded steps with trailing summary sentence condensed into 4 concise numbered items.
  • Redundant sentence — "The agent applies RFC 2119 keywords, updates semantic versioning, and creates a pull request" (restated the surrounding code example).
  • Bloated "Specification Structure" section — three-bullet "Required Sections" list converted to inline prose.
  • Duplicate "Example: MCP Gateway" section — three bullets restating information already mentioned in the text; replaced with a single sentence linking to the live example.
  • "References" section — all three links were already present inline in the page body; removed to avoid duplication.
  • Semver bullets → table — the three-item list converted to a compact two-column table.

Screenshot

⚠️ Screenshots unavailable — the Astro dev server requires Node.js >=22 but the CI environment provides Node.js v20. The rendered page structure is unchanged (no layout modifications, only content reduction).

References:

🗜️ Compressed by Documentation Unbloat ·

  • expires on Mar 29, 2026, 3:51 AM UTC

Remove 32 lines of redundant content: merged the "Use SpecOps when"
list into the intro, condensed the 5-step overview, collapsed repeated
"Specification Structure" bullets into prose, converted the semver list
to a table, combined the MCP Gateway example into one sentence, and
removed the "References" section (links already appear inline).

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 27, 2026
@pelikhan pelikhan marked this pull request as ready for review March 27, 2026 18:00
Copilot AI review requested due to automatic review settings March 27, 2026 18:00
@pelikhan pelikhan merged commit 88ba4f6 into main Mar 27, 2026
@pelikhan pelikhan deleted the docs/unbloat-spec-ops-6ab72ed1f4cbd71a branch March 27, 2026 18:00
Copy link
Copy Markdown
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 and streamlines the SpecOps pattern documentation to remove redundancy while keeping the overall page structure intact.

Changes:

  • Condenses the introduction and “How SpecOps Works” section for brevity.
  • Removes duplicative explanatory sentences/sections and consolidates “Specification Structure” into inline prose.
  • Reformats the semantic versioning guidance from bullets into a compact table and trims the MCP Gateway example section.

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

- Maintain formal technical specifications
- Keep specifications synchronized across multiple repositories
- Ensure implementations stay compliant with specification updates
SpecOps is a pattern for maintaining formal specifications using agentic workflows. It leverages the [`w3c-specification-writer` agent](https://github.com/github/gh-aw/blob/main/.github/agents/w3c-specification-writer.agent.md) to create W3C-style specifications with RFC 2119 keywords (MUST, SHALL, SHOULD, MAY) and automatically propagates changes to consuming implementations across repositories.
Copy link

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

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

The PR description says the removed “References” section was duplicative because all three links were already present inline, but this page no longer links to RFC 2119 anywhere (only mentions “RFC 2119 keywords”). Consider adding a single inline link to RFC 2119 on first mention (or keeping a minimal references block) so readers can navigate to the normative definition.

Copilot uses AI. Check for mistakes.
## Specification Structure

W3C-style specifications follow a formal structure:
W3C-style specifications require: Abstract, Status, Introduction, Conformance, numbered technical sections with RFC 2119 keywords, Compliance testing, References, and a Change log.
Copy link

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

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

Inconsistent capitalization for the section name: earlier the doc refers to a “Change Log” section, but here it says “Change log”. Consider standardizing the casing (e.g., “Change Log”) to match the rest of the page.

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