ClaudeMods
☰
KO
● 0 명 접속 중 · 조회 0 회
후원프로젝트 제출
GitHub 저장소 · 작성자 ASRagab

pr-pane

열린 pull request를 한 번의 키 입력으로 확인하는 Claude Code mod입니다. **Claude Code 전용**이며 버전 2.1.287 이상이 필요합니다.

ASRagab@ASRagab

ASRagab/asragab-claude-marketplace/tree/main/plugins/pr-pane

번역 완료

이 mod 소개

/prs는 저장소 전체의 열린 PR을 프롬프트 위 밴드에 나열합니다. PR 설명 전체에 상태 색상이 적용됩니다. 빨간색 ✗는 해결되지 않은 댓글이나 변경 요청, 파란색 ✓는 승인됨, 주황색 ●는 review 필요, 흐린 글자의 `○는 draft를 뜻합니다. Draft가 우선이며 해결되지 않은 review thread가 승인보다 우선합니다. 해결된 thread와 과거 댓글은 PR을 빨간색으로 만들지 않습니다.

Ctrl+X를 누른 다음 Tab을 누르면 밴드에 초점이 맞습니다. 화살표 키나 Tab으로 컨트롤 사이를 이동하고 Enter로 브라우저에서 PR을 엽니다(macOS는 open, Linux는 xdg-open). 밴드에 초점이 있는 동안 r는 저장소순, s는 상태순, d는 마지막 업데이트 날짜순으로 정렬합니다. 한 번에 하나의 정렬 모드만 활성화되며 저장소/상태 그룹은 최근 업데이트순입니다. 기본 상태 순서는 feedback, approved, needs review, draft입니다. 페이지마다 최대 8개 행을 표시하고 p/n으로 페이지를 전환합니다. 다른 밴드 출력 때문에 화면이 넘쳐도 화살표로 스크롤할 수 있고 Tab의 초점 이동은 계속됩니다. Esc는 프롬프트로 돌아가며 밴드는 표시된 상태로 둡니다. /prs로 숨깁니다. 밴드는 배경색을 설정하지 않고 survey가 진행되는 동안 자리를 양보합니다.

PR 콘텐츠 위와 아래의 흐린 가로선이 기본 배경을 유지하면서 시각적으로 내용을 나눕니다. 작은 밴드는 선을 위한 공간을 남기도록 페이지 크기를 줄입니다.

설정은 필요하지 않습니다. GitHub 사용자는 현재 gh로 로그인한 사용자입니다. 백그라운드 폴링은 시작 시, 60초마다, 밴드를 표시할 때 실행됩니다. 업데이트는 보통 1분에 API 지연 시간을 더한 안에 표시됩니다. 헤더에는 열린 PR 수와 마지막 성공 새로 고침 시간이 표시됩니다. 새로 고침에 실패하면 마지막 정상 목록을 유지하고 밴드에 오류를 표시합니다. gh가 없거나 로그아웃 상태면 `gh auth login을 실행하라고 안내합니다. 목록에는 최근 업데이트된 PR 100개가 포함되며 더 있으면 헤더에 실제 전체 수를 표시합니다.

# Run the mod's tests (no network, no API key)
claude plugin test plugins/pr-pane

설치

먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.

claude plugin marketplace add ASRagab/asragab-claude-marketplace
claude plugin install pr-pane
원문 / README

asragab-claude-marketplace

A Claude Code plugin marketplace containing plugins for session search/analytics, skill evaluation, Claude Code mod development, and a PR picker mod.

Plugins

| Plugin | Version | Description | |--------|---------|-------------| | cass | 0.3.0 | Cross-agent session search, context, analytics, export, learnings, and session resume powered by CASS CLI | | skill-eval | 1.0.0 | Automated skill/prompt/tool evaluation and improvement via session log analysis and autoresearch optimization | | mod-forge | 0.2.0 | Build and verify Claude Code mods in isolated child processes, never in the live session (Claude Code 2.1.287+) | | pr-pane | 0.2.0 | /prs toggles a band above the prompt with your open GitHub PRs and review state; arrows and Enter open one in the browser (Claude Code 2.1.287+, needs gh) |

Installation

1. Add the marketplace

claude plugin marketplace add https://github.com/ASRagab/asragab-claude-marketplace

2. Install plugins

# Install by name (use plugin@marketplace to disambiguate)
claude plugin install cass
claude plugin install skill-eval
claude plugin install mod-forge
claude plugin install pr-pane

Prerequisites

  • Claude Code CLI
  • Bun runtime (required by skill-eval scripts)
    • To run bun run test, first run bun install in plugins/skill-eval/scripts (installs @anthropic-ai/sdk).
  • GitHub CLI (gh), logged in with gh auth login (required by pr-pane)
  • CASS CLI v0.3.0+ (required by cass plugin)

cass

Cross-agent session search, context loading, token analytics, session export, session resume, and learning synthesis powered by CASS (Coding Agent Session Search). Searches across Claude Code, Codex, Cursor, Gemini CLI, Copilot, and 14+ other agents.

Recipes default to token-efficient output (--robot-format toon --fields summary --max-tokens 1600). The plugin's SessionStart hook surfaces the CASS index health, recommended next action, and a CASS_OUTPUT_FORMAT=toon advisory.

Skills

/cass:session-search

Search across all indexed coding agent sessions. Supports lexical (BM25), semantic (vector), and hybrid search modes.

cass search "authentication flow" --mode hybrid --robot-format toon --fields summary --max-tokens 1600 --limit 10
cass search "error" --days 30 --aggregate agent --limit 1 --max-content-length 100 --robot-format toon

/cass:session-context

Load relevant past session context for the current task, file, or project.

cass sessions --current --robot-format toon
cass timeline --since 7d --json --group-by day

