옵션
집집 Skill 데이터베이스 관리 dicom-series-preflight

dicom-series-preflight

NVIDIA/skills NVIDIA/skills

DICOM 시리즈 폴더를 스캔하여 헤더 메타데이터를 추출하고, 픽셀 데이터를 디코딩하지 않은 상태에서 사전 검사 결과를 산출합니다.

...모든 것을 확장하십시오
11
업데이트 된 시간 2026년 9월 25일

DICOM 시리즈 프리플라이트

목적

  • 변환 또는 추론 전에 하나의 DICOM 시리즈 폴더에 대한 헤더 전용 사전 검사에 사용됩니다. 비식별화 또는 임상 승인 용도로는 사용되지 않습니다.
  • 문서에 명시된 대로 래퍼를 정확히 사용하십시오. 상위 엔트리포인트를 직접 작성한 구현으로 대체하지 마십시오.
  • 매니페스트 I/O: 입력은 dicom_dir이며, 출력은 preflight_json입니다.

사용 방법

  • 인수, 부수 효과 또는 유효성 검사 조건을 변경하기 전에 skill_manifest.yaml을 읽어보십시오.
  • 아래에 문서화된 명령을 통해 scripts/preflight_series.py를 실행하십시오. 출력은 호출자가 지정한 실행 디렉터리 아래에 보관하십시오.
  • 호스트 에이전트가 run_script를 노출하는 경우, run_script("scripts/preflight_series.py", args=[...])를 사용하십시오. 그렇지 않은 경우 아래에 표시된 Bash/Python 명령을 실행하십시오.
  • 실행을 증거로 취급하기 전에 출력된 JSON과 해당 검증기 지침을 확인하십시오.

사용 가능한 스크립트

스크립트 목적 인수
scripts/preflight_series.py skill_manifest.yaml에 선언된 기본 진입점입니다. PATH_TO_DICOM_DIR

필수 조건

  • 실행 시간 요구 사항: runtime.side_effects.pip_packages에 나열된 Python 패키지.
  • 아래의 기존 섹션에 달리 명시되지 않는 한, 저장소 루트에서 명령을 실행합니다.

제한 사항

  • 헤더 전용이며, 픽셀 데이터를 디코딩하거나 번인된 PHI를 감지하지 않습니다.
  • 표준 방향 게이트는 LPS에서 파생된 CT 축 코드 L, P, S를 가정합니다.
  • 압축된 전송 구문 및 다중 프레임 인스턴스는 디코딩되지 않고 경고로 표시됩니다.
  • 단일 디렉터리 스캔이며, 하나의 트리에서 여러 연구를 조정하지 않습니다.
  • 검증된 변환기 없이는 임상 배포, 규제상 비식별화, 자율 진단, 생산 환경 인제스트에 사용할 수 없습니다.

문제 해결

오류 원인 해결 방법
의존성 누락 또는 임포트 오류 skill_manifest.yaml과 런타임 패키지 간 불일치. 매니페스트에 선언된 패키지를 설치하거나 문서화된 설정 명령어를 사용하십시오.
출력이 비어 있거나 스키마가 유효하지 않음 잘못된 입력 경로, 지원되지 않는 모달리티 또는 업스트림 오류입니다. 확인된 피처로 다시 실행하고 래퍼 JSON 및 stderr을 확인하십시오.
검증 게이트 실패 출력이 선언된 엔지니어링 불변 조건을 위반했습니다. 실패한 증거 팩을 보관하고 게이트 메시지를 활용하여 입력 또는 래퍼 코드를 수정하십시오.

픽셀을 디코딩하지 않고 DICOM 디렉터리를 스캔합니다(폴더당 하나의 시리즈). 인벤토리, 방향 axcode, PHI 플래그, 소견 및 'pass', 'warn' 또는 'fail'로 표시된preflight.verdict가 포함된 JSON을 출력합니다.

python scripts/preflight_series.py PATH_TO_DICOM_DIR

신뢰할 수 있는 프리플라이트 팩을 얻으려면 verifiers/dicom_preflight_quality_v1 과 함께 사용하십시오:

make run-trusted SKILL=dicom_series_preflight \
  FIXTURE=skills/dicom-series-preflight/fixtures/clean_no_phi \
  OUT=runs/dicom_preflight_demo

주요 워크플로:

