
typo3-project-upgrade
Upgrade skill that migrates a deployed TYPO3 site across LTS versions, from site configuration to database.
- GitHub stars
- 92
What it does
- Covers sys_template to Site Sets migration, Bootstrap 4 to 5 patterns, and Bootstrap Package v12 to v16 breaking changes
- Adds a
typo3-project-upgradeskill withreferences/andcheckpoints.yamlfor automated post-upgrade assessment - Includes Docker ImageMagick and GFX setup, SCSS variable injection, database cleanup, and a structural visual review method
- Designed for project-level upgrades of live sites, not for extension code, which needs a separate upgrade skill
Systematic TYPO3 project instance upgrades across major LTS versions. sys_template→Site Sets migration, Bootstrap 4→5 patterns, Bootstrap Package v12–v16 breaking changes, SCSS variable injection, Docker infrastructure, database cleanup, visual review methodology with assessment checkpoints.
Add marketplace
/plugin marketplace add netresearch/claude-code-marketplaceRun it inside Claude Code once, then install the plugin below.
Install
/plugin install typo3-project-upgrade@netresearch-claude-code-marketplaceRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceTYPO3 Project Upgrade
Phases: Inventory -> Infrastructure -> Site Sets -> Visual Parity -> Review (+ Phase 6 for v14 targets)
Phase 1: Inventory
Query sys_template (uid, pid, root, include_static_file), tt_content CType distribution, extension list. Document all root=1 templates and their TypoScript constants/config.
Phase 2: Infrastructure
ImageMagick required — without it, ALL images serve unprocessed originals (10-30x size). Install in Docker, configure GFX processor in config/system/settings.php, then TRUNCATE sys_file_processedfile, rm -rf public/fileadmin/_processed_/*, cache:flush.
Phase 3: sys_template to Site Sets (v13+)
Structure: packages/my-site/Configuration/Sets/MySite/ with config.yaml, settings.yaml, setup.typoscript.
config.yaml: name, label, dependencies (e.g. bootstrap-package/full).
Site config (config/sites/default/config.yaml): add dependencies: [vendor/my-site].
CRITICAL: DELETE FROM sys_template — ALL records. A surviving root=1 template with include_static_file overrides site sets, causing "No page configured for type=0". Common mistake: only checking config column while include_static_file also conflicts.
settings.yaml — map old constants (page.logo.file, page.theme.navigation.style, page.theme.breadcrumb.enable) directly.
SCSS Variable Injection
BS Package injects ALL plugin.bootstrap_package.settings.scss.* as SCSS variables — even unlisted ones. Prefer over CSS overrides:
plugin.bootstrap_package.settings.scss.primary: '#585961'
plugin.bootstrap_package.settings.scss.secondary: '#2f99a4'
plugin.bootstrap_package.settings.scss.link-decoration: 'none'
plugin.bootstrap_package.settings.scss.min-contrast-ratio: '3'
Check BS5 _variables.scss for available !default variables.
Per-Page Behavior
Replace per-page sys_templates with TypoScript conditions: [traverse(page, "uid") == 99].
Phase 4: BS Package v12-v16 / BS4-BS5
Color contrast: min-contrast-ratio: 4.5 (BS5 default) changes text colors vs v11. Set to 3 to restore v11 behavior.
Cards in colored frames inherit white text (invisible on white bg). Fix with CSS custom properties:
.frame-background-secondary .card {
--frame-color: var(--bs-body-color);
}
Navigation: split <a> into <a class="nav-link-main"> + <button class="nav-link-toggle"> (accessibility). Hover dropdowns removed — restore with :hover > .dropdown-menu { display: block } scoped to nav-style-simple/mega.
Scroll flicker (#1468): sticky navbar transition changes document height. Fix with margin-bottom compensation (default-height minus transition-height).
Accept: split nav link/button, data-bs-*, 3 skip links, individual JS/CSS, frame-height-default class.
Phase 5: Review
Compare old/new sites with curl (HTTP status, content element IDs, frame classes, processed count). Categorize differences as MIGRATION GAP (fix), BS5 CHANGE (accept), or CSS OVERRIDE (document why).
DB fixes: carousel autoplay (BS Package v16 defaults off) via pi_flexform UPDATE.
Phase 6: v14 post-upgrade
- #109585 wizard (if instance ever ran v14.2): Install Tool → Upgrade Wizards
- EXT:form file-to-database wizard (#108653) is invisible to
upgrade:liston the CLI; migrate withform:definition:transferinstead composer.jsonrequired in classic mode (#108310)- HMAC rotation SHA1 → SHA256 (#106307)
- Camino theme optional (v14.1+, #108539)
See references/v13-to-v14-project-upgrade.md.
Common Mistakes
| Mistake | Fix |
|---|---|
| CSS hacks instead of SCSS variables | Override via plugin.bootstrap_package.settings.scss.* |
| Partial sys_template cleanup | DELETE FROM sys_template (all columns matter) |
| Missing ImageMagick in Docker | 10-30x image file sizes |
| Fighting BS5 accessibility | Accept split nav, skip links, semantic HTML |
| position:fixed for scroll flicker | Use margin-bottom compensation |
Hot-fixing a Services.yaml / constructor change by copying vendor files | composer update <package> + typo3 extension:setup (reference § 2) |
Readme
TYPO3 Project Upgrade Skill
Claude Code skill for upgrading deployed TYPO3 project instances across major LTS versions.
Scope
This skill covers project-level upgrades — the deployed website, its configuration, templates, infrastructure, and database. For upgrading extension code to new TYPO3 APIs, use typo3-extension-upgrade.
What It Covers
- sys_template → Site Sets: Migrating TypoScript constants/config to TYPO3 v13+ site set YAML files
- SCSS Variable Injection: Using Bootstrap Package's ScssParser to override BS5 variables without CSS hacks
- Bootstrap 4 → 5 Migration: color-contrast, link-decoration, frame custom properties, navbar changes
- Bootstrap Package v12→v16: Navigation split link/button, dropdown-hover removal, position:sticky, known bugs
- Infrastructure: ImageMagick in Docker, GFX configuration, processed file regeneration
- Database Cleanup: sys_template deletion, FlexForm updates, stale record cleanup
- Review Methodology: Structural comparison via curl, difference categorization, visual verification
Installation
Claude Code (marketplace)
Add the Netresearch marketplace once, then install the skill:
/plugin marketplace add netresearch/claude-code-marketplace
/plugin install typo3-project-upgrade@netresearch-claude-code-marketplace
Manual
Copy the directory skills/typo3-project-upgrade/ (SKILL.md and references/) to your Claude Code skills directory.
Assessment Checkpoints
This skill includes checkpoints.yaml for the automated-assessment framework. Run against a TYPO3 project to verify upgrade completeness:
- 9 mechanical checks: Site set existence, sys_template cleanup, ImageMagick, GFX config, SCSS usage
- 4 LLM reviews: Site set completeness, BS4→BS5 migration, navigation, infrastructure
Based On
Real-world migration of typo3-demo.netresearch.de from TYPO3 v11 (Bootstrap Package v12) to TYPO3 v14 (Bootstrap Package v16). Upstream contributions:
- benjaminkott/bootstrap_package#1618 — Sticky header JS fix
- benjaminkott/bootstrap_package#1619 — Sticky header CSS root cause fix
Tests
tests/checkpoints.sh runs every type: command checkpoint in checkpoints.yaml, and the precondition, the way the assessment runner does (bash <<<"$cmd" in the project root) against fixture projects it builds in a temporary directory:
- a compliant project, on which every checkpoint must pass;
- a project with a site set that misses every other check, on which TPU-02 and TPU-04 to TPU-08 must fail;
- a project whose only site sets lie under
vendor/,node_modules/and.Build/, on which TPU-01 and TPU-08 must fail; - a TYPO3 extension, which the precondition must reject.
It also fails when a command uses a construct the runner refuses (||, &&, ;, backticks, $(, exec; the runner's allowlist refuses more than this test checks), when a command checkpoint lacks a passing verdict on the good fixture or a failing verdict on another fixture, and when fewer checks ran than expected. The llm_reviews prompts, evals/evals.json and the prose of the skill have no behavioural test; CI checks their structure.
Run the tests and the hooks from the repository root; the test needs bash and yq v4:
bash tests/checkpoints.sh
pre-commit run --all-files
Each check prints ok <check>, or FAIL <check> followed by the expected and the found verdict; the script exits 1 when a check failed. The pre-commit hooks in .pre-commit-config.yaml run the skill validator, the version-parity check, markdownlint, yamllint, actionlint, JSON and YAML syntax, ruff and ShellCheck.
In CI, tests.yml (Skill Tests) runs every tests/**/*.sh on each pull request and push to main and marks a failing file with an error annotation. A new or changed command checkpoint comes with its expected verdicts in tests/checkpoints.sh, and a test that fails without the change.
Dependencies
- Skill: the skill ships no code and has no runtime dependency. The checkpoint commands use
grep,find,xargsandheadof the system that runs the assessment. - Composer:
composer.jsonrequiresnetresearch/composer-agent-skill-plugin(constraint*), the Composer plugin that installs packages of typeai-agent-skill. No lock file is committed (.gitignoreexcludescomposer.lock): the package is installed as a dependency of other projects, whose lock files pin it. - Tests:
tests/checkpoints.shneedsbashandyqv4; the CI runner image provides both. - Pre-commit hooks: each hook repository in
.pre-commit-config.yamlis pinned byrev:. - CI: the workflows call reusable workflows of
netresearch/skill-repo-skill,netresearch/.githubandnetresearch/typo3-ci-workflowsat@main; those pin their actions by commit SHA. - Updates: Renovate (
renovate.json, presetlocal>netresearch/renovate-config, with thepre-commitmanager enabled) opens pull requests for new hook revisions;auto-merge-deps.ymlmerges dependency pull requests once the required checks pass. Composer Audit and dependency review check dependency changes on pull requests. - Selection: a new dependency is added only when the tooling or the tests need it, from its upstream source (Packagist, the tool's own repository), under a licence the organisation's findings policy accepts.
Governance and policies
This repository follows the Netresearch organisation policies:
- Governance: ownership, roles, how decisions are made and disputes resolved.
- Roadmap: planned and explicitly excluded work for the coming year.
- Handling of dependency and code analysis findings: thresholds, deadlines and the exception process for dependency (SCA) and static analysis (SAST) findings.
- Secret management: how CI and release credentials are stored, accessed and rotated.
- Access roster: who holds administrative access to this repository and the organisation.
The security assurance case for this skill and its checkpoints (threat model, trust boundaries, countermeasures and limits) is in docs/SECURITY-ASSURANCE.md.
Checks that run on pull requests in this repository:
- Every pull request: Skill Validation (
lint.yml: skill structure, manifest sync, markdownlint of the root Markdown files, yamllint, actionlint, JSON syntax, ShellCheck, ruff, checkpoint schemas), Eval Validation (eval-validate.yml), Skill Tests (tests.yml) and the Labeler (labeler.yml); on pull requests tomainthat are not drafts, also the CodeRabbit review and the Copilot code review that the repository ruleset requests. - Pull requests to
main:security.ymlwith Composer Audit, SAST (Opengrep,--config auto; which findings fail the check is set by the organisation rule), Betterleaks secret scanning, zizmor, dependency review (fail-on-severity: high) and CodeQL analysis of the GitHub Actions workflows (codeql / Analyze (actions)); Harness Verification (harness-verify.yml); Template Drift (check-template-drift.yml) and the DCO sign-off check. - Required for merging into
main: Skill Validation, Eval Validation, Skill Tests, DCO andAll security checks(thegatejob ofsecurity.yml, which fails when Betterleaks, zizmor, dependency review, Composer Audit with Opengrep or CodeQL fails); a repository ruleset also blocks a merge on CodeQL security alerts of severity high or higher and on CodeQL alerts of level error. GitHub secret scanning with push protection is enabled for the repository. - Static-analysis exceptions:
labeler.ymlandauto-merge-deps.yml(both from the central skill template) each suppress the zizmor findingdangerous-triggersinline, with the reason in the comment above it, andtests/checkpoints.shsuppresses ShellCheck SC2016 on one line, with the reason beside it. No other exception is recorded.
License
- Code: MIT
- Content: CC BY-SA 4.0
Copyright (c) 2026 Netresearch DTT GmbH
Details
- Marketplace
- netresearch/claude-code-marketplace
- Source
- netresearch/typo3-project-upgrade-skill
- Category
- Development
- Listed since
- Apr 7, 2026
More from netresearch/claude-code-marketplace
All 41- typo3-site-conformance
- typo3-testing
- typo3-typoscript-ref
- typo3-upgrade-effort-model
- typo3-vite
- agent-harness
- agent-rules
- automated-assessment
- cli-tools
- concourse-ci
- context7
- data-tools
- docker-development
- enterprise-readiness
- file-search
- formal-model-checking
- german-technical-writing
- git-workflow
- github-project
- github-release
- go-development
- jira-integration
- jujutsu-workflow
- markdown-to-pdf
Similar to typo3-project-upgrade
More Backend & APIs
typo3-extension-upgradePluginnetresearch/claude-code-marketplace92 starsSystematic TYPO3 extension upgrades to newer LTS versions with modern PHP compatibility. Extension Scanner assessment, Rector for PHP migrations, Fractor for Fl
typo3-upgrade-effort-modelPluginnetresearch/claude-code-marketplace92 starsGeneric effort model for TYPO3 LTS upgrades: per-version risk multipliers (v14 Fluid 5 strict VHs, HashService removal, TSFE removal, asset-pipeline removal), b
framework-migrationPluginwshobson/agents42.8K starsFramework updates, migration planning, and architectural transformation workflows
odoo-upgradeSkillahmed-lakosha/odoo-plugins276 installsMigration assistant that upgrades Odoo 14-19 modules across XML views, Python APIs, OWL JavaScript, and themes.
dotnet-upgradePlugindotnet/skills6.3K starsSkills for migrating and upgrading .NET projects across framework versions, language features, and compatibility targets.