用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/QianJinGuo/wiki --skill wiki-data-file-verification命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | wiki-data-file-verification |
| description | Verify wiki data-file patches: exec-load + regression. |
| version | 1.0.0 |
| related_skills | ["hermes-tool-corruption-pitfalls","newsletter-link-extractor"] |
Post-edit verification methodology for the wiki's data-only scripts and derived artifact files. Complementary to hermes-tool-corruption-pitfalls (that skill catalogs HOW tools corrupt; this skill is the verification protocol for WHEN you patch).
SKIP_DOMAINS / KNOWN_TIER1_DOMAINS (newsletter-tldr-extractor.py, detect_leaked_domains.py, ...)Grep proves the patch text landed. It does NOT prove:
,\n, SyntaxError) so the file exec-loads with a partial/empty setjobs.ashbyhq fail endswith(), need the startswith(sd + '.') check)Write an ad-hoc hermes-verify-* script to the OS temp dir (tempfile path, not ~), run once, delete after:
exec(open(path).read(), g) — parse-integrity proof. Crash here = file corrupt → re-patch.Reference matching logic (includes the partial-domain pitfall fix):
def is_skipped(url, skip):
m = re.match(r"https?://([^/]+)", url)
if not m: return False
d = m.group(1).lower()
if d.startswith("www."): d = d[4:]
for s in skip:
if d == s or d.endswith("." + s): return True
if "." in s and not s.endswith(".") and d.startswith(s + "."): return True
return False
Pipeline leak reports can list URLs that never landed in the artifact (blacklisted/deduped at write time — e.g. v1.6.57 reported 3 sans.org leak URLs but only 2 were in candidates.md). Drive removals from the artifact's actual lines, not from the report's verbatim list. Don't hunt for URLs that aren't there, and don't be alarmed by count mismatches.
When a patch response carries "modified by sibling subagent" (concurrent cron jobs share these files), the combined integrity proof before trusting the patch is:
~/wiki/scripts/) + ~/wiki/skills/<skill>/scripts/ + ~/.hermes/skills/<skill>/scripts/Only then re-run downstream verification (e.g. Step 8 leak recheck).
hermes-tool-corruption-pitfalls — corruption-mode catalog (patch fuzzy-match, two-tree script drift, fictional-changelog pattern). Both skills are user-owned; this one is the protocol, that one is the catalog.newsletter-link-extractor — the pipeline that owns SKIP_DOMAINS / KNOWN_TIER1_DOMAINS and candidates.md基于 SOC 职业分类