Typo3 extension upgrade
Skill netresearch/typo3-extension-upgrade-skill/skills/typo3-extension-upgrade
Agent Skill for systematically upgrading TYPO3 extensions to newer LTS versions | Claude Code compatible
npx -y skills add netresearch/typo3-extension-upgrade-skill --skill typo3-extension-upgradeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 9 stars9 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when upgrading TYPO3 extensions to newer LTS versions (v11->v12, v12->v13, v13->v14 - v14.3 LTS is the current target), running Extension Scanner, Rector, Fractor, PHPStan, fixing deprecated APIs, or resolving compatibility issues. Also triggers on: migration, version upgrade, deprecated API, dual-version compatibility, Fluid 5 strict VHs, HashService removal, ext_tables.php split.
SKILL.md
3.9 KB, 891 tokens by cl100k_base, as published. Nobody here has run it
TYPO3 Extension Upgrade Skill
Framework for upgrading TYPO3 extensions to newer LTS versions. Extension code only, not project/core upgrades.
Upgrade Toolkit
| Tool | Purpose | Files |
|---|---|---|
| Extension Scanner | Diagnose deprecated APIs | TYPO3 Backend |
| Rector | Automated PHP migrations | .php |
| Fractor | Non-PHP migrations | FlexForms, TypoScript, YAML, Fluid |
| PHPStan | Static analysis | .php |
Core Workflow
- Complete planning phase (consult
references/pre-upgrade.md) - Create feature branch (verify git is clean)
- Update
composer.jsonconstraints for target version - Audit third-party dependencies for major version changes (consult
references/third-party-dependency-upgrades.md) - Run
rector process --dry-runthen review and apply - Run
fractor process --dry-runthen review and apply - Run
php-cs-fixer fix - Run
phpstan analyseagainst each supported dependency version and fix errors - Run
phpunitand fix tests - Test in target TYPO3 version(s)
- Verify success criteria (consult
references/verification.md)
When NOT to Apply Automatically
Do NOT blindly apply Rector/Fractor when dual-version compatibility, missing tests, unclear changes, or complex APIs (DBAL, Extbase) are involved. Instead apply rules manually, testing between changes.
Third-Party Dependency Upgrades
When composer.json widens a dependency to a new major version: enumerate API usages, cross-reference the new API, verify mocks, use adapter pattern for signature differences, run PHPStan per major version. See references/third-party-dependency-upgrades.md.
Quick Commands
rector process --dry-run && rector process # PHP migrations
fractor process --dry-run && fractor process # Non-PHP migrations
php-cs-fixer fix && phpstan analyse && phpunit # Quality checks
Asset Templates
Config templates in assets/: rector.php, fractor.php, phpstan.neon, phpunit.xml, .php-cs-fixer.php
References
| Reference | Use when... |
|---|---|
references/pre-upgrade.md | Planning checklist, version audit, risk assessment |
references/api-changes.md | Checking deprecated/removed APIs by TYPO3 version |
references/api-traps.md | Cross-version footguns: TCA restrictions, boot order, DI bypass |
references/upgrade-v11-to-v12.md | Upgrading from TYPO3 v11 to v12 |
references/upgrade-v12-to-v13.md | Upgrading from TYPO3 v12 to v13 |
references/upgrade-v13-to-v14.md | Upgrading from TYPO3 v13 to v14 |
references/dual-compatibility.md | Dual compatibility (v12 + v13) |
references/real-world-patterns.md | Real-world migration examples |
references/toolchain-output.md | Rector/Fractor dry-run output |
references/troubleshooting.md | Rector broke code, PHPStan errors, test failures |
references/third-party-dependency-upgrades.md | Non-TYPO3 dependencies (major version bumps, adapter patterns) |
references/verification.md | Success criteria and real-world testing |
references/multi-version-worktrees.md | Per-LTS worktree layout, backport workflow, cross-version CI matrix |
references/audit-mode.md | Assessing/estimating: ticket only non-automatable findings |
scripts/scan-deprecations.sh <path> | Deterministic grep scan for deprecated/removed APIs and traps |
External Resources
What ships with it: 21 files
148.6 KB alongside SKILL.md, 4 of them executable
assets/
- fractor.phpruns1017 B
- .php-cs-fixer.phpruns6.0 KB
- phpstan.neon734 B
- phpunit.xml1.3 KB
- rector.phpruns2.0 KB
references/
- api-changes.md35.0 KB
- api-traps.md6.6 KB
- audit-mode.md2.3 KB
- dual-compatibility.md4.9 KB
- multi-version-worktrees.md6.1 KB
- pre-upgrade.md3.8 KB
- real-world-patterns.md4.7 KB
- third-party-dependency-upgrades.md8.2 KB
- toolchain-output.md943 B
- troubleshooting.md4.9 KB
- upgrade-v11-to-v12.md2.9 KB
- upgrade-v12-to-v13.md1.9 KB
- upgrade-v13-to-v14.md20.9 KB
- verification.md1.9 KB
scripts/
- scan-deprecations.shruns9.5 KB
- checkpoints.yaml23.2 KB