AI Agent Hub
Back to skills
Boo AI Technical Bid Number Continuity Checker icon

Boo AI Technical Bid Number Continuity Checker

Office Efficiency Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Follow https://skillhub.cn/install/skillhub.md to install @user_3c9003af/boo-ai-docx-number.

About this skill

Problem

Technical bid documents in Word often develop skipped, repeated, or misaligned numbers as sections are inserted, split, or reordered. Manual review is usually limited to visual scanning: it is hard to confirm which outline level a paragraph belongs to, and harder to distinguish a legitimate restart from a true numbering break. This skill treats the .docx file as OOXML structure and turns numbering continuity into inspectable, annotatable issues.

How It Works

The workflow produces three artifacts:

  • Outline extraction: extract_outline() reads outline levels from both direct paragraph settings and style inheritance. OutlineLvl values run from 0 for the top level to 8 for nine levels, producing _大纲目录.txt.
  • Numbering analysis: analyze_numbering() groups paragraphs by outline level, then checks continuity within the same level. It recognizes common patterns such as 一、, 1、, (1), and 1., and uses subsequence splitting to separate restarts from breaks. Table numbering is counted separately and attached to the enclosing outline node.
  • Highlighted comments: generate_highlighted() marks broken paragraphs with paragraph-level yellow shading, creates word/comments.xml for comment definitions, and updates [Content_Types].xml plus relationship files.

It relies on Python 3.x standard libraries such as zipfile, xml.etree.ElementTree, re, and os, and does not require pandoc or python-docx.

Limits

This skill is best used to inspect the numbering structure of an existing .docx technical bid. It outputs an outline directory, a numbering analysis, and an annotated document. It is not a general proofreader, does not rewrite prose, normalize terminology, or replace templates. Highly custom numbering, fields in headers or footers, and non-native Word hierarchy may still require manual confirmation.

Use Cases

  • Before bid delivery, check chapter numbers for skips or duplicates and locate broken paragraphs.
  • After editing multi-level outlines, verify same-level Chinese and numeric sequences stay continuous.
  • Mark numbering issues in the document with yellow highlighting and comments for reviewers.
  • When reviewing table-based technical bids, count table numbering separately under the matching outline node.

Best For

  • Engineers preparing technical bid sections who need to locate broken chapter numbering.
  • Documentation engineers maintaining bid outlines who need to check outline levels and same-level sequences.
  • Project managers performing pre-delivery QA who need to annotate numbering issues for review.
  • Automation engineers using Python with OOXML who need outline extraction and Word comment generation.