Przejdź do treści
Biblioteka skilli
Dokumenty i biuro · Pisanie

documentation-engine

/documentation-engine

Prowadzi przez tworzenie, wypełnianie, walidację, wersjonowanie, zatwierdzanie i eksport dokumentów RM Context w Markdown, Mermaid i HTML, PDF lub DOCX.

Repozytorium
rm-context ↗
Licencja
MIT
Ostatnia zmiana repozytorium
09.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
1
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 09.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.

Co robi i kiedy

Prowadzi przez tworzenie, wypełnianie, walidację, wersjonowanie, zatwierdzanie i eksport dokumentów RM Context w Markdown, Mermaid i HTML, PDF lub DOCX.

Oryginalny opis (EN)

How RM Context documents are created, filled, validated, versioned, approved and exported (Markdown + Mermaid + JSON registry metadata, HTML/PDF/DOCX export). Use whenever creating or updating any professional document in .rmcontext/documents/.

Jak działa

  1. Lifecycle
  2. Metadata
  3. Validation rules (enforced by rmc doc validate)
  4. Generated (prefilled) types
  5. Writing standard
  6. Customising templates
  7. Export notes
Sekcje z nagłówków SKILL.md, w oryginale · 54 linii, 554 słów
Podgląd SKILL.md
---
name: documentation-engine
description: How RM Context documents are created, filled, validated, versioned, approved and exported (Markdown + Mermaid + JSON registry metadata, HTML/PDF/DOCX export). Use whenever creating or updating any professional document in .rmcontext/documents/.
---

# Documentation Engine

## Lifecycle
```
rmc doc new <type> --title "…" --author <agent> [--nodes BR-001,api:POST /users] [--sources src/a.js,db/schema.sql]
   → .rmcontext/documents/<layer>/<ID>-<slug>.md   (status Draft, version 1)
edit every section (keep the "## Heading" lines; guidance lives in <!-- guide --> comments)
rmc doc validate <ID>                          → fix every error
rmc doc status <ID> "Under Review"             → only when it validates
rmc doc status <ID> Approved --approved-by "…" → ONLY after explicit user approval
rmc doc revise <ID> --note "…"                 → after editing an existing doc: snapshots vN to documents/.history/<ID>/, bumps version; revising an Approved doc returns it to Under Review
rmc doc regenerate <ID>                        → refresh the graph/plan-generated block (new version)
rmc doc export <ID> --format html|pdf|docx     → documents/exports/
```
`rmc doc types` lists all templates with their rules. Statuses: Draft · Under Review · Approved · Superseded · Archived.

## Metadata
`documents/registry.json` holds the structured metadata for every document: id, type, title, path, layer, status, version, author agent, created and updated timestamps, approvedBy/At, `sources` (repository files), `nodes` (graph ids) and `history`. The table between `rmc:meta` markers at the top of each Markdown file is regenerated from the registry. Do not edit it by hand.

`sources` and `nodes` drive traceability:
- `rmc refresh` flags a document **needs review** when one of its source files changes.
- `rmc impact` lists documents linked to affected nodes.

## Validation rules (enforced by `rmc doc validate`)
- Every required section is present and non-empty. Comments don't count as content.
- No placeholder text (`{{…}}`, "lorem ipsum", "TODO: fill", "[insert …]").
- No secret-like content.
- Type rules:
  - `basis`: requirement/rule tables have a **Basis** column with Confirmed / Assumption / Open Question / Recommendation.
  - `evidence`: at least one `path/file.ext:line` citation or registered sources.
  - `mermaid[:kind]`: a Mermaid diagram (of that kind) is present.
  - `plan`: plan.json exists.
  - `adr-status`: the Status section states Proposed, Accepted, Deprecated or Superseded.

## Generated (prefilled) types
`erd`, `api-spec`, `data-dictionary`, `rtm`, `infrastructure-design`, `cicd-spec`, `env-matrix`, `raid-log`, `wbs`, `gantt` and `roadmap` start with content generated from the graph or plan, between `rmc:generated` markers. Keep that block. Add analysis around it. If the data was wrong, fix the graph or plan, then run `rmc doc regenerate <ID>` (it snapshots the old version and bumps the version) rather than editing generated rows.

## Writing standard
- Write for a reader who was not in the conversation: define terms, state scope, and link ids.
- Prefer tables for requirements, rules, risks and inventories. Put prose where reasoning is needed.
- If information is unavailable, write it as an **Open Question** or **Assumption**. Never use filler.
- Mermaid: quote labels with spaces or special characters; keep each diagram small enough to read.

## Customising templates
A project can add or override types in `.rmcontext/templates/catalog.json` (same shape as the plugin's `templates/catalog.json`). It can also supply a full Markdown body in `.rmcontext/templates/<type>.md`, where `{{title}}` and `{{id}}` are substituted. Validation still uses the catalog's required sections.

## Export notes
- **HTML:** always available. Mermaid renders when the page can load the pinned `mermaid@10.9.1` from jsDelivr; offline, diagrams stay readable as source.
- **PDF:** needs Chrome, Chromium or Edge (auto-detected, or set `RMC_CHROME`).
- **DOCX:** needs `pandoc`. Mermaid diagrams appear as code blocks.

When a tool is missing, the CLI says so. Report that to the user rather than claiming the export succeeded.

Wersje

W bazie nie ma innych skilli o nazwie documentation-engine.

Migawka bazy z 13.11.2026 · wersja paczki 05e0d1b02f1c (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100document-conversion
    Konwertuje dokumenty między formatami: HTML na Markdown, dokument na Markdown i HTML na PDF, z zachowaniem struktury zamiast jej gubienia.
  • 100generate-document
    Generuje profesjonalne dokumenty w formatach PDF, DOCX, HTML, ODT, EPUB i RTF, na przykład raporty i eksport wyników analizy.
  • 100template-engine
    Automatycznie wypełnia szablony dokumentów danymi: korespondencja seryjna, wypełnianie placeholderów, masowe generowanie listów i faktur z arkusza, w formatach DOCX, PDF, HTML i tekst.
  • 100docx
    Tworzy, modyfikuje i analizuje dokumenty DOCX z obsługą zmian, komentarzy i zachowaniem formatowania oraz konwertuje .doc do .docx, DOCX do PDF, obrazów i Markdown.
  • 100feishu-cli-docs
    Obsługuje dokumenty Feishu przez CLI: czytanie i streszczanie docx, wiki i arkuszy, tworzenie i edycja dokumentów z obrazami i załącznikami, import Markdown, eksport do PDF, Word i Excel oraz wersje i rollback.
  • 100markdown-to-pdf
    Zamienia plik Markdown w PDF do druku lub udostępnienia, z diagramami Mermaid, szerokimi tabelami, numerami stron i nagłówkiem.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.