context-engineering

Prioritize project rules, specs, and source files for AI context.

Updated May 3, 2026
One-click install
npx skills add https://github.com/kevindree/geehoo-gateway --skill context-engineering-kevindree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-engineering
Source: https://github.com/kevindree/geehoo-gateway/tree/main/.github/skills/context-engineering
Command: npx skills add https://github.com/kevindree/geehoo-gateway --skill context-engineering-kevindree

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you feed an AI agent the right information at the right time so it stays accurate, focused, and aligned with project conventions.

Core Features & Use Cases

  • Context hierarchy: Organizes rules, specs, source files, errors, and conversation history from most persistent to most transient.
  • Selective loading: Shows how to include only the files and examples that matter for the current task instead of flooding context.
  • Confusion management: Encourages explicit handling of conflicting requirements and missing details instead of guessing.
  • Use case: Ideal when starting a new coding session, switching features, or recovering from AI output that ignores conventions.

Quick Start

Use the context-engineering skill to assess my project context, identify the minimum files and rules I should load, and recommend the next best context-packing approach.

Frequently Asked Questions about context-engineering

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

FAQPage Schema
What is context engineering for AI coding agents?

Context engineering curates the right project rules, specs, and source files for AI coding agents to prevent hallucinations and convention drift. It organizes information hierarchically to ensure the agent stays accurate and focused on the current task.

How do I stop my AI coding agent from ignoring project conventions?

To stop AI agents from ignoring project conventions, use a context engineering approach to load hierarchical rules files and specific source examples. This prioritizes persistent project rules over transient conversation history to enforce compliance.

How do I set up the right context for a new AI coding session?

Set up the right context for a new AI coding session by selectively loading only the minimum required rules, specs, and error traces. This context engineering technique prevents flooding the agent with irrelevant files and maintains focus.

Why does my AI assistant lose focus when switching features mid-session?

AI assistants lose focus when switching features because the context window retains irrelevant information. Context engineering solves this by re-evaluating the context hierarchy and selectively loading only the files and rules relevant to the new task.

What's the best way to manage conflicting requirements when prompting an AI agent?

The best way to manage conflicting requirements with an AI agent is to use context engineering techniques that explicitly surface ambiguity. This forces the agent to handle missing details and conflicting specs instead of guessing and generating hallucinations.

Do I need a rules file to use context engineering with my AI agent?

A rules file is strongly recommended for context engineering because it provides the persistent project conventions that anchor the AI agent. Establishing this hierarchy prevents convention drift and ensures the agent prioritizes fixed rules over transient instructions.