Deliverable Lint 标志

Deliverable Lint

社区
scdenney
deliverable-lint

Reviews a whole deliverable (talk, course module, paper, chapter, or referee report) against its manifest without rewriting it. Runs a deterministic gate for build, citations, numbers, facts, and leaks and stops on failure, then runs a finder over each section and a strong-model pass over the whole work, and adjudicates into checks/<date>/findings.json and report.md with anchored findings, severities, and honest NOT CHECKED coverage within a dollar budget. Use when asked to lint or review the whole talk, module, or paper, for a pre-ship review, or for the night shift. Revision stays serial and author-led.

概览

发布者scdenney
代码仓库open-science-skills
技能名称deliverable-lint
星标数
69
复刻数
3
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 scdenney 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Deliverable Lint AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/scdenney/open-science-skills/tree/main/plugin/skills/deliverable-lint
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scdenney/open-science-skills.git /tmp/open-science-skills
mkdir -p .claude/skills
cp -r /tmp/open-science-skills/plugin/skills/deliverable-lint .claude/skills/deliverable-lint
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Deliverable Lint,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Deliverable Lint。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Deliverable Lint 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Deliverable lint

Full guide: docs/deliverable-pipeline.md in the repository.

Detection is parallel; revision is serial. This skill finds and writes only under checks/; source files and the wiki stay untouched. The author (or sci-edit, one section at a time under its guard) revises afterwards.

