Agent skill

New Component

by developermithu in developermithu/tallcraftui

Add a new TallCraftUI Blade component end-to-end (class with inline template, color/size traits, config defaults, provider registration, docs reminder).

MITAuto-check passedBackend & APIs

Install New Component

skills CLI
$ npx skills add developermithu/tallcraftui --skill new-component -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install developermithu/tallcraftui new-component --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/developermithu/tallcraftui.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/new-component .claude/skills/new-component && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
new-component
GitHub stars
169
Token cost
~581 tokens
SKILL.md length
220 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Add a new TallCraftUI Blade component end-to-end (class with inline template, color/size traits, config defaults, provider registration, docs reminder).

  • Works in 6 steps: Class — src/View/Components/.php (or a… → Traits (only if the component has… → Config defaults — add '' => [...] to… → …
  • Creating a new component
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Backend development

What it does

New Component is an agent skill from developermithu/tallcraftui. Add a new TallCraftUI Blade component end-to-end (class with inline template, color/size traits, config defaults, provider registration, docs reminder). Use when creating a new component or variant family.

Its SKILL.md is about 580 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Backend development. It works with Laravel, Tailwind CSS and PHP. The repository describes itself as: TallCraftUI is a Laravel blade UI components library built on TALL stack (TailwindCSS, Alpine.js, Laravel, Livewire). The licence is MIT.

When your agent uses it

  • Creating a new component
  • Tasks that involve Backend development

Example prompts

  • “/new-component”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Class — src/View/Components/.php (or a subfolder like Card/ for compound components), extending Illuminate\View\Component.
  2. Traits (only if the component has variants)
  3. Config defaults — add '' => [...] to config/tallcraftui.php using Enum ->values from src/Enums/, and read them through the matching helper…
  4. Register — import the class and add '' => ::class to the $components map in src/TallCraftUiServiceProvider.php. If other components will…
  5. Format — vendor/bin/pint on the new/changed files only.
  6. Hand-off — give the user a Blade snippet exercising the default, a couple of color/size variants, dark mode, and a custom class, to try in…

What it can do on your machine

Read from SKILL.md and the folder at commit 79514c0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

New Component loads about 581 tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 220 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~581

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from developermithu/tallcraftui at commit 79514c0, republished under its MIT licence (© developermithu). 220 words, ~581 tokens.

Download SKILL.mdSave it as .claude/skills/new-component/SKILL.md (or your agent's skills folder).
name
new-component
description
Add a new TallCraftUI Blade component end-to-end (class with inline template, color/size traits, config defaults, provider registration, docs reminder). Use when creating a new component or variant family.

Add the component named in $ARGUMENTS (kebab-case, e.g. chip). Use src/View/Components/Badge.php and its traits as the reference implementation.

  1. Class — src/View/Components/<StudlyName>.php (or a subfolder like Card/ for compound components), extending Illuminate\View\Component.

    • Constructor props for real data (label, icon, iconLeft, iconRight, …). Variants are NOT props — they're boolean attributes.
    • render() returns an inline nowdoc <<<'HTML' ... HTML; template. No Blade view files.
    • Root element: $attributes->withoutTwMergeClasses()->except($colorAttributes)->twMerge([...base, $getSizeClasses(), $getColorClasses(), $roundedClass()]).
    • Sub-elements: $attributes->twMergeFor('icon', ...).
    • Nest other components via tc- aliases (<x-tc-icon> etc.).
    • Labels rendered as {{ $label ? __($label) : $slot }}.
  2. Traits (only if the component has variants):

    • src/Traits/Colors/Has<Name>Colors.php — use HasColorAttributes;, match (true) on $this->attributes->get('<color>'). Every color class needs a dark: variant; default to primary.
    • src/Traits/Sizes/Has<Name>Sizes.php — same pattern for xs/sm/md/lg/xl.
    • Keep all Tailwind class strings literal (Tailwind scans these PHP files).
  3. Config defaults — add '<name>' => [...] to config/tallcraftui.php using Enum ->values from src/Enums/, and read them through the matching helper in src/Helpers/ (e.g. BorderRadiusHelper::getRoundedClass('<name>', $this->attributes)).

  4. Register — import the class and add '<name>' => <Class>::class to the $components map in src/TallCraftUiServiceProvider.php. If other components will nest it, also add Blade::component('tc-<name>', <Class>::class);.

  5. Format — vendor/bin/pint on the new/changed files only.

  6. Hand-off — give the user a Blade snippet exercising the default, a couple of color/size variants, dark mode, and a custom class, to try in their local Herd app. Remind them to add a docs page in the separate docs repo.

© developermithu, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/new-component of developermithu/tallcraftui.

Open the folder on GitHubat commit 79514c0

Compare with similar skills

New Component next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

New Component compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
New Component this skilldevelopermithu/tallcraftui169—~581Automated safety check: PassMIT
MCP Developmentcoollabsio/coolify63k1 repos~949Automated safety check: PassMIT
Spa Auth Developmentgdarko/laravel-vue-starter145—~668Automated safety check: NotesMIT
Moox Auditmooxphp/moox157—~1.1kAutomated safety check: PassMIT
Yao Geoflow Templateyaojingang/yao-geo-skills868—~433Automated safety check: PassMIT
Configuring Horizoncoollabsio/coolify63k4 repos~898Automated safety check: PassMIT

Similar skills

  • MCP Development

    coollabsio/coolify

    A skill your agent uses for Laravel MCP development. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 1 repo~949 tokens
    Frontend & DesignAuto-check passed
  • Spa Auth Development

    gdarko/laravel-vue-starter

    Activate when working on SPA authentication flow, Sanctum cookie-based auth, Vue Router guards, auth store, login/register/password reset pages, or CORS/session configuration.

    145 GitHub stars~668 tokensUpdated 6 mo ago
    Backend & APIsAuto-check: notes
  • Moox Audit

    mooxphp/moox

    Integrates moox/audit activity logging into Moox consumer packages (config, ServiceProvider, Filament, hooks, tests).

    157 GitHub stars~1.1k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Yao Geoflow Template

    yaojingang/yao-geo-skills

    Use only for explicit legacy GEOFlow template skill questions, old PHP template-package contracts, or historical outputs using root index.php/article.php/category.php/archive.php and includes/.php.

    868 GitHub stars~433 tokensUpdated 7 days ago
    Backend & APIsAuto-check passed
  • Configuring Horizon

    coollabsio/coolify

    A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.

    63k GitHub starsUsed in 4 repos~898 tokens
    Backend & APIsAuto-check passed
  • Fortify Development

    coollabsio/coolify

    ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 4 repos~1.9k tokens
    Backend & APIsAuto-check passed

Questions about New Component

What does New Component do?

Add a new TallCraftUI Blade component end-to-end (class with inline template, color/size traits, config defaults, provider registration, docs reminder). New Component is an agent skill from developermithu/tallcraftui. Add a new TallCraftUI Blade component end-to-end (class with inline template, color/size traits, config defaults, provider registration, docs reminder).

When should I use New Component?

New Component fits situations like: creating a new component; tasks that involve Backend development.

How do I install New Component in Claude Code?

Run `npx skills add developermithu/tallcraftui --skill new-component -a claude-code`. Or copy the skill folder (.claude/skills/new-component in developermithu/tallcraftui) into .claude/skills/new-component in your project. Claude Code loads it when a task matches its description.

How do I install New Component in Codex?

Run `npx skills add developermithu/tallcraftui --skill new-component -a codex`. Or copy the skill folder (.claude/skills/new-component in developermithu/tallcraftui) into .agents/skills/new-component in your project. Codex loads it when a task matches its description.

Can I use New Component in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add developermithu/tallcraftui --skill new-component -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/new-component, .gemini/skills/new-component, .github/skills/new-component and .opencode/skills/new-component in your project.

What does New Component need to run?

SKILL.md names no scripts, command-line tools or credentials: New Component is instructions for the agent only.

Does New Component access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is New Component safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does New Component use?

New Component is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does New Component use?

About 581 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to New Component?

Skills that share tags, products or a category with New Component: MCP Development (coollabsio/coolify, 63k stars), Spa Auth Development (gdarko/laravel-vue-starter, 145 stars), Moox Audit (mooxphp/moox, 157 stars) and Yao Geoflow Template (yaojingang/yao-geo-skills, 868 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains New Component?

developermithu (a GitHub user) maintains it in developermithu/tallcraftui, which has 169 GitHub stars. The repository was last updated on October 3, 2026.

Source: developermithu/tallcraftui on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.