Skip to main content

typo3-docs

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 indentation (TYPO3 v14+).

소스 정보

저장소
dirnbauer/typo3-skills
최근 소스 활동
2026년 9월 5일 13:39
감지된 SKILL.md 언어
영어
스타
5
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
52 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
typo3-docs
description
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 indentation (TYPO3 v14+).
license
(MIT AND CC-BY-SA-4.0). See LICENSE-MIT and LICENSE-CC-BY-SA-4.0
compatibility
Requires php, docker (for rendering). A TYPO3 extension; Documentation/ may be absent.
metadata
{"author":"Netresearch DTT GmbH","version":"2.19.3","repository":"https://github.com/netresearch/typo3-docs-skill"}
allowed-tools
Bash(php:*) Bash(docker:*) Bash(sed:*) Bash(grep:*) Read Write Glob Grep
# TYPO3 Documentation Skill Create and maintain TYPO3 extension documentation per docs.typo3.org standards. ## Core Workflow 0. **No `Documentation/` yet?** Copy `assets/guides.xml.dist` to `Documentation/guides.xml`; never write one from memory -- the namespace is phpDocumentor's, not TYPO3's. 1. **Run extraction first** to find gaps: ```bash scripts/extract-all.sh /path/to/extension scripts/analyze-docs.sh /path/to/extension ``` 2. Consult the matching reference 3. Use TYPO3 directives, not plain text 4. Validate: `scripts/validate_docs.sh /path/to/extension` 5. Render: `scripts/render_docs.sh /path/to/extension` > **Critical**: For "show docs", render HTML, not raw RST. ## Element Selection Guide | Content Type | Directive | |--------------|-----------| | Complete code | `literalinclude` (preferred) | | Short snippets | `code-block` with `:caption:` | | Config options | `confval` with `:type:`, `:default:` | | PHP API | `php:method::` -- `:returntype:` for nullable/union | | Notices | `note`, `tip`, `warning`, `important` | | Feature grids | `card-grid` with footer `stretched-link` | | Alternatives | `tabs` (synchronized) | | Screenshots | `figure` with `:zoom: lightbox` + border/shadow classes | ## Critical Rules Official docs are canonical; on conflict the live manual wins -- report drift (`references/canonical-sources.md`). Upstream: - **UTF-8**, **4-space** indent (no tabs), **LF**; wrap at **80 chars** where possible - **CamelCase** files, **sentence case** headings - **Permalink anchors** (`.. _label:`) before every heading - **Index.rst** in every subdirectory - **PNG/AVIF** images with `:alt:` - **PHP domain**: no `?Type`/`Type|null` in `php:method::`; use `:returntype:` NR policy: **no `mailto:`** (upstream allows it; spam/PII -- use Issues/Discussions); **.editorconfig** in `Documentation/`. Heuristic: **~250 lines** per RST, split with `toctree`; screenshots where they help (backend modules, config, workflows). ## Code Example Validation Cross-reference examples against source: grep method names in `Classes/`, compare CLI arguments with `configure()`. See `references/extraction-patterns.md`. ## Pre-Commit Checklist 1. Code blocks have `:caption:`, inline code uses proper roles 2. Screenshots exist with `:alt:` and `:zoom: lightbox` 3. `scripts/validate_docs.sh` passes, render has no warnings 4. README and Documentation/ synchronized ## References - `references/canonical-sources.md` -- topic-to-upstream map, provenance labels - `references/file-structure.md` -- layout, naming - `references/guides-xml.md` -- the guides.xml skeleton, build config, interlinks - `references/coding-guidelines.md` -- CGL deltas, .editorconfig - `references/rst-syntax.md` -- headings, punctuation pitfalls - `references/text-roles-inline-code.md` -- `:php:`, `: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` -- figures, image rules, SVG diagrams - `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 - `references/upstream-docs-contribution.md` -- upstream docs PRs
GitHub에서 보기