Stage 0 and 1: prepare the run (shared script)

  • Resolve the toolchain once, before any path below. $DTOOL is the deliverable toolchain shipped with this library at plugin/tools/deliverable. Take the first that exists: $DELIVERABLE_TOOLS; the newest installed plugin copy, $(ls -d ~/.claude/plugins/cache/open-science-skills/oss/*/ 2>/dev/null | sort -V | tail -1)tools/deliverable; the plugin/tools/deliverable directory of an open-science-skills checkout; then a legacy project_hygiene/scripts checkout. Scripts are at $DTOOL/scripts/ and kind profiles at $DTOOL/kinds/; keep them siblings, because lint_prepare.py resolves profiles relative to its own directory. If none exists, stop and name the paths you tried.

  • The nearest deliverable.yml upward from cwd. Refuse to run without one; point at deliverable-open.

  • python3 $DTOOL/scripts/lint_prepare.py --root <dir> --budget <usd> --mode manual|headless [--sections a,b] [--skip-fast] where $DTOOL resolves as above. It reserves checks/YYYY-MM-DD[-N]/ (never reuses a directory), runs the fast gate into <run>/fast.json (--build unless headless; --skip-fast records a skipped gate, which can never become "passed"), freezes the input hash and start time in <run>/inputs/run.json, writes <run>/inputs/index.json with every manifest section and an absolute output path per section, and one <run>/inputs/section-<id>.md per selected section containing everything a finder needs: the manifest's audience, claim, and done-test; the planning index and brief; the gate's citation status for its lines; the voice rules (resolved from the installed sci-edit skill or the writing-toolkit clone, NOT CHECKED if absent); the neighbours; the line-numbered section text; speaker notes for a deck; the knowledge-base source paths when the manifest names one; the kind profile's lint questions ($DTOOL/kinds/<kind>.md); and the exact JSON output contract.

  • Read <run>/fast.json. Every FAIL becomes a P0 verbatim. If anything failed, run the adjudicator now and stop: an LLM review of a deliverable that does not build or cites a source nobody can find is spend without a return. --continue overrides.

Stage 2: section finders, in parallel

One worker per selected section, all launched together and all awaited before stage 3 (Claude: Agent calls in one message; Codex: bounded child workers queued to the slot limit). The three base questions are rule-matching against material the input file supplies (voice rules, the gate's citation status, neighbouring text), so finders run on model: "haiku", effort: "medium". When the manifest names a knowledge_base, the input adds the support question, a judgment about what a source says, so those finders run on model: "opus", effort: "low". Each worker gets one instruction: read its inputs/section-<id>.md and write the single JSON object the file specifies to the path the file names. The file carries the three questions (clarity and voice; claim-to-source; consistency) and, when the manifest names a knowledge_base, a fourth (support: does the cited source's Markdown say it; contradicted = P0 with the passage as verification). A worker sets a coverage value to false for any question it could not answer; the adjudicator counts a section as checked only when every required dimension is true. A worker that returns prose instead of the object is rerun once, then its section is NOT CHECKED.

Stage 3: the global pass

One worker (Claude: model: "opus", effort: "high"; Codex: gpt-6-astra at high, as a fresh or limited-history fork), over the assembled deliverable in section order with the same argument map. Four questions: order and flow (does the sequence carry the claim; where does a section assume what a later one establishes; for a talk, do the timings fit the slot); spec conformance (is the manifest's claim made, is the done-test met, is the register right for the audience); repetition and contradiction across sections; release rules. It writes one JSON object {"coverage": {"order":..,"spec":..,"repetition":..,"release":..}, "findings": [...]} to <run>/finders/global.json with the same finding fields; a section-local defect it notices goes in as dimension: global-local.

Stage 4: adjudicate

python3 $DTOOL/scripts/lint_adjudicate.py --root <dir> --run <run> --models finders=<model>,global=<model>,adjudicator=<this session's actual model> does the mechanical part identically for both vendors: verifies every anchor (file, line, verbatim quote; unanchored findings are dropped and counted), dedupes across dimensions, downgrades a claim-source P0 with no gate failure at that file and line and a support or consistency P0 with no verification passage, keeps the frozen start hash and marks the run stale if the inputs changed, records coverage honestly, and derives the verdict from all four conditions: fast gate passed, every section and the global pass checked, not stale, zero open P0. Then you read report.md as the domain expert: a disputed P0 needs an independent evidence check (a second lookup, a source passage; on Claude the orchestrate skill's codex-peer.sh --mode cross-check is one such check when installed); without one it stays disputed and blocking. Two models agreeing is not evidence, and a failed lookup means unresolved, never fabricated.

Budget

--budget is in US dollars, default 3; the figures are planning allowances, not prices, sized to Haiku at $0.10/$0.50 and Opus at $4/$20 per million input/output tokens: 0.01 per section on Haiku, 0.15 per section on Opus when the support question applies, 0.80 for the global pass, 0.40 for adjudication. They match lint_adjudicate.py, and a subscription session cannot enforce a hard cap. Before stage 2, if the allowance exceeds the budget, drop finders from the end of the section list and mark those sections NOT CHECKED; if the global pass alone exceeds it, stop after the gate and record every section and the global pass as NOT CHECKED. meta.cost.reported_usd is the harness's metered figure when one exists and null otherwise, never a guess.

Outputs

<run>/findings.json (meta with the frozen and current hashes, stale, models, cost, and a verdict block; coverage with the fast-gate state, whether the build was checked, every section's status and reason, the global pass, and the unanchored count; findings ranked P0/P1/P2 with id, severity, dimension, rule, file, section, line, end_line, quote, finding, action, verification, disposition, source) and <run>/report.md (verdict in the first line, the summary block, findings grouped by severity with file:line, the NOT CHECKED list, one paragraph for the author). Shipping needs the verdict's four conditions; check_deliverable.py ship refuses otherwise unless --no-lint waives the review and the receipt records the waiver.

Headless

--headless (what night-shift.py passes): no questions, no edits outside checks/; lint_prepare.py --mode headless runs the gate without --build and records the build as NOT CHECKED (shipping still builds); write both files, print the report's first ten lines, exit. If the fast gate fails, that is still a complete run.

Notes

  • sci-edit manuscript is the serial, guarded path for fixes; never put the whole deliverable into one rewrite prompt.
  • paper-review-lite fans out over review dimensions and presubmit runs the adversarial pipeline; both are for a manuscript at a submission milestone. This skill is the cheaper, section-anchored pass for any deliverable at any milestone, and it feeds them: run it first.
  • The author reacts by dictating into inbox/ and running deliverable-intake; accepted findings become tasks, rejected ones go under Rejected findings in the declared wiki's 08-open-questions.md so they are not raised again.

常见问题

Deliverable Lint AI 技能有什么作用?

Reviews a whole deliverable (talk, course module, paper, chapter, or referee report) against its manifest without rewriting it. Runs a deterministic gate for build, citations, numbers, facts, and leaks and stops on failure, then runs a finder over each section and a strong-model pass over the whole work, and adjudicates into checks/<date>/findings.json and report.md with anchored findings, severities, and honest NOT CHECKED coverage within a dollar budget. Use when asked to lint or review the whole talk, module, or paper, for a pre-ship review, or for the night shift. Revision stays serial...

为什么在 TypingMind 中使用 Deliverable Lint?

因为您只需安装一次,就能搭配任何模型使用。Deliverable Lint 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Deliverable Lint?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/scdenney/open-science-skills/tree/main/plugin/skills/deliverable-lint。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Deliverable Lint?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Deliverable Lint 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Deliverable Lint 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Deliverable Lint AI 技能免费吗?

scdenney 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