New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Version-aware TYPO3 TypoScript, TSconfig and Fluid reference with deprecation checks and recipes.

GitHub stars
92
View on GitHub

What it does

  • Adds scripts/lookup.sh with keyword search, --recipe, --review, --deprecations, --checklist, and --debug modes across cached TYPO3 docs
  • Covers 14 curated recipes for page setup, menus, Extbase plugins, and Site Sets, plus v12-to-v13 and v13-to-v14 migration guides
  • Detects the TYPO3 version from composer.json and serves lookups from a local cache after the first --update
  • Designed for TYPO3 projects on v12, v13, or v14 where AI agents must not guess TypoScript property names

Version-aware TypoScript, TSconfig and Fluid reference lookup with always-on best practices. Keyword search across cached documentation, 14 ready-to-use recipes, code review checklists, deprecation checks, migration guides, debugging reference. Supports TYPO3 v12, v13, and v14.

Add marketplace

/plugin marketplace add netresearch/claude-code-marketplace

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install typo3-typoscript-ref@netresearch-claude-code-marketplace

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

TYPO3 TypoScript, TSconfig and Fluid Reference

Version-aware local lookup with always-on best practices.

Usage

scripts/lookup.sh "stdWrap wrap"              # Reference lookup
scripts/lookup.sh "PAGEVIEW" --with-fluid     # With Fluid context
scripts/lookup.sh --recipe page-setup         # Recipe for common tasks
scripts/lookup.sh "FLUIDTEMPLATE" --review    # Adds deprecation warnings
scripts/lookup.sh --deprecations              # Deprecation list
scripts/lookup.sh --checklist typoscript      # Review checklist (typoscript|tsconfig|fluid)
scripts/lookup.sh --lint-rules                # Project lint rules
scripts/lookup.sh --debug "The page is not configured"  # Debug error
scripts/lookup.sh --update                    # Update cache
scripts/lookup.sh "TEXT" --version 12         # Override version

Rules

  1. ALWAYS run lookup.sh before writing or reviewing TypoScript/TSconfig/Fluid code
  2. ALWAYS follow best practice annotations (required/deprecated/recommended/tip)
  3. ALWAYS check project lint rules (--lint-rules) before writing TypoScript
  4. When writing NEW code: use the most modern approach for the detected version
  5. When reviewing EXISTING code: flag deprecated patterns, check --deprecations for the project's version
  6. For combined TypoScript+Fluid tasks: use --with-fluid flag
  7. Never generate config.no_cache = 1 in production setups
  8. Prefer DataProcessors over CONTENT cObject in Fluid-based templates

Version-Specific Guidance

  • v12: Use FLUIDTEMPLATE, sys_template static includes, constants.typoscript
  • v13: Prefer PAGEVIEW for new page templates, introduce Site Sets, use settings.definitions.yaml
  • v14: Site Sets mandatory, PAGEVIEW is the standard for page rendering (FLUIDTEMPLATE is legacy, not officially deprecated), @import mandatory (INCLUDE_TYPOSCRIPT removed), getTSFE() conditions removed, prefer PKG: over EXT: resource paths

When answering version-specific questions, always consult references/review/deprecations.md and the relevant migration guide (migration-v12-to-v13.md or migration-v13-to-v14.md).

Review Workflow

When reviewing TypoScript/TSconfig/Fluid code:

  1. Run --checklist for the file type (typoscript, tsconfig, or fluid)
  2. Run --deprecations filtered to project version
  3. Cross-reference references/review/common-mistakes.md for known pitfalls
  4. Check references/review/security.md for Fluid XSS patterns (f:format.raw, f:sanitize.html)
  5. Check references/review/performance.md for COA_INT/USER_INT overuse
  6. Use --review flag on keyword lookups to append deprecation context

Reference Index

