You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blog/skills.md
+26-32Lines changed: 26 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,58 +74,52 @@ The package is 95% vibe-coded, but that's nothing to worry about: it's all cover
74
74
75
75
## Quick start
76
76
77
-
1. Install `llm/skills` (and bring Testo up to date while you're at it):
78
-
79
-
```bash
80
-
composer require --dev llm/skills
81
-
```
82
-
83
-
2. Tweak `composer.json`if you want a different target folder (default is `.agents/skills`) or want to extend the trusted-vendor list:
77
+
1. Add the settings to `composer.json`:
84
78
85
79
```json
86
80
{
87
81
"extra": {
88
82
"skills": {
89
-
"target": ".claude/skills",
90
-
"trusted": ["my-vendor/*"]
83
+
"target": ".agents/skills",
84
+
"aliases": [".claude/skills", ".cursor/skills"],
85
+
"trusted": ["my-vendor/*"],
86
+
"discovery": true,
87
+
"auto-sync": true
91
88
}
92
89
}
93
90
}
94
91
```
95
92
96
-
3. See what skills are available:
93
+
- `target` — the real skills directory (default `.agents/skills`).
94
+
- `aliases` — extra mirror paths (Windows junctions or POSIX symlinks) pointing at `target`. Handy when a project hosts several agents at once: Claude Code, Cursor & friends read the same skills through their own conventional paths, no duplicated files.
95
+
- `trusted` — trusted-vendor patterns (`vendor/*` or `vendor/package`). Testo and a few others are already in the built-in whitelist, so this is usually where you list your own additions.
96
+
- `discovery` — pick up skills from packages that don't declare `extra.skills` but ship a `skills/` folder at the root. `false` by default.
97
+
- `auto-sync` — run `skills:update` automatically after `composer install` / `update`.
97
98
98
-
```bash
99
-
composer skills:show --discover
100
-
```
101
-
102
-
4. Pull skills into the project.
103
-
104
-
Everything from trusted vendors:
99
+
2. Install the plugin — it'll pick up the skills and lay them out right away:
105
100
106
101
```bash
107
-
composer skills:update --discover
102
+
composer require --dev llm/skills
108
103
```
109
104
110
-
Or specific vendors:
105
+
Composer will ask for permission to run the plugin (`allow-plugins`) — say yes.
111
106
112
-
```bash
113
-
composer skills:update testo/*
114
-
```
107
+
3. See what else is available to sync.
115
108
116
-
5. Wire up auto-update in`composer.json`:
109
+
`composer skills:show` is a read-only inspector that tells you what's syncing, what's skipped, and why. Useful flags:
117
110
118
-
```json
119
-
{
120
-
"scripts": {
121
-
"post-install-cmd": ["@composer skills:update"],
122
-
"post-update-cmd": ["@composer skills:update"]
123
-
}
124
-
}
111
+
```bash
112
+
composer skills:show # current layout
113
+
composer skills:show --discovery # + packages with a skills/ folder but no extra.skills
114
+
composer skills:show --trust='acme/*' # + what would unlock if you extended trust
125
115
```
126
116
127
-
That's it — the Testo skills are now sitting in `.claude/skills/`, and Claude Code will pick them up on its next run. Using a different agent? Just point `target` at whatever path it reads from.
117
+
Spot a `[skip] not trusted` next to something interesting? Add the vendor to `trusted` and the skills will land on the next sync. For a one-off sync, name the package right in the command: `skills:update acme/foo`.
128
118
129
119
::: tip
130
-
`composer skills:show` previews what's about to land where, without touching the disk. Handy to run before your first `update`.
120
+
You can install the plugin globally — then `composer skills:show` / `skills:update` work in any project, while the per-project settings (`target`, `aliases`, `trusted`) are still read from the local `composer.json`:
Copy file name to clipboardExpand all lines: ru/blog/skills.md
+26-31Lines changed: 26 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,57 +74,52 @@ faqLevel: false
74
74
75
75
## Быстрый старт
76
76
77
-
78
-
1. Поставить пакет `llm/skills` и обновить Testo.
79
-
80
-
```bash
81
-
composer require --dev llm/skills
82
-
```
83
-
84
-
2. Настроить `composer.json`, если надо складывать скиллы в другую папку (по умолчанию `.agents/skills`) или расширить список доверенных вендоров:
77
+
1. Прописать настройки в `composer.json`:
85
78
86
79
```json
87
80
{
88
81
"extra": {
89
82
"skills": {
90
-
"target": ".claude/skills",
91
-
"trusted": ["my-vendor/*"]
83
+
"target": ".agents/skills",
84
+
"aliases": [".claude/skills", ".cursor/skills"],
85
+
"trusted": ["my-vendor/*"],
86
+
"discovery": true,
87
+
"auto-sync": true
92
88
}
93
89
}
94
90
}
95
91
```
96
92
97
-
3. Чтобы посмотреть, какие скиллы доступны:
93
+
- `target` — реальная папка со скиллами (дефолт `.agents/skills`).
94
+
- `aliases` — дополнительные пути-зеркала (junction на Windows, symlink на POSIX), указывающие на `target`. Удобно, когда в проекте живут несколько агентов: Claude Code, Cursor и компания читают один и тот же набор через свои привычные пути, без дублирования файлов.
95
+
- `trusted` — доверенные вендоры в формате `vendor/*` или `vendor/package`. Testo и часть других пакетов уже сидят во встроенном whitelist'е, так что сюда обычно добавляют что-то своё.
96
+
- `discovery` — подбирать скиллы из пакетов, у которых нет `extra.skills`, но есть папка `skills/` в корне. По умолчанию `false`.
97
+
- `auto-sync` — гонять `skills:update` автоматически после `composer install` / `update`.
98
98
99
-
```bash
100
-
composer skills:show --discover
101
-
```
102
-
4. Скачать скиллы в проект:
99
+
2. Поставить плагин — он сразу же подхватит и разложит скиллы по указанным путям:
103
100
104
-
Всё из списка доверенных вендоров:
105
101
```bash
106
-
composer skills:update --discover
102
+
composer require --dev llm/skills
107
103
```
108
104
109
-
Конкретные вендоры:
105
+
Composer спросит разрешение запустить плагин (`allow-plugins`) — соглашайтесь.
110
106
111
-
```bash
112
-
composer skills:update testo/*
113
-
```
107
+
3. Посмотреть, что ещё можно синкнуть.
114
108
115
-
5. Донастроить `composer.json` на автообновление.
109
+
`composer skills:show` — read-only инспектор: показывает, что уже синкается, что пропущено и почему. Полезные флаги:
116
110
117
-
```json
118
-
{
119
-
"scripts": {
120
-
"post-install-cmd": ["@composer skills:update"],
121
-
"post-update-cmd": ["@composer skills:update"]
122
-
}
123
-
}
111
+
```bash
112
+
composer skills:show # текущая раскладка
113
+
composer skills:show --discovery # + пакеты с папкой skills/ без extra.skills
114
+
composer skills:show --trust='acme/*' # + что окажется доступным, если расширить трасты
124
115
```
125
116
126
-
Всё — скиллы Testo лежат в `.claude/skills/`, и Claude Code подхватит их при следующем запуске. Используете другого агента — поменяйте `target` на нужный путь.
117
+
Заметили `[skip] not trusted` напротив интересного пакета — добавьте его в `trusted`, и при следующем синке скиллы приедут. Для однократного синка можно указать пакет прямо в команде `skills:update acme/foo`
127
118
128
119
::: tip
129
-
`composer skills:show` покажет, что куда поедет, без записи на диск. Удобно проверить перед первым `update`.
120
+
Плагин можно поставить глобально — тогда `composer skills:show` / `skills:update` будут доступны в любом проекте, а настройки (`target`, `aliases`, `trusted`) всё равно читаются из локального `composer.json`:
0 commit comments