frontend-upgrade-ops

frontend-upgrade-ops is a skill for Claude Code from 0xDarkMatter/claude-mods. It costs 116 tokens per session (3,763 once invoked), scanned A, original, MIT.

A migration playbook for server-rendered Craft CMS or Twig websites. It covers replacing Laravel Mix or Webpack with Vite and moving Vue 2 widgets to Vue 3, including related asset, development-server, and state-management changes.

In plain words
What is it for?
Use it to migrate asset builds, configure craft-vite and DDEV development servers, update Twig asset URLs, handle Tailwind and legacy builds, and replace Vue 2 or Vuex integrations.
Why use it?
It gives a structured way to handle older front-end tools that are no longer maintained and to find the configuration points that can break during the upgrade.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the claude-mods plugin — 112 skills, 3 commands, 3 agents, 4 hooks shipped together

Good fit Use it to migrate asset builds, configure craft-vite and DDEV development servers, update Twig asset URLs, handle Tailwind and legacy builds, and replace Vue 2 or Vuex integrations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0xdarkmatter/claude-mods/frontend-upgrade-ops
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 0xDarkMatter/claude-mods --skill frontend-upgrade-ops
Clone the repo
git clone --depth 1 https://github.com/0xDarkMatter/claude-mods

Made for: Claude Code.

Or install claude-mods, the plugin that ships this one along with the rest of its 112 skills, 3 commands, 3 agents, 4 hooks.

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 frontend-upgrade-ops

README.md
[![agentmods](https://agentmods.dev/badge/skills/0xdarkmatter/claude-mods/frontend-upgrade-ops/github.svg)](https://agentmods.dev/skills/0xdarkmatter/claude-mods/frontend-upgrade-ops)
Your own site
<a href="https://agentmods.dev/skills/0xdarkmatter/claude-mods/frontend-upgrade-ops"><img src="https://agentmods.dev/badge/skills/0xdarkmatter/claude-mods/frontend-upgrade-ops/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 frontend-upgrade-ops

Your own site · 80×15
<a href="https://agentmods.dev/skills/0xdarkmatter/claude-mods/frontend-upgrade-ops"><img src="https://agentmods.dev/badge/skills/0xdarkmatter/claude-mods/frontend-upgrade-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,763 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.00116 $0.03763
Opus 5.5 $0.00046 $0.01505
Sonnet 5.5 $0.00023 $0.00753
Haiku 4.5 $0.00012 $0.00376

Measured 14d ago against content hash 54d9f19ae132, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

frontend-upgrade-ops 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 14d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/check-frontend-upgrade-facts.py, tests/run.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/frontend-upgrade-ops/SKILL.md · 201 lines

How it starts

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

Frontend Upgrade Operations

The two front-end upgrades a Craft CMS (or any Twig/PHP) agency keeps meeting: an asset pipeline still on Laravel Mix or raw Webpack, and widgets still on Vue 2. Both are frozen - Mix's last release was 6.0.49 in June 2022 and Laravel calls it "a legacy package that is no longer actively maintained"; Vue 2 reached end of life on 31 December 2023. This skill is the playbook for moving a server-rendered site to Vite 8 + craft-vite and Vue 3, or for deciding that a widget should not be Vue at all.

Version facts verified as of 2026-10-05 against npm, Packagist, vite.dev, v3-migration.vuejs.org and nystudio107.com/docs/vite. Each reference cites its sources.

Start here: what does this repo need?

You find Do Read
webpack.mix.js, mix-manifest.json, mix() in Twig Replace Mix with Vite + craft-vite mix-webpack-to-vite.md, then craft-vite-twig.md
A hand-written webpack.config.js Same move; translate loaders and plugins one by one mix-webpack-to-vite.md
craft-vite already, but the dev server fails behind DDEV CORS / allowedHosts / one port in four places craft-vite-twig.md
"vue": "^2 in package.json Decide per widget: migrate or replace (table below) this file, then vue2-to-vue3.md
Mix and Vue 2 Bundler first, framework second - never one deploy Sequencing
vuex, vue-router 3, Vue 2-only plugins Pinia; check every plugin for a Vue 3 path before estimating vue-state-and-plugins.md
Vue templates written in Twig (inline-template, in-DOM) Convert to SFC islands; mind the compiler build and template injection vue-islands-in-twig.md
Vue 3 + Vite already Out of scope here - steady-state Vue is vue-ops, steady-state Craft is craftcms-ops -

Read the full file on GitHub · 201 lines

Files

What ships with it

8 files 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. 14d ago First seen · 201 lines · 116 tokens per session scan A 54d9f19ae132

Subscribe to this mod's changes

frontend-upgrade-ops is a skill published in the GitHub repository 0xDarkMatter/claude-mods (68 stars, last pushed 6d ago), licensed MIT. It adds 116 tokens to every session and 3,763 once invoked, about $0.0005 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-10-06.

Related

Other skills, from other repositories

accessibility-a11y

WCAG 2.2 compliance, ARIA patterns, keyboard navigation, screen readers, automated testing.

travisjneuman/.claude · 26 tokens

agent-svelte-expert

Specialist subagent: Svelte 5 runes, SvelteKit routing, form actions, and compile-time reactivity specialist. Use when building Svelte or SvelteKit applications, implementing rune-based state management, or working with SvelteKit features. Trigger phrases: Svelte, SvelteKit, runes, $state, $derived, $effect, $props…

travisjneuman/.claude · 101 tokens

flutter-development

Cross-platform development with Flutter and Dart for iOS, Android, Web, Desktop, and embedded. Use when building Flutter apps, implementing Material/Cupertino design, or optimizing Dart code.

travisjneuman/.claude · 41 tokens

agent-vue-nuxt-expert

Specialist subagent: Vue 3 Composition API, Nuxt 3 server routes, Pinia state management, and VueUse composables specialist. Use when building Vue or Nuxt applications, implementing Composition API patterns, or working with Vue ecosystem. Trigger phrases: Vue, Nuxt, Pinia, Composition API, VueUse, defineProps…

travisjneuman/.claude · 97 tokens

frontend-enhancer

Enhance the visual design of web apps: modern UI components, layout, responsive design, color palettes, animations. Use for styling and UI polish; pair with ui-research first for new design directions.

travisjneuman/.claude · 45 tokens

generic-design-system

Complete design system reference for any project - colors, typography, spacing, components, animations. Adapts to project theme and tech stack. Use when implementing UI, choosing colors, creating animations, or ensuring brand consistency. For new design systems, use ui-research skill first.

travisjneuman/.claude · 60 tokens