CtrlK
BlogDocsLog inGet started
Tessl Logo

laravel-update-with-rector

Upgrades a Laravel application or package to a newer Laravel version using Rector and driftingly/rector-laravel. Inspects composer.json, detects current and target versions, configures Rector with the correct LaravelSetList or LaravelLevelSetList rulesets, updates dependencies conservatively, runs a dry-run first, and produces an upgrade checklist covering both automated code changes and manual skeleton/breaking-change steps. The latest stable Laravel version is Laravel 13 (March 2026). Activate for phrases like "upgrade to Laravel 12", "upgrade to Laravel 13", "migrate my Laravel app", "fix Laravel deprecation warnings", "help me with the Laravel upgrade guide", "set up Rector for Laravel upgrade", or any request to automate a Laravel version migration — even when Rector is not mentioned by name.

74

Quality

93%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

85%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A highly actionable, well-sequenced upgrade procedure with strong validation feedback loops and copy-paste-ready code, but it is a long monolithic single file with no bundle references, keeping version-specific reference material inline rather than progressively disclosed.

Suggestions

Move the per-version breaking-change lists (Step 6) and the Laravel 13 server-requirement / dependency-change tables into a references/ file (e.g. references/breaking-changes.md) and signal them one level deep from SKILL.md to improve progressive disclosure and keep the main file lean.

De-duplicate the `composer require rector/rector --dev` / `driftingly/rector-laravel --dev` install block, which appears verbatim in both Step 3 and Step 5 — reference it once and reuse.

Relocate time-sensitive version/date facts (e.g. 'Laravel 13 (March 2026)', the PHP-version matrix) into a clearly labeled version-reference section or file so they are easier to maintain and do not penalize the procedural body's conciseness.

DimensionReasoningScore

Conciseness

The body is dense and mostly earns its tokens with executable commands and config, but it carries mild redundancy (the `composer require rector/rector --dev` block appears in both Step 3 and Step 5) and inline reference material (PHP-version and server-requirement tables, per-version breaking-change lists) that pads length without being core procedure. Efficient with minor trims possible — not a 5, clearly above a 3.

4 / 5

Actionability

Provides copy-paste-ready bash commands (`composer require`, `vendor/bin/rector process --dry-run`, `php artisan config:clear`), complete executable `rector.php` configs for single-version, cumulative, multi-pass, combined PHP+Laravel, and package cases, plus a concrete errors-and-fixes table covering the common cases.

5 / 5

Workflow Clarity

Seven clearly sequenced steps (Inspect → Decide → Composer Plan → Configure → Safe Execution → Breaking Changes → Deliverables) with explicit validation checkpoints — dry-run preview, 'review the diff, adjust rector.php if needed, repeat dry-run', then sanity checks, static analysis, and tests before commit — satisfying the feedback-loop requirement for batch/destructive operations.

5 / 5

Progressive Disclosure

No bundle files exist (references/scripts/assets absent), and the entire ~374-line skill lives inline in SKILL.md with good section headers but content that would naturally split into separate references — the per-version breaking-change lists, server-requirement tables, and dependency-change tables — kept inline rather than signaled as one-level-deep files. Some structure, but content that should be separate is inline.

3 / 5

Total

17

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong, specific description that clearly states what the skill does and when to activate it, using natural trigger phrases and concrete capability verbs in third person. It fully satisfies the what/when/trigger/specificity criteria with no over-claims or padding.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — 'Inspects composer.json', 'detects current and target versions', 'configures Rector with the correct LaravelSetList or LaravelLevelSetList rulesets', 'runs a dry-run first', 'produces an upgrade checklist' — giving comprehensive coverage of what the skill does.

5 / 5

Completeness

Explicitly answers both 'what' (the upgrade pipeline from inspection through checklist) and 'when' via the 'Activate for phrases like...' clause with concrete trigger phrases.

5 / 5

Trigger Term Quality

Provides natural phrases users would actually say — 'upgrade to Laravel 12', 'upgrade to Laravel 13', 'migrate my Laravel app', 'fix Laravel deprecation warnings', 'help me with the Laravel upgrade guide', 'set up Rector for Laravel upgrade' — plus the catch-all 'even when Rector is not mentioned by name'.

5 / 5

Distinctiveness Conflict Risk

Occupies a clear niche — Laravel version upgrade via Rector — with distinct triggers unlikely to fire for unrelated skills; minimal conflict risk.

5 / 5

Total

20

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository
masterfermin02/laravel-agent-skill
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.