Agent skill

Qkeymapper Workflow

by Zalafina in Zalafina/QKeyMapper

QKeyMapper playbook for planning, implementation, debugging, and validation in this repo.

GPL-3.0Auto-check passedDevelopment

Install Qkeymapper Workflow

skills CLI
$ npx skills add Zalafina/QKeyMapper --skill qkeymapper-workflow -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Zalafina/QKeyMapper qkeymapper-workflow --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Zalafina/QKeyMapper.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/qkeymapper-workflow .claude/skills/qkeymapper-workflow && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
qkeymapper-workflow
GitHub stars
756
Token cost
~1.4k tokens
SKILL.md length
684 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
GPL-3.0

At a glance

QKeyMapper playbook for planning, implementation, debugging, and validation in this repo.

  • Works in 5 steps: Anchor on the user-visible behavior,… → Step to the nearest owning function,… → Check same-module patterns before broad… → …
  • Development work in your project
  • SKILL.md covers Start here, Core files, Module guidelines and Qt version compatibility, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Qkeymapper Workflow is an agent skill from Zalafina/QKeyMapper. QKeyMapper playbook for planning, implementation, debugging, and validation in this repo.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. It works with C++. The repository describes itself as: [按键映射工具] QKeyMapper,Qt开发Win10&Win11可用,不修改注册表、不需重新启动系统,可立即生效和停止。支持游戏手柄映射到键鼠,手柄摇杆控制鼠标移动,键鼠映射到虚拟游戏手柄,鼠标控制虚拟手柄移动摇杆等功能。 The licence is GPL-3.0.

When your agent uses it

  • Development work in your project

Example prompts

  • “/qkeymapper-workflow”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Anchor on the user-visible behavior, failing command, or touched file.
  2. Step to the nearest owning function, class, or dialog.
  3. Check same-module patterns before broad search.
  4. Keep the first change small and reversible.
  5. Before editing, identify a unique anchor for the exact snippet; if the file has repeated similar blocks, do not patch until the target is…

What it can do on your machine

Read from SKILL.md and the folder at commit 0b24b27. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Qkeymapper Workflow loads about 1.4k tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 684 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~27
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Zalafina/QKeyMapper at commit 0b24b27, republished under its GPL-3.0 licence (© Zalafina). 684 words, ~1,416 tokens.

