Skip to content
Back to skills

Content Ops Inspect Code

ASecurity

Explain what a Sitecore component accepts - its fields, children, placeholder, theme support, and any limits visible in the head app code - from catalog.json and the component source. Read-only. Use when someone asks what fields does X have, how many panels or cards fit, is there an image, where is the code for this component, or when a mapping needs a field name.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentsnode

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add VivekHZTL/hztl-content-ops --skill content-ops-inspect-code --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Content Ops Inspect Code?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Content Ops Inspect Code
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vivekhztl-content-ops-inspect-code/badge)](https://www.skillsdirectory.com/skills/vivekhztl-content-ops-inspect-code)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: content-ops-inspect-code
description: Explain what a Sitecore component accepts - its fields, children, placeholder, theme support, and any limits visible in the head app code - from catalog.json and the component source. Read-only. Use when someone asks what fields does X have, how many panels or cards fit, is there an image, where is the code for this component, or when a mapping needs a field name.
---

# Inspect a component

Answer "what can this component hold?" from two sources, in this order, read-only.

1. `.content-ops/catalog.json` → `components.<key>`: `name`, `ph` (hero, main, or the parent's child
   placeholder), `themed`, `fields` (name and Sitecore type), `children`, `childPh`, `dsTemplateName`,
   `codePath`. If the key is unknown, list the closest names. No `catalog.json` yet: run
   `node "<bin>" catalog show --env <env>`, which builds it from the site first (read-only), then answer.
2. The component file at `codePath` (relative to `project.repoRoot`), plus any `*.PLAN.md` beside it. No repo or
   no `codePath` (common when someone only has credentials): answer from the catalog alone and say the code was
   not checked.
   Look for: maximum items or slices (`slice(0, 5)`, `max`), required props, image handling, variants
   (`FieldNames`), theme params. Quote the line you base a limit on.

Output a table: field, type, what it is for (plain words), notes (limit, required, link vs text).
Then children, if any, the same way. Never edit code. If the code and the catalog disagree (a field in
code the catalog does not list), say so: the catalog comes from the CM and wins for what can be written.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.