level-up-upgrade-v2
Skill by cjmellor
Upgrades the cjmellor/level-up Laravel package from v1 to v2. It is for developers who need to apply the v2 breaking changes to an existing codebase.
Install level-up-upgrade-v2
Built from the published package, never by AI.
git clone --depth 1 https://github.com/cjmellor/level-up /tmp/level-up && mkdir -p ~/.claude/skills && cp -r /tmp/level-up/resources/boost/skills/level-up-upgrade-v2 ~/.claude/skills/level-up-upgrade-v2Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/cjmellor/level-up /tmp/level-up && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/level-up/resources/boost/skills/level-up-upgrade-v2 ~/.gemini/antigravity-cli/skills/level-up-upgrade-v2Antigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install level-up-upgrade-v2 in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill upgrades the cjmellor/level-up Laravel package from v1.x to v2.x. It runs pre-flight checks, updates the package with Composer to version ^2.0, publishes and runs the new migrations, and republishes the config. It then searches the user's app, config, routes, database and tests directories for v1 patterns and edits each matching call site.
The skill covers changes such as the array form of Level::add(), new exceptions from levelUp() and deductPoints(), and the move from class-based to database-backed multipliers. It offers optional HasTiers and HasChallenges traits and points users to the README for switching entity IDs to uuid or ulid. It is aimed at Laravel developers on PHP 8.3+ and Laravel 12 or 13, and it covers v1 to v2 only.
Written from the project's SKILL.md and checked against it.
What it can do
- Pre-flight checksConfirms a database backup, checks migration status and runs the test suite before starting.
- Package updateRuns Composer to require cjmellor/level-up at version ^2.0.
- Migrations and configPublishes and runs the new v2 migrations and republishes the config file.
- Code change searchUses Grep to find v1 call sites in app, config, routes, database and tests directories.
- Multiplier migrationReplaces class-based multipliers with database-backed Multiplier records.
- Optional traitsAsks whether to add the HasTiers and HasChallenges traits to the User model.
- Test verificationRuns php artisan test and helps fix common failures until the suite passes.
What you need
- PHP 8.3+
- Laravel 12 or 13
- Composer
- A database backup
- A test suite run with php artisan test
Try asking
- Upgrade my cjmellor/level-up package from v1 to v2 in this Laravel app
- Find all v1 Level::add() calls in my app and convert them to the array form
- Check my codebase for levelUp() and deductPoints() calls that need guards
Good to know
- Covers the v1 to v2 upgrade only; v3 uses a separate skill.
- Does not convert entity IDs to uuid or ulid; the user is pointed to the README instead.
- Requires PHP 8.3+ and Laravel 12 or 13; the skill tells the user to upgrade first if Composer fails.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: resources/boost/skills/level-up-upgrade-v2/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to level-up-upgrade-v2
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
level-up-upgrade-v2: common questions
Does this skill also upgrade to v3?
No. The source says users who want v3 should use the level-up-upgrade-v3 skill instead.
Will the skill change my primary key type to UUID or ULID?
Not in this skill. If the user wants that, the skill points them to the Customizing Identifiers section in the README.
What happens if tests fail before the upgrade starts?
The skill says to stop and resolve the failures with the user before proceeding.
How do I install level-up-upgrade-v2?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is level-up-upgrade-v2 free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is level-up-upgrade-v2 safe to use?
It scores 77 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to level-up-upgrade-v2?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
