1---2name: mikeckennedy-fastapi-chameleon-fastapi-chameleon3description: FastAPI Chameleon4---56# FastAPI Chameleon78Adds integration of the Chameleon template language to FastAPI.910## Installation1112```bash13pip install fastapi-chameleon14```1516## API overview1718### Setup1920Point the library at your Chameleon templates folder once at app startup.2122- `global_init`: Initialize the Chameleon template engine for your app2324### Rendering views2526Decorate FastAPI view functions to render templates, or build a response directly.2728- `template`: Decorate a FastAPI view to render its return value through a Chameleon template29- `response`: Render a template and return it as a FastAPI response directly3031### Error responses3233Short-circuit a view to render a friendly error page with the right status code.3435- `not_found`: Short-circuit the current view and render a friendly 404 page36- `generic_error`: Short-circuit the current view and render an error page with a custom status code3738### Exceptions3940Exception types raised by the library (the error helpers raise these internally).4142- `exceptions.FastAPIChameleonException`43- `exceptions.FastAPIChameleonNotFoundException`44- `exceptions.FastAPIChameleonGenericException`4546## Resources4748- [Full documentation](https://mkennedy.codes/docs/fastapi-chameleon/)49- [llms.txt](llms.txt) — Indexed API reference for LLMs50- [llms-full.txt](llms-full.txt) — Comprehensive documentation for LLMs51- [Source code](https://github.com/mikeckennedy/fastapi-chameleon)5253---54> Source: [mikeckennedy/fastapi-chameleon](https://github.com/mikeckennedy/fastapi-chameleon) — distributed by [TomeVault](https://tomevault.io).55<!-- tomevault:4.0:skill_md:2026-07-02 -->
Run npx skillmds@latest add tomevault-io/mikeckennedy-fastapi-chameleon-fastapi-chameleon in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
FastAPI Chameleon It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.