cli-just — скилл для Claude Code: что делает и как установить
Скилл настраивает автоматизацию задач через just: создаёт justfile, пишет рецепты и проверяет синтаксис под установленную в системе версию утилиты.
npx skills add PaulRBerg/agent-skills --skill cli-just -a claude-codeЧто делает cli-just
Скилл помогает агенту создавать и редактировать файлы justfile. Перед внесением правок агент проверяет установленную версию через just --version, выводит доступные команды с помощью just --list и изучает структуру дерева модулей. Скилл строго ориентируется на возможности уже установленного бинарника just, поэтому не включает нестабильные флаги и директивы без прямого запроса пользователя.
При написании новых задач инструмент структурирует файл по разделам: сначала объявляет зависимости и константы, затем публичные рецепты, проверки и в конце скрытые вспомогательные команды. Длинные строковые последовательности форматируются построчно через конкатенацию в круглых скобках, а многострочные строки в тройных кавычках резервируются только для значений с обязательными переносами строк.
Агент сохраняет авторское форматирование репозитория и не применяет утилиту just --fmt самовольно. Проверка результата всегда завершается вызовом just --list или just --summary, а для опасных команд агент сначала показывает раскрытую строку команды или запускает безопасный сухой прогон.
Какие задачи решает
- написать новые рецепты для сборки и тестов в
justfile - настроить модули, переменные окружения и параметры вызова
just - проверить синтаксис файла через
just --listилиjust --summary - разделить команды на публичные задачи и приватные вспомогательные рецепты
Примеры запросов агенту
- Создай justfile для сборки Go-сервиса и прогона линтеров
- Добавь в justfile рецепт для запуска тестов с сухим прогоном
- Организуй команды в текущем justfile: выдели приватные хелперы и настрой default-list
Как установить cli-just
1Через Skills CLI (Vercel)
npx skills add PaulRBerg/agent-skills --skill cli-just -a claude-code2Вручную: положить файлы
~/.claude/skills/cli-just/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/cli-just/
1Через Skills CLI (Vercel)
npx skills add PaulRBerg/agent-skills --skill cli-just -a codex2Вручную: положить файлы
.agents/skills/cli-just/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add PaulRBerg/agent-skills --skill cli-just -a cursor2Вручную: положить файлы
.cursor/skills/cli-just/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install PaulRBerg/agent-skills cli-just2Вручную: положить файлы
.github/skills/cli-just/SKILL.md1Через Skills CLI (Vercel)
npx skills add PaulRBerg/agent-skills --skill cli-just -a gemini-cli2Командой платформы
gemini skills install https://github.com/PaulRBerg/agent-skills --path skills/cli-justВручную: положить файлы
.devin/skills/cli-just/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add PaulRBerg/agent-skills --skill cli-just -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Из того же набора6
Похожие
Рядом в теме «DevOps и инфраструктура»
Всё по теме «DevOps и инфраструктура» →Вопросы о cli-just
Как установить cli-just в Claude Code?
Выполните в терминале команду npx skills add PaulRBerg/agent-skills --skill cli-just -a claude-code.
Что делает cli-just?
Скилл помогает агенту грамотно писать конфигурации для раннера just, соблюдая структуру проекта, синтаксис установленной версии утилиты и авторское форматирование.
Запускает ли скилл автоматическое форматирование justfile?
Нет. Скилл не использует команду just --fmt, чтобы не повредить структуру файла, и запускает just --fmt --check только тогда, когда это правило форматирования явно закреплено в репозитории.
Исходный текст
SKILL.md · MIT
---
name: cli-just
user-invocable: false
description:
"Use for just/justfile task automation: create justfiles, write recipes, configure settings, add modules/attributes,
or set up command-runner workflows."
---
# Just Command Runner
Create readable task automation that matches the repository's installed Just version and existing justfile conventions.
## Defaults
- Inspect `just --version`, the existing justfile/module tree, and `just --list` before editing. Installed capabilities
and existing syntax are authoritative over this skill's examples.
- Preserve bespoke formatting. Do not rewrite a justfile with `just --fmt`. Use `just --fmt --check` only when the
repository explicitly treats the built-in formatter as authoritative. `just --dump` is inspection output, not a
formatting source.
- Define multi-item string sequences one item per line with a parenthesized concatenation. Keep a trailing separator in
every non-final item. Do not combine them into one long string. Triple-quoted strings are for values whose newlines
are semantic, not visual wrapping. For example:
```just
check-steps := (
"event-class-coverage " +
"orphan-disposal " +
"price-coverage"
)
```
- When creating a new standalone justfile, use the user's section-banner style. Existing repository organization
overrides that style.
## Workflow
1. Determine the requested recipe behavior, inputs, outputs, cwd, shell, environment, dependencies, and success
condition.
2. Use the installed manual (`just --help`, `just --man`, or <https://just.systems/man/en/>) for version-sensitive
syntax. Read only the task-specific reference:
| Task | Reference |
| ----------------------------------------------------------------------- | ------------------------------ |
| Recipes, parameters, dependencies, cache, executable checks, echo rules | `references/recipes.md` |
| Settings, dotenv, lists, modules | `references/settings.md` |
| Expressions, functions, constants | `references/syntax.md` |
| Shell or script recipes, macOS Bash constraints | `references/inline-scripts.md` |
| Check/write, status, aliases, organization | `references/patterns.md` |
3. Make the smallest recipe or setting change. Do not enable unstable features unless the requested design needs them
and the installed version supports them.
4. Validate parsing with `just --list` or `just --summary`. Then execute the narrowest safe recipe path. For
state-changing recipes, use an existing dry-run/check mode or inspect the expanded command first.
## Opinionated Organization
For a new standalone file, prefer dependency declarations, constants, public recipes, checks, then private helpers. Use
`set default-list := true` when no single default action makes sense and the installed version supports it. Example
starting points are in `examples/standalone.just` and `examples/devkit.just`. Load one only when creating that shape.
Completion requires a parsable justfile, the requested recipe behavior, and execution or dry-run evidence appropriate to
its side effects. Finish with `### ✅ Just workflow ready`, a compact recipe/alias/purpose table when several entries
changed, and `### 🧪 Verification` with exact commands and outcomes. Keep confirmation prompts, recipe data output,
compiler output, and `just --list` output undecorated. Preserve the repository's own banner vocabulary.
© PaulRBerg · MIT · PaulRBerg/agent-skills