Przejdź do treści
Biblioteka skilli
AI i agenci · Planowanie

context-engineering

/context-engineering

Dostarcza agentom właściwe informacje we właściwym czasie, przy starcie sesji, zmianie zadań lub spadku jakości z powodu brakującego albo nieaktualnego kontekstu.

Repozytorium
ai-eng-system ↗
Licencja
MIT
Ostatnia zmiana repozytorium
09.08.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 09.08.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Dostarcza agentom właściwe informacje we właściwym czasie, przy starcie sesji, zmianie zadań lub spadku jakości z powodu brakującego albo nieaktualnego kontekstu.

Oryginalny opis (EN)

Feed agents the right information at the right time. Use when starting a session, switching tasks, or when output quality drops due to missing or stale context.

Jak działa

  1. Overview
  2. When to Use
  3. Context Sources
  4. Process
  5. Delegation Context
  6. Common Rationalizations
  7. Verification
  8. Anti-Rationalization Table
Sekcje z nagłówków SKILL.md, w oryginale · 105 linii, 596 słów
Podgląd SKILL.md
---
name: context-engineering
description: Feed agents the right information at the right time. Use when starting a session, switching tasks, or when output quality drops due to missing or stale context.
---

# Context Engineering

## Overview

Ensure that agents receive the right information at the right time. Context engineering is the practice of actively managing what an agent knows, rather than hoping it discovers what it needs.

## When to Use

- Starting a new development session
- Switching between unrelated tasks
- When agent output quality degrades
- When context window is approaching limits
- Before delegating to a subagent

## Context Sources

### Rules Files

- `CLAUDE.md`, `AGENTS.md`, `.claude/rules/`: persistent project-level guidance
- Load automatically at session start
- Keep concise and actionable

### Context Packing

When starting a task, gather:
- Relevant source files (not the entire codebase)
- Related test files
- Type definitions and interfaces
- Recent git diff for the area of change
- Any existing spec or plan

### MCP Integrations

- Use documentation lookup tools for library-specific guidance
- Use search tools for cross-repository patterns
- Favor structured retrieval over dumping large files into context

## Process

### Step 1: Assess Current Context

- What does the agent already know?
- What files has it read?
- What context was loaded at session start?

### Step 2: Identify Gaps

- What information is needed for the current task?
- What is missing from the current context?
- What is stale or potentially outdated?

### Step 3: Pack Targeted Context

- Load only the files relevant to the current task
- Include type definitions for modified interfaces
- Include test files that define expected behavior
- Include recent changes to the affected area

### Step 4: Verify Context Quality

- Can the agent describe the current state of the affected code?
- Does it know the testing strategy for the area?
- Does it know the relevant constraints and boundaries?

### Step 5: Manage Context Budget

- Monitor context window usage
- Compact or checkpoint when approaching limits
- Drop stale context before loading new context

## Delegation Context

When delegating to a subagent, include:
- Goal: one sentence describing what to accomplish
- Scope: what files and areas to focus on
- Constraints: what must be preserved or avoided
- Deliverable: what format the output should take
- Known context: what has already been checked

## Common Rationalizations

| Rationalization | Reality |
|---|---|
| "The agent can search the codebase itself" | Search is expensive and imprecise. Targeted context is faster and more accurate. |
| "More context is always better" | Excess context wastes window space and increases noise. |
| "I will load context once at the start" | Context needs change as tasks progress. |

## Verification

- [ ] Agent has the specific files needed for the current task
- [ ] Type definitions and interfaces are available
- [ ] Test files are loaded for the affected area
- [ ] Context window is not approaching limits

## Anti-Rationalization Table

| Excuse | Counter |
|--------|---------|
| "The agent can search the codebase itself" | Search is expensive and imprecise. Targeted context is faster and more accurate. |
| "More context is always better" | Excess context wastes window space and increases noise. Pack only what is needed. |
| "I'll load context once at the start" | Context needs change as tasks progress. Reassess and repack as you go. |
| "The agent already knows the project" | Agents do not retain knowledge across sessions. Pack context every time. |
| "Context packing takes too much time" | Poor context causes more time wasted on wrong answers than packing ever costs. |

Wersje

RepozytoriumWynikLicencja
Ta strona · v1truv1us/ai-eng-system90MIT
mvschwarz/openrig100Apache-2.0
TerminalSkills/skills100Apache-2.0
FrancoStino/opencode-skills-collection100MIT
drvoss/everything-copilot-cli100MIT
komluk/scaffolding100MIT
kdlbs/kandev100AGPL-3.0
proxify-dev/agentic-kit100MIT
krzysztofsurdy/code-virtuoso100MIT

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki 0be0b875cc40 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100context-engineering-engineering
    Stosuje praktykę inżynierską kontekstu dla agentów kodujących: podaje właściwe informacje we właściwym czasie, ogranicza poprawki i trzyma się konwencji.
  • 100mukhon-context-engineering
    Porządkuje kontekst dla agenta AI: pliki zasad, start nowej sesji i przełączanie zadań, gdy jakość odpowiedzi spada.
  • 100output-eval-error-analysis
    Systematycznie przegląda ślady workflow, by wskazać tryby awarii przed zbudowaniem ewaluatorów, na starcie projektu ewaluacji, po zmianach potoku lub przy spadku jakości.
  • 100handoff
    Zbiera kontekst sesji dla świeżego agenta przy przekazaniach, limitach kontekstu, zmianie tematu, końcu sesji i dzieleniu pracy na kilka sesji.
  • 100session-handoff
    Tworzy ustrukturyzowany dokument przekazania dla następnej sesji, gdy kontekst zbliża się do limitu, przed /clear lub /compact, przy zmianie zadań i na koniec sesji kodowania.
  • 100agent-context-setup
    Przekazuje agentowi kodującemu właściwe pliki i kontekst na starcie nietrywialnego zadania, aby pracował na rzeczywistym systemie.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.