DEV Community

Cover image for How my custom GPT taught me how to use my own library!
Dario Mannu
Dario Mannu

Posted on

How my custom GPT taught me how to use my own library!

Ok, so, little disclosure to start, I created a little functional-reactive templating library for JavaScript, alternative to React, called Rimmel.js.

Then I created a custom GPT.... spent a bit less than a day teaching it how to use it by examples, how to use it, how not to use it, how to couple it with RxJS, etc, until I got some decent (decent??? That was impressive already!!!) results.

So, next steps. I was keen on exploring CSS Modules. Never used them before, read about them around, got the flash✨.

I wasn't sure it was even possible, let alone any steps to make it work, so I asked my custom GPT to create a Rimmel component using CSS Modules. Guess what? It figured it all out in one go, and worked!

And if you happen to be curious, this is the little thing that gets the credits: RimmelGPT.js

(You may need a paid OpenAI subscription to make it work)

Have you created custom GPTs and trained to use your stuff? How did it go?

SurveyJS custom survey software

Simplify data collection in your JS app with a fully integrated form management platform. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more. Integrates with any backend system, giving you full control over your data and no user limits.

Learn more

Top comments (0)

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay