CtrlK
BlogDocsLog inGet started
Tessl Logo

law-to-markdown

律师助理与法律助手在处理繁杂法条时,当需要将 PDF/Word/TXT 格式的法律规范文件转为结构化 Markdown 时适用。自动完成 OCR 解析、法律层级识别与三阶段保真校验,一键生成排版完美的法条 Markdown 文档及审核报告,让法律文本数字化工作事半功倍。

72

Quality

88%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

88%Weight 40%Scale 1-5

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

The body is a lean, actionable specification of a three-stage pipeline with executable commands and explicit validation/retry feedback loops. The main gap is minor stage-3 detail repetition and implicit (rather than signaled) references to the bundled scripts.

Suggestions

Consolidate the stage-3 description so it appears once, with 处理规则 rule 6 pointing to the 三阶段参数 section instead of restating it.

Add an explicit pointer to the bundled scripts (e.g. "See scripts/stage3_checker.py for the verification logic") to make script references clearly signaled.

DimensionReasoningScore

Conciseness

Dense, directive bullet structure that assumes Claude's competence (no concept explanations), but stage-3 details are repeated across 处理规则 rule 6 and the 三阶段参数 section, a minor trim opportunity.

4 / 5

Actionability

Copy-paste-ready commands ("python3 law-to-markdown/scripts/law_to_markdown.py \"input.docx\" --allow-fallback") covering txt/docx/pdf plus concrete parameters (--law-decision, --artifact-level, --skip-stage3-check) for the common cases.

5 / 5

Workflow Clarity

The three-stage pipeline (处理规则 steps 1-6) is explicitly sequenced with validation checkpoints (Stage3-A/B) and a concrete feedback loop ("任一失败触发自动重走,最多 2 次;仍失败默认报错退出").

5 / 5

Progressive Disclosure

Well-organized into clear sections with real bundle files (scripts/law_to_markdown.py, stage3_checker.py, cn_law_normalizer.py) referenced via commands, but script references are implicit command paths rather than explicitly signaled navigation.

4 / 5

Total

18

/

20

Passed

Description

87%Weight 40%Scale 1-5

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 clearly communicates a well-scoped legal-document conversion capability with an explicit trigger clause and distinct niche. It would benefit from trimming marketing fluff ("排版完美", "事半功倍") and adding explicit file extensions.

Suggestions

Drop promotional phrasing like "排版完美" and "事半功倍" to tighten specificity.

Add explicit file extensions (.pdf, .docx, .txt) alongside the format names to improve trigger-term coverage.

DimensionReasoningScore

Specificity

Names concrete actions — "OCR 解析、法律层级识别与三阶段保真校验" and "生成...Markdown 文档及审核报告" — across PDF/Word/TXT, but "排版完美" and "事半功倍" are mild marketing fluff that keep it just below fully comprehensive.

4 / 5

Completeness

Explicitly answers both what (OCR, hierarchy recognition, three-stage fidelity check, Markdown + audit report generation) and when ("当需要将 PDF/Word/TXT 格式的法律规范文件转为结构化 Markdown 时适用") with a concrete trigger clause.

5 / 5

Trigger Term Quality

Good natural-term coverage ("法条", "法律规范文件", "律师助理", PDF/Word/TXT), but uses format names rather than file extensions (e.g. .pdf/.docx/.txt), missing a few natural variations.

4 / 5

Distinctiveness Conflict Risk

Clear niche — legal normative documents converted to structured Markdown with a three-stage fidelity pipeline — with distinct triggers (法条, 律师助理) that minimize overlap with generic PDF/Markdown skills.

5 / 5

Total

18

/

20

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.