configure-workspaces
Fungsinya
Skill ini membaca proyek Anda dan menulis file pengaturan ruang kerja yang memberi tahu HumanLayer cara membangun worktree. Skill ini ditujukan untuk pengembang yang menjalankan tugas HumanLayer di dalam repositori git.
Kapan dipakai
- βSaat Anda menyiapkan HumanLayer untuk sebuah repositori untuk pertama kali.
- βSaat tugas baru gagal membuat worktree-nya dan konfigurasinya perlu diperbaiki.
- βSaat Anda ingin pengaturan tim bersama dipisahkan dari penggantian khusus mesin Anda.
Link skill
https://github.com/humanlayer/humanlayer/blob/main/apps/riptide-rpi-claude-plugin/skills/configure-workspaces/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βSiapkan konfigurasi ruang kerja HumanLayer untuk repositori ini agar tugas baru membuat worktree-nya dengan benar.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent membaca proyek, mengusulkan konfigurasi singkat, lalu menulis file bersama dan file lokal setelah Anda menyetujuinya. Setelah itu agent memeriksa bahwa file-file tersebut valid.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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 }}/{{
Pertanyaan umum
File apa saja yang dibuat?
Sebuah workspace.json bersama yang aman di-commit, dan workspace.local.json untuk pengaturan khusus mesin yang tetap di luar git.
Repositori mana yang dikonfigurasi?
Skill ini memakai repositori git saat ini. Jika tidak menemukannya, skill ini meminta path-nya kepada Anda.
Apakah ia menulis file tanpa bertanya?
Tidak. Skill ini mengusulkan konfigurasi terlebih dahulu dan hanya menulis file setelah Anda menyetujuinya.
Detail
Deskripsi asli dari pembuat
Propose and generate workspace configuration files (.humanlayer/workspace.json and .humanlayer/workspace.local.json) for a repository
repo: humanlayer/humanlayer
Popularitas
- Bintang GitHub
- 13k
- Peringkat
- #11396
- Lisensi
- Apache-2.0
- Diperbarui
- 31/10/2026
Komentar
- β¦
Skill lain dari repositori ini
asd-ste100
13kMengajari agent Anda menulis ulang bahasa Inggris yang membingungkan menjadi kalimat pendek dengan satu makna, yang mudah dibaca oleh orang dan perangkat lunak lain.
better-github-skill
13kMembantu agent Anda memeriksa status pull request, membaca komentar tinjauannya, dan mencari tahu mengapa build CI gagal, dengan skrip GitHub siap pakai.
calldiff
13kMembantu agent Anda membandingkan rantai pemanggilan fungsi dalam basis kode antara dua versi git, sehingga tinjauan kode dapat melihat perilaku apa yang berubah.
chrome-devtools-cli
13kMemungkinkan agent Anda mengendalikan Chrome dari terminal untuk membuka halaman, mengklik, mengisi formulir, dan mengambil cuplikan halaman untuk otomatisasi dan pengujian peramban.
Skill serupa
openclaw-update
394kMembantu agent Anda memperbarui OpenClaw Gateway yang sudah ada, dengan memilih metode pembaruan yang sesuai cara pemasangannya dan menjaga sesi Anda tetap berjalan.
diagnose-gateway
394kMembantu agent Anda mencari tahu mengapa OpenClaw Gateway gagal dengan memeriksa pengaturan, channel, dan port tanpa mengubah apa pun.
crabbox-apps
394kMembantu agent Anda membuka dan menjalankan aplikasi di mesin cloud sementara, lalu menampilkan tampilannya di panel samping chat Anda.