How to use Github Copilot with FlatPress : some remarks

General information and announcements regarding the FlatPress project
Post Reply
User avatar
macadoum
Posts: 49
Joined: Sat Jan 20, 2024 10:32 pm

How to use Github Copilot with FlatPress : some remarks

Post by macadoum » Wed Dec 24, 2025 3:38 pm

Hello, I've been using Github Copilot for the past few days to build theme and plugins for FlatPress.

Here are some things I learned about how to use Copilot with Flatpress in a good way. These notes are useful to me and could be useful to some of you too. ;)

1. First, you should use copilot Pro(10$), the free plan is too limited and you can't use the best models
2. You should start by opening a chat using GPT 5.1 Codex Max (as of december 2025), it's the one who will understand you best
3. You have to explain in one or two sentence what you intend to create, the context (which version) and where to build things (which folder)
4. You should explain things like a plan : 1. Make this 2.Make that 3.Resolve that 4. Use that API ...
5. You have to explain specifically some of the tech he'll have to use : Use jquery 3.7.1, use jqueryui 1.13.2
6. You have to tell him to use Smarty 5.5+ explicitly ( he dosen't seems to know Smarty very well)
7. You have to tell explicitly the chat to create a plan for an Agent
8. Then you ask him to send the plan to an agent and approve.
9. The best Agent will be selected to do the job
10. If some things are not working well, then you can ask the Agent directly.

Have fun :D

:!: Remember to use AI produced code cautiously, you cannot guarantee that everything will work properly in the long term or with future updates of FlatPress. First of all, use your code on a test installation of FlatPress ! :!:
My test installation of FlatPress : https://macadoum.free.nf/ :D

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests