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

context-engineering

/context-engineering

Dobiera kontekst przy starcie sesji, zmianie między fazami planowania, implementacji i przeglądu, wejściu w nieznany kod lub gdy wyniki odbiegają od norm projektu.

Licencja
MIT
Ostatnia zmiana repozytorium
22.10.2026

Ocena i bezpieczeństwo

100/ 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ść35 / 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 22.10.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

Dobiera kontekst przy starcie sesji, zmianie między fazami planowania, implementacji i przeglądu, wejściu w nieznany kod lub gdy wyniki odbiegają od norm projektu.

Oryginalny opis (EN)

Use when starting a session, switching between planning/implementation/review phases, entering unfamiliar code, or when output drifts from project norms.

Jak działa

  1. Active Stack
  2. Overview
  3. When To Use
  4. Workflow
  5. Verification
Sekcje z nagłówków SKILL.md, w oryginale · 57 linii, 462 słów
Podgląd SKILL.md
---
name: context-engineering
description: Use when starting a session, switching between planning/implementation/review phases, entering unfamiliar code, or when output drifts from project norms.
type: skill
license: MIT
compatibility:
  - claude-code
  - cursor
  - codex
user-invocable: false
---

# Context Engineering

## Active Stack

```!
echo "--- Tech Stack ---"
_rts="${CLAUDE_PLUGIN_ROOT}/scripts/resolve-tech-stack.sh"; [ -f "$_rts" ] || _rts="scripts/resolve-tech-stack.sh"
if [ -f "$_rts" ]; then bash "$_rts" --explain "$PWD" 2>&1; echo; else cat .claude/tech-stack 2>/dev/null || echo "(not set)"; fi
if [ -f .claude/tech-stack-pm ]; then echo "--- Package Manager ---"; cat .claude/tech-stack-pm; fi
```

## Overview

Load the minimum context the current phase needs, from the right stack, and refresh it when the
scope changes. The constitution (`AGENTS.md` / `CLAUDE.md`) is already loaded by the harness; do
not re-read it.

## When To Use

- Phase 0 of `fix`, `batch-fix`, and `implement`, and at every later phase boundary
- Entering an unfamiliar area, or when new files enter scope

## Workflow

1. **Resolve the stack for the files in scope.** `bash scripts/resolve-tech-stack.sh <path>` is
   polyglot-aware (subproject `.claude/tech-stack` → root `.claude/tech-stack.map` glob → root
   file). Pass a representative target path, not `$PWD`, when the change sits in a subtree; add
   `--check <paths>` to warn when the resolved stack disagrees with the files. Then read
   `.claude/skills/tech-stack-{stack}/SKILL.md` for build/test commands and reference paths.
   If nothing resolves, infer with `bash scripts/setup-detect.sh --json` (read-only) and load the
   matching stack skill; if that is empty too, say the stack is unconfigured (suggest
   `/mtk-setup`) and continue in degraded mode.
2. **Load references for the current phase only.** Spec: `domain-finance.md` (finance and
   security supplement, only when scope touches auth/financial/infra) and the stack's testing
   supplement. Implementation: the stack's `## Reference Files` entries for the touched layers. Review:
   `pre-commit-review-list.md` if present. Read by section where one section is enough.
3. **`applyTo` matching.** Reference entries in `.claude/manifest.json` may declare an `applyTo`
   glob array. Test each file in scope (the spec's `change_manifest`, else
   `git diff --name-only HEAD`) against the globs with `case`/`fnmatch` semantics; load the
   references that match at least one file and skip the rest. References without `applyTo` load
   on demand per phase. Re-run the match when new files enter scope.
4. **Native `paths:` rules.** `.claude/rules/*.md` carry `paths:` frontmatter and Claude Code loads
   a rule only when a matching file is read or edited. Do not read every rule up front; when the
   task needs a rule whose paths did not match (a security pass, a release), read that one file.
5. Read the file to be changed and 2-3 neighbours that set the local pattern.
6. Independent reads go out in one message, not sequentially.

Bound tool output before pruning instructions: instructions are prompt-cached, tool output is
re-billed every turn. Model tiers per phase live in `.claude/references/model-routing.md`.

## Verification

- [ ] Stack resolved for the files in scope (not just the repo root)
- [ ] References loaded for the current phase only; `applyTo` matched against real touched files
- [ ] Local pattern files read before editing or reviewing

Wersje

RepozytoriumWynikLicencja
Ta strona · moberghr/mtk-agent-toolkit100MIT
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

Migawka bazy z 13.11.2026 · wersja paczki b710592d675a (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

  • 100mukhon-context-engineering
    Porządkuje kontekst dla agenta AI: pliki zasad, start nowej sesji i przełączanie zadań, gdy jakość odpowiedzi spada.
  • 1003a-review
    Sprawdza gotowość projektu agenta AI przed przejściem między fazami: od planowania do implementacji, wdrożenia i produkcji.
  • 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.
  • 100handoff
    Zbiera kontekst sesji dla świeżego agenta przy przekazaniach, limitach kontekstu, zmianie tematu, końcu sesji i dzieleniu pracy na kilka sesji.
  • 100onboard
    Generuje kontekst projektu dla sesji AI na nowym repozytorium: skanuje kod i tworzy konfigurację, gdy brakuje CLAUDE.md lub katalogu .rune albo są nieaktualne.
  • 100handoff
    Tworzy pliki HANDOFF.md zapewniające ciągłość między rozmowami, przy kończeniu sesji, zmianie kontekstu lub przed /compact.

Uwagi i zgłoszenia

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