Communitygithub.com

skill-stocktake

Claude 스킬과 명령어의 품질을 감사할 때 사용합니다. Quick Scan(변경된 스킬만)과 Full Stocktake(전체 검토) 모드를 지원하며, 순차적 서브에이전트 배치 평가를 수행합니다.

skill-stocktake란 무엇인가요?

이 스킬은 Claude AI 에이전트의 모든 스킬과 명령어를 품질 체크리스트와 AI 종합 판단을 통해 감사(audit)하는 도구입니다. 개발자는 이 스킬을 사용하여 스킬의 중복, 유용성, 최신성, 유지보수 필요성을 체계적으로 평가할 수 있습니다. Quick Scan 모드는 마지막 실행 이후 변경된 스킬만 재평가하여 5~10분 내에 빠른 검토가 가능하고, Full Stocktake 모드는 모든 스킬을 처음부터 평가하여 20~30분이 소요됩니다. CLI 환경에서 `/skill-stocktake` 명령어로 실행하며, Claude Code, Cursor, Codex 등 다양한 AI 에이전트 플랫폼에서 사용할 수 있습니다. 평가 결과는 `~/.claude/skills/skill-stocktake/results.json`에 저장되며, 중단된 작업은 자동으로 재개됩니다. 각 스킬은 Keep, Improve, Update, Retire, Merge into [X] 중 하나의 평결을 받으며, 구체적인 이유와 함께 제시됩니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/ECC/tree/main/skills/skill-stocktake

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

skill-stocktake은(는) 무엇을 하나요?

슬래시 명령어 (/skill-stocktake) — 품질 체크리스트와 AI 종합 판단을 사용하여 모든 Claude 스킬과 명령어를 감사합니다. Quick Scan(최근 변경된 스킬만)과 Full Stocktake(전체 검토) 두 가지 모드를 지원합니다.

범위

이 명령어는 호출된 디렉터리를 기준으로 다음 경로를 대상으로 합니다:

경로설명
~/.claude/skills/전역 스킬 (모든 프로젝트)
{cwd}/.claude/skills/프로젝트 레벨 스킬 (디렉터리가 존재하는 경우)

1단계 시작 시, 명령어는 발견되어 스캔된 경로를 명시적으로 나열합니다.

특정 프로젝트 대상

프로젝트 레벨 스킬을 포함하려면 해당 프로젝트의 루트 디렉터리에서 실행하세요:

cd ~/path/to/my-project
/skill-stocktake

프로젝트에 .claude/skills/ 디렉터리가 없으면 전역 스킬과 명령어만 평가됩니다.

모드

모드트리거소요 시간
Quick Scanresults.json이 존재함 (기본값)5–10분
Full Stocktakeresults.json이 없거나, /skill-stocktake full 입력 시20–30분

결과 캐시: ~/.claude/skills/skill-stocktake/results.json

Quick Scan 흐름

마지막 실행 이후 변경된 스킬만 재평가합니다 (5–10분).

  1. ~/.claude/skills/skill-stocktake/results.json 읽기
  2. 실행: bash ~/.claude/skills/skill-stocktake/scripts/quick-diff.sh \ ~/.claude/skills/skill-stocktake/results.json (프로젝트 디렉터리는 $PWD/.claude/skills에서 자동 감지; 필요한 경우에만 명시적으로 전달)
  3. 출력이 []이면: "마지막 실행 이후 변경 사항 없음."을 보고하고 중단
  4. 변경된 파일만 동일한 2단계 기준으로 재평가
  5. 변경되지 않은 스킬은 이전 결과에서 그대로 유지
  6. 변경 사항(diff)만 출력
  7. 실행: bash ~/.claude/skills/skill-stocktake/scripts/save-results.sh \ ~/.claude/skills/skill-stocktake/results.json <<< "$EVAL_RESULTS"

Full Stocktake 흐름

1단계 — 인벤토리

실행: bash ~/.claude/skills/skill-stocktake/scripts/scan.sh

스크립트는 스킬 파일을 열거하고, 프론트매터를 추출하며, UTC 수정 시간을 수집합니다. 프로젝트 디렉터리는 $PWD/.claude/skills에서 자동 감지; 필요한 경우에만 명시적으로 전달. 스크립트 출력에서 스캔 요약과 인벤토리 테이블을 제시합니다:

