Skip to content
Development
Skill

/cleanup

작업 산출물 정리. design-refs, test-results, temp 파일 등.

From plugin
code-forge
1323 skills58 agents11 hooks2 MCP
Install
$ npx -y skills add ggombee/code-forge --skill cleanup --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/cleanup

Context preview

The summary Claude sees to decide when to auto-load this skill.

작업 산출물 정리. design-refs, test-results, temp 파일 등.

SKILL.md

cleanup.SKILL.md
name: cleanup
description: 작업 산출물 정리. design-refs, test-results, temp 파일 등.

/cleanup

작업 중 생성된 산출물을 정리합니다.

**[즉시 실행]** 아래 워크플로우를 바로 실행하세요.

---

사용법

/cleanup              → 기본 정리 (design-refs + test-results)
/cleanup --all        → 전체 정리 (temp 파일 포함)
/cleanup --dry-run    → 삭제 없이 목록만 출력

---

Step 1: 정리 대상 스캔

Arguments: `$ARGUMENTS`

--dry-run → 목록만 출력, 삭제 안 함
--all → 전체 대상
없음 → 기본 대상

기본 정리 대상

| 대상 | 패턴 | 생성 시점 | |------|------|----------| | Figma 스크린샷 | `**/.design-refs/*.{png,jpg}` | /start Figma 분석 시 | | Playwright 결과 | `**/test-results/` | E2E 실행 시 | | Playwright 리포트 | `**/playwright-report/` | E2E 실행 시 |

--all 추가 대상

| 대상 | 경로 | 생성 시점 | |------|------|----------| | 계획 파일 | `.claude/temp/plan.md` | /start 계획 출력 시 | | 분석 파일 | `.claude/temp/analysis.md` | /start 분석 시 | | REFLECT flag | `.claude/state/reflect.flag` | quality-gate 실패 시 | | Quality 로그 | `.claude/state/quality.jsonl` | quality-gate 실행 시 (보통 GC에 맡김) |

---

Step 2: 실행

# 기본 정리
find . -path "*/.design-refs/*.png" -delete 2>/dev/null
find . -path "*/.design-refs/*.jpg" -delete 2>/dev/null
rm -rf **/test-results/ 2>/dev/null
rm -rf **/playwright-report/ 2>/dev/null

# --all 추가
rm -f .claude/temp/plan.md 2>/dev/null
rm -f .claude/temp/analysis.md 2>/dev/null
rm -f .claude/state/reflect.flag 2>/dev/null

---

Step 3: 결과 출력

## /cleanup 결과

| 대상 | 삭제 수 |
|------|---------|
| design-refs | N개 |
| test-results | 삭제됨 |
| playwright-report | 삭제됨 |
| .claude/temp | (--all 시) 삭제됨 |

---

금지 사항

  • `e2e/.auth/*.json` 삭제 금지 — 로그인 세션, 수동 삭제만
  • `node_modules/.cache` 건드리지 않음 — 빌드 캐시
  • `.policy/` 건드리지 않음 — 정책 데이터
  • `.claude/docs/` 건드리지 않음 — 정책 문서
  • `src/`, `packages/` 건드리지 않음 — 소스 코드
Read more
Ships withcode-forge

설치하면 Claude Code가 더 잘 동작합니다. 전문 에이전트, 슬래시 스킬, 스택 모듈을 제공하는 Claude Code 플러그인. 검증된 사고모델(GROUND→APPLY→VERIFY→ADAPT)이 모든 작업의 품질을 일관되게 유지합니다. (에이전트/스킬 개수는 디스크가 진실 — ls agents/.md | wc -l, ls skills//SKILL.md | wc -l) 현재 상태: 개인 GitHub 운영 중 (마켓플레이스 배포 4.10.0).

Get the whole plugin

Other skills on code-forge.

debate
Skill

debate

교차 모델 토론. Agent Teams / Codex CLI / self-debate 모드 선택. 설계 결정, 아키텍처 선택 시 활용. "어느 쪽이 나을까", "설계 비교해줘", "토론시켜줘", "교차 검증해줘" 등의 요청에 사용.

e2e
Skill

e2e

화면 단위 E2E 테스트 자동화. Figma/코드 기반 테스트 케이스 도출 → Playwright 코드 생성 → Forge Loop(에스컬레이션 기반 자율 실행). "E2E 돌려줘", "화면 테스트 만들어줘", "이 페이지 자동 테스트" 등의 요청에 사용.