Web Analytics

commands

⭐ 662 stars Korean by wshobson

🌐 언어

Claude Code 슬래시 명령어

지능형 자동화를 통해 개발을 가속화하는 Claude Code를 위한 프로덕션용 슬래시 명령어입니다.

52개의 명령어는 다음과 같이 구성됩니다:

🤝 Claude 코드 서브에이전트 필요

이 명령어들은 오케스트레이션 기능을 위해 Claude 코드 서브에이전트와 함께 작동합니다.

설치

cd ~/.claude
git clone https://github.com/wshobson/commands.git
git clone https://github.com/wshobson/agents.git  # Required for subagent orchestration

사용 가능한 명령어

사용법

명령어는 tools/workflows/ 디렉토리로 구성됩니다. 디렉토리 접두사와 함께 사용하세요:

/tools:api-scaffold user management with authentication
/tools:security-scan check for vulnerabilities
/workflows:feature-development implement chat functionality

참고: 접두어 없이 명령어를 사용하려면 디렉토리를 평탄화할 수 있습니다.

cp tools/*.md .
cp workflows/*.md .

Claude Code는 컨텍스트에 따라 관련 명령어를 자동으로 제안합니다.

🤖 워크플로우

복잡한 작업을 위한 다중 서브에이전트 오케스트레이션:

기능 개발

개발 프로세스

서브에이전트 오케스트레이션 워크플로우

🔧 도구 (단일 목적 명령어)

AI & 머신러닝

아키텍처 & 코드 품질

데이터 & 데이터베이스

데브옵스 & 인프라

개발 & 테스트

보안 & 컴플라이언스

디버깅 & 분석

의존성 & 구성

문서화 & 협업

비용 최적화

온보딩 및 셋업

서브에이전트 도구

기능

명령어 수

총: 52개의 프로덕션 환경용 슬래시 명령어가 다음으로 구성됨:

🤖 워크플로우 (14개 명령어)

🔧 도구 (38개 명령어)

사용 예시

🤖 워크플로우 예시

# Implement a complete feature
/workflows:feature-development Add user authentication with OAuth2

Comprehensive code review

/workflows:full-review Review the authentication module

Smart issue resolution

/workflows:smart-fix Fix performance degradation in API response times

Modernize legacy system

/workflows:legacy-modernize Migrate monolithic Java app to microservices

Build comprehensive multi-platform feature

/workflows:full-stack-feature User authentication with social login across web and mobile

Implement security-first architecture

/workflows:security-hardening Harden API endpoints and implement zero-trust security model

Create data-driven ML feature

/workflows:data-driven-feature Build recommendation engine with real-time personalization

Optimize entire application stack

/workflows:performance-optimization Improve response times and reduce infrastructure costs

Respond to production incident

/workflows:incident-response High CPU usage causing service degradation in production

🔧 도구 예제 (단일 목적 명령)

# Create a user management API
/tools:api-scaffold user CRUD operations with JWT auth and role-based access

Review microservices architecture

/tools:multi-agent-review analyze our microservices for coupling and scalability issues

Optimize LLM chat application

/tools:prompt-optimize reduce latency for customer support chatbot while maintaining accuracy

Create fraud detection pipeline

/tools:data-pipeline real-time fraud detection with feature store and monitoring

Debug production issue

/tools:error-trace analyze high memory usage in production pods

Secure container images

/tools:security-scan scan and fix vulnerabilities in Docker images

Generate API documentation

/tools:doc-generate create OpenAPI docs with examples for REST endpoints

Onboard new developer

/tools:onboard Setup development environment for React/Node.js project

Multi-perspective code review

/tools:multi-agent-review Review authentication module

Deep debugging

/tools:smart-debug Investigate memory leak in production workers

Full-stack optimization

/tools:multi-agent-optimize Optimize checkout flow for better conversion

Save project context

/tools:context-save Save current project state and architectural decisions

Restore project context

/tools:context-restore Load context from last week's sprint

고급 명령어

보안 & 데브옵스

#### /security-scan

자동화된 수정 기능을 포함한 종합 보안 스캔.

#### /docker-optimize

고급 컨테이너 최적화 전략.

#### /k8s-manifest

프로덕션 등급 Kubernetes 배포.

프론트엔드 & 데이터

#### /db-migrate

고급 데이터베이스 마이그레이션 전략.

워크플로우와 도구의 결합

진정한 강점은 전체 개발 주기를 위해 워크플로우와 도구를 결합하는 데 있습니다:

예시: 새로운 기능 개발

# 1. Use a workflow to implement the feature with multiple subagents
/workflows:feature-development Add real-time chat feature with WebSocket support

2. Use tools for specific enhancements

/tools:test-harness Add integration tests for WebSocket connections /tools:security-scan Check for WebSocket vulnerabilities /tools:docker-optimize Optimize container for WebSocket connections

3. Use a workflow for comprehensive review

/workflows:full-review Review the entire chat feature implementation

예제: 레거시 코드 현대화

# 1. Start with the modernization workflow
/workflows:legacy-modernize Migrate Express.js v4 app to modern architecture

2. Use specific tools for cleanup

/tools:deps-upgrade Update all dependencies to latest versions /tools:refactor-clean Remove deprecated patterns and dead code /tools:test-harness Ensure 100% test coverage

3. Optimize and deploy

/tools:docker-optimize Create multi-stage production build /tools:k8s-manifest Deploy with zero-downtime strategy

명령 조정 패턴

명령은 개별적으로 사용하거나 강력한 패턴으로 결합할 수 있습니다:

순차 실행

# Build → Test → Secure → Deploy pipeline
/tools:api-scaffold user management API
/tools:test-harness comprehensive test suite for user API  
/tools:security-scan check user API for vulnerabilities
/tools:k8s-manifest deploy user API to production

병렬 분석

# Multiple perspectives on the same codebase
/tools:multi-agent-review comprehensive architecture and code review
/tools:security-scan audit security posture  
/workflows:performance-optimization identify and fix bottlenecks

Then consolidate findings

반복적 정제

# Start broad, then narrow focus
/workflows:feature-development implement payment processing
/tools:security-scan focus on payment security
/tools:compliance-check ensure PCI compliance
/tools:test-harness add payment-specific tests

교차 도메인 통합

# Frontend + Backend + Infrastructure
/tools:api-scaffold backend payment API
/tools:multi-agent-optimize optimize payment flow performance
/tools:docker-optimize containerize payment service
/tools:monitor-setup payment metrics and alerts

워크플로우와 툴을 사용할 때

🔀 워크플로우 & 서브에이전트 툴

🛠️ 전문화된 툴

예시:

🔧 툴을 사용할 때:

예시:

명령어 형식

슬래시 명령어는 간단한 마크다운 파일로:

모범 사례

명령 선택

효과적인 사용법

기여하기

문제 해결

명령을 찾을 수 없음:

워크플로우가 느림: 정상 - 여러 서브에이전트 조정 때문

일반 출력: 기술 스택에 대해 더 구체적인 컨텍스트 추가

통합 문제: 파일 경로와 명령 순서 확인

성능 팁

명령 선택:

최적화:

새로운 워크플로우 추가:

새로운 도구 추가:

더 알아보기

--- Tranlated By Open Ai Tx | Last indexed: 2025-09-08 ---