본문으로 건너뛰기
cccskills
무료GitHub에 공개

workspace-overview

Inspect the local Deliberate Lab workspace environment, Node.js version, bare repository worktrees, remotes, git status, and toolchain readiness.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

PAIR-code/deliberate-lab스타 97(GitHub 97 + cccskills 0)
연동 도구GitHub

실행 점수 미검증

설치 방법 보기

포함된 파일(2)

  • SKILL.md3.9 KB
  • scripts/workspace-overview.sh12.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Workspace Overview

Ground an AI agent or developer in Deliberate Lab's local development environment. This skill inspects Node.js against .nvmrc, discovers installed runtimes, surveys the bare repository and sibling worktree topology, checks GitHub CLI auth, and verifies monorepo build artifacts.

When to use

Invoke this skill when:

  • Starting a new coding or pairing session.
  • Entering the repository workspace for the first time.
  • Verifying whether Node.js matches the version required by .nvmrc.
  • Getting an overview of existing worktrees, branches, and uncommitted edits.
  • Diagnosing missing build artifacts (utils/dist) or toolchain issues.

Trigger phrases:

  • "Orient to workspace"
  • "Check environment"
  • "Run workspace overview"
  • "Check setup"
  • "Where am I in the repo?"

Procedure

1. Run the Diagnostic Script

From any worktree directory or the parent repository container, execute:

./.agents/skills/workspace-overview/scripts/workspace-overview.sh

The script visibly echoes the underlying diagnostic commands (git, gh, etc.) as it runs, providing complete transparency into command provenance and worktree topology. In repositories with dozens of worktrees or branches, if the diagnostic output exceeds 7 KB, it automatically saves to a temporary file via mktemp and provides the path for lossless inspection via view_file (ADR 0003).

2. Establish Node.js in Persistent Terminal Sessions

Deliberate Lab requires the Node.js major version specified in .nvmrc (v22). Non-interactive agent subshells often lack shell initialization or inherit a mismatched host version.

  • Prefer persistent terminal sessions: Run workspace-overview.sh inside a persistent terminal session when supported by your agent harness.
  • Apply remediation: If the script emits a [FOUND] Compatible binary discovered warning with an export PATH=... command, execute that command once inside your persistent terminal:
export PATH="<path-to-discovered-node-bin>:$PATH"

Once exported in the persistent session, all subsequent commands (npm test, npm run build, npm start) will automatically inherit the correct Node runtime.

3. Act on Diagnostic Warnings

SectionDiagnostic WarningRecommended Action
Node.jsMissing / not found in $PATHApply the emitted export PATH="...:$PATH" from Tier 2 discovery. If uninstalled, run nvm install <version>.
Node.jsMajor version mismatchExport the path to the matching Node binary discovered in NVM or install via NVM.
WorktreeUncommitted file(s)Review git status --short before switching branches or pulling upstream changes.
Toolchaingh not authenticatedRun gh auth login or verify credentials if PR/issue interactions fail.
Toolchaingh auth timed outKeyring locked or waiting for desktop prompt. Unlock desktop session or check for modal, then re-run.
Toolchaingh default repo not setRun gh repo set-default PAIR-code/deliberate-lab to resolve multi-remote ambiguity.
Artifactsnode_modules missingRun npm ci from the worktree root.
Artifactsutils/dist missing or emptyRun npm run build -w utils. utils is the shared dependency for functions and frontend.
Artifactsfunctions/lib missingRun npm run build -w functions if running backend tests or the Firebase emulator.

Safety Rules

  • Read-only by design: workspace-overview.sh does not modify git refs, switch branches, or alter code. It is safe to run unconditionally at any time.
  • Do not invent Node versions: Always trust .nvmrc as the dynamic source of truth for the required Node version.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

eval-pr

무료

Set up a git worktree to run and evaluate an upstream Pull Request locally in a flat worktree bare clone repository layout.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

PAIR-code/deliberate-lab972026년 10월 25일 업데이트

gh

무료

Run GitHub CLI commands and inspect GitHub Issues and Pull Requests cleanly without PTY Glamour terminal truncation or comment-stripping traps.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

PAIR-code/deliberate-lab972026년 10월 25일 업데이트

Evaluate Pull Requests for participant or experimenter UX changes, determine runtime behavioral impact, audit and synthesize Deliberate Lab's 7-part manual experiment test plans, and interactively co-author verification steps.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

PAIR-code/deliberate-lab972026년 10월 25일 업데이트

Reflect on pairing sessions from the AI perspective using the FAR framework (Friction, Ambiguity, Repetition), present observations conversationally, and anchor generalizable improvements as GitHub issues or comments.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

PAIR-code/deliberate-lab972026년 10월 25일 업데이트

Deterministic synchronization of trunk, PR evaluation worktrees, and drift reporting in Deliberate Lab's bare repository workspace.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

PAIR-code/deliberate-lab972026년 10월 25일 업데이트

PAIR-code의 스킬 모두 보기

이 스킬의 문제 신고