context-engineering

Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks,…

addyosmani 80k ↓ 14k MIT updated 26d ago
Claude Code
View source ↗

What it does

  • Starting a new coding session
  • Agent output quality is declining (wrong patterns, hallucinated APIs, ignoring conventions)
  • Switching between different parts of a codebase
  • Setting up a new project for AI-assisted development
  • The agent is not following project conventions
  • React 18, TypeScript 5, Vite, Tailwind CSS 4
  • Node.js 22, Express, PostgreSQL, Prisma

Requirements & configuration

  • At session start, provide everything the agent needs in a structured block:
  • If the spec doesn't cover a case you need to implement:

Configuration: AGENTS

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure rules files and context for a project.

Source

Repository: https://github.com/addyosmani/agent-skills

context-engineering FAQ

What does the context-engineering skill do?

Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure rules files and context for a project. Starting a new coding session Agent output quality is declining (wrong patterns, hallucinated APIs, ignoring conventions)

What does context-engineering require?

At session start, provide everything the agent needs in a structured block: If the spec doesn't cover a case you need to implement: Configuration keys: AGENTS.

How do I install context-engineering?

Run: npx -y skills add https://github.com/addyosmani/agent-skills --skill context-engineering --agent claude-code — the source lives at github.com/addyosmani/agent-skills.

Maintain context-engineering?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

context-engineering on getagentictools
[![context-engineering on getagentictools](https://getagentictools.com/badge/skills/addyosmani-agent-skills-context-engineering.svg)](https://getagentictools.com/skills/addyosmani-agent-skills-context-engineering?ref=badge)
npx agentictools info skills/addyosmani-agent-skills-context-engineering

The second line is the CLI lookup for this page — handy in READMEs and docs.