AI Exercises

  • How to create WordPress Application password via Studio CLI and test REST API endpoint

    How to create WordPress Application password via Studio CLI and test REST API endpoint

    For a project for the Create Block Theme plugin, I created a new REST API endpoint that needs to be tested before it can be used with the a future UI feature. The task was to “Smoke test from a REST client (Postman / cURL) against the endpoint with a small payload” I used three increasingly thorough payloads, plus the cURL commands. But before doing that I needed an application password. Application password via Studio CLI Whatever Studio shows in the site sidebar (e.g., http://localhost:8897). Studio app > site > “Open in…

    Read more

  • Alternative Markdown format for AI Tools

    Alternative Markdown format for AI Tools

    I started reading “AI Engineering” by Chip Huyen and learned about the studies that NewsGuard did on AI generated content. The conclusion was and I am paraphrasing: LLMs are slowly running out of human created content to learn from. Many publishers are shutting AI Tools out of crawling their sites. So LLMs are feeding from Ai generated content, which will fast decrease the quality of the LLMs. It’s a risk in the industry that AIs won’t be able to deliver on the promise. As I publish on the Gutenberg Times,…

    Read more

  • My local tutorial creation flow with Claude Code

    My local tutorial creation flow with Claude Code

    The WordPress developer blog hosts many tutorials for developers and theme builders. For some tutorials, writers need to build example plugins to demonstrate concepts in the proper context A few days ago I assigned myself the topic How to add a menu item to the Preview drop-down. The example plugin So first I worked on an example plugin which helps readers to see the whole context. It took some back-and-forth with Claude to simplify and focus it. The plugin creates a social card preview for “X” and adds a social…

    Read more

  • List of AI News sites

    List of AI News sites

    I asked Claude for a run down of last week’s AI News, as I was mostly off-line at WordCamp US. Here is the list of sources it reviewed: Now I added them to my Feed Reader Feedly Here is the OPML file you also would like to use it.

    Read more

  • How to Export WordCamp Sessions to Google Calendar

    How to Export WordCamp Sessions to Google Calendar

    WCUS has three days of sessions, and some are quite interesting to me. As most WordCamps the schedule also has an option to identify favorites with a   ??. I normally would miss sessions if they are not in my calendar but I also didn’t want to add 16 session events into my calendar by hand so I asked Claude Code to help me out. From the schedule page you can get a link with your favorite sessions using the little menu on the bottom of the page, and using the…

    Read more

    Fediverse Reactions
  • Automating simple tasks on Google Drive and Google Storage for the Gutenberg Changelog podcast

    Automating simple tasks on Google Drive and Google Storage for the Gutenberg Changelog podcast

    This week, I succeeded again using AI to automate a few interconnected tasks. Gemini is a great buddy for that. Now I have command line tool, written in Python that does this: Set-up a new podcast episode on Google Drive: Publish the mp3 file on Google Storage After the producer drops the final episode file in the episode’s folder this command line script does the following Key Technologies and Features When I look through the final list of the various touchpoints, I probably wouldn’t have succeeded in creating this in…

    Read more

    Fediverse Reactions
  • Automating WordPress Playground Screenshots with Node.js and Playwright

    Automating WordPress Playground Screenshots with Node.js and Playwright

    Users of the WordPress Theme directory can navigate block themes with Style Variations and see how they change the look at feel of a layout. The theme powering the WordPress repository uses WordPress Playground to load a site with the theme and its style variation and then takes a screenhost via the mshots API. The screenshots are stored on the server and make it possible to load style variations rapidly via the WordPress theme repository’s site. Now mshots API, built and used by Automattic, is publically available. However it’s mostly…

    Read more

  • GitHub Copilot rocks, somewhat.

    GitHub Copilot rocks, somewhat.

    Yesterday, got myself totally tangled up with git branches on my local machine and pushed a PR to a GitHub repo that included files that didn’t belong to the respective branch. I closed the PR right away but still had to clean up my local stuff.  For the first time I conferred with GitHub’s Copilot to get myself out of the mess.  A big disadvantage is that you can’t get a Copilot history. I asked about it and this is the answer:  “GitHub Copilot Chat does not currently provide a built-in…

    Read more

  • Color band

    Color band

    Today, I asked Gemini Ai Tool to upload a screenshot of the top of the site of WordCamp Europe and it gave me the approximate hexadecimal value of the colors.

    Read more