Sign in

Kaspars Dambis

@kaspars.damb.is
139 followers 154 following 423 posts

Full stack maker of things with passion for #web, #electronics, #sustainable living, #buildingscience, #passivehouse, #personalfinance and teaching. Find me at kaspars.net and wpelevator.com

PostsRepliesMedia
Kaspars Dambis @kaspars.damb.is · 05/09/2026
Pretty cool to see your WordPress site as a connector in the Claude mobile app. It is a streamable-http MCP server by Agent Pilot plugin combined with OAuth Pilot for seamless auth. Also works with the official MCP-adapter feature plugin.
050
Kaspars Dambis @kaspars.damb.is · 04/09/2026
With Agent Pilot you can create and manage agent skills in WordPress (just like blog posts) and publish them as standard Agent Plugins. Now with OAuth Pilot you get one-click authentication for all the MCP clients (Claude, ChatGPT, etc). No more application passwords!
120
Kaspars Dambis @kaspars.damb.is · 24/08/2026
During the weekend I built a contextual search tool for a photo library with 42k images across 2.8k galleries. The results are amazing!
100
Kaspars Dambis @kaspars.damb.is · 10/08/2026
Trying out Agent Pilot WordPress plugin prototype to self-host host AI skills. Let's you manage and publish agent skills without having to figure out Git or GitHub.
040
Kaspars Dambis @kaspars.damb.is · 05/08/2026
What would be your preferred interface for creating agent skills in WordPress? a) all front-matter fields in the editor area (ACF-style), or b) all front-matter fields in the sidebar panel?
000
Kaspars Dambis @kaspars.damb.is · 22/07/2026
Check your AI tool memories (under ~/.codex/memories and ~/.claude/projects). I find that most of them are actually polluting the context and not helping.
000
Kaspars Dambis @kaspars.damb.is · 22/05/2026
The Jetpack monorepo is 767MB 🐡 Mostly because of the tracked build files (roughly 360MB) which are not even part of the current work tree.
000
Kaspars Dambis @kaspars.damb.is · 21/05/2026
Would you trust AI to run this? Will it actually apply those single quotes when running it? It created the ~ directory itself during previous runs so it is trying to clean up.
000
Kaspars Dambis @kaspars.damb.is · 17/05/2026
Appears that the site stylesheet does support dark mode but the body text is invisible.
210
Kaspars Dambis @kaspars.damb.is · 24/02/2026
The Connectors screen in WP 7.0 would really benefit from encrypted options unless we want to expose those API keys to anyone with access to wp-admin/options.php
110
Kaspars Dambis @kaspars.damb.is · 23/02/2026
ChatGPT wouldn't do it, Claude wouldn't do it. Eventually tried Perplexity and it was able to generate notes with correct code snippets from my WordPress course videos. Amazing since it didn't have to invent anything -- just capture everything I said and include the relevant code snippets.
110
Kaspars Dambis @kaspars.damb.is · 20/02/2026
To enable it, add this configuration to .vscode/launch.json file.
000
Kaspars Dambis @kaspars.damb.is · 20/02/2026
WordPress block development with breakpoint debugging for JS is a life-changer! So is PHP breakpoints, to be honest. Instead of hunting for the correct file in the browser console, you just add breakpoints in VS Code and it automatically stops JS at that point to show you the full state.
110
Kaspars Dambis @kaspars.damb.is · 16/02/2026
When can we reasonably expect all macOS apps to use the correct squircle radius? I can't believe VSCode and Google Chrome are still different from the Finder or any of the built-in apps...
000
Kaspars Dambis @kaspars.damb.is · 15/02/2026
Be sure to check out the included library of shortcuts and automations for inspiration. Here is the "Record Coding" automation that I built.
010
Kaspars Dambis @kaspars.damb.is · 15/02/2026
I can't believe I'm discovering the Apple Shortcuts just now. In one click it can now get my computer ready for screen recording -- it opens VS Code, web browser + recording app, and resizes the windows to fit a specific aspect ratio. The app is bundled with every Mac and iPhone since 2021.
110
Kaspars Dambis @kaspars.damb.is · 04/02/2026
Can AI help optimize your landing pages from actual user session data? We enabled user session recording using PostHog (which uses rrweb behind the scenes), and drove Meta ads to the page. Then used AI to extract those 36k+ events into a single file and asked it to analyze the results.
100
Kaspars Dambis @kaspars.damb.is · 22/01/2026
Turns out that building a "Clear formatting" feature for the WordPress block editor is more difficult than I imagined. Many blocks have the inner content as part of the `content` attribute but things get difficult with RichText, for example. Do you have a solution for this?
010
Kaspars Dambis @kaspars.damb.is · 06/12/2025
Add logging to my kitchen-sink WordPress plugin with handlers for error_log() and Query Monitor. Nice to have info/debug level data while developing and warnings+ on PROD. How are you handling this in your plugins?
010
Kaspars Dambis @kaspars.damb.is · 04/12/2025
Did you know that HTTP3 is already supported by 92% of browsers and can offer 10-20% performance improvements (mostly to LCP) especially for mobile users? Nginx added support for HTTP/3 two years ago in version 1.25.0 so it is available in most recent Linux distributions.
120
Kaspars Dambis @kaspars.damb.is · 02/12/2025
Did you know there is a way to check the historic web vitals for your sites from actual user data? Try it out here: cruxvis.withgoogle.com
020
Kaspars Dambis @kaspars.damb.is · 28/11/2025
Has anyone had luck registering for AliExpress API access? Getting auto-rejected and not sure what to try next.
000
Kaspars Dambis @kaspars.damb.is · 23/11/2025
The #FAIR plugin for WP doesn’t like iOS Safari. Probably an outdated regex on user agent?
000
Kaspars Dambis @kaspars.damb.is · 21/11/2025
Turns out HTTP Host headers can have a trailing dot (totally valid too) and nginx will happily forward it to php-fpm making $_SERVER['HTTP_HOST'] have a trailing dot which then fails all WP multisite domain lookups... First time seeing this on a fresh nginx + php 8.4 setup.
000
Kaspars Dambis @kaspars.damb.is · 21/11/2025
How do you profile PHPStan runs for performance issues? It appears to be spawning a child process even if maximumNumberOfProcesses is set 1 which makes the core logic invisible to XDebug profiler.
000
Kaspars Dambis @kaspars.damb.is · 21/11/2025
Trying out the new VS Code fork from Google. Requires Google login to actually use it... not sure I like this direction.
000
Kaspars Dambis @kaspars.damb.is · 18/11/2025
Feels like half the web is down now...
000
Kaspars Dambis @kaspars.damb.is · 15/11/2025
Version 3.0.0 of the Minit plugin for WordPress now defers the script bundle by default and uses this trick to support scripts with "after" logic (which require the parent to be loaded). Learn more here: github.com/kasparsd/minit
131
Kaspars Dambis @kaspars.damb.is · 13/11/2025
Has anyone seen WP add ?_t=... to image URLs? Couldn't find anything in the codebase where this is happening. This is causing WP to fail at generating the srcsets.
100
Kaspars Dambis @kaspars.damb.is · 12/11/2025
Everyone on Twitter now... The whole re-auth flow is completely broken. I'm using the correct key and it still goes into this infinite loop.
020
Kaspars Dambis @kaspars.damb.is · 27/10/2025
Did you know that *.wpenv.net (all subdomains) point to 127.0.0.1? Use it for local development and avoid editing hosts file or setting up custom NS resolver.
100
Kaspars Dambis @kaspars.damb.is · 08/09/2025
Turns out you can still do that if the birthday is 18+. Only the kids accounts enforce gmail usage because of family link requirements/compatability. Probably similar to how workspace accounts can’t pay for youtube premium.
000
Kaspars Dambis @kaspars.damb.is · 03/09/2025
First time seeing my blog mentioned in a Google AI overview. Remember hearing in a few recent interviews with Sundar Pichai that they're now adjusting the AI Overview placement to improve source attribution.
010
Kaspars Dambis @kaspars.damb.is · 30/08/2025
GitHub web UI is getting slower every week! Doing code reviews is a pain now. Use the GitHub Pull Request extension for VSCode to do them right in your editor -- leave inline comments, explore commit history, etc.
110
Kaspars Dambis @kaspars.damb.is · 29/08/2025
Sharing my recent numbers not to brag but to get feedback. I find it hard to make technical content engaging. What are the one or two things that have helped you get consistent replies and shares?
000
Kaspars Dambis @kaspars.damb.is · 29/08/2025
So many of the AI crawlers don't use JS-enabled browsers so you need to access raw HTTP access logs to see the actual requests. The problem is that most of this data is terminated at your CDN level and you might never know the true amount of referrals and crawlers. Attached is OpenAI traffic.
000
Kaspars Dambis @kaspars.damb.is · 28/08/2025
Has anyone built a WordPress version of Writebook for publishing books and manuals online? Here is the link: once.com/writebook
010
Kaspars Dambis @kaspars.damb.is · 28/08/2025
This is the amount of auth credentials Google expects you to pass for a simple API fetch from Google Analytics, for example. There is no way to do it with a simple API key string. Wow!
000
Kaspars Dambis @kaspars.damb.is · 26/08/2025
The combined WordPress documentation markdown files for LLMs now include the WP-CLI documentation!
110
Kaspars Dambis @kaspars.damb.is · 26/08/2025
Which user capability should have access to this post meta inspector modal in WordPress? Possibly with an option to edit fields directly.
Modal window showing all post meta fields and their values in the WordPress block editor.
020
Kaspars Dambis @kaspars.damb.is · 25/08/2025
Today I learned about Mermaid diagrams which are created from plain text. Turns out even GitHub markdown supports them and LLMs are great at generating them. Checkout this GitHub issue for an example: github.com/fairpm/fair-...
Rendered diagramDiagram source
010
Kaspars Dambis @kaspars.damb.is · 24/08/2025
While researching the FAIR protocol implementation, played around with some ideas for the project logo.
000
Kaspars Dambis @kaspars.damb.is · 15/08/2025
Ever wanted to track and find blocks, images or links across your WordPress content? With Asset Pilot you can do it all!
010
Kaspars Dambis @kaspars.damb.is · 11/08/2025
What's your mental model of the WordPress block kitchen?
020
Kaspars Dambis @kaspars.damb.is · 29/06/2025
Over the weekend I vibe-coded a fix for the #xhprof PHP profiler extension which was SEGFAULTING due to a memory issue on shutdown. You can now safely exclude function names from profiling! I hope this gets merged and released with the PHP 8.4 support fixes that have landed already.
100
Kaspars Dambis @kaspars.damb.is · 21/06/2025
I can't believe I missed the ActivityPub plugin documentation in the Help tab of the plugin settings. I wonder if these help tabs should be open by default when users visit the settings for the first time.
100
Kaspars Dambis @kaspars.damb.is · 18/06/2025
Windows devs -- do you use a package manager like Chocolatey or Scoop to install your tools and software? Many students of the Modern WordPress Fast Track course are on Windows and I want to make sure my recommendations work across all OSes.
110
Kaspars Dambis @kaspars.damb.is · 07/06/2025
Wow, that's all taken up by the dynamic wallpaper videos 😅
100
Kaspars Dambis @kaspars.damb.is · 06/06/2025
Is there a WordPress plugin that shows a confirmation prompt when updating a published post? Attached is what I had in mind based on the dialog used by the full side editor when making site-wide changes.
010
Kaspars Dambis @kaspars.damb.is · 04/06/2025
The first module of the Modern WordPress Fast Track course is now live! It covers the web fundamentals from the perspective of a full-stack WordPress developer -- everything from IP packets and TCP to DNS and HTTP!
130