NeedReference
TypoScript patterns, Fluid best practicesreferences/patterns.md
Debugging errorsreferences/debugging.md
Deprecation listsreferences/review/deprecations.md
Security (XSS, escaping)references/review/security.md
Performance (caching, INT objects)references/review/performance.md
Common mistakesreferences/review/common-mistakes.md
Migration v12-v13references/review/migration-v12-to-v13.md
Migration v13-v14references/review/migration-v13-to-v14.md
Trailing slashes, PageTypeSuffix, duplicate contentreferences/recipes/trailing-slash.md
Topic index (lookup.sh)references/topic-index.md

First Run

scripts/lookup.sh --update

Readme

TYPO3 TypoScript Reference Skill

Version-aware TypoScript, TSconfig and Fluid reference lookup for Claude Code with always-on best practices.

What this skill solves

AI coding agents frequently hallucinate TypoScript properties, invent non-existent ViewHelpers, or suggest patterns that were deprecated several TYPO3 versions ago. Generic documentation tools like Context7 provide raw library docs but lack the TYPO3-specific curation needed to produce correct, modern TypoScript.

This skill solves that by providing structured, version-aware reference data tailored for AI agents:

CapabilityThis SkillGeneric Docs
Version detectionAuto from composer.jsonManual
Offline usageLocal cache after first fetchAPI call per request
Annotationsdeprecated/required/recommendedNot available
Migration guidesBefore/after code, v12-v13, v13-v14Not available
Recipes14 curated patternsRaw docs only
Code review modeDeprecations, checklists, lint rulesNot available
Debugging supportMaps error messages to solutionsNot available
Lint integrationReads typoscript-lint.yml configNot available
ScopeTypoScript, TSconfig, Fluid, ViewHelpersGeneral-purpose

The skill enforces correctness through rules: agents must look up references before writing TypoScript, follow annotation levels, and check project lint rules. This prevents the most common AI mistakes — using removed properties, mixing v12 and v13 syntax, or ignoring site-specific coding standards.

Use when

  • Writing or editing TypoScript, TSconfig or Fluid templates in a TYPO3 project (v12, v13 or v14)
  • Reviewing TypoScript/Fluid changes for deprecations and anti-patterns
  • Migrating a TYPO3 site between major versions (v12 to v13, v13 to v14)
  • Debugging TypoScript errors such as "The page is not configured" or "No TypoScript template found"
  • Looking up cObjects, stdWrap functions, DataProcessors, conditions or ViewHelpers without guessing property names

Expected outputs

  • Reference excerpts from the official TYPO3 documentation for the detected TYPO3 version, prefixed with best-practice annotations (required/recommended/deprecated/tip)
  • Ready-to-use recipes (page setup, menus, Extbase plugins, Site Sets, ...)
  • Code review findings with deprecation tables, checklists and project lint rules
  • Migration guidance with before/after TypoScript snippets
  • Debugging hints mapping error messages to causes and fixes

Context requirements

  • gh CLI (authenticated with GitHub) for fetching the documentation cache
  • Python 3 (for rST conversion and JSON parsing)
  • Bash 4+
  • Network access on first run (scripts/lookup.sh --update); all lookups are served from the local cache afterwards
  • A composer.json or composer.lock in the project for automatic TYPO3 version detection from typo3/cms-core (without it, the lookup uses main, the development branch of the upstream documentation)

Features

  • Version-aware documentation (TYPO3 v12, v13, v14)
  • Local cache — no network dependency after initial fetch
  • Always-on best practice annotations (deprecated/recommended/required)
  • 14 ready-to-use recipes for common TYPO3 patterns
  • Code review support with deprecation checks and migration guides
  • Project-specific lint rule detection (helmich/typo3-typoscript-lint)
  • Debugging reference for common TypoScript error messages

Installation

Claude Code Marketplace

/plugin marketplace add netresearch/claude-code-marketplace
/plugin install typo3-typoscript-ref@netresearch-claude-code-marketplace

Without a marketplace

Since Claude Code 2.1.157 a plugin directory under your personal skills directory loads on its own:

mkdir -p ~/.claude/skills
git clone https://github.com/netresearch/typo3-typoscript-ref-skill.git \
  ~/.claude/skills/typo3-typoscript-ref

It loads as typo3-typoscript-ref@skills-dir on the next session. Update with git -C ~/.claude/skills/typo3-typoscript-ref pull and start a new session; remove it by deleting the directory. This route has no claude plugin update.

Then install the skill via /plugin.

Composer

composer require netresearch/typo3-typoscript-ref-skill

Manual

Download the latest release and extract to ~/.claude/skills/typo3-typoscript-ref/

Usage

First Run

Populate the local cache for your TYPO3 version:

scripts/lookup.sh --update

Reference Lookup

scripts/lookup.sh "stdWrap wrap"
scripts/lookup.sh "PAGEVIEW" --with-fluid

Recipes

scripts/lookup.sh --recipe page-setup
scripts/lookup.sh --recipe menu-setup

Code Review

scripts/lookup.sh "FLUIDTEMPLATE" --review
scripts/lookup.sh --deprecations
scripts/lookup.sh --checklist typoscript

Debugging

scripts/lookup.sh --debug "The page is not configured"

Example prompts

  • "Look up how stdWrap.wrap works in TYPO3 v13 TypoScript."
  • "Review this TypoScript file for deprecated syntax before our v14 upgrade."
  • "Show me the recipe for a PAGEVIEW-based page setup with Site Sets."
  • "Why does my [getTSFE() && getTSFE().id == 42] condition fail after upgrading to TYPO3 v14?"

Supported TYPO3 Versions

TYPO3TypoScript RefFluidViewHelpers
12.412.42.1212.4
13.413.44.613.4
14.314.35.314.3

Documentation Sources

  • TypoScript Explained (TYPO3-Documentation/TYPO3CMS-Reference-Typoscript)
  • Fluid Explained (TYPO3/Fluid)
  • Fluid ViewHelper Reference
  • TYPO3 Explained — Fluid chapter

Skill metadata

FieldValue
action_levelread-only (lookups and local cache writes under cache/)
risk_levellow

agents/openai.yaml is intentionally absent: the skill targets Claude Code; other agent platforms are served via the Composer distribution channel (documented exception per skill-repo validation checklist).

When discovery-relevant fields change (description, topics, summary), update the marketplace entry in netresearch/claude-code-marketplace as well.

Related skills

Contributing

Contributions are welcome via pull request. CI validates the repository via the reusable workflows from skill-repo-skill; to run the same validation locally, execute validate-skill.sh from a checkout of that repository against this repo root.

Content changes (references, recipes, annotations) must be verified against the official TYPO3 documentation for the affected version.

The components, actors and data flows are described in docs/ARCHITECTURE.md; what the skill does and does not guarantee in terms of security is in docs/SECURITY-ASSURANCE.md.

Tests

The tests under tests/ run the shipped scripts and check what they print, write and return. They need bash, python3, uv and the usual coreutils; they make no network request of their own (uv downloads a Python 3.11 or later only when none is installed) and write only to temporary directories.

  • tests/detect-version.sh: composer.lock before composer.json, packages-dev and require-dev, the constraint forms (v13.4.2, ^13.4, ~12.4, >=12.4,<13, dev-main), unparsable files, the five-parent search limit, and rejected arguments.
  • tests/lookup.sh: every mode (--recipe, --checklist, --deprecations, --debug, --lint-rules, keyword lookup with --with-fluid and --review, --update) against the shipped references and a fixture cache, run from a temporary copy of the skill; --update runs with a stub gh that always fails.
  • tests/fetch-docs.sh: the whole download pipeline with a stub gh that serves a fixture Documentation/ tree: which files are selected, the cache paths, the conversion, error counting, annotations, --cache-dir, and rejected arguments.
  • tests/rst2md.py: headings, code blocks, admonitions, roles, confval, dropped directives, whitespace clean-up, and the stdin-to-stdout call.

The curated references, evals/evals.json and the prose of SKILL.md have no behavioural test; CI checks their structure.

Run the tests and the hooks from the repository root:

