docs: document Agent Skills for the Cube AI agent#11007
Conversation
Add documentation for Agent Skills — reusable, named instruction packages the Cube AI agent runs on demand, authored as Markdown in the data model alongside rules and certified queries. Two pages, split by audience: - admin/ai/skills.mdx — authoring/config (developer-facing), parallel to rules and certified queries: file layout, frontmatter contract, YAML inlining, multi-agent space targeting, deploy/test flow, permissions. - docs/explore-analyze/skills.mdx — "Agent skills" (explorer/viewer-facing), next to Analytics Chat: skill buttons, the / menu, automatic matching, and the add-context-before-run UX. Wire both into docs.json, add a Skills card + bullet to the AI overview, and cross-link the two pages. Also establish docs-site guidance: /docs-mintlify is the active docs site and /docs is legacy/deprecated. Update root CLAUDE.md, add docs-mintlify/CLAUDE.md with Mintlify conventions, and mark docs/CLAUDE.md as deprecated. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Claude finished @keydunov's task in 1m 13s —— View job Code review — docs: document Agent SkillsReview summary — 0 high, 4 medium, 2 low (docs-only PR)Checklist
The split into authoring ( Medium1. Frontmatter required-ness contradicts itself between Markdown and YAML. 2. "Nested folders don't namespace" vs. multi-agent placement under 3. Directory tree in 4. Directory naming: Low5. 6. Slash-menu trigger wording ( Things that look good
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
- Describe skills as available across all agent surfaces (Analytics Chat, Workbooks, dashboards, IDE) instead of singling out Analytics Chat - Drop the viewer-page "How it works" progressive-disclosure internals - Remove the `instructions` frontmatter override row; the Markdown body is the sole source of instructions (instructions stay a YAML-inline-only key) - Soften the "no separate UI or database object" phrasing Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Claude finished @keydunov's task in 1m 34s —— View job Code review — refinements passVerdict: 0 high, 2 medium, 2 low. The author addressed the frontmatter contradiction (M1) and reworded the "anywhere you work with the agent" framing cleanly. A couple of items from the previous pass are still open. DetailsChecklist
Resolved since last pass
Still openM2 — Nested folders namespacing is still self-contradictory. M3 — L4 — Directory naming ( L6 — Slash-menu trigger wording ( Things that look good
|
Embed the skill `/` menu screenshot (hosted on static.cube.dev) before the "Running a skill" section on the viewer-facing Agent skills page. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Claude finished @keydunov's task in 1m 2s —— View job Code review — third passVerdict: 0 high, 2 medium, 2 low (docs-only). Same items as my prior pass remain open after the most recent commit; the resolved items stay resolved. DetailsChecklist
Resolved (and still resolved)
Still openM2 — Nested folders vs. multi-agent space placement (still contradictory). The second sentence is namespacing by folder for space attachment. Either call M3 — L4 — Directory naming. Author's own L6 — Slash-menu trigger wording. Things that look good
|
Check List
Description of Changes Made
Documents Agent Skills — reusable, named instruction packages the Cube AI agent runs on demand, authored as Markdown in the data model alongside rules and certified queries.
Two pages, split by audience
docs-mintlify/admin/ai/skills.mdx— Skills (authoring/config, developer-facing), parallel to Rules and Certified queries:agents/skills/file layout, frontmatter contract (title/descriptionrequired,name/instructionsoverrides), YAML inlining, multi-agent space targeting, deploy/test-on-a-branch flow, and permissions.docs-mintlify/docs/explore-analyze/skills.mdx— Agent skills (explorer/viewer-facing), next to Analytics Chat: running a skill via skill buttons, the/menu, and automatic matching, plus the add-context-before-run UX.Both are wired into
docs.json, the AI overview gets a Skills card + bullet, and the two pages cross-link.Docs-site guidance
Establishes that
/docs-mintlifyis the active docs site and/docsis legacy/deprecated:CLAUDE.mddocs-mintlify/CLAUDE.mdwith Mintlify conventionsdocs/CLAUDE.mdas deprecatedNotes for reviewers
mintlify broken-linksreports no broken links from the new pages.{/* TODO */}placeholders (skill buttons,/menu, the styled/skill-nametoken).agents/skills/directory and theskills/instructionsYAML keys are documented by analogy to rules/certified-queries — please confirm the exact frontmatter keys and override rules against the live runtime markdown parser before publishing.🤖 Generated with Claude Code