mdqmarkdown
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 "mdqmarkdown" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b7fe8738816d8fad69131a0813667d85659c2847a08181612fec378f74fa63ab. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/query-and-rewrite-markdown-structure-with-mdq 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
Use mdq to parse and query Markdown document structures when an agent needs to locate headings, lists, links, or other Markdown elements without relying on fragile regular-expression editing.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- mdq and Markdown files to inspect or rewrite.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "使用 mdq 查询并重写 Markdown 结构"
slug: "query-and-rewrite-markdown-structure-with-mdq"
version: "1.0.0"
displayName: "使用 mdq 查询并重写 Markdown 结构"
summary: "当代理需要定位标题、列表、链接或其他 Markdown 结构而不依赖脆弱的正则表达式编辑时,请使用 mdq。"
license: "MIT"
description: "当代理需要定位标题、列表、链接或其他 Markdown 结构而不依赖脆弱的正则表达式编辑时,请使用 mdq。"
github_stars: 1708
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: 1708使用 mdq 查询并重写 Markdown 结构
Use mdq when an agent needs to target headings, lists, links, or other Markdown structure without falling back to brittle regex edits.
Prerequisites
mdq and Markdown files to inspect or rewrite.
Installation
Use the upstream install or setup path that matches your environment:
- brew install mdq
- docker pull yshavit/mdq
- cargo install --git https://github.com/1991513ccie-png/skills
- cargo build
Requirements and caveats from upstream:
- reviewers to complete. Enforcing these often requires ugly regexes that are a pain to write and worse to debug. Instead,
- echo 'My example markdown' | docker run --rm -i yshavit/mdq '[]()'
- To use a specific release version, use yshavit/mdq:<version>. See [Docker Hub] for available version tags.
Basic usage or getting-started notes:
-
For example, GitHub PRs are Markdown documents, and some organizations have specific templates with checklists for all
-
you can (for example) ask mdq for all uncompleted tasks:
-
[!tip]
-
Extracted from upstream docs: https://raw.githubusercontent.com/yshavit/mdq/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供了一种高效、精准处理 Markdown 文档结构的方法,避免了脆弱的正则表达式编辑。
- 适用于自动化文档处理、PR 检查等广泛场景,具有明确的实用价值。
Highlights
- description 字段内容完整,清晰说明了使用场景和核心功能。
Areas to improve
-
缺少明确的 Phase/步骤划分和端到端示例 Reported severity: Minor
文档结构清晰,但缺少详细的执行步骤划分和完整的端到端操作示例,可能影响用户理解和执行。
Recommendation: 建议补充详细的 Phase 划分和端到端示例,以提升文档的可操作性和完整性。
-
文档内容略显简略 Reported severity: Minor
文档内容相对简略,部分章节(如 Basic usage)信息不够充分。
Recommendation: 建议丰富文档内容,补充更多细节和说明。
Highlights
- 文档结构清晰,包含 Prerequisites、Installation、Documentation 等必要章节。
- frontmatter 完整,信息规范。
Areas to improve
-
未覆盖主要异常情况 Reported severity: Major
未提及安装失败、命令执行错误等主要异常情况的处理方法,可能影响执行可靠性。
Recommendation: 建议补充异常处理说明,提升 Skill 的健壮性。
-
未提及不可逆操作的确认机制 Reported severity: Minor
未提及对不可逆操作(如文件重写)的确认机制,存在潜在风险。
Recommendation: 建议增加对不可逆操作的确认机制说明,以降低误操作风险。
Highlights
- 提供了多种安装方式(brew、docker、cargo),工具来源明确。
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
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
mdq and Markdown files to inspect or rewrite.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.