Articles

Tech Articles

In-depth articles on AI, web development, cloud native, and indie hacking.

@admin·5 min read·AI Coding

Advanced Prompt Engineering: Structured Prompt Design

A prompt is not a "wish" but a specification for the model. This article explains the six elements of a structured prompt, advanced techniques such as CoT, few-shot examples, and XML segmentation, defensive phrasing, and a reusable debugging method that turns intuition-driven prompt tuning into an engineering process.

#AI #LLM♥ 140 comments
@admin·6 min read·AI Frontier

Advanced Prompt Engineering: From Inspired Writing to Testable Prompt Systems

A high-quality prompt is not a magic instruction but an engineering system comprising a task contract, context, examples, an output structure, and an evaluation set. This article presents a reusable prompt design method and explains how version control and regression testing enable stable iteration.

#AI #LLM♥ 150 comments
@admin·5 min read·Agent Engineering

Long-Running Tool Calls: The Terminal-State Protocol for Operation, Poll, and Cancel

After the initial request times out, the tool may still be running server-side; issuing a cancel does not mean the side effects have stopped. This article establishes an operation identity, polling watermark, cancellation race handling, and a single terminal-state acceptance point for a single long-running tool call.

#AI Agent #MCP #DevOps♥ 130 comments