मुख्य सामग्री पर जाएँ
Skillpedia
डिप्लॉय और क्लाउड (DevOps)13k · #11396

configure-workspaces

यह क्या करती है

यह आपके प्रोजेक्ट को पढ़कर वर्कस्पेस सेटिंग फ़ाइलें लिखती है, जो HumanLayer को बताती हैं कि वर्कट्री कैसे बनाने हैं। यह उन डेवलपर्स के लिए है जो git रिपॉज़िटरी के अंदर HumanLayer टास्क चलाते हैं।

कब इस्तेमाल करें

  • ✓जब आप पहली बार किसी रिपॉज़िटरी के लिए HumanLayer सेट करते हैं।
  • ✓जब नए टास्क अपना वर्कट्री नहीं बना पाते और कॉन्फ़िग ठीक करनी हो।
  • ✓जब आप टीम की साझा सेटिंग्स को अपनी मशीन की निजी बदलावों से अलग रखना चाहते हैं।

Skill का लिंक

https://github.com/humanlayer/humanlayer/blob/main/apps/riptide-rpi-claude-plugin/skills/configure-workspaces/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/humanlayer/humanlayer/blob/main/apps/riptide-rpi-claude-plugin/skills/configure-workspaces/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस रिपॉज़िटरी के लिए HumanLayer वर्कस्पेस कॉन्फ़िग सेट कीजिए, ताकि नए टास्क अपना वर्कट्री सही तरीके से बनाएँ।”

हर हफ़्ते 5 नई skills, 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> <step index=1>

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/main as 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, जिसे commit करना सुरक्षित है, और एक 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

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

asd-ste100

13k

उलझे हुए अंग्रेज़ी टेक्स्ट को छोटे, एक-अर्थ वाले वाक्यों में बदलना सिखाती है, जो लोगों और दूसरे सॉफ़्टवेयर दोनों के लिए पढ़ने में आसान हों।

लेखन और डॉक्यूमेंटलेखन

better-github-skill

13k

तैयार GitHub स्क्रिप्ट से pull request की स्थिति जाँचने, उसकी समीक्षा टिप्पणियाँ पढ़ने, और CI बिल्ड क्यों विफल हुआ यह पता करने में आपके एजेंट की मदद करती है।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

calldiff

13k

कोड समीक्षा में बदलाव का असर देखने के लिए, दो git संस्करणों के बीच कोड में फ़ंक्शन कॉल की श्रृंखलाओं की तुलना करने में मदद करती है।

कोडिंगसामान्य कोडिंग

chrome-devtools-cli

13k

आपके एजेंट को टर्मिनल से Chrome चलाने देती है, ताकि वह पेज खोल सके, क्लिक कर सके, फ़ॉर्म भर सके और ब्राउज़र ऑटोमेशन व टेस्टिंग के लिए पेज का स्नैपशॉट ले सके।

कोडिंगटेस्टिंग

मिलती-जुलती skills