context-engineering

Organize AI agent context into hierarchical layers for software development workflows.

23|6|Updated May 9, 2026
One-click install
npx skills add https://github.com/vinvcn/addyosmani-agent-skills-zh --skill context-engineering-vinvcn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-engineering
Source: https://github.com/vinvcn/addyosmani-agent-skills-zh/tree/main/skills/context-engineering
Command: npx skills add https://github.com/vinvcn/addyosmani-agent-skills-zh --skill context-engineering-vinvcn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the common issue of AI agents losing focus, hallucinating, or ignoring project conventions due to poorly managed or excessive context.

Core Features & Use Cases

  • Context Hierarchy Management: Organizes information into layers from persistent rules to temporary task-specific data.
  • Conflict Resolution: Provides a structured framework for handling ambiguous requirements or conflicting instructions.
  • Use Case: When starting a new feature, use this skill to curate a focused set of relevant source files and project rules, ensuring the agent remains aligned with your codebase standards.

Quick Start

Use the context-engineering skill to audit my current project setup and generate a recommended rules file for my tech stack.

Frequently Asked Questions about context-engineering

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

FAQPage Schema
How do I stop AI agents from ignoring project conventions and hallucinating during software development?

To stop AI agents from hallucinating, you must optimize their context window using structured information layering. This approach enforces adherence to persistent project rules and architectural specifications, keeping the agent aligned with your codebase standards.

What is context hierarchy management for AI coding workflows?

Context hierarchy management organizes information into structured layers, ranging from persistent project rules to temporary task-specific data. It resolves conflicting instructions and ensures agents maintain focus by curating relevant source files for each specific feature.

How do I structure AI agent context to maintain consistent coding standards?

Structure AI agent context by dividing information into defined tiers including project rules, architectural specifications, and task-specific source file references. This hierarchical data management directly reduces hallucinations and enforces consistent coding standards.

Can I audit my existing project setup to generate context rules for my tech stack?

Yes, you can audit your current project setup to automatically generate a recommended rules file tailored to your specific tech stack. This establishes the foundational context tiers required for reliable, standardized agent performance.

When do I need structured context management for AI agent workflows?

You need structured context management when AI agents lose focus or ignore project conventions due to poorly managed or excessive context. It is critical for software development workflows requiring strict adherence to architectural specifications and coding standards.

What is the best way to resolve ambiguous requirements when using AI agents?

The best way to resolve ambiguous requirements is implementing a structured conflict resolution framework within the agent's context hierarchy. This clarifies conflicting instructions by prioritizing persistent project rules over temporary task-specific data.