Agent skill

spec-pdf-to-schema

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/spec-pdf-to-schema

SKILL.md

Spec PDF to Schema Mapping

Purpose

Ensure protocol facts derived from MIDI spec PDFs are reflected in canonical JSON schema/OpenAPI sources.

When to Use

  • Implementing protocol details sourced from PDF specifications
  • Updating schema or OpenAPI definitions

Steps

  1. Render the relevant PDF pages to images for inspection.
  2. Validate the bit layout or field definitions against the images.
  3. Update midi2.full.closed.schema.json and midi2.full.openapi.json with the verified facts.
  4. Implement code and tests only after schema/OpenAPI updates.
  5. Document the source page/section in related notes or audit docs.

Output Contract

  • Canonical JSON schema/OpenAPI reflect the PDF-derived facts.
  • Code/tests align with the updated canonical sources.

Didn't find tool you were looking for?

Be as detailed as possible for better results