CtrlK
BlogDocsLog inGet started
Tessl Logo

law-to-markdown

将法条/规范文件(.txt/.docx/.pdf)转为 Markdown。适用于用户要求“法条转 markdown”“pdf/docx 转 markdown”。处理 .pdf/.docx 时先检查是否已安装 mineru-ocr skill;未安装先引导安装,安装后优先用 mineru-ocr;仅在用户明确同意时再用本地回退方案。

77

Quality

96%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Critical

Do not install without reviewing

SKILL.md
Quality
Evals
Security

Quality

Content

92%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The content is lean, executable, and well-sequenced with strong validation feedback loops. Its main weakness is progressive disclosure: a single dense inline doc rather than an overview pointing to one-level-deep reference files.

Suggestions

Move the detailed 二阶段识别参数 and 三阶段参数 flag tables into a separate reference file (e.g. PARAMETERS.md), keeping only the most common flags inline in SKILL.md.

Extract the full 输出规则 artifact-level detail into a reference doc, summarizing just the default output path and the minimal/standard/debug distinction in the body.

Add a brief '## Advanced' section that signals the reference files with one-level-deep links (e.g. 'See PARAMETERS.md for all flags') to make navigation explicit.

DimensionReasoningScore

Conciseness

The body is dense and procedural with no padding about what PDF/Markdown is or how libraries work; every line earns its place and assumes Claude's competence.

3 / 3

Actionability

Provides fully executable copy-paste commands (python3 law-to-markdown/scripts/law_to_markdown.py "input.txt", --allow-fallback) with concrete parameter examples.

3 / 3

Workflow Clarity

A clear 3-stage sequence with explicit validation checkpoints (Stage3-A/3-B hard gates), feedback loops ('任一失败触发自动重走,最多 2 次'), and rejection handling.

3 / 3

Progressive Disclosure

Well-sectioned and the referenced scripts are real, but the SKILL.md is a single monolithic inline document exceeding 50 lines that bundles parameter lists, output rules, and commands rather than splitting detailed material to reference files.

2 / 3

Total

11

/

12

Passed

Description

100%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is concise, specific, and includes explicit trigger guidance plus concrete actions for the law-to-markdown niche. It cleanly answers both what the skill does and when to use it.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — converts to Markdown, checks/installs mineru-ocr, prefers mineru-ocr, falls back only with consent — matching the 'lists multiple specific concrete actions' anchor.

3 / 3

Completeness

Explicitly answers what ('转为 Markdown') and when via '适用于用户要求…', satisfying both halves with an explicit trigger clause.

3 / 3

Trigger Term Quality

Includes natural phrasings a user would actually say ('法条转 markdown', 'pdf/docx 转 markdown', '.txt/.docx/.pdf'), giving good coverage of natural terms.

3 / 3

Distinctiveness Conflict Risk

Targets a clear niche (legal/normative documents to Markdown) with distinct triggers, making conflict with generic document skills unlikely.

3 / 3

Total

12

/

12

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
anbeime/skill
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.