feat: add Treeland QtWayland scanner agent skill - #1290
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: zzxyb The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Reviewer's GuideAdds a new Treeland QtWayland scanner maintenance agent skill, documenting the scanner’s generation pipeline, semantics, cross-compilation behavior, and validation workflow, and exposes it via OpenAI agent metadata for discovery and usage. Flow diagram for Treeland QtWayland server protocol generation pipelineflowchart TD
A[local_qtwayland_server_protocol_treeland]
B[Resolve PROTOCOL XML path]
C[wayland-scanner
wayland-<basename>-server-protocol.h/.c]
D[qtwaylandscanner_treeland server-header
qwayland-server-<basename>.h]
E[qtwaylandscanner_treeland server-code
qwayland-server-<basename>.cpp]
F[Target consuming generated Qt code]
A --> B --> C --> D --> E --> F
C -->|stdout C output| D
D -->|stdout header| E
E -->|add generated cpp to target| F
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Added an agent skill for maintaining and reviewing Treeland's Qt-style Wayland protocol scanner and its build integration. The implementation includes: 1. Documented the server-side protocol generation pipeline 2. Added guidance for scanner semantics and command-line compatibility 3. Covered native-tool handling during cross-compilation 4. Added targeted build and generated-output validation workflows 5. Added agent metadata for skill discovery and invocation Log: Added Treeland QtWayland scanner maintenance skill Influence:
There was a problem hiding this comment.
Pull request overview
EN: This PR adds a new agent skill document to guide maintenance/review of Treeland’s in-tree Qt-style Wayland protocol scanner (qtwaylandscanner_treeland) and its CMake-based generation pipeline, including cross-compilation considerations.
中文:本 PR 新增一个 Agent Skill 文档,用于指导 Treeland 内置的 Qt 风格 Wayland 协议扫描/生成器(qtwaylandscanner_treeland)及其 CMake 生成流水线的维护与评审,并覆盖交叉编译场景的注意事项。
Changes:
- EN: Add a dedicated skill with scope, routing guidance, and a generation pipeline description.
中文:新增独立 skill,明确适用范围、任务路由与生成流水线说明。 - EN: Document scanner semantics/CLI contract and cross-compilation (native-tool) handling.
中文:补充扫描器语义/命令行契约与交叉编译下 native tool 处理指引。 - EN: Provide workflow/validation steps and a review checklist for safe updates.
中文:提供工作流/验证步骤与评审清单,降低修改风险。
Suppressed comments (1)
.agents/skills/qtwayland-scanner-treeland/SKILL.md:134
- EN: In the bash snippet,
generate_protocols_libtreeland_<basename>is not safe to copy/paste:<basename>will be parsed by the shell as stdin redirection. Use a placeholder without angle brackets.
中文:bash 示例里的 generate_protocols_libtreeland_<basename> 不适合直接复制粘贴:<basename> 会被 shell 当成输入重定向。建议改用不带尖括号的占位符。
cmake --build build --target qtwaylandscanner_treeland
cmake --build build --target generate_protocols_libtreeland_<basename>
cmake --build build --target libtreeland
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| @@ -0,0 +1,169 @@ | |||
| --- | |||
| name: qtwayland-scanner-treeland | |||
|
TAG Bot New tag: 0.9.0 |
Added an agent skill for maintaining and reviewing Treeland's Qt-style Wayland protocol scanner and its build integration.
The implementation includes:
Log: Added Treeland QtWayland scanner maintenance skill Influence:
Summary by Sourcery
Add an agent skill and supporting documentation for maintaining and validating Treeland's Qt-style Wayland protocol scanner and its build integration.
New Features:
Documentation: