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 — 116 skills, 5 commands, 4 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 116 skills, 5 commands, 4 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 2mo 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 2mo 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. 2mo 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 (86 stars, last pushed 12d 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

frontend-upgrade-ops compared with skills from other repositories

frontend-upgrade-ops next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
frontend-upgrade-ops0xDarkMatter/claude-modsSkill8612d agoMITA116Claude Code
agent-vue-nuxt-experttravisjneuman/.claudeSkill116todayMITA97Claude Code
frontend-enhancertravisjneuman/.claudeSkill116todayMITA45Claude Code
generic-design-systemtravisjneuman/.claudeSkill116todayMITA60Claude Code
generic-react-design-systemtravisjneuman/.claudeSkill116todayMITA59Claude Code
flutter-developmenttravisjneuman/.claudeSkill116todayMITA41Claude Code
generic-static-design-systemtravisjneuman/.claudeSkill116todayMITA44Claude Code