Submittal Review 标志

Submittal Review

社区
dleerdefi
submittal-review

由 PE 专家依据规范、图纸、规范相关问题及各专业协调情况审查送审文件(施工图、产品资料、样品、设备手册)。输出审查发现,附上两项依据、专业分发建议及完整性检查关卡。触发词:“review submittal”“review shop drawings”。

Add to TypingMind

概览

发布者dleerdefi
代码仓库claude-code-construction
技能名称submittal-review
星标数
55
复刻数
14
附带文件
9
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 9 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dleerdefi/claude-code-construction.git /tmp/claude-code-construction
mkdir -p .claude/skills
cp -r /tmp/claude-code-construction/skills/submittal-review .claude/skills/submittal-review
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Submittal Review

Review a submittal the way an experienced Project Engineer does, then hand the PE a draft GC review they can trust. The trust comes from four things:

  • every requirement is traced from the contract documents before the submittal is opened;
  • every document that governs an element is read, and the gate proves it;
  • every finding cites both sides and says who acts;
  • nothing the documents cannot answer is stated as fact.

What it produces: findings with sources and actions, a suggested GC disposition, routing to the trades that must act and by when, code and authority questions, and what could not be verified. What it never does: approve, stamp or send anything. The PE decides the disposition and sends the review.

The procedure is the same for every CSI division. Your knowledge of the trade supplies the checks. references/review-lens.md lists what reviews most often skip: package questions, cross-trade handoffs, and code and authority questions.

Permitted Scripts

ScriptLocationPurpose
find_pages.py${CLAUDE_PLUGIN_ROOT}/scripts/pdf/Index a large submittal once; find the pages for each element
check_review.py${CLAUDE_SKILL_DIR}/scripts/Write review records; prove the review is complete
export_submittal_review.py${CLAUDE_SKILL_DIR}/scripts/Build the Excel review, suggested disposition and markup items
annotate_pdf.py${CLAUDE_PLUGIN_ROOT}/scripts/pdf/Write review clouds and notes onto a copy of the submittal
rasterize_page.py, crop_region.py, extract_text_region.py${CLAUDE_PLUGIN_ROOT}/scripts/pdf/Read submittal and drawing pages
pdf_text.py${CLAUDE_PLUGIN_ROOT}/scripts/pdf/Text of a submittal file; of a spec page AgentCM did not read, with --pages
issue_manager.py${CLAUDE_PLUGIN_ROOT}/scripts/Log design-team questions as issues for rfi-drafter
write_finding.py${CLAUDE_PLUGIN_ROOT}/scripts/graph/A finding in .construction/skills/submittal-review/findings/ (both modes)
corrections_append.py${CLAUDE_PLUGIN_ROOT}/scripts/AgentCM mode: record a correction of AgentCM's data (reference/agentcm-mode.md)

Run every script through "${CLAUDE_PLUGIN_ROOT}/bin/construction-python". Double-quote every path. Do not write custom scripts or inline Python. Write every file in the review folder with the Write tool, and change one with the Edit tool. Never use a shell loop, heredoc, echo > or sed -i, even for fifteen elements that look alike. Check the files with check_review.py --review-dir, which names a file that is not valid JSON with its line and column, never with Python of your own. construction-python is always there: never probe for another Python (python3 - <<…, python --version), even with an empty program.

Load the construction-guide skill before reading any project document. Never read construction PDFs directly: rasterize pages first.

Data Contract

Everything for one review lives in .construction/skills/submittal-review/{review_id}/, where review_id is the submittal number and revision with spaces as hyphens (12-35-53-001-R0). Page images, crops and saved text dumps (pdf_text.py --output) go there too, never in /tmp or any other folder outside the project. The exact formats are in ${CLAUDE_SKILL_DIR}/references/review-data.md; read it before Step 1.

state.yaml            submittal, sections, facility types, jurisdiction, schedule, status
pages_N.json          page index of submittal file N (find_pages.py)
trace.json            every element the contract documents require, with every governing reference
inventory.json        where each element is in the submittal (or that it is missing)
review_NN.json        per element: each governing reference read, findings, unverifiable items, questions
package_review.json   the package questions and every cross-document reconciliation
findings_NN.json      findings
compliance.json       code and authority questions: open, or researched with a source
routing.json          each trade that must act: what to send, what is needed back, gate, need-by
prior.json            resubmittals only: what happened to each prior finding

