Logotipo de Submittal Review

Submittal Review

Comunidad
dleerdefi
submittal-review

Revisión experta de un submittal (planos de taller, datos de producto, muestras y folletos de equipos) frente a las especificaciones, los planos, las consultas sobre normativa y la coordinación entre oficios. Presenta los hallazgos junto con ambas fuentes, el oficio responsable y un control de integridad. Se activa con: «revisar submittal» y «revisar planos de taller».

Descripción general

Editordleerdefi
Repositorioclaude-code-construction
Nombre de la habilidadsubmittal-review
Estrellas
55
Forks
14
Archivos incluidos
9
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 9

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por dleerdefi en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Submittal Review en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/dleerdefi/claude-code-construction/tree/main/skills/submittal-review
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Submittal Review en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Submittal Review automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Submittal Review no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Submittal Review?

Revisión experta de un submittal (planos de taller, datos de producto, muestras y folletos de equipos) frente a las especificaciones, los planos, las consultas sobre normativa y la coordinación entre oficios. Presenta los hallazgos junto con ambas fuentes, el oficio responsable y un control de integridad. Se activa con: «revisar submittal» y «revisar planos de taller».

¿Por qué usar Submittal Review en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Submittal Review está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Submittal Review en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/dleerdefi/claude-code-construction/tree/main/skills/submittal-review. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Submittal Review?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Submittal Review?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Submittal Review con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Submittal Review?

Sí. dleerdefi la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