Search
Using AI Assistants

Modern software engineering is increasingly augmented by Large Language Model (LLM) agents and AI assistants. To help these tools understand MindFusion API and generate accurate code, we provide two specialized resources: an Agent Skill Package (conforming to the Agent Skills standard) and an online llms.txt index.

Agent Skill (SKILL.md)

For CLI-based agents and advanced IDEs supporting the Agent Skills standard, we distribute an Agent Skill Package.

  • Structured Instructions (SKILL.md): Inlines high-level architecture, Document / View models, and layout patterns so the agent immediately forms a correct mental model.
  • Starter Application (assets/MinApp): Includes a minimal working project that agents can inspect to see working gradle scripts, JFrame setup, and dependency configurations.
  • On-Demand API Reference (references/): Consolidated Markdown files for each class and interface that the agent can read on demand when specific API details are needed.

Download and extract the skill archive into your agent's skills folder (for example, into .agentskills/mindfusion-diagramming-java/ or your environment's designated skills directory). CLI agents will discover and activate the skill automatically when working with diagramming tasks:

https://mindfusion.dev/docs/java-swing/diagramming/mindfusion-diagramming-java.zip

Direct llms.txt & Markdown Reference

For the MindFusion website, we also follow the https://llmstxt.org/ proposal to make our technical documentation accessible through a single GET request. If you use conversational web assistants or custom GPTs, point your agent to https://mindfusion.dev/docs/java-swing/diagramming/llms.txt, or download a local copy for it to read from the project's repository. If you are working with smaller context-window size, you might have to split the file into sections or copy portions from it into individual prompts. For initial integration of the toolkit into your project, loading the MinApp, Controls, and/or Tutorial sample projects into the assistant's context should help too.

Context-Window performance

The primary SKILL.md / llms.txt file is approximately 500 KB (equivalent to 120,000 to 130,000 tokens). Here is how this scales across modern context windows:

  • Large-Context Models with 2M tokens: The entire guide takes up less than 6% of the context window, leaving ample room for long multi-turn sessions and large source files.
  • Standard-Context Models with 200k tokens: Ingesting the entire guide occupies approximately 65% of the context window. For these models, we recommend using individual sections from the inlined Guides / Overview topics for architectural orientation, copy-pasting them on-demand to preserve space for your active code.