Repository navigation
writing_wiki_pages_with_ai
Anyone can edit this wiki, and an edit is live the moment it is saved: there is no review and no automatic check in between. That keeps the wiki open, but it also means a page can name a menu that does not exist, describe a feature that was never merged, or link to nothing, and every reader is misled until someone notices. AI assistants make writing a page fast, which makes that easier, not harder.
qet-wiki-writer gives you, and
your assistant, the rules this wiki follows and a checker to run before you
push: wiki-lint.py. It needs only Python 3 and git.
| Assistant | How |
|---|---|
| Claude Code | copy skills/qet-wiki-write from the repository into ~/.claude/skills/ (or a project's .claude/skills/); it loads when you ask for a wiki page |
| Any other (Copilot, ChatGPT, Gemini, β¦) | give it AGENTS.md, or keep that file in the folder it works in |
Then ask, for example: "Write a wiki page for the feature in pull request #1234. Check every menu name against the source, run wiki-lint.py, and do not push until I have read it."
The rules in short:
-
English, with menus, dialogs and buttons named by their exact English
label, taken from the source (
tr("β¦")), not from memory. -
One name per page. The wiki ignores folders:
data_files/x.mdandx.mdare the same page. Do not put pages in folders. -
Every new page in
_Sidebar.md, with "See also" links both ways. - A feature in an open pull request says so in a "Status: pending" notice naming the pull request, and the notice comes out when it merges.
- A page about a feature ends with a receipt line saying someone ran the steps on a real build (below).
- Do not rewrite or revert someone else's page because a check fails: tell them.
git clone https://github.com/ispyisail/qet-wiki-writer
W=~/qet-wiki; rm -rf $W
git clone https://github.com/qelectrotech/qelectrotech-source-mirror.wiki.git $W
# write or edit pages in $W, then:
python3 qet-wiki-writer/wiki-lint.py $W --changed --online \
--qet-dir ~/qet/qelectrotech-source-mirror --receipt-build <commit you ran>Always start from a fresh clone of the wiki: an old one misses what others changed since.
| Option | Does |
|---|---|
--changed |
check only the pages you changed, so old problems on other pages do not stop you |
page names |
check only these pages |
--qet-dir |
a QElectroTech source checkout: checks menu names against it |
--online |
checks pending notices against GitHub (no login needed) |
--receipt-build |
the commit of the build you ran: a receipt naming another build fails |
--only a,b |
run only some checks |
| Check | Finds |
|---|---|
links |
a link to a page that does not exist |
names |
two files with the same name in different folders |
sidebar |
an English page not linked from _Sidebar.md
|
images |
a picture missing from images/, or with no alt text |
english |
French or German sentences on an English page |
labels |
(warning only) a menu path like Settings β Configure QElectroTech whose parts are not in the source |
pending |
a pending notice whose pull request has already merged or closed |
receipt |
a feature page with no receipt line, a Draft page, or a receipt for another build |
A FAIL means fix it first; the command exits with 1. labels is only a
warning, because the source has variants of some names: read each one. At
the end the checker prints a short summary you can paste into the commit
message.
A page that explains how a feature works ends with one line, written after someone has run the steps on a real build:
> Checked against build `eaeb55c` on 2026-11-04 (GUI story zoom-step, run on that build).The commit is the one the build was made from. In the brackets, say how:
| In the brackets | Means |
|---|---|
GUI story <name> |
a how-to video story played and checked on that build |
by hand |
a person followed the page's steps on that build |
ctest <test> |
a QElectroTech unit test covers it |
read from source |
only for reference tables, such as options and exit codes |
Check again when the feature changes. A page without a receipt is not wrong; it is simply not checked yet.
If you (or your assistant) could not run the steps, start the page with:
> **Draft: steps not yet run on a build.**Whoever later runs the steps replaces that line with the receipt. The checker does not count a draft as checked. An assistant must not publish a draft unless you tell it to.
| You have | You can |
|---|---|
| git and Python | run the checks on links, names, sidebar, images and language |
| internet | add --online for the pending notices |
| the QElectroTech source | add --qet-dir for the menu names |
| a QElectroTech build | run the steps and write the receipt line |
| only the web editor | edit; nothing can check there, so someone with a clone checks afterwards |
Nothing stops a bad edit, so run the checker over every page now and then
(without --changed, with --online). Fix your own pages; for anyone
else's, tell them or open an issue.
- Contributing to this wiki
- Making a how-to video β a video and its page go together
- Check your change: qet-verify β the same idea for code
- Connecting an AI assistant
- qet-wiki-writer on GitHub
Checked against build
153d1c447on 2026-11-04 (by hand: ran every command on this page from a fresh clone of qet-wiki-writer, and its tests).
Getting Started
π Languages β English Β· FranΓ§ais Β· Deutsch
Windows without admin rights β the portable archive, no installer
Guides
Conductors β wire properties, what feeds which export, cables, and hops where wires cross
Wires per terminal β limit the wires on a terminal, chain wiring instead of stars
Printing and exporting β paper, PDF, images, and what each path does differently
Linking elements β master, slave, terminal
PLC modules β I/O tables and linking a wire to a specific point
Using the element editor β drawing tools, saving, checks
Generic devices β a quick box symbol with terminals on any side, made by a wizard
Grid size and element size β why symbols aren't all the same scale, and scaling one without leaving the grid
Preferences reference β what each settings page does
Saving and loading settings β your whole setup in one file, to copy or keep
Keyboard-only control β mouseless QET, and what still needs a mouse
Mouse modifiers β what Shift, Ctrl and Alt change while you drag
3D mouse β SpaceMouse pan, zoom and buttons
Aligning items β snap symbols back to the grid, or line them up
Drawing aids β dark mode, snap and grid step, crosshair, dimensions, the tape measure
Symbols already on the sheet β select the same symbols, replace them, show a T-junction as a dot, update placed copies from the collections
Symbol texts β place the texts at nine points, fixed or free size, format painter, title block cells, GOST ESKD, %T
Wiring tools β automatic connections, the Connections toolbar, chained folio reports, a cable across wires
Symbols and parts β edit several symbols, relay contact display, grouped parts list
Device types β what a device is made of: check, place and change its parts, Device Navigator
Project languages and checks β languages in a project, cell origin, duplicate labels, the Check panel
Reports and lists β project lists to CSV/PDF, tables on a folio, label-printer export, symbol list
Pictures on a sheet β labels, crop, transparency, what they cost in the file
Arcs and curved wires β the Arc tool, pulling an arc in or out, rounding a corner with a fillet, dashed arcs for lighting layouts
Grouping items β select, move and copy several items as one
Finding your place on a sheet β go to a cell like B13 or 4-B7, keep the headers in sight, show the cell limits, zoom and pan
Showing and hiding kinds of items β hide texts, wire numbers, shapes, pictures, tables or cross-references on every sheet
Drawing faster β place without dragging, the S shortcut bar, command search, gestures
Customising QElectroTech β keys, toolbar size and contents, the gesture ring
Managing collections β folders, writability, building your own shortlist
Templates β reusable multi-element blocks, placed by double-click or drag
Search & Replace β bulk property changes
Building a nomenclature query β the BOM/summary table builder
Formula columns β build a calculated column in a parts list without writing SQL
Linking wires across pages β sheet reports
Variables & formulas β %f, %{label}, sequences
Auto-numbering β schemes, sequences, freezing
Terminal strips β strips, levels, bridges
Connectors β plugs and sockets as terminal strips or head-with-pins devices, device types, pin check, spare-pin plans
Title block templates β the .titleblock format
Title block alignment β place a title block inside or outside the sheet, left, centred or right
Plants and locations β list, rename, copy a plant, suggestions
Designations and structure boxes β IEC 81346 names, structure boxes, ==/++ levels, folio groups, company prefixes
Revisions, document kinds and drawing standard β revision list and table, IEC 61355 document kind, project standard
Importing EPLAN parts (.edz) β EPLAN Data Portal
DXF import & export β two unrelated features, one format; command-line export and layers
Project files β .qetz (zipped, the default) and .qet, what is inside, opening big projects faster, starting from a template
The one-file project, .qetdb β history of saves, repair, --query over many projects
Saving safely β previous versions, a project open elsewhere, damaged files, crash recovery
The project database β the working SQLite database built when a project opens
Development
Code style β the QET house style for C++, and formatting only the lines you change
Fix or add with an AI assistant β beginner build setup and a prompt that does the work
Check your change: qet-verify β run it before every pull request
Posting with an AI assistant β short, plain pull requests and replies
Translate with an AI assistant β draft the interface in your language, check it, send it
Making a how-to video β a short feature video from a checked story
Writing wiki pages with an AI assistant β the rules, and a checker to run before you push
Automating QET β CLI, XML formats, external tools
CLI Reference β command line usage
JavaScript Scripting β --run, geometry editing, undo
MCP server β let an AI assistant read, verify and edit projects
Connecting an AI assistant β setup for Claude, Copilot, Gemini, Codex, Cursor, LM Studio
Script buttons β stored scripts with an icon, by hand or by an assistant
Live mode β an assistant working in the open project while you watch
Macro recorder β record a task by hand, for an assistant to script
Vision β proposal, under discussion
