AGENT SKILL

testserver

Test Server Command

License 许可
MIT
最近更新
2026-11-14
Stars
★ 6
Forks
0

01 前言 Front Matter

name
testserver
description
Test Server Command

03 SKILL.md 正文

⚡ EXECUTION INSTRUCTIONS FOR CLAUDE

When this command is invoked, YOU (Claude) must execute these steps immediately: This is NOT documentation - these are COMMANDS to execute right now. Use TodoWrite to track progress through multi-phase workflows.

🚨 EXECUTION WORKFLOW

Phase 1: Execute Documented Workflow

Action Steps:

  1. Review the reference documentation below and execute the detailed steps sequentially.

📋 REFERENCE DOCUMENTATION

Test Server Command

Purpose: Manage test servers for branches

Action: Start, stop, or list test servers

Usage: /testserver [action] [branch]

Implementation:

  • start [branch] - Start test server for branch (defaults to current branch)
  • stop [branch] - Stop test server for branch (defaults to current branch)
  • list - List all running test servers
  • cleanup - Stop all test servers

Examples:

  • /testserver start - Start server for current branch
  • /testserver start feature-auth - Start server for feature-auth branch
  • /testserver stop - Stop server for current branch
  • /testserver list - Show all running servers
  • /testserver cleanup - Stop all servers

Features:

  • Automatic port allocation (8081, 8082, 8083, etc.)
  • Branch-specific logging
  • Process management with PID tracking
  • Conflict detection and resolution
  • Cleanup of stale processes

Integration:

  • Start the server for the current branch after pushing it (/testserver start)
  • /integrate automatically stops server for current branch
  • Servers persist across development sessions
  • Logs stored in "$(~/.claude/skills/scratch-space/scripts/scratch-dir.sh "<repo-name>/<branch-name>")/[branch].log" (referencing ~/.claude/skills/scratch-space/SKILL.md)

04 同仓库更多 Skills

jleechanorg
jleechanorg/jleechan-skills

disk-reclaim-playbook

Use Disk Magician to diagnose disk growth or qualify cleanup on macOS or Linux.

★ 6
jleechanorg
jleechanorg/jleechan-skills

claudea-bench

Compare `claudea` and normal `claude` on a fair split of comparable work by default; use `--strict` for duplicate runs of the exact same task.

★ 6
jleechanorg
jleechanorg/jleechan-skills

pr

Alias for the canonical pr-lifecycle PR workflow skill (/pr-workflow, /prw).

★ 6
jleechanorg
jleechanorg/jleechan-skills

whisper

OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.

★ 6
jleechanorg
jleechanorg/jleechan-skills

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

★ 6
jleechanorg
jleechanorg/jleechan-skills

pr-report

This skill should be used when the user asks for a PR report, PR audit, PR delta analysis, /pr-report, or wants per-PR summary with delta files/lines. Generates a structured report for one or more open PRs covering purpose, files changed, +/− line counts, /code-standards + /thermo review findings, /ponytail simplification opportunities, file-overlap combination candidates, and /green status per pr-green-definition. Output: machine-readable JSONL + human-readable markdown. Read-only by default; can apply simplifications if user opts in.

★ 6