Development skill

Context engineering fundamentals

Updated

Keep instructions, evidence, and task state usable during long AI-agent sessions.

Use this skill when

Core rule

A large context limit does not guarantee equal use of every item.

Measure retrieval and reasoning quality on the model and task you use. Do not rely on universal token thresholds.

Five failure patterns

Lost in the middle

Evidence can become harder to retrieve when it sits between other material.

Context poisoning

An early error can shape later reasoning when nobody verifies it.

Context distraction

Irrelevant material competes with the evidence that matters.

Context confusion

Mixed tasks and unclear boundaries make the next action ambiguous.

Context clash

Conflicting sources or instructions need an explicit decision before use.

Practical workflow

  1. Keep critical constraints near the decision that uses them.
  2. Verify intermediate outputs before later steps depend on them.
  3. Remove irrelevant material before you add more context.
  4. Write durable state only to a user-approved path.
  5. Compare task quality before and after summarization.

Install

Install the dev-toolkit plugin or copy this skill with the standards-based skills CLI.

/plugin install dev-toolkit@claude-skills-journalism
npx skills@latest add jamditis/claude-skills-journalism \
  --skill context-engineering-fundamentals --agent codex --copy -g -y