스캔 중:
  ✓ ~/.claude/skills/         (17개 파일)
  ✗ {cwd}/.claude/skills/    (찾을 수 없음 — 전역 스킬만)
스킬7일 사용30일 사용설명

2단계 — 품질 평가

전체 인벤토리와 체크리스트를 사용하여 Agent 도구 서브에이전트(범용 에이전트)를 시작합니다:

Agent(
  subagent_type="general-purpose",
  prompt="
다음 스킬 인벤토리를 체크리스트에 대해 평가하세요.

[인벤토리]

[체크리스트]

각 스킬에 대해 JSON을 반환하세요:
{ "verdict": "Keep"|"Improve"|"Update"|"Retire"|"Merge into [X]", "reason": "..." }
"
)

서브에이전트는 각 스킬을 읽고 체크리스트를 적용한 후 스킬별 JSON을 반환합니다:

{ "verdict": "Keep"|"Improve"|"Update"|"Retire"|"Merge into [X]", "reason": "..." }

청크 가이드: 서브에이전트 호출당 약 20개의 스킬을 처리하여 컨텍스트를 관리 가능하게 유지하세요. 각 청크 후 중간 결과를 results.json(status: "in_progress")에 저장하세요.

모든 스킬이 평가된 후: status: "completed"로 설정하고 3단계로 진행합니다.

재개 감지: 시작 시 status: "in_progress"가 발견되면, 첫 번째 미평가 스킬부터 재개합니다.

각 스킬은 다음 체크리스트에 대해 평가됩니다:

- [ ] 다른 스킬과의 내용 중복 확인
- [ ] MEMORY.md / CLAUDE.md와의 중복 확인
- [ ] 기술 참조의 최신성 확인 (도구 이름/CLI 플래그/API가 있는 경우 WebSearch 사용)
- [ ] 사용 빈도 고려

평결 기준:

평결의미
Keep유용하고 최신 상태
Improve유지할 가치가 있지만 특정 개선 필요
Update참조된 기술이 오래됨 (WebSearch로 확인)
Retire품질 낮음, 오래됨, 또는 비용 대비 효과가 낮음
Merge into [X]다른 스킬과 상당한 중복; 병합 대상을 지정

평가는 AI 종합 판단입니다 — 수치적 루브릭이 아닙니다. 안내 차원:

  • 실행 가능성: 즉시 실행할 수 있는 코드 예제, 명령어 또는 단계
  • 범위 적합성: 이름, 트리거 및 내용이 일치하고 너무 광범위하거나 좁지 않음
  • 고유성: MEMORY.md / CLAUDE.md / 다른 스킬로 대체할 수 없는 가치
  • 최신성: 기술 참조가 현재 환경에서 작동함

이유 품질 요구사항 — reason 필드는 자체적으로 완결되고 결정을 내릴 수 있어야 합니다:

  • "변경 없음"만 작성하지 말고 항상 핵심 증거를 다시 설명
  • Retire의 경우: (1) 발견된 특정 결함, (2) 동일한 요구를 대체하는 것이 무엇인지 명시
    • 나쁨: "대체됨"
    • 좋음: "disable-model-invocation: true가 이미 설정됨; 신뢰도 점수까지 포함하는 모든 패턴을 다루는 continuous-learning-v2로 대체됨. 고유한 내용이 남아 있지 않음."
  • Merge의 경우: 대상을 명명하고 통합할 내용을 설명
    • 나쁨: "X와 중복됨"
    • 좋음: "42줄의 얇은 내용; chatlog-to-article의 4단계가 이미 동일한 워크플로를 다룸. '기사 각도' 팁을 해당 스킬에 메모로 통합."
  • Improve의 경우: 필요한 특정 변경 사항 설명 (어떤 섹션, 어떤 조치, 목표 크기 등)
    • 나쁨: "너무 김"
    • 좋음: "276줄; '프레임워크 비교' 섹션(L80–140)이 ai-era-architecture-principles을 복제함; 이를 삭제하여 약 150줄로 줄임."
  • Keep의 경우 (Quick Scan에서 mtime 변경만 있는 경우): 원래 평결 근거를 다시 설명, "변경 없음"이라고 작성하지 말 것
    • 나쁨: "변경 없음"
    • 좋음: "mtime이 업데이트되었지만 내용 변경 없음. rules/python/에 의해 명시적으로 임포트된 고유한 Python 참조; 중복 없음."

