level-up-upgrade-v3
Skill by cjmellor
Guides an AI assistant through upgrading the cjmellor/level-up Laravel package from v2.x to v3.0. It is for developers who need to apply the v3 breaking changes to their codebase.
Install level-up-upgrade-v3
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-v3 ~/.claude/skills/level-up-upgrade-v3Run 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-v3 ~/.gemini/antigravity-cli/skills/level-up-upgrade-v3Antigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install level-up-upgrade-v3 in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill walks an AI assistant through upgrading the cjmellor/level-up Laravel package from v2.x to v3.0. It lists the v3 breaking changes, including the replacement of Multiplier::scopeTo() with scopeToUser() and scopeToTier(), the removal of the level-up.table config key, the new LeaderboardEntry return type from Leaderboard::generate(), and the new default for level-up.audit.enabled. It also covers the new typed multiplier pivot tables and the changed setPoints() and addPoints() behaviour.
The skill works as a step-by-step checklist. It asks the user to back up the database, confirm they are on v2.x, and check for SQLite 3.25+ or MySQL 8+ for leaderboard window functions. It then covers updating composer.json, searching the code for affected calls, updating config and migrations, publishing and running migrations, and running tests. It is aimed at developers maintaining Laravel applications that use this package.
Written from the project's SKILL.md and checked against it.
What it can do
- Composer constraint updateUpdates composer.json to cjmellor/level-up ^3.0 and runs composer update.
- Multiplier scope migrationFinds Multiplier::scopeTo() calls and replaces them with scopeToUser() or scopeToTier().
- Leaderboard consumer updatesUpdates code that iterated Leaderboard::generate() users to use LeaderboardEntry objects.
- Config table key cleanupReplaces the level-up.table config key with the tables.experiences setting.
- Custom migration updatesReplaces UserForeignKey::on() calls with the userForeignId() Blueprint macro.
- Audit default decisionAsks the user how to handle the new default of level-up.audit.enabled set to true.
- Model binding additionsLists new model bindings to add to a published config/level-up.php file.
- Migration and test stepsLists commands to publish migrations, run migrations and run the test suite.
What you need
- PHP 8.3+
- Laravel 12 or 13
- SQLite 3.25+ or MySQL 8+ for leaderboard ranks (MariaDB 10.2+ and PostgreSQL also work)
- Composer
- A database backup before running the migrations
Try asking
- Upgrade my cjmellor/level-up package from v2 to v3 and update the composer file.
- Find every Multiplier::scopeTo() call in my app and convert it to the v3 methods.
- Update my leaderboard views to use the new LeaderboardEntry objects in v3.
Good to know
- Users on v1.x must run the level-up-upgrade-v2 skill first.
- MySQL 5.7 cannot run v3 leaderboard queries.
- Rows with unrecognised scopeable_type values are skipped and lost during the multiplier migration.
- Windowed leaderboards only see activity recorded after auditing was enabled.
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-v3/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to level-up-upgrade-v3
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-v3: common questions
Does cjmellor/level-up v3 need a database upgrade?
Leaderboard ranks use SQL window functions, so the database must be SQLite 3.25+ or MySQL 8+. MySQL 5.7 cannot run v3 leaderboard queries.
What changed in Multiplier::scopeTo() in v3?
scopeTo() is replaced by scopeToUser() and scopeToTier(), and calls that mix both types should be split into one call per type. The old multiplier_scopes table is replaced by multiplier_user and multiplier_tier.
Will the migration keep my existing multiplier scope data?
The migration moves rows into the typed pivot tables, but rows with an unrecognised scopeable_type are skipped and lost. The skill advises surfacing this to the user if it happens.
How do I install level-up-upgrade-v3?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is level-up-upgrade-v3 free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is level-up-upgrade-v3 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-v3?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
