AI-IN-THE-LOOP PACK

Japanese version
Linter, validator, and MCP extension pack for AI-generated presentations, spreadsheets, documents, PDFs, diagrams, and GitHub Actions workflows.
Stop manually checking artifacts after an AI agent creates or edits them. AI-IN-THE-LOOP PACK provides deterministic scans, VS Code Problems, structured findings, and bounded repair workflows for common silent defects.
Why use AI-IN-THE-LOOP PACK?
AI agents can generate .pptx, .xlsx, .csv, .docx, Markdown, PDF, Mermaid, SVG, and GitHub Actions .yml files quickly. They can still introduce defects that look correct at first glance:
- PowerPoint elements overlap, overflow, or move outside safe margins.
- Excel formulas contain broken references, cycles, merge hazards, or clipping.
- Word and Markdown documents contain broken links, invalid relationships, or unstable structures.
- PDFs contain unembedded fonts, blank pages, local links, exposed metadata, or low-DPI image placement.
- Mermaid and SVG diagrams contain invalid labels, duplicate node IDs, dense flows, or text-boundary defects.
- GitHub Actions workflows contain unsafe permissions, unpinned dependencies, invalid paths, or missing timeout controls.
The pack closes the generation-and-verification loop:
AI agent generates or edits an artifact
|
v
X-ray scan -> VS Code Problems and structured findings
|
v
AI agent applies a targeted correction
|
v
X-ray rescan -> resolved, remaining, or regressed findings
Included extensions
Installing this pack installs all six X-ray extensions.
| Extension |
Target formats |
Main checks |
| SLIDEX-RAY |
.pptx |
Detects PowerPoint layout overflow, overlap, misalignment, and safe-margin defects. Provides bounded, reversible geometry and typography repairs. |
| SHEET-X-RAY |
.xlsx, .csv |
Validates formulas, references, cycles, merged-cell hazards, and spreadsheet clipping risks with read-only scans. |
| DOC-X-RAY |
.docx, .md |
Validates document structure, links, tables, list numbering, relationships, headers, footers, images, and OpenXML boundaries. |
| PIPE-X-RAY |
.yml, .yaml |
Checks GitHub Actions dependencies, permissions, pinning, paths, caches, timeouts, jobs, and workflow structure without running the workflow. |
| PDF-X-RAY |
.pdf |
Checks font embedding, text boundaries, blank pages, local links, metadata, and effective image DPI. Applies bounded blank-page and metadata repairs. |
| DIAGRAM-X-RAY |
.mmd, .mermaid, .md, .svg |
Checks Mermaid labels and identities, dense flows, SVG text boundaries, and label collisions. Applies bounded Mermaid source repairs. |
Built for AI agents and developers
- VS Code diagnostics: Review findings in the Problems panel and use commands exposed by each extension.
- Structured MCP results: Compatible VS Code AI clients discover the bundled local stdio MCP servers automatically. Agents receive stable IDs, locations, evidence, and rule-specific findings instead of screenshots alone.
- CLI and CI/CD checks: Run extension-specific command-line scans in local workflows and automated pipelines.
- Bounded correction: Scans are read-only by default. Extensions that support repair limit changes to explicit targets and expose verification or rollback paths.
- Before-and-after verification: Compare scans and classify findings as resolved, remaining, or regressed.
Quick start
- Open VS Code.
- Press
Ctrl+P on Windows or Linux, or Cmd+P on macOS.
- Run:
ext install ShunsukeF.ai-in-the-loop-pack
- Open a supported
.pptx, .xlsx, .csv, .docx, .md, .pdf, .mmd, .mermaid, .svg, .yml, or .yaml file.
- Run the relevant X-ray scan command or save the file when automatic scanning is enabled.
- Review findings in Problems, let the AI agent apply a targeted correction, and rescan to verify the result.
MCP integration
In VS Code, the installed extensions register their local stdio MCP servers with compatible clients. No manual server configuration is required.
Standalone MCP clients can launch the bundled server documented on each extension's Marketplace page. Use the server belonging to the artifact type you want to inspect:
- SLIDEX-RAY for PowerPoint scan, patch, diff, heal, and rollback tools.
- SHEET-X-RAY for workbook and CSV scan, workspace scan, and report diff tools.
- DOC-X-RAY for Markdown and Word document structure scan and report tools.
- PIPE-X-RAY for GitHub Actions workflow analysis tools.
- PDF-X-RAY for PDF scan, bounded repair, workspace scan, and report diff tools.
- DIAGRAM-X-RAY for Mermaid and SVG scan, bounded source repair, workspace scan, and report diff tools.
Typical use cases
- Validate AI-generated presentation layouts before distributing a deck.
- Check generated spreadsheet formulas and references before business review.
- Verify AI-edited Word or Markdown structure without mutating the source document.
- Detect PDF font, page, link, metadata, and image-quality defects before distribution.
- Validate generated Mermaid and SVG structure before embedding diagrams in a deliverable.
- Gate generated GitHub Actions workflows before merge without executing them.
- Give GitHub Copilot or another MCP-capable agent deterministic evidence for its next correction.
Feedback
Report bugs and request features in the GitHub repository.
| |