context-engineering

Map context requirements and design runtime discovery strategies for AI features.

16|3|Updated Oct 23, 2025
One-click install
npx skills add https://github.com/breethomas/bette-think --skill context-engineering-breethomas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-engineering
Source: https://github.com/breethomas/bette-think/tree/main/plugins/bette-think/skills/context-engineering
Command: npx skills add https://github.com/breethomas/bette-think --skill context-engineering-breethomas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Context engineering prevents AI features from failing in production by ensuring the model receives the precise, structured information it needs to be accurate, relevant, and safe. It addresses missing, stale, or poorly organized context that causes hallucinations, inconsistent behavior, high costs, and features that work in demos but break in real usage.

Core Features & Use Cases

  • 4D Context Canvas: Structured workflow to define Demand, Data, Discovery, and Defense before engineering begins.
  • Diagnostics & Audits: Root-cause analysis for underperforming AI features, mapping symptoms to D1–D4 gaps.
  • Quick Quality Checks: Five-point pre-launch checklist for relevance, freshness, sufficiency, structure, and constraints.
  • Templates & Integration: Orchestrator prompt templates and Linear integration patterns for reproducible specs, comments, and issue creation.
  • Use Case: Product managers can spec an AI suggestion feature, map required user and domain signals, design runtime retrieval strategies, and define graceful degradation paths to avoid shipping harmful or misleading outputs.

Quick Start

Run a 4D Context Canvas on a proposed AI feature to list the model's job, required context, runtime discovery strategy, and failure defenses.

Frequently Asked Questions about context-engineering

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why does my AI feature work in demos but fail in production with hallucinations?

AI features fail in production when context engineering is neglected, leading to missing, stale, or poorly structured runtime information that causes hallucinations and inconsistent behavior. Mapping precise context requirements before launch prevents these runtime failures.

What is context engineering for AI-driven product features?

Context engineering is the process of ensuring AI models receive precise, structured runtime information to remain accurate, relevant, and safe. It involves mapping context requirements, designing discovery strategies, and defining fallback paths to prevent production failures.

How do I run a pre-launch quality check for AI context reliability?

Run a five-point pre-launch quality check to validate AI context for relevance, freshness, sufficiency, structure, and constraints. This diagnostic process identifies gaps in runtime discovery and defines graceful degradation paths before shipping.

How do I diagnose an underperforming AI feature with missing context?

Diagnose underperforming AI features by mapping observed symptoms to context gaps across four dimensions: Demand, Data, Discovery, and Defense. This root-cause audit identifies whether failures stem from missing signals or poor retrieval strategies.

Can I integrate AI context specs with Linear for issue tracking?

Yes, context engineering workflows include Linear integration patterns for creating reproducible specs, comments, and issues. This allows product teams to track context requirements, diagnostics, and quality checks directly within their existing project management environment.

What is the best way to spec runtime context requirements for a new AI feature?

The best way to spec runtime context is using a 4D Context Canvas to define the model's job, required data signals, discovery strategies, and failure defenses before engineering begins. This structured approach reduces hallucinations and ensures feature reliability.