/cass:session-analytics

Analyze session history for usage patterns, token consumption, and tool efficiency.

cass analytics tokens --days 7 --group-by day --json
cass analytics tools --limit 20 --json

/cass:session-export

Export sessions to markdown, text, JSON, HTML, or self-contained encrypted HTML.

cass export <session_path> -o conversation.md
cass export-html <session_path> --encrypt --password "secret" --filename report.html

/cass:session-learnings

Extract patterns, recurring issues, and actionable lessons from past sessions.

cass search "error fix bug" --mode hybrid --robot-format toon --fields summary --max-tokens 1600 --limit 20
cass analytics tools --limit 20 --json

/cass:session-resume ★ NEW v0.3.0

Resolve a session into a ready-to-run launch command for its native harness (Claude Code, Codex, OpenCode, pi_agent, Gemini). Triggered by phrases like "resume that session", "pick up where I left off", "continue the X session".

cass resume "$(cass sessions --current --json | jq -r '.sessions[0].path')" --json

/cass:session-maintenance

Diagnose, repair, and maintain CASS installation, index, analytics, and remote sources.

cass health --json
cass doctor --fix
cass index --full --json

skill-eval

A four-stage pipeline for identifying friction in coding agent sessions and iteratively optimizing skills, prompts, and tools. Inspired by Karpathy's autoresearch pattern.

Skills

The stages run sequentially — each consumes the output of the previous stage.

/skill-eval:transcript-extract (M1)

Extract structured events from Claude Code session transcripts into JSONL.

bun scripts/transcript-extract.ts --since 7d -o events.jsonl

/skill-eval:signal-classify (M2)

Classify extracted events into friction, success, noise, and neutral categories using rule-based heuristics. No LLM calls required.

bun scripts/signal-classify.ts -i events.jsonl -o classified.jsonl
bun scripts/signal-classify.ts -i events.jsonl --stats

/skill-eval:target-identify (M3)

Use LLM-as-judge to rank friction clusters by frequency, severity, and improvability.

bun scripts/target-identify.ts -i classified.jsonl --top 5 -o targets.jsonl

Requires ANTHROPIC_API_KEY environment variable.

/skill-eval:autoresearch-loop (M4)

Iteratively generate and evaluate improvements against a target's eval criteria.

bun scripts/autoresearch-loop.ts -t targets.jsonl --max-rounds 20

Requires ANTHROPIC_API_KEY environment variable.

Full Pipeline Example

cd plugins/skill-eval

# 1. Extract events from recent sessions
bun scripts/transcript-extract.ts --since 7d -o events.jsonl

# 2. Classify friction signals
bun scripts/signal-classify.ts -i events.jsonl -o classified.jsonl

# 3. Identify top optimization targets
bun scripts/target-identify.ts -i classified.jsonl --top 5 -o targets.jsonl

# 4. Run autoresearch loop on the top target
bun scripts/autoresearch-loop.ts -t targets.jsonl --max-rounds 10

mod-forge

Build and verify Claude Code mods without touching the session you are working in. Claude Code only, version 2.1.287 or later.

The build-claude-mod skill sends an agent through scripts/run-mod.sh, which runs a mod through five fail-fast stages (validate, test, headless, typecheck, interactive) in separate processes under a harness-owned CLAUDE_CONFIG_DIR. See plugins/mod-forge/README.md for stages, evidence files, and exit codes.

Requires jq. Live stages also need ANTHROPIC_API_KEY, the interactive stage needs tmux, and the type check needs a TypeScript compiler.

# Offline test: no model calls, no API key
bun run test:mod-forge

# Live test: starts real claude children and makes real model calls
# (about $0.01 to $0.03 per headless run). Needs ANTHROPIC_API_KEY and tmux.
bash plugins/mod-forge/tests/live.test.sh

pr-pane

A Claude Code mod for keeping your open pull requests one keystroke away. Claude Code only, version 2.1.287 or later.

/prs toggles a band above the prompt listing your open PRs across repositories. The whole PR description carries its status color: ✗ unresolved comments or requested changes in red, ✓ approved in blue, ● needs review in orange, and ○ draft in dim text. Draft takes precedence; unresolved review threads take precedence over approval. Resolved threads and historical comments do not make a PR red.

Press Ctrl+X, then Tab to focus the band; arrows or Tab move between controls and Enter opens a PR in your browser (open on macOS, xdg-open on Linux). While the band has focus, r sorts by repository, s by status, and d by last-updated date. One sort mode is active at a time; repository/status groups use newest-updated first. The default status order is feedback, approved, needs review, draft. Up to eight rows appear per page; p/n switch pages. If other band output makes the drawing overflow, arrows scroll and Tab still moves focus. Esc returns to the prompt and leaves the band visible; /prs hides it. The band sets no background color and yields while a survey is active.

Dim horizontal rules above and below the PR content visually separate it while preserving the default background. Smaller bands reduce the page size to leave room for the rules.

It needs no configuration. The GitHub user is whoever gh is logged in as. Background polling runs at startup, every 60 seconds, and when you show the band; updates normally appear within a minute plus API latency. The header shows the open PR count and last successful refresh time. A failed refresh keeps the last good list and shows the error in the band. If gh is missing or logged out, it says to run gh auth login. The list includes the 100 most recently updated PRs; the header shows the true total when there are more.

# Run the mod's tests (no network, no API key)
claude plugin test plugins/pr-pane

Uninstallation

claude plugin uninstall cass
claude plugin uninstall skill-eval
claude plugin uninstall mod-forge
claude plugin uninstall pr-pane

# To remove the marketplace itself
claude plugin marketplace remove asragab-claude-marketplace

License

MIT

동명의 다른 작품

비슷한 프로젝트