What to Create a Plugin Panel that has multiple buttons to run scripts I have developed

I have started with downloading adobe uxp and created a starter plugin. that worked fine.

Then I changed the plugin to have a button in the panel.

I asked ChatGPT to create the correct code configurations to get the button to run a script.

The script alone works fine. I have it in my script folder, but I want this to be plugin rather then going to the script panel to run it and other scripts I have developed.

ChatGPT just can’t give me the right coding to develop this. ChatGPT tells me what each of my files codes should be for index.html, manifest and main.js but the button never works.

Can someone help me.
The goal is to create a Panel with 4 buttons. Each button runs a different script that has already been tested and works.

Use Claude 3.5 Sonnet. It’s free for a while for you to test it and it seems to know UXP Plugins well enough. I am converting a simple old script of mine to a UXP plugin (not .IDJS) at the moment and i got promisingly far.

Thank you I am going to try that tonight.