mcpField
T
typo3-docs

typo3-docs

github.com/dirnbauerDevelopment3376 installsUpdated 13w ago
Repository

About typo3-docs

A skill for creating and maintaining TYPO3 extension documentation according to docs.typo3.org standards. It guides developers through content extraction, formatting conventions, validation, and rendering.

Key features

  1. 01Extract and analyze documentation coverage
  2. 02Structure content with TYPO3 directives
  3. 03RST file and directory conventions
  4. 04Validate and render documentation
  5. 05Check examples against extension source

Use cases

  1. 01Identify gaps in extension documentation
  2. 02Document configuration options and PHP APIs
  3. 03Validate RST before a release
  4. 04Render documentation and review its output

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/dirnbauer/webconsulting-skills --skill typo3-docs

After installing, type/typo3-docsin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

checkpoints.yaml
assets/
AGENTS.md
evals/
evals.json
references/
architecture-decision-records.md
asset-templates-guide.md
code-structure-elements.md
coding-guidelines.md
content-directives.md
documentation-coverage-analysis.md
extraction-patterns.md
file-structure.md
guides-xml.md
intercept-deployment.md
rendering.md
rst-syntax.md
screenshots.md
scripts-guide.md
text-roles-inline-code.md
typo3-directives.md
typo3-extension-architecture.md
scripts/
add-agents-md.sh
analyze-docs.sh
check-adr-coverage.sh
check-changelog-version-coverage.sh
check-guides-xml-version-sync.sh
check-required-doc-sections.sh
check-rst-substitutions-used.sh
check-unreleased-versions.sh
check-untranslated-fluid-strings.sh
check-version-match.sh

Details

From the project README

TYPO3 Documentation Skill

Create and maintain TYPO3 extension documentation following official docs.typo3.org standards.

Core Workflow

  1. Run extraction first to identify documentation gaps:
    scripts/extract-all.sh /path/to/extension
    scripts/analyze-docs.sh /path/to/extension
    
  2. Consult the appropriate reference file for the task
  3. Use TYPO3-specific directives, not plain text
  4. Validate: scripts/validate_docs.sh /path/to/extension
  5. Render: scripts/render_docs.sh /path/to/extension

Critical: When the user asks to "show docs", render and display HTML output, not raw RST.

Element Selection Guide

Content TypeDirective
Complete codeliteralinclude (preferred over code-block)
Short snippetscode-block with :caption:
Config optionsconfval with :name:, :type:, :default:
PHP APIphp:method:: -- use :returntype: for nullable/union types
Noticesnote, tip, warning, important
Feature gridscard-grid with stretched-link in footer
Alternativestabs (synchronized)
Screenshotsfigure with :zoom: lightbox :class: with-border with-shadow

Critical Rules

  • UTF-8, 4-space indent, 80 char lines, LF
  • CamelCase files, sentence case headings
  • Permalink anchors (.. _label:) before every heading
  • Index.rst in every subdirectory
  • PNG screenshots with :alt: and :zoom: lightbox
  • .editorconfig in Documentation/
  • Screenshots MANDATORY for backend modules, config, workflows
  • Max 250 lines per RST -- split with toctree
  • No mailto: -- use GitHub Issues/Discussions
  • PHP domain: no ?Type/Type|null in php:method::; use :returntype:

Code Example Validation

Cross-reference code examples against extension source: grep method names in Classes/, compare CLI arguments against configure(), verify API signatures match. See references/extraction-patterns.md.

Pre-Commit Checklist

  1. .editorconfig in Documentation/, Index.rst in every directory
  2. 4-space indent, no tabs, max 80 chars
  3. Code blocks have :caption:, inline code uses proper roles
  4. Screenshots exist with :alt: and :zoom: lightbox
  5. scripts/validate_docs.sh passes, render has no warnings
  6. README and Documentation/ are synchronized

References

  • references/file-structure.md -- directory layout, naming conventions
  • references/guides-xml.md -- build configuration, interlink settings
  • references/coding-guidelines.md -- .editorconfig, indentation rules
  • references/rst-syntax.md -- headings, list punctuation, doc-review pitfalls
  • references/text-roles-inline-code.md -- :php:, :file:, :guilabel:, :ref:
  • references/code-structure-elements.md -- code blocks, confval, PHP domain
  • references/typo3-directives.md -- confval, versionadded, deprecated
  • references/content-directives.md -- accordion, tabs, card-grid
  • references/screenshots.md -- image requirements, figure directives
  • references/rendering.md -- Docker commands, live preview
  • references/intercept-deployment.md -- webhook, build triggers
  • references/asset-templates-guide.md -- templates, screenshot workflow
  • references/architecture-decision-records.md -- ADR patterns
  • references/documentation-coverage-analysis.md -- coverage scoring
  • references/scripts-guide.md -- script options
  • references/typo3-extension-architecture.md -- extension layout

Credits & Attribution

This skill is based on the excellent work by Netresearch DTT GmbH.

Original repository: https://github.com/netresearch/typo3-docs-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

Comments

Markdown supported