.agents/skills/ncdai-registry-block-classifier/SKILL.md
Classify blocks into appropriate categories (Marketing, Content, Application) and write concise, descriptive block descriptions. Use when creating new blocks, updating block metadata, or organizing the blocks registry.
npx skillsauth add ncdai/chanhdai.com ncdai-registry-block-classifierInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Guide for categorizing blocks and writing effective descriptions in the shadcn blocks registry.
The registry uses a two-level categorization approach:
| Category | Purpose | Examples | | --------------- | ------------------------------------------------ | ------------------------ | | marketing | Landing pages, hero sections, testimonials, CTAs | hero-01, testimonials-01 | | content | Blog layouts, article pages, documentation | blog-01, blog-02 | | application | Dashboards, login/signup, app layouts, sidebars | login-01, dashboard-01 |
Use dual categories: [main-category, specific-type]
// Example
categories: ["marketing", "hero"]
categories: ["content", "blog"]
categories: ["application", "login"]
When classifying a new block, ask:
1. Is it public-facing marketing/landing content?
["marketing", "hero"]["marketing", "testimonials"]["marketing", "cta"]["marketing", "pricing"]2. Is it content/editorial focused?
["content", "blog"]["content", "article"]["content", "docs"]3. Is it application/internal UI?
["application", "login"] / ["application", "signup"]["application", "dashboard"]["application", "sidebar"]["application", "settings"]Edge cases:
["ecommerce", "product"] when > 5 ecommerce blocks existPattern: A [type] [with/featuring] [key distinguishing feature].
Good descriptions:
"A hero section with a golden spiral background."
"A blog section with a grid layout."
"A blog section with a lined grid layout."
"A login form with social auth buttons."
"A testimonials section with dual marquees."
Bad descriptions:
"Hero section" // Too generic
"A beautiful hero section that will make your landing page look amazing" // Too marketing-y
"This is a hero section component that you can use on your website" // Obvious and verbose
When creating or updating a block:
{
name: "block-name",
title: "Block Name",
description: "A [type] with [feature].",
categories: ["main-category", "specific-type"],
// ... rest of config
}
pnpm registry:build
When to add new main categories:
Future category candidates:
ecommerce - When building product pages, cart, checkoutdashboard - If application blocks split (> 15+ app blocks)Don't create categories for:
| File | Purpose | Edit? |
| ---------------------------------- | -------------------- | ----------------------- |
| src/registry/blocks/_registry.ts | Block definitions | ✅ Yes |
| src/config/registry.ts | Category definitions | ✅ Yes |
| src/__registry__/*.json | Auto-generated | ❌ No - rebuild instead |
| public/r/*.json | Auto-generated | ❌ No - rebuild instead |
After updating registry definitions, always run pnpm registry:build.
testing
Write and review component documentation (MDX) and registry descriptions. Covers doc structure, description writing, Features, and Composition sections. Use when creating new component docs, updating descriptions, adding Features sections, adding Composition sections, or reviewing component documentation quality.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.