xqxmlhtml

xq is a command-line XML and HTML pretty-printer and content extractor written in Go, offering syntax highlighting, auto-formatting, XPath and CSS selector queries, and conversion of XML/HTML documents to JSON.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "xqxmlhtml" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-85a288f5d622896214d25334a3480b5dd0ae430c15848854450459c1c37887c5. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/xq-command-line-xml-html-beautifier-content-extractor before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

xq is a command-line XML and HTML pretty-printer and content extractor written in Go, offering syntax highlighting, auto-formatting, XPath and CSS selector queries, and conversion of XML/HTML documents to JSON.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
Go 1.21+ or Homebrew
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "xq 命令行 XML 和 HTML 美化器和内容提取器"
slug: "xq-command-line-xml-html-beautifier-content-extractor"
version: "1.0.0"
displayName: "xq 命令行 XML 和 HTML 美化器和内容提取器"
summary: "xq 是一个用 Go 语言编写的命令行 XML 和 HTML 美化器和内容提取器。它提供语法高亮、自动格式化、XPath 和 CSS 选择器查询,以及 XML 和 HTML 文档到 JSON 输出的转换功能。"
license: "MIT"
description: "xq 是一个用 Go 语言编写的命令行 XML 和 HTML 美化器和内容提取器。它提供语法高亮、自动格式化、XPath 和 CSS 选择器查询,以及 XML 和 HTML 文档到 JSON 输出的转换功能。"
github_stars: 1100
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Data Extraction & Transformation"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 1100

xq 命令行 XML 和 HTML 美化器和内容提取器

xq is a command-line XML and HTML beautifier and content extractor written in Go. It provides syntax highlighting, automatic formatting, XPath and CSS selector queries, and JSON output conversion for XML and HTML documents.

Prerequisites

Go 1.21+ or Homebrew

Installation

Use the upstream install or setup path that matches your environment:

  • brew install xq
  • go install github.com/sibprogrammer/xq@latest
  • docker compose run --rm xq

Requirements and caveats from upstream:

  • Node content extraction
  • Extract an attribute value instead of node content additional option --attr (-a) can be used:
  • If you have Go toolchain installed, you can use the following command to install xq:

Basic usage or getting-started notes:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Areas to improve

  • 文档结构可进一步优化 Reported severity: Minor

    缺少明确的 Phase/步骤划分和出口条件,示例不够详细

    Recommendation: 建议增加详细的步骤划分和使用示例,提升用户理解

Highlights

  • 提供 XML/HTML 美化、内容提取、XPath/CSS 查询等实用功能
  • 适用于开发者和数据处理人员的通用工具场景
Trigger Precision85/100

Highlights

  • description 字段清晰描述了核心功能和适用场景
  • 触发词精准完整,边界清晰
Structure and Standards65/100

Areas to improve

  • 缺少详细的使用步骤划分 Reported severity: Minor

    文档缺少明确的 Phase/步骤划分和出口条件

    Recommendation: 建议增加详细的步骤说明和使用流程

  • 示例不够详细 Reported severity: Minor

    使用示例较为简单,缺少端到端的完整示例

    Recommendation: 建议增加更详细的使用示例和场景说明

Highlights

  • frontmatter 完整,包含必要的项目信息
  • 基本结构完整,包含安装和使用说明
Execution Reliability60/100

Areas to improve

  • 缺少异常处理说明 Reported severity: Minor

    未说明主要异常情况的处理方法

    Recommendation: 建议增加常见错误和异常处理说明

  • 缺少不可逆操作确认机制 Reported severity: Minor

    未提及对不可逆操作的确认机制

    Recommendation: 建议增加对重要操作的确认提示说明

Highlights

  • 工具来源明确,GitHub 仓库信息完整
  • 参数描述基本正确,安装方式多样
Evidence Verifiability (mean of the first four)72/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 32
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Go 1.21+ or Homebrew

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.