← all posts

Engineering

Software engineering practices, architecture, testing

Docker Multi-Stage Builds: From 1.2 GB to 89 MB Image

Tutorials Engineering

Cut Docker images by 93% with multi-stage builds. Before/after Dockerfiles for Node.js and Python, layer caching, and Trivy scanning.

CI/CD Pipeline Generator: AI Builds GitHub Actions Fast

Tutorials Engineering

Structured prompts for generating GitHub Actions workflows with AI. Node.js, Python, Docker, multi-stage deploy — working YAML examples and security tips.

REST API Design with AI: Prompts and OpenAPI Spec Generation

Tutorials Engineering

Designing REST APIs with AI: naming conventions, versioning, error handling, and OpenAPI spec generation. Prompts and real-world examples.

Kronos Agent OS: an operational layer for AI agents, open source

Engineering

KAOS — a self-hosted Python runtime for long-running AI agents with five-layer memory, multi-agent coordination, built-in automations, and defense-in-depth security. An open source alternative to Hermes Agent and OpenClaw.

Monolith vs Microservices vs Serverless: The Real Cost for a Startup

Tutorials Engineering

A TCO model for three startup architectures: monolith, microservices, serverless. AI-assisted calculation prompts, comparison tables, and a decision framework with concrete numbers.

From PRD to Database Schema in 30 Minutes: AI-Powered Domain Modeling

Tutorials Engineering

A step-by-step process for turning a PRD into a PostgreSQL schema in 30 minutes with AI. Extract entities, build relationships, generate migrations.

AI Security Audit Checklist: 15 Vulnerabilities Claude Found in Production Code

Tutorials Engineering

A checklist of 15 common production code vulnerabilities with before/after examples and prompts for AI-assisted auditing. SQL injection, SSRF, path traversal, JWT, race conditions, and more.

TDD with AI: Claude Writes Tests First, Then the Implementation

Tutorials Engineering

How to apply test-driven development with Claude Code: prompts, test-first workflow, approach comparison. A practical guide with code examples.

ADR Template + Prompts: AI Writes Architecture Decisions in 5 Min

Tutorials Engineering

Generate Architecture Decision Records with AI: template, prompt library, CI automation, full Claude Code workflow from decision to docs.

AI Code Review Checklist: 4 Categories, 12 Production Prompts

Tutorials Engineering

Battle-tested checklist for AI code review: Correctness → Security → Performance → Readability. Prompts per stage, real findings, CI/CD template.