DEV Community

Cover image for Stop your AI assistant from hallucinating PDF APIs: SelectPdf AI Tools
Florentin Badea
Florentin Badea

Posted on • Originally published at selectpdf.com

Stop your AI assistant from hallucinating PDF APIs: SelectPdf AI Tools

AI coding assistants are great at .NET boilerplate, but ask one to generate PDF code and it will happily invent a method that doesn't exist, or reach for a commercial feature while claiming it's in the free edition. The model is guessing from training data.

SelectPdf AI Tools fixes that. It's a free, open-source (MIT) set of Agent Skills that give your assistant accurate, version-matched knowledge of the SelectPdf .NET library — real API signatures, working code, and the gotchas that matter.

What's in it

A single Claude Code plugin with two skills:

  • selectpdf-lib-net — the full commercial Select.Pdf library: HTML→PDF, building/editing PDFs, merge/split, AcroForms, digital signatures, encryption, PDF→text/image, and accessible tagged PDF/UA-1 and PDF/A-3.
  • selectpdf-lib-htmltopdf-net — the free Community Edition (HTML→PDF).

Every sample is in C# and VB.NET, tracking SelectPdf v26.3.

Install in Claude Code

/plugin marketplace add selectpdf/ai-tools
/plugin install selectpdf@selectpdf
Enter fullscreen mode Exit fullscreen mode

The right skill activates automatically when you ask it to work with PDFs in a .NET project.

Cursor, Copilot, Codex

The same knowledge ships in each tool's native format — Cursor .mdc rules, Copilot .instructions.md, and a Codex AGENTS.md guide. Drop the file into your repo and your assistant is up to speed.

It's all open source, so you can read exactly what your assistant is being told — and send a PR if you spot something. 👉 https://github.com/selectpdf/ai-tools

Want to see the library itself? Browse the online documentation or try the C# and VB.NET live demos.

Top comments (0)