travisebill/afpds-studio
AFP / AFPDS(Advanced Function Presentation)文件開發工具箱:內建 AFPC 完整出版品語料庫(32 份文件、5,490 頁、11.7 MB 純文字),每個位元組值、結構識別碼與繪圖規則都能追回規格頁碼;並附一套自建的 MO:DCA 資料流 → PNG 渲染器,可直接解出 FOCA 字型、PTOCA 文字、GOCA 圖形與 IOCA 影像並合成頁面預覽。適合解析 .afp 檔、驗證結構、撰寫產生器,或把 AFP 頁面轉成圖片檢視。
Rasterise an AFP / MO:DCA document page into a PNG image. Use this skill whenever the task asks to render, rasterise, preview, screenshot or "see what it looks like" for an AFP file — for example "把這份 AFP 轉成圖片", "render this .afp to PNG", "預覽這個 AFP 頁面", "this AFP looks blank, show me what the page contains". It decodes the MO:DCA data stream, the FOCA fonts, PTOCA text, GOCA graphics and IOCA images and composites them into a black-on-white page image, with every drawing rule traced to a specification page. Do NOT use it for PDF/PostScript conversion, for editing the AFP bytes themselves (use the afpds-expert skill), or for a document that has no external resource file available.
Build, parse, and validate AFP / AFPDS (Advanced Function Presentation) data streams. Use this skill whenever the task touches IPDS transport framing, MO:DCA document structure, the OCA content architectures (IOCA image, GOCA graphics, PTOCA text, BCOCA barcode, FOCA font), presentation objects, object containers, Active Environment Groups, structured fields, AFP fonts, code pages, character data, or .afp files. Trigger phrases include "AFP", "AFPDS", "MO:DCA", "IPDS", "presentation object", "structured field", "BOC", "AEG", "generate an AFP job", "parse this .afp file", "AFP 資料流", "AFP 檔", "呈現物件". Do NOT use for generic PDF/PostScript work, printer drivers, or any document-generation library that has nothing to do with the AFP architecture.