Provides best practices for retrieving content in Xperience by Kentico using IContentRetriever and ContentItemQueryBuilder. Covers performance optimization and converting selector selections to data.
Ships in kentico-web-development. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill is a map, not a manual — the decision rules below, then pointers to the docs and API reference for the details. Prefer the linked references over reconstructing API signatures from memory.
references/content-retrieval-docs.md — the documentation map: every relevant docs page and the API reference, each with a "when to read" hint.references/performance.md — how to keep retrieval fast under load and the known API limitations. Read this before setting any linked-items depth above 0, writing a custom query, or diagnosing a page that's slow under load.Two APIs read published content. Reach for IContentRetriever first; drop to the content item query API only when you outgrow it.
IContentRetriever (Kentico.Content.Web.Mvc, injected via DI) — the default for almost all retrieval. It supplies the defaults you usually want (language fallback, preview, URL paths, linked-item depth), caches results implicitly, and exposes every default as an override hook — so advanced filtering/ordering/tags/smart folders is not a reason to leave it.
Content item query API (ContentItemQueryBuilder + IContentQueryExecutor, CMS.ContentEngine) — the same engine with nothing pre-decided and no implicit caching. Reach for it only for advanced query composition the retriever's hooks can't express.
Non-content objects (users, settings, custom module classes) — use the ObjectQuery API; neither content API applies.
Combined content selector returns ContentItemGUIDs (even for pages) → load with RetrieveContent*ByGuids. Page selector returns WebPageItemGUIDs → load with RetrieveAllPagesByGuids/RetrievePagesByGuids.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
content-retrieval, kentico, xperience, best-practices, performance
6 skills in this plugin
/agentifyAudits an Xperience by Kentico project for agentic-development readiness and reports how well it follows Kentico's AI-assisted-development best practices, flagging gaps and applying fixes on request. Use when the user wants to set up, prepare, or assess an XbyK project for AI coding assistants./design-to-contentReference for content modeling in Xperience by Kentico. Proactively read this before designing content types, turning a design/wireframe/Figma into a content model, deciding structured vs unstructured content, planning reusable content, taxonomies, relationships between types, or Page Builder modeling./design-validationValidates a live Xperience by Kentico site against static HTML designs — a bundled Playwright script compares each design page with the rendered live page (content, structure, computed styles), and each difference is classified as a content, serving, or styling issue with the root cause and fix location identified. Use when asked to validate, QA, or compare pages against a design/mockup/static HTML, or why a page differs from the design; also proactively after changing a page, template, widget, view component, or stylesheet when a design for it exists./page-builder-structureKnowledge and conventions for Page Builder structure in Xperience by Kentico — sections (widget-zone layouts) and page templates (full-page layouts), including registration, properties, widget zones, default sections, and editable areas. Proactively read this before creating or modifying Page Builder sections or page templates, or setting up Page Builder layout structure./page-builder-widgetsKnowledge and conventions for building and modifying Page Builder widgets in Xperience by Kentico — view component, properties with admin UI form components, view model, Razor view, registration, localization, and content retrieval. Proactively read this before creating, building, or modifying a Page Builder widget./kentico-web-development:content-retrievalfrom kentico-web-development
npx claudepluginhub kentico/xperience-by-kentico-kenticopilot --plugin kentico-web-developmentOther plugins' skills for the same job