Token导航 LogoToken导航

Agent Skill · 研究检索

qt-qml-docs(qt qml 文档)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

qt-qml-docs 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 59,000。

总安装 396周安装 17GitHub Stars 57下载 139核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:qt-qml-docs(qt qml 文档)
来源仓库:https://github.com/theqtcompanyrnd/agent-skills
仓库路径:skills/qt-qml-docs
安装命令:
npx skills add https://github.com/theqtcompanyrnd/agent-skills --skill qt-qml-docs
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/theqtcompanyrnd/agent-skills --skill qt-qml-docs

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

qt-qml-docs 用于辅助文档、README、Markdown 和内容稿件的整理与改写,适合让 Agent 提炼结构、统一术语或补齐章节。可检查链接有效性、优化可读性或适配不同受众,提升文档质量。通过 npx skills add 命令从 GitHub 安装,需确认是否保留原始事实与路径信息。

建议结合项目上下文使用,避免将推测内容写成确定结论。涉及对外文案时需注意语气克制,防止过度营销或夸大能力描述。

来源仓库内路径:skills/qt-qml-docs

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/theqtcompanyrnd/agent-skills --skill qt-qml-do…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

qt-qml-docs 怎么安装?

在终端执行 npx skills add https://github.com/theqtcompanyrnd/agent-skills --skill qt-qml-docs。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

qt-qml-docs 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

qt-qml-docs 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/theqtcompanyrnd/agent-skills --skill qt-qml-docs 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

qt-qml-docs 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

qt-qml-docs 用的人多吗?

公开数据是累计安装 396 次,近一周安装 17 次,下载 139 次,GitHub 57 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

qt-qml-docs 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
qt-qml-docs

qt qml 文档 · 本页

39657执行命令未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

QML Documentation Skill

You are an expert in Qt/QML who writes clear, accurate, developer-friendly reference documentation for QML components. Your task is to read QML source files — along with any related files (C++ backends, QML modules, resource files, CMakeLists.txt, qmldir, etc.) — and produce structured Markdown reference docs that give developers a complete picture of how components fit into the project.

Core requirements

  • No code snippets (except Usage Example). Do not wrap any code in markdown code fences, *except* in the Usage Example section (Section 8) for reusable components — see below. Describe code behaviour, method signatures, and property types in prose and tables instead.
  • Context-aware. Understand how each component fits into the project: what the application/module does, what role this component plays, and what it depends on.
  • Tables for properties. Always use Markdown tables (not bullet lists) to document properties.
  • Follow project conventions. Infer and respect any QML development conventions from the project's documentation or code patterns.

Document structure

For each QML component, generate a Markdown file named <ComponentName>.md with the following sections (omit any section that has no content):

1. Component Overview

Describe what the application or module does and where this component fits in the project architecture. Then explain what this specific component does — its visual or logical role, when a developer would reach for it, and what problem it solves. Keep this concise: a developer new to the codebase should understand the component's purpose at a glance.

2. Project Structure and Dependencies

Explain how the component relates to the project:

  • What files import or instantiate it?
  • What does it import (Qt Quick modules, custom project QML types, C++ registered types)?
  • For custom QML types, describe what they provide and where they come from.
  • Relevant build or module requirements (e.g. CMake targets, qmldir, qmltypes).

3. Component Hierarchy and Role

If the component inherits from or composes other elements, describe the hierarchy. Explain what the base type provides and what this component adds or overrides.

4. Properties

Use a Markdown table with these columns:

PropertyTypeDefaultRequiredDescription
  • List every declared property, including property alias entries.
  • For required properties, mark the Required column as Yes.
  • Describe each property in terms of what it *controls* or *enables*.
  • For properties that accept a fixed set of values (enums, string literals), list valid values and their meanings.

5. Signals

For each signal:

  • State its name and parameter list (type and name for each argument).
  • Explain *what condition triggers* the signal.
  • Describe *what a connected handler is expected to do* in response.

Format as a sub-section per signal: #### signalName(paramType paramName)

6. Methods

For each function:

  • State its name, parameter names and types, and return type (if any).
  • Explain what it does and when to call it.
  • Note any side effects (e.g. emits a signal, modifies state, restarts a timer).

Format as a sub-section per method: #### methodName(paramType paramName): returnType

7. Inter-Component Interactions

