configure-workspaces
Что он делает
Этот скилл читает ваш проект и пишет файлы настроек рабочего пространства, которые объясняют HumanLayer, как создавать worktree. Он нужен разработчикам, которые запускают задачи HumanLayer внутри git-репозитория.
Когда использовать
- ✓Когда вы впервые настраиваете HumanLayer для репозитория.
- ✓Когда новые задачи не создают свой worktree и конфигурацию нужно исправить.
- ✓Когда общие настройки команды нужно хранить отдельно от локальных переопределений вашего компьютера.
Ссылка на скилл
https://github.com/humanlayer/humanlayer/blob/main/apps/riptide-rpi-claude-plugin/skills/configure-workspaces/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Настрой конфигурацию рабочего пространства HumanLayer для этого репозитория, чтобы новые задачи правильно создавали свои worktree.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент читает проект, предлагает короткую конфигурацию и записывает общий и локальный файлы после вашего одобрения. Затем он проверяет, что файлы корректны.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Purpose
This skill reads the project, proposes a concise workspace configuration, writes the approved files, and validates them.
The workspace config files control how worktrees are created when tasks use workspaceTiming = now in the Riptide task creation UI:
.humanlayer/workspace.json— shared team configuration, safe to commit.humanlayer/workspace.local.json— machine-specific overrides, gitignored
Use plain, brief language. State each point as one human speaking to another.
Steps to follow
<step index=0>Step 0: Select the repository
Check the current directory and home directory:
Bash(pwd)
Bash(printf '%s\n' "$HOME")
Bash(git rev-parse --show-toplevel)
If git rev-parse succeeds, use that repository root as the working directory. State the path in one short sentence.
If the current directory is the home directory and it is not inside a Git repository, ask one question:
Which repository should I configure? Send its path.
Use the same question when the current directory is not a Git repository. After the user gives a path, confirm it with git -C <path> rev-parse --show-toplevel and use the returned root.
Step 1: Read the project
Read any existing workspace config files:
Read(.humanlayer/workspace.json)
Read(.humanlayer/workspace.local.json)
Run all file reads and commands from the selected repository root.
Check for coordination-repo signals (Claude config, additional sibling repos):
Read(.claude/settings.json)
Bash(ls -la ../)
Read(package.json)
Read(Makefile)
Read(README.md)
Bash(git remote -v)
Use an existing workspace config as the starting point. Infer changes from the repository and the user's request.
</step> <step index=2>Step 2: Build the proposal
Infer a complete proposal from project files and common defaults.
- Use a single-repository config unless the project clearly coordinates related sibling repositories.
- For one repository, use
{ "localPath": ".", "primary": true }. - For multiple repositories, include the related paths and mark exactly one primary repository.
- Prefer the repository with the team's central Claude settings, MCP config, or agent policy as primary.
- Use
~/.humanlayer/workspaces/{{ TASKSLUG }}/{{ REPOBASENAME }}as the default path template. - Use
origin/mainas the default source ref, or whatever default remote the user prefers (e.g. upstream/main - if there are multiple remotes, ask) - Infer a setup command from project scripts, package manager files, the Makefile, and the README.
- Include local files that exist and are useful in a worktree, such as
.env,.env.local,.env.development.local,.claude/settings.local.json, and.humanlayer/workspace.local.json. - Put machine-specific values in
.humanlayer/workspace.local.json.
For multi-repository workspaces:
- Sessions in the workspace launch in the primary repo's worktree by default.
- Skills and instruction files (
CLAUDE.md/AGENTS.md) are loaded from all repos in the workspace. - Repo-local
.claude/settings*.json/ MCP-style configuration only governs sessions launched from a repo — so the repo holding the team's central Claude settings, MCP config, or agent policy should usually be primary.
The first response after project inspection must show the proposed .humanlayer/workspace.json as a fenced json block. If local overrides are useful, show .humanlayer/workspace.local.json in a second fenced json block. End with one short line:
Tell me what to change, or approve this config.
When the user gives feedback, update and print the complete proposed JSON again.
</step> <step index=3>Step 3: Validate the proposal
Validate the proposed config before asking for approval.
For single-repo projects, workspace.json looks like:
{
"disabled": false,
"pathTemplate": "~/.humanlayer/workspaces/{{ TASKSLUG }}/{{ REPOBASENAME }}",
"branchTemplate": "{{ TASKSLUG }}",
"sourceRef": "origin/main",
"setupCommand": "",
"copyGlobs": [
".env",
".env.local",
".env.development.local",
".claude/settings.local.json",
".humanlayer/workspace.local.json"
],
"repos": [
{
"localPath": ".",
"description": "Selected repository",
"primary": true
}
]
}
For multi-repo projects (coordination repos), workspace.json looks like:
{
"disabled": false,
"pathTemplate": "~/.humanlayer/workspaces/{{ TASKSLUG }}/{{
Частые вопросы
Какие файлы он создаёт?
Общий файл workspace.json, который безопасно коммитить, и файл workspace.local.json для настроек конкретного компьютера, который не попадает в git.
Какой репозиторий он настраивает?
Он использует текущий git-репозиторий. Если найти его не удаётся, он просит указать путь.
Пишет ли он файлы без вопроса?
Нет. Сначала он предлагает конфигурацию и записывает файлы только после вашего одобрения.
Подробности
Оригинальное описание автора
Propose and generate workspace configuration files (.humanlayer/workspace.json and .humanlayer/workspace.local.json) for a repository
repo: humanlayer/humanlayer
Популярность
- Звёзды на GitHub
- 13k
- Место в рейтинге
- #11396
- Лицензия
- Apache-2.0
- Обновлён
- 31.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
asd-ste100
13kУчит агента переписывать запутанный английский в короткие предложения с одним смыслом, которые легко читать и людям, и другим программам.
better-github-skill
13kПомогает агенту проверить статус pull request, прочитать комментарии ревью и найти причину падения сборки CI с помощью готовых скриптов GitHub.
calldiff
13kПомогает агенту сравнить цепочки вызовов функций в кодовой базе между двумя версиями git, чтобы ревью кода показывало, какое поведение изменилось.
chrome-devtools-cli
13kПозволяет агенту управлять Chrome из терминала: открывать страницы, нажимать кнопки, заполнять формы и делать снимки страниц для автоматизации и тестов.
Похожие скиллы
openclaw-update
394kПомогает агенту обновить уже работающий OpenClaw Gateway, выбрав способ обновления по тому, как он был установлен, и сохранив вашу сессию.
diagnose-gateway
394kПомогает агенту выяснить, почему ваш OpenClaw Gateway не работает, проверяя настройки, каналы и порты, но ничего не меняя.
crabbox-apps
394kПомогает агенту открыть и запустить приложение на временной облачной машине, а затем показать его вид на боковой панели чата.