for t in tests/*.sh; do bash "$t"; done
uv run --python 3.11 python tests/rst2md.py
pre-commit run --all-files

Each case prints ok <case>, or FAIL <case> followed by what was expected and what was found; the last line counts passed and failed cases, and the file exits 1 when a case 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 and tests/**/*.py on each pull request and push to main, marks a failing file with an error annotation, and fails when the scripts under skills/*/scripts/ have no test at all. A change to a script comes with a test that fails without the change; new functionality comes with tests.

Dependencies

  • Scripts: bash 4+, python3 (standard library only) and coreutils (base64, find, grep, sed, tr). fetch-docs.sh, and so lookup.sh --update, also needs the GitHub CLI gh with a login, and uv, which runs rst2md.py on Python 3.11 or later. lookup.sh --lint-rules uses PyYAML when it is installed and prints the raw file otherwise. The scripts install nothing themselves; when no Python 3.11 or later is installed, uv downloads one into its own cache.
  • Documentation sources: the four upstream repositories and the branch per TYPO3 version are listed in skills/typo3-typoscript-ref/references/version-map.json; the downloaded pages live in the untracked cache/ directory.
  • Composer: composer.json requires netresearch/composer-agent-skill-plugin (constraint *), the Composer plugin that installs packages of type ai-agent-skill. No lock file is committed (the skill validator rejects composer.lock in skill repositories): the package is installed as a dependency of other projects, whose lock files pin it.
  • Tests: bash, python3, uv and coreutils; gh is replaced by a stub.
  • Pre-commit hooks: each hook repository in .pre-commit-config.yaml is pinned by rev:.
  • CI: the workflows call reusable workflows of netresearch/skill-repo-skill, netresearch/.github and netresearch/typo3-ci-workflows at @main; those pin their third-party actions by commit SHA.
  • Updates: Renovate (renovate.json, preset github>netresearch/renovate-config) opens pull requests for new versions, including the pre-commit hook revisions; auto-merge-deps.yml enables auto-merge for Renovate and Dependabot pull requests, which GitHub merges once the required checks pass. Composer Audit and dependency review check dependency changes on pull requests.
  • Selection: a new dependency is added only when a script or the tooling needs it, from its upstream source (Packagist, PyPI, the tool's own repository), under a licence the organisation's findings policy accepts.

Governance and policies

This repository follows the Netresearch organisation policies:

Checks that run on pull requests in this repository:

  • Every pull request: Skill Validation (lint.yml: skill structure, manifest sync, markdownlint, yamllint, actionlint, JSON syntax, ShellCheck, ruff, checkpoint schemas), Eval Validation (eval-validate.yml), Skill Tests (tests.yml), the Labeler (labeler.yml) and Auto-merge dependency PRs (auto-merge-deps.yml, which acts only on Renovate and Dependabot pull requests); configured outside the workflows: SonarCloud; on pull requests to main that are not drafts, also the CodeRabbit review and the Copilot code review that the repository ruleset requests.
  • Pull requests to main: security.yml with 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 (Actions and Python) as the codeql job; Harness Verification (harness-verify.yml); Template Drift (check-template-drift.yml); and the DCO sign-off check.
  • Secret detection: Betterleaks in security.yml, and GitHub secret scanning with push protection, which is enabled for the repository.
  • Required for merging into main: Skill Validation, Eval Validation, Skill Tests, DCO and All security checks (the gate job of security.yml, which fails when Betterleaks, zizmor, dependency review, Composer Audit with Opengrep or CodeQL fails); commits must be signed.

License

MIT (code) and CC-BY-SA-4.0 (documentation content) — see LICENSE-MIT and LICENSE-CC-BY-SA-4.0. Copyright Netresearch DTT GmbH.

Credits

Developed by Netresearch DTT GmbH for the Claude Code ecosystem.

Details

Marketplace
netresearch/claude-code-marketplace
Source
netresearch/typo3-typoscript-ref-skill
Category
Development
Listed since
Apr 7, 2026

More from netresearch/claude-code-marketplace

All 41

Similar to typo3-typoscript-ref

More Developer Tools