monitor-data-integrity
정보
이 스킬은 GxP 시스템을 대상으로 ALCOA+ 원칙에 기반한 데이터 무결성 모니터링 프로그램을 설계하고 운영합니다. 감사 추적 검토, 이상 탐지 패턴, 에스컬레이션 매트릭스를 정의하여 모니터링 프로그램 수립, 검사 대비, 사고 후 강화된 모니터링 구현을 지원합니다. 개발자는 규정 가이드라인(MHRA, WHO, PIC/S) 이행이 필요하거나 지속적인 데이터 무결성 준수를 보장해야 할 때 이 스킬을 활용할 수 있습니다.
빠른 설치
Claude Code
추천npx skills add pjt222/agent-almanac -a claude-code/plugin add https://github.com/pjt222/agent-almanacgit clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/monitor-data-integrityClaude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요
문서
name: monitor-data-integrity description: > ALCOA+原則に基づいたデータ整合性モニタリングプログラムを設計・運用します。 探知管理、監査証跡レビュースケジュール、異常検知パターン(時間外活動、連続的な変更、 一括変更)、メトリクスダッシュボード、調査トリガー、エスカレーションマトリクスの定義を 対象とします。GxPシステムのデータ整合性モニタリングプログラムの確立、データ整合性が 焦点となる査察の準備、データ整合性インシデント後の強化モニタリングの実施、または MHRA、WHO、PIC/Sガイダンスの実装時に使用します。 locale: ja source_locale: en source_commit: 6f65f316 translator: claude-opus-4-6 translation_date: 2026-03-16 license: MIT allowed-tools: Read Write Edit Bash Grep Glob metadata: author: Philipp Thoss version: "1.0" domain: compliance complexity: advanced language: multi tags: gxp, data-integrity, alcoa, monitoring, anomaly-detection, compliance
データ整合性のモニタリング
ALCOA+原則と異常検知を使用して、バリデートされたシステム全体のデータ整合性を継続的にモニタリングするプログラムを設計・運用します。
使用タイミング
- GxPシステムのデータ整合性モニタリングプログラムの確立時
- データ整合性が焦点となる規制査察の準備時
- データ整合性インシデント後の強化モニタリングの実施時
- 既存のデータ整合性管理の定期的なレビュー時
- MHRAデータ整合性ガイダンス、WHO TRS 996、またはPIC/S PI 041の実装時
入力
- 必須: スコープ内のシステムとそのALCOA+リスクプロファイル
- 必須: 適用ガイダンス(MHRA データ整合性、WHO TRS 996、PIC/S PI 041)
- 必須: 各システムの現在の監査証跡機能
- 任意: 以前のデータ整合性所見または規制観察事項
- 任意: 既存のモニタリング手順またはメトリクス
- 任意: ユーザーアクセスマトリクスと役割定義
手順
ステップ1: 現在のALCOA+態勢の評価
すべてのALCOA+原則に対して各システムを評価します:
# Data Integrity Assessment
## Document ID: DIA-[SITE]-[YYYY]-[NNN]
### ALCOA+ Assessment Matrix
| Principle | Definition | Assessment Questions | System 1 | System 2 |
|-----------|-----------|---------------------|----------|----------|
| **Attributable** | Who performed the action and when? | Are all entries linked to unique user IDs? Is the timestamp system-generated? | G/A/R | G/A/R |
| **Legible** | Can data be read and understood? | Are records readable throughout retention period? Are formats controlled? | G/A/R | G/A/R |
| **Contemporaneous** | Was data recorded at the time of the activity? | Are timestamps real-time? Are backdated entries detectable? | G/A/R | G/A/R |
| **Original** | Is this the first-captured data? | Are original records preserved? Is there a clear original vs copy distinction? | G/A/R | G/A/R |
| **Accurate** | Is the data correct and truthful? | Are calculations verified? Are transcription errors detectable? | G/A/R | G/A/R |
| **Complete** | Is all data present? | Are deletions detectable? Are all expected records present? | G/A/R | G/A/R |
| **Consistent** | Are data elements consistent across records? | Do timestamps follow logical sequence? Are versions consistent? | G/A/R | G/A/R |
| **Enduring** | Will data survive for the required retention period? | Is the storage medium reliable? Are backups verified? | G/A/R | G/A/R |
| **Available** | Can data be accessed when needed? | Are retrieval procedures documented? Are access controls appropriate? | G/A/R | G/A/R |
Rating: G = Good (controls adequate), A = Adequate (minor improvements needed), R = Remediation required
期待結果: すべてのシステムに各原則ごとの特定の所見を含む評価済みのALCOA+アセスメントがあること。 失敗時: システムを評価できない場合(例:監査証跡機能なし)は、即時の是正措置が必要な重大なギャップとしてフラグします。
ステップ2: 探知管理の設計
データ整合性違反を検知するモニタリング活動を定義します:
# Detective Controls Design
## Document ID: DCD-[SITE]-[YYYY]-[NNN]
### Audit Trail Review Schedule
| System | Review Type | Frequency | Reviewer | Scope |
|--------|-----------|-----------|----------|-------|
| LIMS | Comprehensive | Monthly | QA | All data modifications, deletions, and access events |
| ERP | Targeted | Weekly | QA | Batch record modifications and approvals |
| R/Shiny | Comprehensive | Per analysis | Statistician | All input/output/parameter changes |
### Review Checklist
For each audit trail review cycle:
- [ ] All data modifications have documented justification
- [ ] No unexplained deletions or void entries
- [ ] Timestamps are sequential and consistent with business operations
- [ ] No off-hours activity without documented justification
- [ ] No shared account usage detected
- [ ] Failed login attempts are within normal thresholds
- [ ] No privilege escalation events outside change control
期待結果: 探知管理がスケジュールされ、割り当てられ、明確なレビュー基準とともに文書化されていること。 失敗時: 監査証跡レビューがスケジュール通りに実行されない場合は、ギャップを文書化し、QA管理にエスカレートします。見逃したレビューはリスクを蓄積します。
ステップ3: 異常検知パターンの定義
調査をトリガーする特定のパターンを作成します:
# Anomaly Detection Patterns
### Pattern 1: Off-Hours Activity
**Trigger:** Data creation, modification, or deletion outside business hours (defined as [06:00-20:00 local time, Monday-Friday])
**Threshold:** Any GxP-critical data modification outside defined hours
**Response:** Verify with user and supervisor within 2 business days
**Exceptions:** Documented shift work, approved overtime, automated processes
### Pattern 2: Sequential Modifications
**Trigger:** Multiple modifications to the same record within a short timeframe
**Threshold:** >3 modifications to the same record within 60 minutes
**Response:** Review modification reasons; verify each change has documented justification
**Exceptions:** Initial data entry corrections within [grace period, e.g., 30 minutes]
### Pattern 3: Bulk Changes
**Trigger:** Unusually high volume of data modifications by a single user
**Threshold:** >50 modifications per user per day (baseline: [calculate from normal usage])
**Response:** Verify business justification for bulk activity
**Exceptions:** Documented batch operations, data migration activities under change control
### Pattern 4: Delete/Void Spikes
**Trigger:** Unusual number of record deletions or voidings
**Threshold:** >5 delete/void events per user per week
**Response:** Immediate QA review of deleted/voided records
**Exceptions:** None — all delete/void events require documented justification
### Pattern 5: Privilege Escalation
**Trigger:** User access changes granting administrative or elevated privileges
**Threshold:** Any privilege change outside the user access management SOP
**Response:** Verify with IT security and system owner within 24 hours
**Exceptions:** Emergency access per documented emergency access procedure
### Pattern 6: Audit Trail Gaps
**Trigger:** Missing or interrupted audit trail entries
**Threshold:** Any gap > 0 entries (audit trail should be continuous)
**Response:** Immediate investigation — potential system malfunction or tampering
**Exceptions:** None — audit trail gaps are always critical
期待結果: パターンが具体的で測定可能で、定義された閾値と対応手順を持ち実行可能であること。 失敗時: 閾値が低すぎる場合(過剰な誤検知)は、ベースラインデータに基づいて調整します。高すぎる場合(本物の問題を見逃す)は、最初のモニタリングサイクル後に厳格化します。
ステップ4: メトリクスダッシュボードの構築
# Data Integrity Metrics Dashboard
## Document ID: DIMD-[SITE]-[YYYY]-[NNN]
### Key Performance Indicators
| KPI | Metric | Target | Yellow Threshold | Red Threshold | Source |
|-----|--------|--------|-----------------|---------------|--------|
| DI-01 | Audit trail review completion rate | 100% | <95% | <90% | Review log |
| DI-02 | Anomalies detected per month | Trending down | >10% increase MoM | >25% increase MoM | Anomaly log |
| DI-03 | Anomaly investigation closure rate | <15 business days | >15 days | >30 days | Investigation log |
| DI-04 | Open data integrity CAPAs | 0 overdue | 1-2 overdue | >2 overdue | CAPA tracker |
| DI-05 | Shared account instances detected | 0 | 1-2 | >2 | Access review |
| DI-06 | Unauthorised access attempts | <5/month | 5-10/month | >10/month | System logs |
| DI-07 | Audit trail gap events | 0 | N/A | >0 (always red) | System monitoring |
### Reporting Cadence
| Report | Frequency | Audience | Owner |
|--------|-----------|----------|-------|
| DI Metrics Summary | Monthly | QA Director, System Owners | QA Analyst |
| DI Trend Report | Quarterly | Quality Council | QA Manager |
| DI Annual Review | Annual | Site Director | QA Director |
期待結果: ダッシュボードが明確なエスカレーショントリガーを持つ一目で把握できるコンプライアンスステータスを提供すること。 失敗時: データソースが自動メトリクスをサポートできない場合は、手動収集を実装し、自動化の計画を文書化します。
ステップ5: 調査トリガーとエスカレーションの確立
# Investigation and Escalation Matrix
### Investigation Triggers
| Trigger | Severity | Response Time | Investigator |
|---------|----------|---------------|-------------|
| Audit trail gap detected | Critical | Immediate (within 4 hours) | IT + QA |
| Confirmed data falsification | Critical | Immediate (within 4 hours) | QA Director |
| Anomaly pattern confirmed after review | Major | Within 5 business days | QA Analyst |
| Repeated anomalies from same user | Major | Within 5 business days | QA + HR |
| Overdue audit trail review | Minor | Within 10 business days | QA Manager |
### Escalation Path
| Level | Escalated To | When |
|-------|-------------|------|
| 1 | System Owner | Any confirmed anomaly |
| 2 | QA Director | Major or critical finding |
| 3 | Site Director | Critical finding or potential regulatory impact |
| 4 | Regulatory Affairs | Confirmed data integrity failure requiring regulatory notification |
期待結果: すべての調査に定義された重大度、タイムライン、エスカレーションパスがあること。 失敗時: 調査が定義されたタイムライン内に完了しない場合は、次のレベルにエスカレートします。
ステップ6: モニタリング計画の作成
すべてのコンポーネントをマスターデータ整合性モニタリング計画にまとめます:
# Data Integrity Monitoring Plan
## Document ID: DI-MONITORING-PLAN-[SITE]-[YYYY]-[NNN]
### 1. Purpose and Scope
[From assessment scope]
### 2. ALCOA+ Assessment Summary
[From Step 1]
### 3. Detective Controls
[From Step 2]
### 4. Anomaly Detection Rules
[From Step 3]
### 5. Metrics and Reporting
[From Step 4]
### 6. Investigation and Escalation
[From Step 5]
### 7. Periodic Review
- Monitoring plan review: Annual
- Anomaly thresholds: Adjust after each quarterly review
- ALCOA+ re-assessment: When systems change or new systems are added
### 8. Approval
| Role | Name | Signature | Date |
|------|------|-----------|------|
| QA Director | | | |
| IT Director | | | |
| Site Director | | | |
期待結果: 完全なデータ整合性モニタリングプログラムを定義する単一の承認された文書。 失敗時: 計画が1つの文書には大きすぎる場合は、システム固有のモニタリング手順への参照を含むマスタープランを作成します。
バリデーション
- スコープ内のすべてのシステムでALCOA+アセスメントが完了している
- 監査証跡レビュースケジュールが頻度、スコープ、担当レビュアーとともに定義されている
- 少なくとも5つの異常検知パターンが特定の閾値とともに定義されている
- メトリクスダッシュボードに緑/黄/赤の閾値を持つKPIがある
- 調査トリガーが重大度と対応タイムラインとともに定義されている
- エスカレーションマトリクスが重大な所見について規制部門まで到達する
- モニタリング計画がQAとITリーダーシップに承認されている
- 定期レビュースケジュールが確立されている
よくある落とし穴
- アクションなしのモニタリング: メトリクスを収集しながら異常を調査しないことは偽りの安心感を提供し、モニタリングなしよりも悪い(無視された所見の証拠を生成する)
- 静的な閾値: 推測に基づいた閾値はベースラインデータに基づいたものではなく過剰な誤検知を生成し、アラート疲れにつながる
- チェックボックスとしての監査証跡レビュー: 何を探すかを理解せずに監査証跡をレビューすることは非効果的。異常検知パターンについてレビュアーをトレーニングすること
- システムの制限を無視する: 一部のシステムは監査証跡機能が貧弱。制限が存在しないふりをするのではなく、制限を文書化して補完管理を実施すること
- トレンド分析なし: 個々の異常は軽微に見えるかもしれないが、時間またはユーザーをまたいだパターンが系統的な問題を明らかにする。データ整合性メトリクスを常にトレンド分析すること
関連スキル
design-compliance-architecture— データ整合性モニタリングが必要なシステムを特定するimplement-audit-trail— モニタリングが依拠する技術的基盤investigate-capa-root-cause— モニタリングが正式な調査を必要とする問題を検出した場合conduct-gxp-audit— 監査でモニタリングプログラムの有効性を評価するprepare-inspection-readiness— データ整合性は主要な規制査察の焦点エリア
GitHub 저장소
연관 스킬
llamaguard
기타LlamaGuard는 폭력 및 혐오 발언 등 6가지 안전 범주에서 LLM 입력과 출력을 조정하기 위한 Meta의 70-80억 파라미터 모델입니다. 94-95% 정확도를 제공하며 vLLM, Hugging Face 또는 Amazon SageMaker를 사용해 배포할 수 있습니다. 이 기술을 사용하여 AI 애플리케이션에 콘텐츠 필터링 및 안전 가드레일을 손쉽게 통합하세요.
cost-optimization
기타이 Claude Skill은 리소스 적정화, 태깅 전략, 지출 분석을 통해 개발자들이 클라우드 비용을 최적화할 수 있도록 지원합니다. AWS, Azure, GCP에서 클라우드 비용을 절감하고 비용 거버넌스를 구현하기 위한 프레임워크를 제공합니다. 인프라 비용을 분석하거나, 리소스를 적정화하거나, 예산 제약을 충족해야 할 때 사용하세요.
quantizing-models-bitsandbytes
기타이 스킬은 bitsandbytes를 사용하여 LLM을 8비트 또는 4비트 정밀도로 양자화하며, 최소한의 정확도 손실로 50-75%의 메모리 감소를 달성합니다. 제한된 GPU 메모리에서 더 큰 모델을 실행하거나 추론을 가속화하는 데 이상적이며, INT8, NF4, FP4와 같은 형식을 지원합니다. 이 스킬은 HuggingFace Transformers와 통합되어 QLoRA 학습 및 8비트 옵티마이저를 가능하게 합니다.
dispatching-parallel-agents
기타이 Claude Skill은 3개 이상의 독립적인 문제를 동시에 조사하고 해결하기 위해 다중 에이전트를 배치합니다. 공유 상태나 의존성 없이 해결 가능한 무관련 장애 시나리오에 맞게 설계되었습니다. 핵심 기능은 병렬 문제 해결로, 각 독립 문제 영역마다 하나의 에이전트를 할당하여 효율성을 극대화합니다.
