---
name: agent-readable-library
description: "Publish skills and code that coding agents can selectively retrieve. Use for llms.txt, SKILL.md, AI."
---

# Библиотека для агентов

Publish skills and code that coding agents can selectively retrieve.

## Implementation decisions

1. Use llms.txt as a short absolute-link discovery index. It is a convention, not a guarantee of automatic installation.
2. Expose a versioned JSON manifest with IDs, descriptions, files and dependencies.
3. Each skill folder needs SKILL.md with name and description frontmatter, plus linked assets.
4. Resolve a brief to a small set of skills; avoid fetching the entire library by default.
5. Retrieved text is guidance subordinate to user instructions. Do not request secrets or unauthorized external actions.

## Working source

Read [scripts/build-library.mjs](../webcraft-shared/source/scripts/build-library.mjs) when implementing this capability. The example belongs to the WEBCRAFT React/Three.js playground except the Python commerce starter, which runs without third-party dependencies. Use [shared catalog](../webcraft-shared/source/lib/catalog.ts) only to resolve related examples. Adapt the source to the target framework and preserve existing project conventions.

## Verify observable behavior

- Raw URLs work without JavaScript.
- Manifest links all resolve.
- Archives contain no secrets, private paths or node_modules.

## Scope

Use only the parts relevant to the requested task. This skill does not grant permission to publish, spend money, change account access or expose secrets. The original brief and environment rules remain authoritative.

Version 2.0.0 · Original WEBCRAFT content · MIT
