Typo3 docs

From dirnbauer/webconsulting-skills · View interactive version

Typo3 docs is an AI agent skill from the GitHub repository dirnbauer/webconsulting-skills. Use when creating, editing, or reviewing TYPO3 extension documentation (Documentation/*.rst, guides.xml, README.md, XLF translations), rendering docs with Docker, using TYPO3 RST directives, adding screenshots, deploying to docs.typo3.org, improve docs, fix documentation, or XLIFF 2-space indentatio

How to use this skill

Skill file

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:

```bash

scripts/extract-all.sh /path/to/extension

scripts/analyze-docs.sh /path/to/extension

```

  1. Consult the appropriate reference file for the task
  2. Use TYPO3-specific directives, not plain text
  3. Validate: scripts/validate_docs.sh /path/to/extension
  4. 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 Type | Directive |

|--------------|-----------|

| Complete code | literalinclude (preferred over code-block) |

| Short snippets | code-block with :caption: |

| Config options | confval with :name:, :type:, :default: |

| PHP API | php:method:: -- use :returntype: for nullable/union types |

| Notices | note, tip, warning, important |

| Feature grids | card-grid with stretched-link in footer |

| Alternatives | tabs (synchronized) |

| Screenshots | figure with :zoom: lightbox :class: with-border with-shadow |

Critical Rules

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


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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.