Agent skill
typo3-conformance
Use when assessing TYPO3 extension quality, conformance checking, standards compliance, modernization to v12/v13/v14, TER readiness, or best practices review. Also triggers on: extension audit, quality score, full assessment, fix all findings, conformance audit, Bootstrap 5 migration, CSP compliance, ViewHelper security, XLIFF hygiene.
Install this agent skill to your Project
npx add-skill https://github.com/netresearch/typo3-conformance-skill/tree/main/skills/typo3-conformance
SKILL.md
TYPO3 Extension Conformance Checker
Evaluate TYPO3 extensions for standards compliance, architecture, and best practices.
When to Use
- Assessing extension quality before production deployment
- Generating conformance reports for code review
- Planning modernization to TYPO3 v12/v13/v14 standards
- Validating TER publishing readiness
Skill Delegation
- Testing: Delegate to
typo3-testing - Documentation: Delegate to
typo3-docs - OpenSSF Scorecard: Delegate to
enterprise-readiness
Evaluation Workflow
Step 0: Understand Extension Context (always first)
Understand: purpose, target TYPO3/PHP version, extension type (plugin, module, site package, library), criticality, codebase scope.
Steps 1-10: Conformance Checks
- Initial Assessment -- Extension key, target TYPO3 version, extension type
- File Structure -- composer.json, ext_emconf.php, required directories
- Coding Standards -- strict_types, type declarations, PSR-12
- Prohibited Patterns -- No
$GLOBALSaccess, noGeneralUtility::makeInstance()for services - PHP Architecture -- Constructor DI, Services.yaml, PSR-14 events
- Backend Modules -- ES6 modules, Modal API, CSRF protection (v13+)
- Testing -- PHPUnit setup, Playwright E2E, coverage >70%
- Best Practices -- DDEV setup, runTests.sh, quality tools, CI/CD
- TER Publishing -- Workflow, upload comment format, CI compatibility
- Assessment Audit Checks -- PHPStan baseline, TCA searchFields/default_sortby, DI interface aliases, enum constants, cache double-lookup, XLIFF completeness, multi-version dependency adapters
Step 11: Verification Loop
After fixes, re-run checks. Document score improvement (e.g., "58 -> 82"). Ensure no regressions.
Scoring System
Base Score (0-100): Architecture (20) + Guidelines (20) + PHP Patterns (20) + Testing (20) + Best Practices (20). Excellence bonus up to 22 points.
| Score Range | Interpretation | Action |
|---|---|---|
| 90-100+ | Excellent | Ready for production and TER |
| 80-89 | Good | Minor improvements recommended |
| 70-79 | Acceptable | Address before major releases |
| 50-69 | Needs Work | Significant improvements required |
| Below 50 | Critical | Block deployment until resolved |
Critical issues block deployment regardless.
Running Checks
scripts/check-conformance.sh /path/to/extension # Full check
scripts/check-file-structure.sh /path/to/extension # Individual checks
scripts/check-coding-standards.sh /path/to/extension
scripts/check-architecture.sh /path/to/extension
scripts/check-testing.sh /path/to/extension
scripts/check-phpstan-baseline.sh /path/to/extension
scripts/generate-report.sh /path/to/extension
References
Guidance for each evaluation area:
references/extension-architecture.md-- Directory structure, required filesreferences/coding-guidelines.md-- PSR-12, naming, TYPO3 stylereferences/php-architecture.md-- DI, services, events, middlewarereferences/testing-standards.md-- PHPUnit/Playwright requirementsreferences/composer-validation.md-- composer.json rulesreferences/ext-emconf-validation.md-- TER field specsreferences/version-requirements.md-- TYPO3/PHP compatibilityreferences/dual-version-compatibility.md-- v12+v13 patternsreferences/multi-version-dependency-compatibility.md-- Adapter pattern for multi-major-version depsreferences/v13-deprecations.md-- Deprecated APIs, migrationreferences/backend-module-v13.md-- ES6, Modal API, a11yreferences/ter-publishing.md-- TER publication requirementsreferences/report-template.md-- Report structurereferences/excellence-indicators.md-- Bonus scoringreferences/best-practices.md-- Organizational patterns
Asset Templates
Quality tool configs in assets/Build/: PHPStan, PHP-CS-Fixer, Rector, ESLint, Stylelint, TypoScript lint.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
database-analyzer
Analyze and optimize database schemas, identify performance issues, and suggest improvements. Use when working with database structure, indexes, or query performance.
malformed-yaml
broken-skill
database-analyzer
Analyze and optimize database schemas and relationships
duplicate-skill
Second version of duplicate skill from package B (should win)
duplicate-skill
First version of duplicate skill from package A
Didn't find tool you were looking for?