Skip to content
Back to skills

Collection

ASecurity

Zodライブラリによるランタイムバリデーションと型推論を専門とするスキル。 📖 参照書籍: - 『Effective TypeScript』(Dan Vanderkam): 型設計 📚 リソース参照: - `resources/Level1_basics.md`: レベル1の基礎ガイド - `resources/Level2_intermediate.md`: レベル2の実務ガイド - `resources/Level3_advanced.md`: レベル3の応用ガイド - `resources/Level4_expert.md`: レベル4の専門ガイド - `resources/custom-validation-techniques.md`: Custom Validation Techniquesリソース - `resources/legacy-skill.md`: 旧SKILL.mdの全文 - `resources/performance-optimization.md`: Performance Optimizationリソース - `resources/sch...

  • 24 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
documentationtypescriptbashnodeapiperformance

Works with

  • api

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add mattnigh/skills_collection --skill collection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Collection?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Collection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mattnigh-collection-8d5c1056/badge)](https://www.skillsdirectory.com/skills/mattnigh-collection-8d5c1056)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: .claude/skills/zod-validation/SKILL.md
description: |
  Zodライブラリによるランタイムバリデーションと型推論を専門とするスキル。
  
  📖 参照書籍:
  - 『Effective TypeScript』(Dan Vanderkam): 型設計
  
  📚 リソース参照:
  - `resources/Level1_basics.md`: レベル1の基礎ガイド
  - `resources/Level2_intermediate.md`: レベル2の実務ガイド
  - `resources/Level3_advanced.md`: レベル3の応用ガイド
  - `resources/Level4_expert.md`: レベル4の専門ガイド
  - `resources/custom-validation-techniques.md`: Custom Validation Techniquesリソース
  - `resources/legacy-skill.md`: 旧SKILL.mdの全文
  - `resources/performance-optimization.md`: Performance Optimizationリソース
  - `resources/schema-definition-patterns.md`: Schema Definition Patternsリソース
  - `resources/type-inference-guide.md`: Type Inference Guideリソース
  - `scripts/log_usage.mjs`: 使用記録・自動評価スクリプト
  - `scripts/validate-schema.mjs`: Validate Schemaスクリプト
  - `scripts/validate-skill.mjs`: スキル構造検証スクリプト
  - `templates/api-schema-template.ts`: Api Schemaテンプレート
  - `templates/schema-template.ts`: Schemaテンプレート
  
  Use proactively when handling zod validation tasks.
version: 1.0.0
level: 1
last_updated: 2025-12-24
references:
  - book: "Effective TypeScript"
    author: "Dan Vanderkam"
    concepts:
      - "型設計"
      - "安全性"
---

# Zod Validation

## 概要

Zodライブラリによるランタイムバリデーションと型推論を専門とするスキル。

詳細な手順や背景は `resources/Level1_basics.md` と `resources/Level2_intermediate.md` を参照してください。


## ワークフロー

### Phase 1: 目的と前提の整理

**目的**: タスクの目的と前提条件を明確にする

**アクション**:

1. `resources/Level1_basics.md` と `resources/Level2_intermediate.md` を確認
2. 必要な resources/scripts/templates を特定

### Phase 2: スキル適用

**目的**: スキルの指針に従って具体的な作業を進める

**アクション**:

1. 関連リソースやテンプレートを参照しながら作業を実施
2. 重要な判断点をメモとして残す

### Phase 3: 検証と記録

**目的**: 成果物の検証と実行記録の保存

**アクション**:

1. `scripts/validate-skill.mjs` でスキル構造を確認
2. 成果物が目的に合致するか確認
3. `scripts/log_usage.mjs` を実行して記録を残す


## ベストプラクティス

### すべきこと
- resources/Level1_basics.md を参照し、適用範囲を明確にする
- resources/Level2_intermediate.md を参照し、実務手順を整理する

### 避けるべきこと
- アンチパターンや注意点を確認せずに進めることを避ける

## コマンドリファレンス

### リソース読み取り
```bash
cat .claude/skills/zod-validation/resources/Level1_basics.md
cat .claude/skills/zod-validation/resources/Level2_intermediate.md
cat .claude/skills/zod-validation/resources/Level3_advanced.md
cat .claude/skills/zod-validation/resources/Level4_expert.md
cat .claude/skills/zod-validation/resources/custom-validation-techniques.md
cat .claude/skills/zod-validation/resources/legacy-skill.md
cat .claude/skills/zod-validation/resources/performance-optimization.md
cat .claude/skills/zod-validation/resources/schema-definition-patterns.md
cat .claude/skills/zod-validation/resources/type-inference-guide.md
```

### スクリプト実行
```bash
node .claude/skills/zod-validation/scripts/log_usage.mjs --help
node .claude/skills/zod-validation/scripts/validate-schema.mjs --help
node .claude/skills/zod-validation/scripts/validate-skill.mjs --help
```

### テンプレート参照
```bash
cat .claude/skills/zod-validation/templates/api-schema-template.ts
cat .claude/skills/zod-validation/templates/schema-template.ts
```

## 変更履歴

| Version | Date | Changes |
| --- | --- | --- |
| 1.0.0 | 2025-12-24 | Spec alignment and required artifacts added |

Files in this skill

  • 0Chan-smc__claude-code-workflow-lab__claude__skills__frontend-dev-guidelines__SKILL.md15.1 KB
  • 17hz__nextjs-template__claude__skills__example-skill__SKILL.md316 B
  • 1ambda__dataops-platform__claude__skills__context-synthesis__SKILL.md3.5 KB
  • 1natsu172__dotfiles__claude__skills__git-analysis__SKILL.md5.4 KB
  • 1natsu172__dotfiles__claude__skills__github-pr-best-practices__SKILL.md7.7 KB
  • 23Maestro__prospect-pipeline__claude__skills__npid-fastapi-skill.md26.1 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-code-javascript__SKILL.md15.7 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-code-python__SKILL.md17.5 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-expression-syntax__SKILL.md9.4 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-mcp-tools-expert__SKILL.md12.5 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-node-configuration__SKILL.md16.6 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-workflow-patterns__SKILL.md11.2 KB
  • 3x-Projetos__claude-memory-framework__claude__skills__scientist__SKILL.md14.8 KB
  • 5MinFutures__futures-arena__claude__skills__migration-tracker__SKILL.md16.2 KB
  • 5MinFutures__futures-arena__claude__skills__planning-guidelines__SKILL.md11.8 KB
  • 92Bilal26__TaskPilotAI__claude__skills__assessment-builder__SKILL.md17.5 KB
  • 92Bilal26__TaskPilotAI__claude__skills__book-scaffolding__SKILL.md19.1 KB
  • 92Bilal26__TaskPilotAI__claude__skills__code-validation-sandbox__SKILL.md6.2 KB
  • 92Bilal26__TaskPilotAI__claude__skills__exercise-designer__SKILL.md18.1 KB
  • 92Bilal26__TaskPilotAI__claude__skills__learning-objectives__SKILL.md24.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in documentation →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.