prompt quality management for Claude Code
SaferSkills independently audited prompt-shield (Agent Skill) and scored it 87/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 3 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 3 flagged
A bulleted imperative like {match} tells the agent to never reveal, disclose, or mention something to the user. Used adversarially it can instruct the agent to hide its tool calls or lie about what it did — stripping the transparency a user relies on to trust the agent.
A bulleted imperative like {match} tells the agent to never reveal, disclose, or mention something to the user. Used adversarially it can instruct the agent to hide its tool calls or lie about what it did — stripping the transparency a user relies on to trust the agent.
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
프롬프트를 진단(LINT) → 자동 개선(Rewrite) → 테스트 생성 또는 요구사항에서 신규 설계(BUILD)로 운영 가능한 자산으로 만드는 품질관리 스킬입니다.
v3.3: MCP Prompts 지원 (saved prompts as slash commands), Hook blocking policy 분리 v3.2: Evaluation Mode 구현, Long Context Optimization, Token Management, Structured Outputs 가이드 추가 v3.1: 확장된 훅 시스템 (PostToolUse, SessionStart), GitHub Actions CI, 에이전트 강화 v3.0: Progressive Skill Loading, Hooks 자동 LINT, Subagent 분리, Extended Thinking/Prefill 가이드
| 커맨드 | 설명 | 상세 |
|---|---|---|
/ps:r <프롬프트> | Review Mode | modes/intercept.md |
/ps:a <프롬프트> | Intercept Mode | modes/intercept.md |
/ps:lint <프롬프트> | LINT Mode | modes/lint.md |
/ps:build <요구사항> | BUILD Mode | modes/build.md |
/ps:eval | Evaluation | playbooks/eval/eval-mode.md |
/ps:help | Help | 도움말 표시 |
프롬프트를 재사용 가능한 자산으로 관리하려면 Prompt Registry MCP 서버를 사용할 수 있습니다.
mcp__prompt-registry__prompt_save / prompt_get / prompt_list / prompt_search / prompt_delete/mcp__prompt-registry__registry_help/mcp__prompt-registry__<saved_prompt_name> (저장된 프롬프트는 자동으로 slash command로 노출)┌─ 8-Point Quality Check ────────────────────────────────┐
│ [기본 6항목] │
│ 1) ROLE 역할 정의 │
│ 2) CONTEXT 배경/맥락 │
│ 3) INSTRUCTION 지시 명확성 │
│ 4) EXAMPLE Few-shot 예시 │
│ 5) FORMAT 출력 형식 │
│ 6) SUCCESS_CRITERIA 성공 조건 │
│ │
│ [Claude 4.x 확장 - 해당 시에만] │
│ 7) STATE_TRACKING 멀티스텝 상태 관리 │
│ 8) TOOL_USAGE 도구 사용 지시 │
│ │
│ 점수 = (원점수/적용항목×2) × 10 = 10점 만점 │
└────────────────────────────────────────────────────────┘상세: references/quality-checklist.md
기존 프롬프트 진단 → 개선 → 테스트 생성
/ps:lint <프롬프트>상세: modes/lint.md
요구사항 → 8-Point 충족 프롬프트 설계
/ps:build <요구사항>옵션: --cache-aware - 4-Block Pattern 자동 적용
상세: modes/build.md
실시간 프롬프트 개선
/ps:r <프롬프트> # Review (승인 대기)
/ps:a <프롬프트> # Auto (자동 적용)⚠️ CRITICAL FOR CLAUDE:
사용자가 다음 명령어를 입력한 경우:
/ps:build <...>/ps:r <...>/ps:a <...>/ps:lint <...>/ps:eval반드시 수행:
Skill 도구로 해당 스킬을 즉시 호출절대 금지:
모드별 상세 가이드:
| 모드 | 파일 | 설명 |
|---|---|---|
| LINT | modes/lint.md | 8-Point 진단, Top 3 이슈, 테스트 생성 |
| BUILD | modes/build.md | 요구사항 수집, 템플릿 선택, 4-Block Pattern |
| Intercept | modes/intercept.md | Express LINT, 자동 적용 조건 |
| Phase | 기능 | 상태 |
|---|---|---|
| 1.0 | LINT Mode | ✅ |
| 2.0 | BUILD Mode + 8-Point | ✅ |
| 2.1 | Intercept Pipeline | ✅ |
| 3.0 | Progressive Loading + Hooks + Agents + Extended Thinking | ✅ |
| 3.1 | PostToolUse 훅, SessionStart 훅, GitHub Actions CI | ✅ |
| 3.2 | Eval Mode + Long Context + Token Management + Structured Outputs | ✅ |
| 3.3 | /ps:eval 커맨드 + eval-runner 자동화 | ✅ 현재 |
| 4.0 | DEBUG Mode (실패 분석) | 예정 |
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.