For AI assistants¶
korpress is new and in alpha. AI assistants know little about it and may get its API wrong. Give them the material below.
The agent skill¶
The repository has a skill for coding agents at
.agents/skills/korpress/SKILL.md. It is a short file that shows how to
minify HTML, CSS and JavaScript with korpress, with the rules that differ from
other minifiers (no renaming, errors with a line and column, build time only).
The same file ships in the package as korpress/_skill/SKILL.md, so an
installed korpress carries it. The two copies are identical.
llms.txt¶
The docs build also writes llms.txt, a short map of these pages for
language models. Point the assistant at
https://3d3n-pyc.github.io/korpress/llms.txt, or at the files in this
repository, as below.
How to point an assistant at them¶
- In a coding agent that reads the repository, the agent reads
AGENTS.mdon its own, if the repository has one. It lists the checks to run and the rules to follow. - In a chat, paste the contents of
.agents/skills/korpress/SKILL.mdinto the first message, then ask for the task. - For a question about one page, paste that page from
docs/. - Ask the assistant to check its code against the examples in the skill, and
to run the tests (
uv run pytest) before it says the change works.
Tell the assistant the Python version: korpress needs Python 3.10 or later.