with one click
wiki-lint
Wiki 健康检查 — 检测结构问题(缺失 frontmatter、悬空引用、孤立页面等),支持自动修复和实体页面回填。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Wiki 健康检查 — 检测结构问题(缺失 frontmatter、悬空引用、孤立页面等),支持自动修复和实体页面回填。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | wiki-lint |
| description | Wiki 健康检查 — 检测结构问题(缺失 frontmatter、悬空引用、孤立页面等),支持自动修复和实体页面回填。 |
对 Wiki 知识库进行健康检查,发现并修复结构问题。
| 工具 | 用途 |
|---|---|
lint_wiki | 健康检查,返回红/黄/蓝三级问题报告 |
read_wiki_page | 读取 wiki 页面 |
list_wiki_pages | 列出 wiki 页面 |
save_wiki_page | 保存 wiki 页面 |
rebuild_index | 重建 wiki/index.md |
append_log | 追加操作日志 |
| 检查 | 严重度 | 说明 |
|---|---|---|
| missing_frontmatter | red | 页面缺少 YAML frontmatter |
| missing_field | red | 缺少必填字段 |
| index_mismatch | red | index.md 与实际文件不一致 |
| dangling_reference | yellow | related_pages 指向不存在的页面 |
| invalid_status | yellow | status 值不在允许列表 |
| orphan_page | blue | 页面未被任何其他页面引用 |
lint_wiki(auto_fix=false, backfill=false)
设置 auto_fix=true 自动修复以下安全问题:
| 问题类型 | 修复方式 |
|---|---|
| missing_frontmatter | 补全默认 frontmatter(slug/title/type/created/updated/status=stub/confidence=low) |
| missing_field | 补全缺失的必填字段默认值 |
| invalid_status | 重置为 in_progress |
| invalid_confidence | 重置为 medium |
| dangling_reference | 移除指向不存在页面的 related_pages 条目 |
| index_mismatch | 重建 index.md |
不会自动修复:
设置 backfill=true 扫描已有论文页面,补建缺失的实体页面:
lint_wiki(backfill=true)
适用场景: 定时 digest 批量导入论文后,补建缺失的实体页面。
append_log(operation="lint", details="Found 3 issues (1 red, 2 yellow), auto-fixed: rebuilt index.md")
Entry point for new users — guides through initialization, architecture review, and cleanup. Use when the user first opens this project or says "开始" / "初始化" / "怎么用".
Wiki 增强研究构思 — 基于 wiki 知识库的研究想法生成。扫描论文局限性和开放问题,通过结构化路径生成研究想法,过滤后保存为 wiki idea 页面。支持反重复机制(banlist)。
论文导入 — 将学术论文导入 Wiki 知识库,自动创建论文页、概念页、方法页、数据集页、作者页,条件触发 Survey 和 Comparison 页面。
论文增量更新 — 更新已导入的论文版本,同步更新关联的概念页、方法页和作者页。
学术论文 Wiki 知识库 — 架构概览、页面类型、引用规范、故障排查。具体流程见 paper-ingest、paper-update、wiki-lint、wiki-ask 四个子 Skill。
快速联网查询工具,基于 Tavily Search API。支持天气查询、事实检索、新闻动态、官方文档查找、实时行情等场景。用户要求搜索、联网、查官网、核实事实、获取最新信息时使用。