context-engineering

Organize hierarchical context with rules files and selective source loading.

1|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/AskTinNguyen/vesper-team-skills --skill context-engineering-asktinnguyen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-engineering
Source: https://github.com/AskTinNguyen/vesper-team-skills/tree/main/context-engineering
Command: npx skills add https://github.com/AskTinNguyen/vesper-team-skills --skill context-engineering-asktinnguyen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Optimizes how teams set and preserve agent context across sessions and tasks to improve reliability and reduce hallucinations.

Core Features & Use Cases

  • Rules Files: Provide project-wide, persistent context rules (CLAUDE.md and equivalents) loaded at startup for consistency.
  • Spec & Architecture Loading: Load relevant spec sections and architecture docs per feature, avoiding overload.
  • Selective Source Loading: Load only the most relevant source files for the current task to keep context focused.
  • Context Packing Patterns: Use hierarchical summaries to manage large contexts and avoid flooding.

Quick Start

Create a rules file with project-wide context and then load the relevant spec sections and the key source files for your current task.

Frequently Asked Questions about context-engineering

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

FAQPage Schema
How do I manage agent context across task switches to prevent hallucinations?

Maintain agent context across task switches by implementing a hierarchical context model with rules files, per-feature specs, and selective source loading. This approach preserves consistent context during multi-file feature work and session starts, reducing hallucinations.

What is the best way to load spec files without flooding the agent context window?

Avoid flooding the context window by using selective spec loading to load only relevant spec sections and architecture docs per feature. This approach uses hierarchical context packing patterns to manage large contexts and prevent overload.

How do I set up persistent project rules for consistent agent context at startup?

Set up persistent project rules by creating a rules file like CLAUDE.md to provide project-wide context. These rules files load at startup to maintain consistent agent context across sessions and tasks.

Can I use selective source loading to keep agent context focused on specific tasks?

Yes, selective source loading loads only the most relevant source files for the current task. This technique keeps agent context focused and avoids flooding the context window with unnecessary information.

When should I use hierarchical context packing patterns for multi-file feature work?

Use hierarchical context packing patterns during multi-file feature work when managing large contexts. This technique uses hierarchical summaries to organize context and avoid flooding the agent with excessive information.