From kde-plasma
Safely edit KDE config files via kwriteconfig6 / kwriteconfig5 with backup-before-write. Use whenever you need to set a key in a KDE rc file (kwinrc, kdeglobals, plasmarc, etc.) — never edit those files with sed.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin kde-plasmaThis skill uses the workspace's default tool permissions.
KDE config files use a custom INI dialect with array suffixes (`[$e]`, `[$i]`), nested groups (`--group A --group B`), and comments KDE will rewrite. **Never** use `sed` / `awk` / hand-rolled INI parsers on them — use `kwriteconfig6` (or `kwriteconfig5` on KF5).
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Share bugs, ideas, or general feedback.
KDE config files use a custom INI dialect with array suffixes ([$e], [$i]), nested groups (--group A --group B), and comments KDE will rewrite. Never use sed / awk / hand-rolled INI parsers on them — use kwriteconfig6 (or kwriteconfig5 on KF5).
KW=$(command -v kwriteconfig6 || command -v kwriteconfig5)
KR=$(command -v kreadconfig6 || command -v kreadconfig5)
$KR --file kdeglobals --group General --key ColorScheme
TARGET="$HOME/.config/kwinrc"
[ -f "$TARGET" ] && cp -a "$TARGET" "$TARGET.bak.$(date +%s)"
$KW --file kwinrc --group Compositing --key Backend "OpenGL"
$KW --file plasma-org.kde.plasma.desktop-appletsrc \
--group Containments --group 1 --group General \
--key wallpaperplugin "org.kde.image"
$KW --file kwinrc --group Compositing --key Backend --delete
$KW --file kwinrc --group Compositing --delete-group
Different components watch different files. Common ones:
| File | Reload |
|---|---|
kwinrc | qdbus org.kde.KWin /KWin reconfigure |
kglobalshortcutsrc | qdbus org.kde.kglobalaccel /kglobalaccel reloadConfiguration |
kdeglobals | most apps re-read on launch; kbuildsycoca6 for menu/icon caches |
plasma-org.kde.plasma.desktop-appletsrc | restart plasmashell |
khotkeysrc | qdbus org.kde.kded6 /modules/khotkeys reread_configuration |
${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/kde-plasma/state/kwriteconfig-backups/ (preferred over inline .bak clutter for non-trivial sessions).true / false.