agentleFS
ggombeeggombee/code-forge/skills/cleanup/SKILL.md

cleanup

Skill18 starsChanged 7 months agoMITView on GitHub

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

  • Deletes or force-pushes

71 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use chips, react-query-best-practices and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • udecodeSkill

    chips

    Run the project's suggested-task ledger, the chips. /chips alone brings this session's open tasks up to date: it applies what the ledger helper says, settles stale and split tasks, cards what can start and reports the board, and /chips all also takes the ship-list tasks and the ones no live session owns, and merges duplicate tasks across the board. Use for /chips, /chips offer, start or drop, \"what chips are open\", \"suggest a task for X\", \"update the chips\", \"clean up the chips\", \"which chips are stale\", \"is this chip still worth doing\", \"merge duplicate chips\", at the last hand-back of a run that offered a task, and whenever pstack would file a tracked issue, a follow-up, a reflect Backlog item or an out-of-band PR.

    Also in 3 projects that use this

  • bibektimilsina00Skill

    react-query-best-practices

    Audit and fix React Query usage in apps/web — enforce query key factories, signal forwarding, staleTime, and proper mutation patterns. Use when reviewing or fixing server-state code.

    Also in 3 projects that use this

  • bibektimilsina00Skill

    you-might-not-need-a-callback

    Analyze and fix useCallback anti-patterns in your code

    Also in 3 projects that use this

  • Scylla23Skill

    redo

    Re-run the last routed task one model tier up (haiku → sonnet → opus → fable). User-invoked escalation when the previous result missed. Pass --dry-run to preview without running.

    Also in 3 projects that use this

  • Aetheria-Labs1Skill

    plan-page

    Plan one storefront page from strategy through final copy, section order, proof, offers, template direction, responsive layout, and production asset requirements. Stops at an approved execution-ready specification.

    Also in 3 projects that use this

  • SocialKit-APISkill

    video-transcripts

    Extract transcripts from social videos through SocialKit across YouTube, TikTok, Instagram, Facebook, X/Twitter, LinkedIn, and direct video file URLs. Use when the user asks to transcribe, get captions or subtitles, pull the spoken text, or read what a video says, including one video or many at once. Returns full text plus timestamped segments. Not for posting, private accounts, or unrelated website scraping.

    Also in 3 projects that use this

  • +3 more from bibektimilsina00

The file

Files
SKILL.md

/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.flagquality-gate 실패 시
Quality 로그.claude/state/quality.jsonlquality-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/ 건드리지 않음 — 소스 코드

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.