AppBuilderSdk: Skill for Claude Code

.claude/skills/custom-component/SKILL.md

custom-component is a skill for Claude Code from shapediver/AppBuilderSdk. It costs 55 tokens per session (2,219 once invoked), scanned A, original, MIT.

A pattern for building React components whose visual defaults come from a shared Mantine theme. React is a JavaScript library for building user interfaces, and Mantine is a React component library.

In plain words
What is it for?
Use it when adding or changing themed React components, registering their theme settings, documenting their props, and generating component documentation.
Why use it?
It keeps style choices in the application theme, so teams can adjust visual defaults without changing each component's implementation.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is shapediver/AppBuilderSdk's own configuration. It tells Claude Code how to work on AppBuilderSdk itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything AppBuilderSdk configures →

Reuse

Borrowing it

Nothing to install: this file belongs to shapediver/AppBuilderSdk. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/shapediver/AppBuilderSdk/development/.claude/skills/custom-component/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/shapediver/AppBuilderSdk

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for custom-component

README.md
[![agentmods](https://agentmods.dev/badge/skills/shapediver/appbuildersdk/custom-component/github.svg)](https://agentmods.dev/skills/shapediver/appbuildersdk/custom-component)
Your own site
<a href="https://agentmods.dev/skills/shapediver/appbuildersdk/custom-component"><img src="https://agentmods.dev/badge/skills/shapediver/appbuildersdk/custom-component/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for custom-component

Your own site · 80×15
<a href="https://agentmods.dev/skills/shapediver/appbuildersdk/custom-component"><img src="https://agentmods.dev/badge/skills/shapediver/appbuildersdk/custom-component.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,219 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.02219
Opus 5.5 $0.00022 $0.00888
Sonnet 5.5 $0.00011 $0.00444
Haiku 4.5 $0.00006 $0.00222

Measured today against content hash 9f165a3a7a7b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

custom-component scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/custom-component/SKILL.md · 314 lines

How it starts

The opening of the file, as written. The whole thing — 314 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Custom Component Props Pattern

Overview

Components use Mantine’s useProps hook to read style-oriented defaults from the centralized application theme. Visual behavior can be adjusted via theme configuration without changing component code.

Pattern structure

1. Inside the component

Every component that follows this pattern should:

import { useProps } from "@mantine/core";

// Define default style props
const defaultStyleProps = {
  buttonProps: { variant: 'contained' as const },
  downloadTooltipProps: { placement: 'top' as const },
  // ... other style props
};

export default function ComponentName(props: ComponentProps) {
  // Resolve style props with useProps
  const {
    buttonProps,
    downloadTooltipProps,
    downloadButtonProps,
    parameterValues,
    ...rest
  } = useProps("ComponentName", defaultStyleProps, props);

  // Use the resolved props in JSX
  return (
    <Tooltip {...downloadTooltipProps}>
      <Button {...buttonProps}>
        {/* component content */}
      </Button>
    </Tooltip>
  );
}

useProps arguments:

  1. "ComponentName" — exact component id (string identifier).
  2. defaultStyleProps — default values for style props.
  3. props — incoming component props (override theme values).

2. In useCustomTheme.ts

Register overrides for the component under components in src/shared/shared/ui/theme/useCustomTheme.ts:

export const customTheme: MantineThemeOverride = {
  components: {
    /**
     * ExportButtonComponent
     *
     * Component for export functionality
     */
    ExportButtonComponent: ExportButtonComponentThemeProps({
      // buttonProps: {
      //   variant: "light",
      //   fullWidth: true,
      // },
      // downloadTooltipProps: {
      //   label: "Download file",
      //   position: "top",
      // },
    }),
  }
};

Rules for custom components

1. Naming convention

  • Component: ComponentName (PascalCase).
  • useProps id: must match the component name exactly.
  • Theme props type: ComponentNameThemeProps or ComponentNameThemePropsType.
  • Theme factory: ComponentNameThemeProps() registered in useCustomTheme.ts.

Read the full file on GitHub · 314 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 314 lines · 55 tokens per session scan A 9f165a3a7a7b

Subscribe to this mod's changes

custom-component is a skill published in the GitHub repository shapediver/AppBuilderSdk (15 stars, last pushed today), licensed MIT. It adds 55 tokens to every session and 2,219 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-13.

Related

custom-component compared with skills from other repositories

custom-component next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
custom-componentshapediver/AppBuilderSdkSkill15todayMITA55Claude Code
crypto-market-dashboard-guidenirholas/three.wsSkill278todayApache-2.0A49Claude Code, Codex
sceneproofReyJ94/SceneProofSkill439d agoMITA66Claude Code, Codex
semaframe-engineriseagain1/semaframeSkill6yesterdayMITA99Codex
threejs-engineerbuiphucminhtam/forgewrightSkill493d agononeA65Claude Code
hudShellishack/3d-web-game-dev-skillsSkill65mo agoMITA0Claude Code, Codex
threejs-ai-skillluisnavarrete12/threejs-ai-skillSkill24mo agoMITA213Claude Code, Codex