custom-cleanup-process
Installation
SKILL.md
Custom Cleanup Process
Purpose
This is a project-specific custom skill called by the approve_issue workflow to clean up project-specific resources.
It handles stopping test servers and cleaning artifacts specific to this project (claudecode_webui).
Generic workflow skills invoke this skill if it exists; if absent, the cleanup step is skipped (only generic cleanup like worktree removal runs).
Input
issue_number(from $1 argument): The issue number being cleaned up
Cleanup Steps
1. Calculate Ports
- Backend Port = 8000 + (issue_number % 1000)
- Vite Port = 5000 + (issue_number % 1000)