Repository navigation
feat: add check-contradictions skill to docs PR review AW - #278
Merged
Merged
Conversation
Imports elastic/elastic-docs-skills/skills/review/check-contradictions and adds Step 4 to the review workflow. After the standard per-file review the agent runs docs-check-contradictions on each eligible changed file to find factual conflicts — both in the local repo and across all published Elastic docs via the MCP server. High-severity contradictions become inline review comments; medium/low are summarised in a new "Contradictions" line in the review body. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
reakaleek
approved these changes
Aug 11, 2026
…k step Adds MCP-specific guidance to Step 4: use elastic-docs.search_docs, find_related_docs, get_document_by_url (with includeBody: true), and find_docs_inconsistencies for the cross-repo search when the MCP server is available. Falls back to WebFetch when it is not. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Merged
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.
Summary
elastic/elastic-docs-skills/skills/review/check-contradictionsinto the docs PR review AWWhat the skill does
docs-check-contradictionsdetects factual conflicts between newly changed docs and existing content, searching in two places:Grep/Glob— catches conflicts in the same checkout, including unpublished in-flight contentIt categorises findings by severity (High / Medium / Low) and direction of likely fix (
Review draft/Review existing/Verify both).How findings are surfaced
Contradictionsline of the review bodyTest plan
🤖 Generated with Claude Code
Related to #402