28sungmin/m4-add-skills/date-validity
Claude Code and agent skill by 28sungmin/m4-add-skills
- community
Checking that the SKILL.md file is still in the repository.
Validate date values in a QUIQ-format table. Checks Event_date column and Mapping_info_1='date' rows using standard format parsing, Korean date formats, and optional LLM fallback. Use for data quality assessment of temporal data.
Install
npx vskill@latest install 28sungmin/m4-add-skills/date-validitySKILL.md
Date Validity
Validates date values in a QUIQ-format table. For each date-related value, determines whether it represents a valid date using standard format parsing, Korean date format regex, and (optionally) an LLM fallback for ambiguous strings.
When to Use This Skill
- After QUIQ conversion, to assess quality of temporal data
- To identify records with invalid or malformed date strings
- As part of LYDUS quality management assessment
Data Sources in QUIQ
두 종류의 날짜 데이터를 대상으로 함:
| 소스 | 조건 | Variable_name | |
|---|---|---|---|
Event_date 컬럼 | non-null | Event_date | |
Value 컬럼 | Mapping_info_1 contains date | 원본 Variable_name |
Validation Pipeline
각 날짜 문자열에 대해 순서대로 검증:
SQL 버전 (duckdb.sql) 은 1번(TRY_STRPTIME 7종) + 2번(regex) 만 지원. LLM fallback 없음.
Output
| File | Description | |
|---|---|---|
date_validity_total.txt | Overall Date Validity (%), Total/Invalid dates | |
date_validity_summary.csv | Per-variable: Total_date, Invalid_date, Date_Validity_(%) | |
date_validity_detail.csv | Per-row: Date_value, Is_valid (Python 버전만) |
How to Run
SQL 버전 (빠름, LLM 없음)
Python 버전 (LLM fallback 포함)
As a script with config
Critical Notes
- SQL vs Python 선택 — MIMIC-IV 처럼 ISO 형식 날짜만 있으면 SQL 버전으로 충분. 희귀 형식이나 자연어 날짜가 섞인 데이터는 Python + LLM fallback 권장.
- 원본 코드 버그 수정 —
_gpt_chat반환값이list인데if "no" in result로 list 전체를 검색했음 →result[0]로 수정.
- LLM 호출 방식 — LLM fallback은 표준 파싱 실패 시에만 Claude CLI(
claude -p)를 통해 호출됨. MIMIC-IV에서는 거의 호출되지 않음.
- use_llm=False — Python 버전에서
use_llm=False로 설정하면 LLM fallback 없이 규칙 기반으로만 실행 가능.
References
- LYDUS 품질관리 프로그램 활용 가이드라인 (비공개 내부 문서)
- Original Python implementation: LYDUS_Date_Validity.py (이성민 작성)
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/m4/skills/lydus/date-validity/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/28sungmin/m4-add-skills/date-validity)