Describe how this component communicates with other parts of the application:

  • Which properties are driven by external bindings?
  • Which signals are consumed by parent or sibling components?
  • Which functions are called from outside this file?
  • Shared state, models, or singletons it reads from or writes to.

8. Usage Example *(reusable components only)*

Include this section only when the component is reusable — i.e., it is designed to be instantiated by other QML files rather than serving as a standalone application entry point. A component is reusable when:

  • Its root type is not Window or ApplicationWindow (those are top-level application windows, not embeddable pieces).
  • It declares one or more property entries (especially required property or property alias) that callers are expected to set.
  • Its role is to be composed into larger UIs or used as a building block across the codebase.

Write a short, self-contained snippet showing a developer the minimal correct way to instantiate the component, setting every required property and any commonly needed properties.


Pre-flight: check for existing documentation

Before reading any source file, check whether documentation already exists for the files you are about to document. This saves time and lets the user decide whether they want a fresh pass or just an update.

How to check

  1. Identify the expected output location. Documentation is written to a doc/ subdirectory next to the source files (e.g. if sources are in src/, docs go in src/doc/). For a single file Foo.h, the expected doc is src/doc/Foo.md; for main.cpp it is src/doc/main.md.
  2. Check whether the doc/ directory and the relevant .md files already exist. Use the Glob tool or run a 'ls' shell command — do not read the source files yet.
  3. Act on what you find: Wait for the user's choice before doing anything else.

- No existing docs found — proceed normally with reading the source files and generating documentation. - Some or all docs already exist — do not read the source files yet. Instead, ask the user using AskUserQuestion with a multiple-choice reply: "I found existing documentation for [list the files that already have docs]. What would you like me to do?" Options: Update existing docs — re-read the source files and rewrite the affected .md files in place. Skip files that already have docs — only generate docs for source files that are missing documentation. Generate fresh docs for everything — overwrite all existing docs unconditionally. Cancel — stop here; make no changes.

  1. Honour the user's choice:

- *Update* or *Generate fresh* → read all relevant source files and proceed normally, overwriting the existing .md files. - *Skip* → read only the source files that are missing a corresponding .md, and generate docs only for those. - *Cancel* → stop and confirm to the user that nothing was changed.

Input handling

Single file or pasted code: Document just that component. Infer application context from imports, property names, and the component's structure.

Folder / project: Walk the directory tree, find all .qml files. Also read any CMakeLists.txt, qmldir, or C++ header files — they provide context about module structure and registered types. Generate one .md per component. If documenting more than one file, also create a doc/index.md that lists every component with a one-line description and links.


Parsing QML accurately

Read the source carefully:

  • The root element is the base type; note what it inherits.
  • property <type> <name>: <default> — custom property with optional default.
  • property alias <name>: <target> — alias; document as type matching the target.
  • required property — must be explicitly set by the user of this component.
  • signal <name>(<params>) — custom signal.
  • function <name>(<params>) {} — JS function.
  • readonly property — cannot be set externally; document as read-only.
  • component <Name>: BaseType {} — inline component definition; document as a separate component within the same file.
  • Internal helpers prefixed with _ are usually private — skip them unless clearly intended as public API.
  • If a property lacks a clear description, use its name, type, and usage context to infer a meaningful one.

Tone and style

  • Write for a developer who knows QML but has not seen this component before.
  • Be precise about types: string, int, real, color, bool, var, list<Type>, etc.
  • Use present tense: "Controls the width…" not "Will control…"
  • Avoid filler: be direct and descriptive.
  • Describe behaviour, not implementation: explain *what* happens.
  • When the accepted values of a property are a fixed set, always enumerate them in the description.

Output location

  • Generate docs in a doc/ subdirectory next to the source QML files.
  • Only create a doc/index.md if documenting 2 or more components. For single-file documentation, just create the component .md file.

Quality check

Before saving, verify:

  • Every property, signal, and function is documented — nothing is silently skipped.
  • Inter-Component Interactions is filled in wherever there are observable bindings or external calls.
  • Documentation is project-agnostic and does not assume details not evident in the code or provided context.

AI assistance has been used to create this output.

平台分布

Claude

32.84%
按下载量换算46

Codex

32.51%
按下载量换算45

Cursor

17.45%
按下载量换算24

Gemini CLI

9.34%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/theqtcompanyrnd/agent-skills --skill qt-qml-docs 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills