Browsing: Development

Build container images that are small, reproducible and hard to abuse: choose and pin base images by digest, split build and runtime with multi-stage builds, run as a non-root user, pass credentials with BuildKit secrets instead of ARG or ENV, keep .env files out with .dockerignore, and enforce it all with docker build checks, hadolint and Trivy in GitHub Actions.

A practical way to find flaky tests across any test framework: produce JUnit XML from pytest, Jest, Playwright, Go, Maven and Gradle, upload it with run metadata, download weeks of history with the GitHub CLI, score tests that both pass and fail on the same commit with a Python script, publish a weekly report, and reproduce and quarantine the worst offenders.

How to change a busy PostgreSQL schema without an outage: why ALTER TABLE locks queue up, lock_timeout and retries, which operations are safe, concurrent indexes, NOT VALID foreign keys and NOT NULL constraints, renaming a column with the expand-contract pattern, batched backfills in a procedure, deploy ordering, and settings for Rails and Django migrations.

A practical upgrade path for plugins that touch orders: what High-Performance Order Storage changes in the database, how to declare compatibility, an audit command for risky calls, CRUD replacements for post and meta functions, meta boxes, list columns and bulk actions on the new orders screen, wc_get_orders queries, direct SQL, and a test routine that switches storage with WP-CLI.

A practical guide to the open Agent Skills format: what a SKILL.md file needs, the name and description rules, how progressive disclosure keeps context small, a complete example skill with a bundled script and reference file, where agents look for skills, validating them locally and in CI, testing that they trigger, and reviewing third-party skills safely.