npx claudepluginhub choihooo/pluginThis skill uses the workspace's default tool permissions.
TRUST 5 품질 프레임워크를 자동으로 검증하고 강제화합니다.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
TRUST 5 품질 프레임워크를 자동으로 검증하고 강제화합니다.
다음 상황에서 자동으로 활성화됩니다:
코드 변경이 감지되면 자동으로 검증 시작:
파일 변경 감지
↓
파일 타입 식별 (TypeScript, Python, etc.)
↓
해당 언어의 LSP 진단 요청
↓
TRUST 5 항목별 검증 실행
Tested 검증:
# 테스트 커버리지 확인
npm run test -- --coverage
# 또
pytest --cov=src --cov-report=term-missing
# 기준: 85% 이상 통과
Readable 검증:
# Lint 검증
npm run lint
# 또
ruff check src/
flake8 src/
# 기준: 에러 0개
Unified 검증:
# 포맷팅 검증
npm run format:check
# 또
ruff format --check src/
black --check src/
# 기준: 포맷 불일합 0개
Secured 검증:
# 보안 스캔
npm audit
# 또
safety check
bandit -r src/
# 기준: 취약점 0개, 높은 심각성 0개
Trackable 검증:
# 커밋 메시지 검증 (Conventional Commits)
commitlint --edit
# CHANGELOG 확인
grep -q "## [0-9]" CHANGELOG.md
# 기준: 형식 준수, CHANGELOG 업데이트됨
PASS 조건 (모두 충족):
FAIL 조건 (하나라도 실패):
수정 가능한 항목은 자동으로 수정 시도:
# 포맷팅 자동 수정
npm run format
# 또
ruff format src/
black src/
# 간단한 Lint 자동 수정
npm run lint -- --fix
# 또
ruff check --fix src/
수정 후 재검증 → PASS면 계속 진행
검증 결과를 사용자에게 표시:
🔍 TRUST 5 Quality Gate Report
✅ Tested: PASS (87% coverage)
✅ Readable: PASS (0 errors)
✅ Unified: PASS (0 format issues)
⚠️ Secured: WARN (1 moderate vulnerability found)
✅ Trackable: PASS (commit format OK)
Overall: ⚠️ WARN with suggestions
Recommendations:
- Update 'lodash' from 4.17.15 to 4.17.21 (npm audit fix)
다음 경우는 즉시 작업 중단:
Tested FAIL:
Secured FAIL:
Trackable FAIL:
다음 경우는 경고로 표시하고 계속 진행:
사용자가 직접 품질 검증을 실행할 때:
# 전체 검증
/quality-check
# 특정 항목만 검증
/quality-check --tested
/quality-check --secured
# 특정 파일만 검증
/quality-check src/components/Button.tsx
# 상세 리포트
/quality-check --verbose
프로젝트 루트에 .trust.yaml 생성:
# TRUST 5 품질 설정
version: 1.0.0
# Tested 설정
tested:
min_coverage: 85
fail_below: 70
frameworks:
- jest
- vitest
- pytest
# Readable 설정
readable:
linters:
- eslint
- ruff
- flake8
max_complexity: 10
# Unified 설정
unified:
formatters:
- prettier
- ruff
- black
line_length: 100
# Secured 설정
secured:
auditors:
- npm
- safety
- bandit
ignore_vulnerabilities:
- low
# Trackable 설정
trackable:
commit_format: conventional
changelog_required: true
issue_reference_required: false
# LSP 게이트 설정
lsp_gates:
plan:
capture_baseline: true
run:
max_new_errors: 0
allow_type_errors: false
sync:
max_errors: 0
max_warnings: 10
# 자동 수정 설정
auto_fix:
format: true
lint_fix: true
security_fix: false # 보안은 수동 검토
# pre-commit: 포맷팅 & Lint
pre-commit → trust-validator --phase run
# pre-push: 전체 검증
pre-push → trust-validator --phase sync
# commit-msg: 커밋 메시지 검증
commit-msg → trust-validator --trackable
# .github/workflows/quality.yml
name: TRUST 5 Quality Gate
on: [pull_request]
jobs:
quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run TRUST 5 Validation
run: npx trust-validator --phase sync
다음이 완료되면 스킬 작업을 종료합니다:
# 엄격한 프로젝트
tested:
min_coverage: 90
# 관대한 프로젝트
tested:
min_coverage: 70
처음에는 경고만, 점차 기준 강화:
# Phase 1: 경고만
enforcement: warn
# Phase 2: 실패 처리
enforcement: fail
프로젝트마다 다른 도구 지원:
다음 말들을 하면 이 스킬이 자동으로 활성화됩니다:
이 스킬은 TRUST 5 프레임워크를 기반으로 하며, 자동으로 품질을 검증하고 개선을 제안합니다.