Skip to content

docs: document the discover-data-analysis Agent Builder skill (#6684)#6715

Open
florent-leborgne wants to merge 5 commits into
mainfrom
docs-issue-6684-discover-ai-deep-analysis
Open

docs: document the discover-data-analysis Agent Builder skill (#6684)#6715
florent-leborgne wants to merge 5 commits into
mainfrom
docs-issue-6684-discover-ai-deep-analysis

Conversation

@florent-leborgne
Copy link
Copy Markdown
Member

@florent-leborgne florent-leborgne commented May 26, 2026

Summary

This PR addresses #6684 with the following changes:

  • explore-analyze/discover/discover-get-started.md: Add a new ## Analyze your data with AI section covering the discover-data-analysis skill, the {{esql}}-only scope, the auto-attached query context, and the shape-specific guidance the agent receives when a context-aware profile (logs, metrics, traces) is active. Add a one-line pointer in the existing "Context-aware data exploration" section so readers landing there discover that the active profile also tailors AI deep analysis.
  • explore-analyze/ai-features/agent-builder/builtin-skills-reference.md: Add discover-data-analysis to the Platform skills list with its assigned tools and the activation note, cross-linked to the new Discover section.
  • explore-analyze/discover/try-esql.md: Add a one-line tip after "Refine an ES|QL query by interacting with the results table" pointing to the new AI deep analysis section, so readers learning ES|QL in Discover discover the feature too.

Sibling PRs incorporated

The issue links elastic/kibana#267454 (context-aware playbook contributions). Triangulating against the implementation file at HEAD surfaced two additional sibling PRs that materially affect the user-facing behavior:

Related work

This PR is complementary to #6714, which documents AI assistance inside the {{esql}} editor (generating {{esql}} from a // comment with cmd+J, and the ✨ Fix with AI action on validation errors). Together the two PRs cover the full AI-in-{{esql}} story: #6714 helps you write or fix the query, this PR helps you analyze the results.

The two PRs introduce new anchors that don't exist on main yet, so bidirectional cross-links between them are deferred. Whichever PR merges second should add the cross-link in a small follow-up commit before merge.

Resolves

Closes #6684


AI-generated draft — created with Claude Opus 4.7.
Review all generated content for factual accuracy before merging.

Add a new "Analyze your data with AI" section to the Discover get-started
page covering the discover-data-analysis skill, its ES|QL-only scope,
auto-launch behavior, and the shape-specific guidance derived from the
active context-aware profile (logs, metrics, traces). Register the skill
in the Agent Builder built-in skills reference under Platform skills.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions
Copy link
Copy Markdown
Contributor

Elastic Docs AI PR menu

Check the box to run an AI review for this pull request.

  • Review docs changes (docs-review). Status: not started.

Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 26, 2026

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 26, 2026

Elastic Docs Style Checker (Vale)

Summary: 2 suggestions found

💡 Suggestions (2): Optional style improvements. Apply when helpful.
File Line Rule Message
explore-analyze/discover/discover-get-started.md 36 Elastic.WordChoice Consider using 'can, might' instead of 'may', unless the term is in the UI.
explore-analyze/discover/discover-get-started.md 36 Elastic.Semicolons Use semicolons judiciously.

The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

Comment thread explore-analyze/ai-features/agent-builder/builtin-skills-reference.md Outdated
Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread explore-analyze/ai-features/agent-builder/builtin-skills-reference.md Outdated
Co-authored-by: Cursor <cursoragent@cursor.com>
Copy link
Copy Markdown
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

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

Thank you for adding this to the docs! It is not easily discoverable!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Get context-aware AI deep analysis in Discover

2 participants