Imported from TYPO3-Documentation/TYPO3CMS-Tutorial-Editors (
AGENTS.md). Install upstream withnpx skills add TYPO3-Documentation/TYPO3CMS-Tutorial-Editors. Copyright stays with the author.
AGENTS.md — TYPO3 Tutorial: Editors
Repo structure
Documentation/ # the actual manual (reST source, published to docs.typo3.org)
CONTRIBUTING.md # how to contribute
Commands
make docs— render the manual locally with Dockermake test-docs— render in fail-on-log mode; use this to validate any change before committing
Documentation writing rules
See STYLEGUIDE.md first for this manual's editorial voice and content
rules (audience is editors, not developers) — it intentionally overrides
the general conventions below on tone and level of detail.
Follow the official TYPO3 documentation writing conventions (see https://github.com/TYPO3-Documentation/TYPO3CMS-Guide-HowToDocument) for everything else — reST syntax, anchors, formatting:
- reST, not Markdown — everything under
Documentation/is reStructuredText. - Sentence case headlines — first word and proper nouns only; see
Documentation/Advanced/ContentStyleGuide.rstin the how-to-document guide. - 4-space indentation for directive bodies, 2 spaces after
..markers; seeDocumentation/Advanced/CodingGuidelines.rstin the how-to-document guide. - Single backticks over double, unless the content needs a literal
backtick; see
Documentation/Reference/ReStructuredText/Code/InlineCode.rstin the how-to-document guide. - Every headline needs a
.. _anchor:target directly above it, and anchors are never removed once published; seeDocumentation/Reference/ReStructuredText/Links/Anchors.rstin the how-to-document guide. - Validate before committing — run
make test-docs. - Never commit or push without being asked.
Commit message format
Follow https://docs.typo3.org/m/typo3/docs-how-to-document/main/en-us/Howto/EditLocal.html:
- Prefix the subject line with
[TASK],[BUGFIX], or[FEATURE], followed by a short, imperative summary. - Explain why the change is needed in the body — the diff already shows what changed.
- End with a
Signed-off-by: Your Name <email>trailer. - If AI assistance went beyond basic spelling/grammar checks, add an
Assisted-by: <tool/model name> <contact>trailer, e.g.Assisted-by: Claude Sonnet 5 <noreply@anthropic.com>. - If the change should be backported, add a
Releases: main, 14.3, 13.4trailer listing every branch it applies to. This repo maintains multiple LTS branches, soReleases:applies here.
Pull requests
- When a commit is the only commit in the PR, the PR title and body must match the commit's subject and body exactly.
- When the commit message has a
Releases:trailer naming branches beyondmain, attach the matchingbackport <version>label (e.g.backport 14.3,backport 13.4) to the PR for each of those branches when opening it — don't wait to be asked. - Adding labels requires triage/write access, which an external contributor's account (e.g. a fork-based PR) usually doesn't have. If attaching a label fails for that reason, don't treat it as an error and don't note the failure in the PR — just skip it silently.
For maintainers
- A PR opened by an agent may be missing its
backport <version>labels if the agent's account lacked permission to add them. Check for and add any missing backport labels yourself before/when merging such a PR.
References
- TYPO3CMS-Guide-HowToDocument — official writing style guide and reST reference
- https://docs.typo3.org/m/typo3/docs-how-to-document/main/en-us/Howto/EditLocal.html — commit/PR conventions