From craft-workspace-webconsulting-skills
Evaluates TYPO3 extensions for conformance to coding standards, architecture patterns, best practices, v14 LTS readiness, and TER upload preparation including quality scoring and audits.
npx claudepluginhub dirnbauer/webconsulting-skillsThis skill uses the workspace's default tool permissions.
Evaluate TYPO3 extensions against TYPO3 coding standards, architecture patterns, and best practices.
assets/Build/composer-unused/composer-unused.phpassets/Build/php-cs-fixer/php-cs-fixer.phpassets/Build/phpstan/phpstan-baseline.neonassets/Build/phpstan/phpstan.neonassets/Build/rector/rector.phpassets/Build/typoscript-lint/TypoScriptLint.ymlreferences/backend-module-v13.mdreferences/backend-wizard-patterns.mdreferences/best-practices.mdreferences/coding-guidelines.mdreferences/composer-validation.mdreferences/crowdin-integration.mdreferences/development-environment.mdreferences/directory-structure.mdreferences/dual-version-compatibility.mdreferences/excellence-indicators.mdreferences/ext-emconf-validation.mdreferences/ext-files-validation.mdreferences/extension-architecture.mdreferences/hooks-and-events.mdSimplifies TYPO3 v14 extension code by replacing custom implementations with core APIs and deprecated patterns. Reviews PHP classes, Fluid templates, TCA, Services.yaml, and config files for best practices.
Runs code quality audits, security scans, test coverage, SOLID/DRY checks, and lints for Drupal (PHPStan, PHPMD, Psalm, Semgrep, Trivy, Gitleaks) and Next.js (ESLint, Jest, Semgrep, Trivy, Gitleaks) projects.
Modernizes PHP apps to 8.1+ with strict types, enums, DTOs, readonly properties, property hooks; configures PHPStan, Rector, PHP-CS-Fixer for type safety and PSR compliance.
Share bugs, ideas, or general feedback.
Evaluate TYPO3 extensions against TYPO3 coding standards, architecture patterns, and best practices.
Testing -> typo3-testing | Docs -> typo3-docs | OpenSSF -> enterprise-readiness
Read ext_emconf.php + composer.json for TYPO3/PHP version, type, scope.
$GLOBALS, no GeneralUtility::makeInstance() for servicesext_tables.php/HashService/magic repo finders; Fluid VHs strict-typed; XLF 2-space. See references/v14-deprecations.md.Re-run after fixes. Document score delta ("58 -> 82").
grep -rL 'strict_types' Classes/ --include='*.php' # missing strict_types
grep -rn '\$GLOBALS' Classes/ --include='*.php' # prohibited $GLOBALS
grep -rn 'GeneralUtility::makeInstance' Classes/ --include='*.php' # makeInstance for services
grep -rPn '\(\s*[A-Za-z\\]+\s+\$\w+\s*=\s*null' Classes/ --include='*.php' | grep -v '?' # PHP 8.4 implicit nullable
grep -rn '->has(' Classes/ --include='*.php' # cache has()+get() anti-pattern
grep -l 'strict_types' ext_emconf.php # ext_emconf must NOT have strict_types
grep -rn '(int)\s*\$' Classes/ --include='*.php' # PHP 8.5 implicit float-to-int
grep -rn 'data-toggle\|data-dismiss\|data-ride' Resources/ --include='*.html' # Bootstrap 4 in Fluid
grep -rn 'HashService\|GeneralUtility::hmac(\|->findBy[A-Z]\|->findOneBy[A-Z]\|->countBy[A-Z]' Classes/ --include='*.php' # v14 removals
[ -f ext_tables.php ] && echo "WARN: ext_tables.php deprecated (#109438)" # v14.3 deprecation
Base (0-100): Architecture(20) + Guidelines(20) + PHP(20) + Testing(20) + Practices(20). Excellence bonus up to 22. Critical issues block regardless.
| Range | Level | Action |
|---|---|---|
| 90+ | Excellent | Production/TER ready |
| 80-89 | Good | Minor fixes |
| 70-79 | Acceptable | Fix before release |
| 50-69 | Needs Work | Significant effort |
| <50 | Critical | Block deployment |
See references/ for deep-dives:
extension-architecture.md, php-architecture.md, coding-guidelines.md, best-practices.mdcomposer-validation.md, ext-emconf-validation.md, version-requirements.md, testing-standards.mddual-version-compatibility.md (v12+v13), v13-v14-dual-compatibility.md (v13+v14), multi-version-dependency-compatibility.md, v13-deprecations.md, v14-deprecations.mdbackend-module-v13.md, ter-publishing.md, report-template.md, excellence-indicators.md, localization-coverage.mdAsset templates in assets/Build/: PHPStan, PHP-CS-Fixer, Rector, ESLint, Stylelint, TypoScript lint.
This skill is based on the excellent work by Netresearch DTT GmbH.
Original repository: https://github.com/netresearch/typo3-conformance-skill
Copyright (c) Netresearch DTT GmbH — Methodology and best practices (MIT / CC-BY-SA-4.0)
Special thanks to Netresearch DTT GmbH for their generous open-source contributions to the TYPO3 community, which helped shape this skill collection. Adapted by webconsulting.at for this skill collection