Download SKILL.mdSave it as .claude/skills/qkeymapper-workflow/SKILL.md (or your agent's skills folder).
name
qkeymapper-workflow
description
QKeyMapper playbook for planning, implementation, debugging, and validation in this repo.
when_to_use
When planning a change, implementing a feature, debugging an issue, or validating a fix in this project. Also when the user asks about floating button…

QKeyMapper Workflow

Use this skill for repo-specific work in QKeyMapper. Keep scope narrow, reuse existing architecture, and validate the smallest slice that proves the change.

Start here

  1. Anchor on the user-visible behavior, failing command, or touched file.
  2. Step to the nearest owning function, class, or dialog.
  3. Check same-module patterns before broad search.
  4. Keep the first change small and reversible.
  5. Before editing, identify a unique anchor for the exact snippet; if the file has repeated similar blocks, do not patch until the target is uniquely disambiguated by nearby literal text or line context.

Core files

  • qkeymapper.cpp / qkeymapper.h
  • qkeymapper_worker.cpp / qkeymapper_worker.h
  • qkeymapper_constants.h
  • qitemsetupdialog.cpp / qitemsetupdialog.h
  • qfloatingbuttonsetupdialog.cpp / qfloatingbuttonsetupdialog.h
  • qkeymapper.ui
  • qkeymapper_qt_compat.h
  • QKeyMapper.pro

Module guidelines

  • Dialog/UI: update load, apply, save, and restore together; if generated UI members are involved, check for a source-tree ui_*.h shadow file first.
  • Floating Button: treat constants, worker state, dialog load/apply, runtime visuals, and save/restore as one pipeline; watch resize loops; validate the smallest slice.
  • Forza/runtime mapping: keep legacy and new syntax on the same runtime path; verify press/release ordering and per-player state transitions; add DEBUG_LOGOUT_ON only at the exact transition point.
  • Serialization/settings: keep keymapdata.ini and Save Setting paths in sync; check load/apply/save/recover paths together.

Qt version compatibility

  • Code must compile on both Qt 6.8.3 and Qt 5.12.10 from a single source tree. When an API differs between versions, add a compatibility wrapper in qkeymapper_qt_compat.h — avoid scattering #if QT_VERSION checks throughout the codebase.

Validation

  • Use the build directory under QKeyMapper/build/ (e.g., Desktop_Qt_6_x_x_MSVC2022_64bit-Release) for Qt/MSVC validation. Check the actual directory name at build time — it varies with the Qt version.
  • Prefer targeted object builds over full rebuilds.
  • If compile errors mention Ui::QKeyMapper members, first check for stray source-tree ui_qkeymapper.h.
  • Use build-directory generated ui_*.h.
  • If qkeymapper.cpp compiles but behavior is still suspect, do one follow-up link build or the smallest runtime check.
  • Do not spend multiple iterations inventing new jom commands; use the known build-directory workflow first. If a jom failure is due to environment, path, or quoting uncertainty, stop after one retry and hand the validation back to the user.
  • After any patch, verify the edit took effect in the right place before moving on — for example, grep for the changed line or check that a related symbol reference resolves correctly. If the edit landed wrong, repair it in the same slice; do not widen scope or touch other files.
Show full SKILL.md (293 more words)Show less

Advanced diagnostic sandbox (Opt-in Heavy Diagnosis)

  • Default to Level 1 lightweight analysis: keep changes small and reversible; do not launch heavy custom build sandboxes for ordinary bugs.
  • When an issue touches deep internal mechanisms (Qt-internal shared cache, hidden state, Win32 hook/message races, driver I/O) or resists standard debugging, propose Level 2 escalation to the user first: Ask explicitly: "是否需要让 Agent 自主搭建完整诊断工作流来解析定位复杂问题根因?"
  • Only after explicit user approval, refer to .agents/context/lessons/qt-headless-sandbox-diagnostic-workflow.md to spin up the standalone headless console sandbox using the fast-path toolchain and batch templates.

Style

  • Keep scope narrow.
  • Reuse existing architecture.
  • New comments in English.
  • No .ts edits unless asked.
  • Keep Qt/C++ source UTF-8 without BOM.

Translation

  • When adding or modifying tr(...) strings, provide Chinese and Japanese translation recommendations alongside the English original. Present each string as a three-row table for readability: | English | <original> | / | 中文 | <translation> | / | 日本語 | <translation> |.

Continuous improvement

QKeyMapper workspace memory routing

When self-improving-agent is invoked for QKeyMapper work, the repository is the only persistence location for QKeyMapper-specific experience. Do not create or modify the global self-improving-agent installation's memory/ directory.

  1. Read .agents/context/project-memory.md before recording a lesson.
  2. Record durable, reusable QKeyMapper decisions, pitfalls, and verified patterns in .agents/context/lessons/. Keep task transcripts, temporary status, and sensitive data out of the repository memory.
  3. Add every new lesson to .agents/context/lessons/MEMORY.md so future QKeyMapper sessions can discover it.
  4. Update .agents/context/project-memory.md only when the shared memory routing or other high-level project guidance changes.

The .agents/context/ directory is version-controlled workspace knowledge and must be the source used for remote synchronization.

After completing a task in this skill — especially when the user corrects you, a command fails, or you discover a better approach — invoke the self-improving-agent skill to extract patterns and update memory. This closes the loop so future sessions benefit from what was learned.

© Zalafina, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/qkeymapper-workflow of Zalafina/QKeyMapper.

Open the folder on GitHubat commit 0b24b27

Compare with similar skills

Qkeymapper Workflow next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Qkeymapper Workflow compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Qkeymapper Workflow this skillZalafina/QKeyMapper756—~1.4kAutomated safety check: PassGPL-3.0
Qt C++ Code Reviewx-tools-author/x-tools1.1k2 repos~4.3kAutomated safety check: PassBSD-3-Clause
YugabyteDB ASH Instrumentationyugabyte/yugabyte-db11k—~4.5kAutomated safety check: PassCustom licence
pybind11 Release Preparationpybind/pybind1118k—~1.7kAutomated safety check: PassCustom licence
Qt Cpp ReviewSerial-Studio/Serial-Studio7.2k—~4.3kAutomated safety check: PassCustom licence
Paddle Eager GraphPaddlePaddle/Paddle24k—~562Automated safety check: PassApache-2.0

Similar skills

  • Qt C++ Code Review

    x-tools-author/x-tools

    Read-only review of Qt6 C++ code that combines a deterministic lint script with six parallel analysis agents and reports only high-confidence issues.

    1.1k GitHub starsUsed in 2 repos~4.3k tokens
    DevelopmentAuto-check passed
  • YugabyteDB ASH Instrumentation

    yugabyte/yugabyte-db

    Procedure for adding or changing YugabyteDB Active Session History wait states in TServer and DocDB C++ code, including the macro to use for sync and async paths.

    11k GitHub stars~4.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Opens the pybind11 release-preparation pull request: picking the release base, bumping the version in common.h and integrating the changelog, following docs/release.rst.

    18k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed
  • Qt Cpp Review

    Serial-Studio/Serial-Studio

    Qt6/C++ deep code review for Serial Studio. An agent skill from Serial-Studio/Serial-Studio.

    7.2k GitHub stars~4.3k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Paddle Eager Graph

    PaddlePaddle/Paddle

    A skill your agent uses when navigating Paddle eager-mode (dynamic graph) source code, tracing forward/backward execution, debugging autograd issues, understanding PyLayer, or investigating…

    24k GitHub stars~562 tokensUpdated today
    DevelopmentAuto-check passed
  • ONNX Runtime Source Build

    microsoft/onnxruntime

    Official

    Builds ONNX Runtime from source with its build scripts, explaining the update, build and test phases, key flags and where the build output lands.

    22k GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed

More from Zalafina/QKeyMapper

  • Qkeymapper Readme En Sync

    Zalafina/QKeyMapper

    将 QKeyMapper 中文版 README.md 的新增和变更内容同步翻译到英文版 READMEen.md,比对章节与更新日志差异,沿用英文版固定术语,先展示完整草稿供审阅,批准实施后仅更新并本地提交 READMEen.md。支持全量核对模式与指定目标/Build 的定向高效同步模式。用于英文 README 同步、英文更新日志补齐、按键对照表维护。

    756 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Qkeymapper Release Notes

    Zalafina/QKeyMapper

    为 QKeyMapper 编写 README.md 的中文 release note,并默认联动 qkeymapper-readme-en-sync 定向同步更新英文版 READMEen.md。收集最近正式 release tag 之后的已提交更新,先展示中英双语完整草稿供审阅,批准实施后分阶段原子提交两个 README。用于发布说明、更新日志和中英文版本信息维护。

    756 GitHub stars~1.3k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Qkeymapper Workflow

What does Qkeymapper Workflow do?

QKeyMapper playbook for planning, implementation, debugging, and validation in this repo. Qkeymapper Workflow is an agent skill from Zalafina/QKeyMapper. QKeyMapper playbook for planning, implementation, debugging, and validation in this repo.

When should I use Qkeymapper Workflow?

Qkeymapper Workflow fits situations like: development work in your project.

How do I install Qkeymapper Workflow in Claude Code?

Run `npx skills add Zalafina/QKeyMapper --skill qkeymapper-workflow -a claude-code`. Or copy the skill folder (.agents/skills/qkeymapper-workflow in Zalafina/QKeyMapper) into .claude/skills/qkeymapper-workflow in your project. Claude Code loads it when a task matches its description.

How do I install Qkeymapper Workflow in Codex?

Run `npx skills add Zalafina/QKeyMapper --skill qkeymapper-workflow -a codex`. Or copy the skill folder (.agents/skills/qkeymapper-workflow in Zalafina/QKeyMapper) into .agents/skills/qkeymapper-workflow in your project. Codex loads it when a task matches its description.

Can I use Qkeymapper Workflow in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Zalafina/QKeyMapper --skill qkeymapper-workflow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/qkeymapper-workflow, .gemini/skills/qkeymapper-workflow, .github/skills/qkeymapper-workflow and .opencode/skills/qkeymapper-workflow in your project.

What does Qkeymapper Workflow need to run?

SKILL.md names no scripts, command-line tools or credentials: Qkeymapper Workflow is instructions for the agent only.

Does Qkeymapper Workflow access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Qkeymapper Workflow safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Qkeymapper Workflow use?

Qkeymapper Workflow is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Qkeymapper Workflow use?

About 1.4k tokens (SKILL.md is roughly 5.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Qkeymapper Workflow?

Skills that share tags, products or a category with Qkeymapper Workflow: Qt C++ Code Review (x-tools-author/x-tools, 1.1k stars), YugabyteDB ASH Instrumentation (yugabyte/yugabyte-db, 11k stars), pybind11 Release Preparation (pybind/pybind11, 18k stars) and Qt Cpp Review (Serial-Studio/Serial-Studio, 7.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Qkeymapper Workflow?

Zalafina (a GitHub user) maintains it in Zalafina/QKeyMapper, which has 756 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 9, 2026.

Source: Zalafina/QKeyMapper on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.