3단계 — 요약 테이블

스킬7일 사용평결이유

4단계 — 통합

  1. Retire / Merge: 파일별로 상세한 근거를 제시한 후 사용자 확인 필요:
    • 발견된 특정 문제 (중복, 노후화, 깨진 참조 등)
    • 동일한 기능을 대체하는 대안 (Retire의 경우: 어떤 기존 스킬/규칙; Merge의 경우: 대상 파일과 통합할 내용)
    • 제거 영향 (종속된 스킬, MEMORY.md 참조 또는 영향받는 워크플로)
  2. Improve: 근거와 함께 특정 개선 제안 제시:
    • 무엇을 왜 변경할지 (예: "X/Y 섹션이 python-patterns를 복제하므로 430→200줄로 트리밍")
    • 사용자가 실행 여부 결정
  3. Update: 확인된 출처와 함께 업데이트된 내용 제시
  4. MEMORY.md 줄 수 확인; 100줄을 초과하면 압축 제안

결과 파일 스키마

~/.claude/skills/skill-stocktake/results.json:

evaluated_at: 평가 완료의 실제 UTC 시간으로 설정되어야 합니다. Bash를 통해 획득: date -u +%Y-%m-%dT%H:%M:%SZ. T00:00:00Z와 같은 날짜만 있는 근사값은 절대 사용하지 마세요.

{
  "evaluated_at": "2026-02-21T10:00:00Z",
  "mode": "full",
  "batch_progress": {
    "total": 80,
    "evaluated": 80,
    "status": "completed"
  },
  "skills": {
    "skill-name": {
      "path": "~/.claude/skills/skill-name/SKILL.md",
      "verdict": "Keep",
      "reason": "X 워크플로를 위한 구체적이고 실행 가능하며 고유한 가치",
      "mtime": "2026-01-15T08:30:00Z"
    }
  }
}

참고 사항

  • 평가는 블라인드 방식입니다: 동일한 체크리스트가 모든 스킬에 적용되며, 출처(ECC, 자체 작성, 자동 추출)에 관계없이 동일합니다
  • 보관/삭제 작업은 항상 명시적인 사용자 확인이 필요합니다
  • 스킬 출처에 따른 평결 분기는 없습니다

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

affaan-m/ECC

Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky. Adapts content per platform using content-engine patterns. Never posts identical content cross-platform. Use when the user wants to distribute content across social platforms.

affaan-m/fal-ai-media

Unified media generation via fal.ai MCP — image, video, and audio. Covers text-to-image (Nano Banana), text/image-to-video (Seedance, Kling, Veo 3), text-to-speech (CSM-1B), and video-to-audio (ThinkSound). Use when the user wants to generate images, videos, or audio with AI.

affaan-m/manim-video

日本語翻訳:このファイルは manim-video 用の日本語翻訳が必要です

affaan-m/remotion-video-creation

Remotion のベストプラクティス - React で動画を作成する。3D、アニメーション、音声、字幕、チャート、トランジションなどをカバーするドメイン固有の29のルール。

affaan-m/video-editing

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

agent-self-evaluation

Use after completing any non-trivial task. The agent self-rates its output on 5 axes — accuracy, completeness, clarity, actionability, conciseness — with concrete evidence per criterion. Produces a structured 1-5 scorecard with specific improvement suggestions.

agent-sort

Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.

ai-first-engineering

Engineering operating model for teams where AI agents generate a large share of implementation output. Use when setting team process, review gates, or ownership rules for a codebase largely written by agents.

ai-regression-testing

Regression testing strategies for AI-assisted development. Sandbox-mode API testing without database dependencies, automated bug-check workflows, and patterns to catch AI blind spots where the same model writes and reviews code. Use when adding regression coverage to AI-assisted code, or when the same model both wrote and reviewed a change.

android-clean-architecture

Clean Architecture patterns for Android and Kotlin Multiplatform projects — module structure, dependency rules, UseCases, Repositories, and data layer patterns. Use when structuring modules, layers, or data flow in an Android or KMP project.

angular-developer

Generates Angular code and provides architectural guidance. Trigger when creating projects, components, or services, or for best practices on reactivity (signals, linkedSignal, resource), forms, dependency injection, routing, SSR, accessibility (ARIA), animations, styling (component styles, Tailwind CSS), testing, or CLI tooling.

관련 스킬