state.yaml carries status. On restart, read it and resume at the step after the last completed one.


Workflow

- [ ] 1. Intake               - [ ] 6. Package questions and reconciliations
- [ ] 2. Trace requirements   - [ ] 7. Code questions and routing
- [ ] 3. Inventory            - [ ] 8. Gate
- [ ] 4. Checkpoint           - [ ] 9. Report
- [ ] 5. Review (fan out per element)

1. Intake

  1. Mode. .construction/project.yaml present → AgentCM mode; otherwise flat file. In AgentCM mode, follow ${CLAUDE_PLUGIN_ROOT}/reference/agentcm-mode.md: which source wins, what a missing file or an empty search means, which file answers what, drawings through crop.sh, and how to record a correction of AgentCM's data.
  2. Submittal. Locate the package file(s). Read the cover or transmittal for:
    • submittal number, revision and title;
    • subcontractor;
    • spec section(s);
    • submittal types, using submittal-log-generator's labels (Shop Drawings, Product Data, Samples, Design Data, Test Reports, Certificates, Delegated Design, ...).
  3. Resubmittal. If the revision is above zero or the user names a prior review, find the prior review directory. Every prior finding must be accounted for in prior.json (Step 6).
  4. Prerequisites.
    • Spec text. In AgentCM mode, read each section from .construction/specs/<section>.txt (08 71 00 is 08-71-00.txt; each line starts with its page), listed in .construction/INDEX.md: it is the section's text, and a section's pages are never extracted again from the PDF. A read manual's pages in no section (INDEX.md lists them) are read in the PDF, those pages only (pdf_text.py --pages). Never run pdf_text.py or rasterize_page.py on a section's pages: not to check them, not in a page range and not in a whole-manual dump. Only for a manual INDEX.md lists under "Spec manuals not read" is it in .construction/skills/spec_text/. Otherwise the text must exist in .construction/skills/spec_text/. When text spec-splitter provides is missing, invoke the construction:spec-splitter skill (Skill tool) yourself.
    • Drawing sheets should be split and indexed (sheet_index.yaml, or AgentCM's index). sheet-splitter is user-invoked only, so you cannot run it from here: ask the user to run /construction:sheet-splitter and resume. If nobody can answer (unattended run), continue with the bound drawing set, locate sheets with find_pages.py, and add a notes entry in state.yaml saying the drawings were not split.
  5. Project facts. Read .construction/skills/project_context.yaml:
    • Facility types (building.facility_types): if missing, infer them from the cover sheet and code analysis, and confirm them at the checkpoint.
    • Jurisdiction: city, county and state.
    • Construction schedule: if the project has one, record its path in state.yaml as schedule.
  6. Register. Check the submittal log for this item, and the RFI log and ASI/bulletin log for changes that affect the section. Note approved submittals this one depends on, such as the approved sink or fume hood a casework submittal must fit.
  7. Lessons. If .construction/skills/submittal-review/lessons.yaml exists, read it. It holds what earlier reviews on this project missed or the PE overturned.
  8. Index each submittal file (any file over about 20 pages):
    bash
    PY="${CLAUDE_PLUGIN_ROOT}/bin/construction-python"; FP="${CLAUDE_PLUGIN_ROOT}/scripts/pdf/find_pages.py"
    "$PY" "$FP" index --pdf "{submittal file N}" --output "{dir}/pages_N.json"
    It reports pages with no text layer (scans). Those must be rasterized to be read.

Write state.yaml (status: intake).

2. Trace requirements (before reading the submittal)

A review fails most often because the right detail was never pulled. Build trace.json from the contract documents alone:

  1. Package requirements. Every submittal requirement in Part 1 of the section, with its article reference.
  2. Elements. Every element of the scope in the contract documents:
    • Use each tagged elevation, equipment item, mark, door number, fixture type or assembly.
    • Find them in plans, elevations, details and schedules.
    • In AgentCM mode, start from AgentCM's files instead of reading sheets: .construction/tags.tsv (every occurrence of a mark, door number or other known identifier, with its sheet and position), .construction/xrefs.tsv (every reference between sheets, details and specification sections), the schedules INDEX.md lists (.construction/schedules/<sheet>-<n>.tsv) and, for what those miss, the sheet's .construction/sheets/<sheet>.tsv.
    • For product data with no tagged elements, the elements are the products the spec requires.
  3. Governing references per element (cd_refs): every sheet, detail, section cut, schedule row and spec article that governs it. Follow every cut drawn on an elevation or plan. Record in stated what each one states about the element (sizes, models, ratings, heights, voltages, finishes, supports).
  4. Changes. Apply responded RFIs, ASIs and bulletins to the trace, citing them.

3. Inventory the submittal

Map the submittal to the trace in inventory.json, both ways.

  1. Find each element's pages. For an indexed file, write element_terms.json with the search terms for each element: tag, item number, name, scheduled model. Then run:
    bash
    "$PY" "$FP" map --index "{dir}/pages_N.json" --elements "{dir}/element_terms.json" --output "{dir}/page_map_N.json"
    It lists, per element, its heading pages and the pages that follow until the next element's tab. It also lists tabs that match no element (possible extra items), pages that match nothing, and image-only pages.
  2. Confirm the map. Check each element's first page by reading its heading (extract_text_region.py, or a rasterized strip). For a short file, identify pages from titles and tags directly.
  3. Record the result:
    • each trace element → its pages, or missing;
    • each submittal item with no matching element → extra_items, with a note;
    • each Part 1 package requirement → submitted or missing.

A missing element or package item becomes a completeness finding. Keep this pass light; detailed reading happens in Step 5.

4. Checkpoint

Show the user, in one short message:

  • the section(s), submittal types, element count and pages, facility types and jurisdiction;
  • the code and authority questions the trace already raises (accessibility, health department, fire, state agency, utility), each as a question.

Ask two things: confirm the facility types and jurisdiction, and whether to run /construction:code-researcher on those questions. A researched question can be checked. An unresearched one stays open in the report and is never answered from memory.

Write confirmed facility types to project_context.yaml (building.facility_types) if they were missing. If nobody can answer (unattended run), set unattended: true, proceed with the inferred values, leave every question open, and say so at the top of the report.

5. Review

Start each batch from its records:

bash
"$PY" "${CLAUDE_SKILL_DIR}/scripts/check_review.py" --review-dir "{dir}" --scaffold {NN} --elements "{ids}"

This writes review_{NN}.json with every governing reference of each element marked todo.

  • Up to about eight elements: review them yourself, following the worker prompt's per-element steps, one element at a time, releasing each element's pages before the next.
  • More: fan out. Batch about five to eight elements per worker and launch the workers in parallel with the Agent tool, using ${CLAUDE_SKILL_DIR}/references/worker-prompt.md. Fill {plugin_root} with ${CLAUDE_PLUGIN_ROOT} and {skill_dir} with ${CLAUDE_SKILL_DIR}. Each worker writes findings_{NN}.json and fills review_{NN}.json, then returns one line. If a batch file is incomplete, re-run that worker. Never parse results from a worker's reply.

Reviewing an element means four things:

  • read every governing reference and the submittal pages;
  • compare everything the references state;
  • ask the cross-trade questions in references/review-lens.md;
  • note every code or authority question it raises.

A finding cites both sides: the requirement (sheet, detail, schedule row, spec article, RFI or ASI) and the submittal (file, page, what it shows). Write findings as described in ${CLAUDE_SKILL_DIR}/references/review-writing.md.

6. Package questions, reconciliations and prior comments

Yourself, in the main context:

  1. check_review.py --scaffold 90 --package writes the eight package questions from the lens. Answer each.
  2. Reconcile every pair of documents that must agree on the same items, field by field, and add a row for each. Examples: the equipment schedule against the electrical panel and plumbing connection schedules; fixture models against casework cutouts; hardware sets against the door schedule; submitted weights against the structural loads. A mismatch is a finding with both sources.
  3. Resubmittals: every prior finding goes into prior.json as closed, open or partially closed, with evidence. An unaddressed prior comment is a finding of its own.

Your own findings use batch 90: F-90-01, ...

7. Code questions and routing

Code and authority questions (compliance.json): gather the questions from every review record, add your own, and merge duplicates. Each row is a full question naming the authority and the elements it affects.

  • If the PE agreed at the checkpoint, run /construction:code-researcher on the open questions. A question is researched only when a code-researcher topic file answers it: cite that file as source, then mark the result consistent or finding. A finding cites the code, edition and section from that file.
  • Otherwise the question stays open, with the research command to run.

Never state a code requirement you have not retrieved.

Routing (routing.json): one row per trade that must act. Each row says:

  • what to send them (pages, items);
  • what is needed back;
  • who to confirm for furnish, install and connect;
  • the gate, the milestone in ${CLAUDE_SKILL_DIR}/references/milestones.yaml by which it must be resolved;
  • the need-by: the start date of that milestone's activity in this area, from the project schedule (record the activity), or no schedule when the project has none.

Every coordination finding belongs to a routing row.

8. Gate

bash
"$PY" "${CLAUDE_SKILL_DIR}/scripts/check_review.py" --review-dir "{dir}"

It fails when any of these is true:

  • an element in the trace is missing from the inventory, or a missing element has no completeness finding;
  • a submitted element has no review record;
  • a governing reference is unaccounted for or still todo;
  • a package question is unanswered;
  • a finding lacks a source, an action or a real element;
  • a coordination finding is not routed, or a routing row lacks a gate or need-by;
  • a code question is a bare topic name, or is marked researched without a code-researcher source;
  • a prior finding is unaccounted for.

Fix every gap and re-run until it passes. Do not report before it passes. If something truly cannot be verified, record it as unverifiable with what is missing; that is part of the review, and it goes in the report.

9. Report

bash
"$PY" "${CLAUDE_SKILL_DIR}/scripts/export_submittal_review.py" --review-dir "{dir}" \
  --output "{submittals_folder}/{submittal_no} R{rev} - GC Review.xlsx" --annotations "{dir}/markup"
"$PY" "${CLAUDE_PLUGIN_ROOT}/scripts/pdf/annotate_pdf.py" --pdf "{submittal.pdf}" \
  --items "{dir}/markup/{file_stem}.json" --output "{submittals_folder}/{submittal_no} R{rev} - GC Markup.pdf" --author "GC Review (draft)"

Deliverables go in the project's submittals folder (or the project root), never in .construction/. The export prints the suggested disposition; the rules are in review-writing.md.

Then:

  1. Issues. Each design-team-owned finding (an absence in the CDs, a conflict between documents, a question only the A/E can answer) goes to the issue registry with issue_manager.py add --source-skill submittal-review, so rfi-drafter can turn it into an RFI. Never draft or send the RFI from here.
  2. Finding. write_finding.py --skill submittal-review --type submittal_review with counts and the output paths, in both modes.
  3. Tell the PE, briefly, as review-writing.md describes. Never split a finding from its action.
  4. Set status: complete in state.yaml.

Lessons

When the PE overturns a finding, or a miss surfaces later, append it to .construction/skills/submittal-review/lessons.yaml with:

  • the section;
  • what happened;
  • what the review should have read or asked.

Step 1 reads this file on the next review in the project.


Rules

  • The contract documents govern. Precedence and the RFI and submittal authority rules are in pe-review's references/pe_review_rules.md.
  • Surface conflicts; never resolve them. If the drawings and the spec disagree, that is a design-team finding, not a reason to accept the submittal.
  • No fabricated references. Every sheet, detail, article and code citation comes from a document you read or a finding code-researcher recorded.
  • "By others" is not an answer. Name who, or record a scope gap.
  • Approved-as-noted markups and responded RFIs change the trace. Read them.
  • Draft only. Disposition is a suggestion; the PE decides and sends.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Submittal Review AI 技能有什么作用?

由 PE 专家依据规范、图纸、规范相关问题及各专业协调情况审查送审文件(施工图、产品资料、样品、设备手册)。输出审查发现,附上两项依据、专业分发建议及完整性检查关卡。触发词:“review submittal”“review shop drawings”。

为什么在 TypingMind 中使用 Submittal Review?

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

如何在 TypingMind 中安装 Submittal Review?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/dleerdefi/claude-code-construction/tree/main/skills/submittal-review。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Submittal Review?

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

Submittal Review 可以搭配多少个 AI 模型使用?

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

Submittal Review AI 技能免费吗?

是的。dleerdefi 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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