upgrade-theme-v6-to-v7

upgrade-theme-v6-to-v7 is a skill for Claude Code, Codex from Power-Components/livewire-powergrid. It costs 52 tokens per session (3,469 once invoked), scanned A, original, MIT.

A migration guide for converting a PowerGrid v6 theme to the v7 theme structure. PowerGrid is a Laravel package for interactive data tables, while a theme defines their visual styles.

In plain words
What is it for?
It helps map old table, header, checkbox, search, and filter settings into the v7 builder structure, add the required style methods, and check that all base theme settings are covered.
Why use it?
It helps update older themes whose style settings use the v6 format so they work with the v7 format without losing existing component styling.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is composer test # runs ./vendor/bin/pest --compact (see composer.json scripts).

Good fit It helps map old table, header, checkbox, search, and filter settings into the v7 builder structure, add the required style methods, and check that all base theme settings are covered.

Compare 6 skills from other repositories ↓
About the project

Livewire PowerGrid is a Laravel package for creating configurable data tables in web applications. Laravel developers use it for tables with searching, filtering, sorting, editing, bulk actions, pagination, and data export. The catalogue add-ons support work with this package.

Power-Components/livewire-powergrid · 1,694 stars · on GitHub · livewire-powergrid.com

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Power-Components/livewire-powergrid
agentmods
npx agentmods add skills/power-components/livewire-powergrid/upgrade-theme-v6-to-v7

Made for: Claude Code, Codex.

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 upgrade-theme-v6-to-v7

README.md
[![agentmods](https://agentmods.dev/badge/skills/power-components/livewire-powergrid/upgrade-theme-v6-to-v7/github.svg)](https://agentmods.dev/skills/power-components/livewire-powergrid/upgrade-theme-v6-to-v7)
Your own site
<a href="https://agentmods.dev/skills/power-components/livewire-powergrid/upgrade-theme-v6-to-v7"><img src="https://agentmods.dev/badge/skills/power-components/livewire-powergrid/upgrade-theme-v6-to-v7/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 upgrade-theme-v6-to-v7

Your own site · 80×15
<a href="https://agentmods.dev/skills/power-components/livewire-powergrid/upgrade-theme-v6-to-v7"><img src="https://agentmods.dev/badge/skills/power-components/livewire-powergrid/upgrade-theme-v6-to-v7.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,469 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00052 $0.03469
Opus 5 $0.00026 $0.01734
Sonnet 5 $0.00010 $0.00694
Haiku 4.5 $0.00005 $0.00347

Measured 6d ago against content hash 7fa7fdc2de2c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

upgrade-theme-v6-to-v7 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 6d ago.

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.

resources/boost/skills/upgrade-theme-v6-to-v7/SKILL.md · 267 lines

How it starts

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

What I do

  • Read a legacy v6 theme class (Bootstrap, DaisyUI, a custom third-party theme) from GitHub or local disk.
  • Create a v7 theme class with a tiny struct() (base view only) plus the per-section token methods (layout(), header(), table(), footer(), cols(), tabs(), filter(), editable(), toggleable()).
  • Map every legacy v6 array method (table(), header(), checkbox(), searchBox(), filter*(), ...) onto the correct v7 section and token key.
  • Set parentTheme = Tailwind::class so the migrated theme only declares what actually differs.

This skill is the canonical owner of the complete v6 -> v7 mapping table, which lives in REFERENCE.md.

When to use me

  • Porting a legacy PowerGrid v6 theme to the v7 architecture.
  • Upgrading a custom theme that still returns arrays from table(), checkbox(), footer(), etc. with the old (flat/renamed) keys.

How to use me

Use the 'upgrade-theme-v6-to-v7' skill to migrate the v6 Bootstrap theme at
https://raw.githubusercontent.com/Power-Components/livewire-powergrid/6.x/src/Themes/Bootstrap5.php

The good news: v7 is closer to v6 than you think

v7 did not collapse everything into one builder. Like v6, a theme is still a set of per-section methods that return arrays. The migration is mostly renaming and re-nesting keys and turning on inheritance. Four things change:

  1. struct() is tiny. It only sets the base view — it does not carry the token tree:
    public function struct(): Components\ThemeBuilder
    {
        return Components\ThemeBuilder::make($this->name())->baseView($this->baseView());
    }
    protected function baseView(): string { return 'livewire-powergrid::components.themes.bootstrap5'; }
    
  2. Token groups are per-section methods returning ['<group>' => [...]]. The group list is in Theme::themeTokenMethods(): layout, header, table, footer, cols, tabs, filter, editable, toggleable. Write each as a plain nested array (closest to v6) or with the fluent $this->section('<group>', fn (...) => ...) helper.
  3. The hierarchy is re-nested and renamed:
    • checkbox and radio move under table (table.checkbox.*, table.radio.*).
    • searchBox moves under header (header.search_box.*).
    • footer gains a nested layout; the old footer_with_pagination becomes pagination.
    • table.header.* / table.body.* flatten to table.layout.*; thActionth_actions, tdActionsContainertd_actions.
  4. Inheritance replaces boilerplate. Set protected ?string $parentTheme = Tailwind::class; and declare only the sections that differ from Tailwind. editable(), toggleable(), and filter() were also reworked:
    • editable() keeps clickable / input / error classes only. Discard view — the plugin blade is powergrid-plugins::Editable.index.
    • toggleable() is now five CSS color tokens (colorOn, colorOff, colorOnDark, colorOffDark, knobOn) set via ->fill([...]). The old view/base/label/input/role keys are gone.
    • filter() adds a label, a global input, and dropdown/flyout groups. Discard filter.multi_select.view — markup is <x-livewire-powergrid::inputs.select>.

Read the full file on GitHub · 267 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago Changed · +36 lines · +24 tokens per session 7fa7fdc2de2c
  2. 11d ago First seen · 231 lines · 28 tokens per session scan A 70b817999c13

Subscribe to this mod's changes

upgrade-theme-v6-to-v7 is a skill published in the GitHub repository Power-Components/livewire-powergrid (1,694 stars, last pushed 6d ago), licensed MIT. It adds 52 tokens to every session and 3,469 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other skills, from other repositories

larapilot-design

Produces isolated HTML/CSS mockups stored in .larapilot/mockups/ and served via a dev-only /mockups route. Use for "make a mockup", "dashboard concept", "landing page", or when planning needs visual references. Italian triggers include "mockup", "prototipo visivo".

andreapollastri/larapilot · 69 tokens

frontend-craft-director

A self-contained frontend design, redesign, audit, implementation, anti-AI-slop, and rendered visual-QA skill for use directly inside a ChatGPT conversation or through a local MCP-accessible project.

mehrdad03/localdev-mcp · 47 tokens

tailwindcss-design

TailwindCSS implementation patterns for Refactoring UI principles. COMPANION skill for web-design-mastery. ALWAYS activate for: TailwindCSS, Tailwind classes, utility classes, Tailwind config, Tailwind components, Tailwind dark mode, Tailwind responsive, Tailwind spacing, Tailwind typography, Tailwind colors, Tailwind…

anilcancakir/my-claude-code · 121 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

reveal-hover-effect

Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an…

MengTo/Skills · 66 tokens