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

> Source: <https://dev.to/florentin_badea/stop-your-ai-assistant-from-hallucinating-pdf-apis-selectpdf-ai-tools-39nb>
> Published: 2026-07-01 14:38:44+00:00

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](https://github.com/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](https://selectpdf.com/pdf-library-for-net/) — real API signatures, working code, and the gotchas that matter.

A single Claude Code plugin with two skills:

`selectpdf-lib-net`

`selectpdf-lib-htmltopdf-net`

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

```
/plugin marketplace add selectpdf/ai-tools
/plugin install selectpdf@selectpdf
```

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

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](https://github.com/selectpdf/ai-tools)

Want to see the library itself? Browse the [online documentation](https://selectpdf.com/pdf-library/) or try the [C# and VB.NET live demos](https://selectpdf.com/demo/).
