본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)41k · #7016

project-session-manager

하는 일

이 스킬은 이슈, 풀 리퀘스트, 기능마다 저장소의 격리된 작업 사본을 관리합니다. 여러 작업을 동시에 처리하며 서로 섞이지 않게 하려는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓이슈, 풀 리퀘스트, 기능을 위해 별도의 작업 사본이 필요할 때.
  • ✓한 저장소에서 여러 작업을 동시에 하며 분리하고 싶을 때.
  • ✓활성 작업 세션을 나열하거나, 연결하거나, 정리하고 싶을 때.

스킬 링크

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/project-session-manager/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/project-session-manager/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이슈 123을 고칠 수 있도록 별도의 작업 사본을 만들어 주세요. 현재 작업은 건드리지 마세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 작업을 위한 전용 git 워크트리를 빠른 명령으로 만들며, 선택적으로 그 작업을 위한 터미널 세션을 열 수 있습니다. 또한 병합되었거나 닫힌 작업의 세션을 나열하고, 연결하고, 정리합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Project Session Manager (PSM) Skill

psm is the compatibility alias for this canonical skill entrypoint.

Quick Start (worktree-first): Start with omc teleport when you want an isolated issue/PR/feature worktree before adding any tmux/session orchestration:

omc teleport #123          # Create worktree for issue/PR
omc teleport my-feature    # Create worktree for feature
omc teleport list          # List worktrees

See Teleport Command below for details.

Automate isolated development environments using git worktrees and tmux sessions with Claude Code. Enables parallel work across multiple tasks, projects, and repositories.

Canonical slash command: /oh-my-claudecode:project-session-manager (alias: /oh-my-claudecode:psm).

Commands

Command Description Example
review <ref> PR review session /psm review omc#123
fix <ref> Issue fix session /psm fix omc#42
feature <proj> <name> Feature development /psm feature omc add-webhooks
list [project] List active sessions /psm list
attach <session> Attach to session /psm attach omc:pr-123
kill <session> Kill session /psm kill omc:pr-123
cleanup Clean merged/closed /psm cleanup
status Current session info /psm status

Project References

Supported formats:

  • Alias: omc#123 (requires ~/.psm/projects.json)
  • Full: owner/repo#123
  • URL: https://github.com/owner/repo/pull/123
  • Current: #123 (uses current directory's repo)

Configuration

Project Aliases (~/.psm/projects.json)

{
  "aliases": {
    "omc": {
      "repo": "Yeachan-Heo/oh-my-claudecode",
      "local": "~/Workspace/oh-my-claudecode",
      "default_base": "main"
    }
  },
  "defaults": {
    "worktree_root": "~/.psm/worktrees",
    "cleanup_after_days": 14
  }
}

Providers

PSM supports multiple issue tracking providers:

Provider CLI Required Reference Formats Commands
GitHub (default) gh owner/repo#123, alias#123, GitHub URLs review, fix, feature
Jira jira PROJ-123 (if PROJ configured), alias#123 fix, feature

Jira Configuration

To use Jira, add an alias with jira_project and provider: "jira":

{
  "aliases": {
    "mywork": {
      "jira_project": "MYPROJ",
      "repo": "mycompany/my-project",
      "local": "~/Workspace/my-project",
      "default_base": "develop",
      "provider": "jira"
    }
  }
}

Important: The repo field is still required for cloning the git repository. Jira tracks issues, but you work in a git repo.

For non-GitHub repos, use clone_url instead:

{
  "aliases": {
    "private": {
      "jira_project": "PRIV",
      "clone_url": "git@gitlab.internal:team/repo.git",
      "local": "~/Workspace/repo",
      "provider": "jira"
    }
  }
}

Jira Reference Detection

PSM only recognizes PROJ-123 format as Jira when PROJ is explicitly configured as a jira_project in your aliases. This prevents false positives from branch names like FIX-123.

Jira Examples

# Fix a Jira issue (MYPROJ must be configured)
psm fix MYPROJ-123

# Fix using alias (recommended)
psm fix mywork#123

# Feature development (works same as GitHub)
psm feature mywork add-webhooks

# Note: 'psm review' is not supported for Jira (no PR concept)
# Use 'psm fix' for Jira issues

Jira CLI Setup

Install the Jira CLI:

# macOS
brew install ankitpokhrel/jira-cli/jira-cli

# Linux
# See: https://github.com/ankitpokhrel/jira-cli#installation

# Configure (interactive)
jira init

The Jira CLI handles authentication separately from PSM.

Directory Structure

~/.psm/
├── projects.json       # Project aliases
├── sessions.json       # Active session registry
└── worktrees/          # Worktree storage
    └── <project>/
        └── <type>-<id>/

Session Naming

The public session ID (colon form, e.g. omc:pr-123) is the human-facing identifier stored in sessions.json and used with psm attach/psm kill. tmux reserves : and . for its session:window.pane target syntax and silently rewrites them, so the actual tmux session name uses a tmux-safe form where those characters become _ (issue #3528). PSM translates the public ID to the tmux-safe name at every tmux boundary; attach dire

자주 묻는 질문

워크트리란 무엇인가요?

같은 저장소를 위한 별도의 작업 폴더이므로, 브랜치를 바꾸지 않고 다른 브랜치에서 일할 수 있습니다.

터미널 세션이 필요한가요?

아니요. 워크트리 부분은 혼자서도 작동하며, 터미널 세션은 선택 사항입니다.

오래된 세션은 어떻게 제거하나요?

정리 명령은 작업이 병합되었거나 닫힌 세션을 제거합니다.

상세 정보

작성자의 원본 설명

Worktree-first dev environment manager for issues, PRs, and features with optional tmux sessions

repo: Yeachan-Heo/oh-my-claudecode

인기도

GitHub 스타
41k
순위
#7016
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