make run-workflow \
  WORKFLOW=examples/workflows/dicom_preflight_gate.yaml \
  WORKFLOW_INPUT=skills/dicom-series-preflight/fixtures/clean_no_phi \
  WORKFLOW_OUT=runs/dicom_preflight_gate

비식별화, 비공개 태그 검토 또는 임상 승인 용도로는 사용할 수 없습니다.

GitHub에서 보기
---
name: dicom-series-preflight
description: Scans a DICOM series folder to extract header metadata and produce a preflight verdict without decoding pixel data.
license: Apache-2.0
---

# DICOM Series Preflight

## Purpose
- Used for header-only preflight of one DICOM series folder before conversion or inference. Not for de-identification or clinical clearance.
- Use the wrapper exactly as documented; do not replace the upstream entrypoint with a handwritten implementation.
- Manifest I/O: inputs are `dicom_dir`; outputs are `preflight_json`.

## Instructions
- Read `skill_manifest.yaml` before changing arguments, side effects, or validation gates.
- Run `scripts/preflight_series.py` through the documented command below; keep outputs under a caller-provided run directory.
- If a host agent exposes `run_script`, use `run_script("scripts/preflight_series.py", args=[...])`; otherwise run the Bash/Python command shown below.
- Check the emitted JSON and paired verifier guidance before treating the run as evidence.

## Available Scripts
| Script | Purpose | Arguments |
|---|---|---|
| `scripts/preflight_series.py` | Primary entrypoint declared by skill_manifest.yaml. | `PATH_TO_DICOM_DIR` |

## Prerequisites
- Runtime requirements: Python packages listed in `runtime.side_effects.pip_packages`.
- Run commands from the repository root unless an existing section below says otherwise.

## Limitations
- Header-only; does not decode pixel data or detect burnt-in PHI.
- Canonical orientation gate assumes LPS-derived CT axcodes L,P,S.
- Compressed transfer syntax and multi-frame instances are warned, not decoded.
- Single-directory scan; does not reconcile multiple studies in one tree.
- Not for clinical deployment, regulatory de-identification, autonomous diagnosis, production ingestion without a vetted converter.

## Troubleshooting
| Error | Cause | Fix |
|---|---|---|
| Missing dependency or import error | Runtime package drift from `skill_manifest.yaml`. | Install the packages declared in the manifest or use the documented setup command. |
| Empty or schema-invalid output | Wrong input path, unsupported modality, or upstream failure. | Re-run with a known fixture and inspect the wrapper JSON plus stderr. |
| Validation gate failure | Output violated a declared engineering invariant. | Keep the failed evidence pack and use the gate message to repair inputs or wrapper code. |

Scans a DICOM **directory** (one series per folder) without decoding pixels.
Emits JSON with inventory, orientation axcodes, PHI flags, findings, and a
`preflight.verdict` of `pass`, `warn`, or `fail`.

```bash
python scripts/preflight_series.py PATH_TO_DICOM_DIR
```

Pair with `verifiers/dicom_preflight_quality_v1` for a trusted preflight pack:

```bash
make run-trusted SKILL=dicom_series_preflight \
  FIXTURE=skills/dicom-series-preflight/fixtures/clean_no_phi \
  OUT=runs/dicom_preflight_demo
```

Flagship workflow:

```bash
make run-workflow \
  WORKFLOW=examples/workflows/dicom_preflight_gate.yaml \
  WORKFLOW_INPUT=skills/dicom-series-preflight/fixtures/clean_no_phi \
  WORKFLOW_OUT=runs/dicom_preflight_gate
```

Not for de-identification, private-tag review, or clinical clearance.

dicom-series-preflight 설치

스킬 파일을 다운로드하여 .claude/skills/ 디렉터리에 압축을 풀어주세요.

ZIP 다운로드

저장소를 클론하고 스킬 파일을 프로젝트에 복사하세요.

git clone https://github.com/NVIDIA/skills/tree/main/skills/dicom-series-preflight # Copy SKILL.md to your .claude/skills/ directory

복사 복사
빠른 설정: 스킬 폴더를 .claude/skills/로 복사하세요. Claude가 스킬을 자동으로 감지하여 사용합니다.
저장소 NVIDIA/skills

관련 스킬

microservices-patterns
업데이트 된 시간 2026년 6월 29일
jpa-patterns
업데이트 된 시간 2026년 6월 30일
fabric-lakehouse
업데이트 된 시간 2026년 6월 30일
prisma-expert
업데이트 된 시간 2026년 6월 29일
OR