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

intent-layer

/intent-layer

Zakłada hierarchiczną warstwę intencji (pliki AGENTS.md) dla baz kodu, żeby agenci rozumieli repozytorium, przy nowym projekcie lub dodawaniu infrastruktury kontekstu.

Repozytorium
skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
02.09.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
8
Skrypty
3
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

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

Licencja

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

Co sprawdzić przed instalacją
  • 3 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/analyze_structure.sh, scripts/detect_state.sh, scripts/estimate_tokens.sh

Co robi i kiedy

Zakłada hierarchiczną warstwę intencji (pliki AGENTS.md) dla baz kodu, żeby agenci rozumieli repozytorium, przy nowym projekcie lub dodawaniu infrastruktury kontekstu.

Oryginalny opis (EN)

Set up hierarchical Intent Layer (AGENTS.md files) for codebases. Use when initializing a new project, adding context infrastructure to an existing repo, user asks to set up AGENTS.md, add intent layer, make agents understand the codebase, or scaffolding AI-friendly project documentation.

Jak działa

  1. Core Principle
  2. Workflow
  3. When to Create Child Nodes
  4. Capture Questions
  5. Resources
Sekcje z nagłówków SKILL.md, w oryginale · 71 linii, 287 słów
Podgląd SKILL.md
---
name: intent-layer
version: 1.0.0
description: >
  Set up hierarchical Intent Layer (AGENTS.md files) for codebases.
  Use when initializing a new project, adding context infrastructure to an existing repo,
  user asks to set up AGENTS.md, add intent layer, make agents understand the codebase,
  or scaffolding AI-friendly project documentation.
---

# Intent Layer

Hierarchical AGENTS.md infrastructure so agents navigate codebases like senior engineers.

## Core Principle

**Only ONE root context file.** CLAUDE.md and AGENTS.md should NOT coexist at project root. Child AGENTS.md in subdirectories are encouraged for complex subsystems.

## Workflow

```
1. Detect state
   scripts/detect_state.sh /path/to/project
   → Returns: none | partial | complete

2. Route
   none/partial → Initial setup (steps 3-5)
   complete     → Maintenance (step 6)

3. Measure [gate - show table first]
   scripts/analyze_structure.sh /path/to/project
   scripts/estimate_tokens.sh /path/to/each/source/dir

4. Decide
   No root file  → Ask: CLAUDE.md or AGENTS.md?
   Has root file → Add Intent Layer section + child nodes if needed

5. Execute
   Use references/templates.md for structure
   Use references/node-examples.md for real-world patterns
   Validate: one root, READ-FIRST directive, <4k tokens per node

6. Maintenance mode (when state=complete)
   Ask user:
   a) Audit nodes     → Use references/capture-protocol.md for SME questions
   b) Find candidates → Re-measure tokens, suggest new nodes
   c) Both
```

## When to Create Child Nodes

| Signal | Action |
|--------|--------|
| >20k tokens in directory | Create AGENTS.md |
| Responsibility shift | Create AGENTS.md |
| Hidden contracts/invariants | Document in nearest ancestor |
| Cross-cutting concern | Place at LCA |

Do NOT create for: every directory, simple utilities, test folders (unless complex).

## Capture Questions

When documenting existing code, ask:
1. What does this area own? What's out of scope?
2. What invariants must never be violated?
3. What repeatedly confuses new engineers?
4. What patterns should always be followed?

## Resources

**Scripts:**
- `scripts/detect_state.sh` - Check Intent Layer state (none/partial/complete)
- `scripts/analyze_structure.sh` - Find semantic boundaries
- `scripts/estimate_tokens.sh` - Measure directory complexity

**References:**
- `references/templates.md` - Root and child node templates
- `references/node-examples.md` - Real-world examples
- `references/capture-protocol.md` - SME interview protocol
Pliki w paczce (8)
  • README.md 3 KB
  • SKILL.md 2 KB
  • references/capture-protocol.md 2 KB
  • references/node-examples.md 3 KB
  • references/templates.md 2 KB
  • scripts/analyze_structure.sh 2 KB
  • scripts/detect_state.sh 1 KB
  • scripts/estimate_tokens.sh 2 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · crafter-station/skills100MIT
ragnar-pwninskjold/tech-snacks100MIT
orban/intent-layer95MIT

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 b178a67bc10a (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 2 · ranking

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

Podobne skille

  • 100intent-layer-maintenance
    Utrzymuje istniejącą warstwę intencji: kwartalne przeglądy, aktualizacje po większych zmianach w kodzie i audyt plików CLAUDE.md i AGENTS.md.
  • 95intent-layer-query
    Odpowiada na pytania o kod na podstawie hierarchii AGENTS.md, na przykład kto jest właścicielem modułu i jakie ograniczenia go dotyczą.
  • 90qi-layer
    Pomaga pisać i utrzymywać AGENTS.md, .context/CONTEXT.md oraz CLAUDE.md, trzymając dokumenty intencji w minimalnej, nośnej formie.
  • 96writing-for-agents
    Pomaga pisać i poprawiać skille, AGENTS.md i CLAUDE.md tak, by agenci rozumieli je bez dopowiedzeń.
  • 100ariadne-thread
    Tworzy struktury projektu przyjazne agentom AI z indeksowaniem progresywnym: AGENTS.md, pliki INDEX.md modułów, nagłówki intencji plików oraz llms.txt.
  • 100init-deep
    Inicjalizuje hierarchiczną bazę wiedzy AGENTS.md projektu, dokumentując strukturę, polecenia i konwencje repozytorium dla agentów.

Uwagi i zgłoszenia

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