Run Prettier for the is-kit repository. Use when asked to format or check formatting in this project. Always consult AGENTS.md in the repo root before executing commands.
日本語の概要は準備中です。原文の説明を表示しています。
Extract reusable patterns from non-trivial work in the is-kit repository and store them as project knowledge. Use after meaningful API design, type-system work, debugging, or compatibility discoveries.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Analyze the current session and capture reusable knowledge for this TypeScript type-guard library.
Consider auto-activating this skill when:
Do not activate for:
.codex/skills/learn/learned/Run /learn after finishing a meaningful implementation, refactor, or debugging session in is-kit.
Project-relevant examples:
undefined.Project-relevant examples:
struct schemas with required vs. optional keys.tsd.Project-relevant examples:
struct.Project-relevant examples:
tsd coverage for public API changes.pnpm build, pnpm lint, pnpm test, and pnpm test:types.Create one file per pattern at:
.codex/skills/learn/learned/[pattern-name].md
Template:
# [Descriptive Pattern Name]
**Captured:** YYYY-MM-DD
**Context:** [When this pattern applies]
**Tags:** typescript, type-guards, combinators, struct, tsd, api-design, runtime-validation, etc.
## Problem
[Specific recurring problem this pattern solves]
## Solution
[Reusable approach, key decisions, constraints, and tradeoffs]
## Example
```ts
// Minimal real example from this codebase
```
## When To Use
[Trigger conditions for applying this pattern]
## Related Files
- `src/core/combinators/struct.ts`
- `src/types/schema.ts`
- `tests/core/combinators/struct.test.ts`
- `tests-d/core/combinators/struct.test-d.ts`
.codex/skills/learn/learned/..codex/skills/learn/LEARNED_INDEX.md with a one-line entry.Index format:
- **[pattern-name](learned/pattern-name.md)** - One-line summary.
struct schema semantics and exact-mode behaviortsd-driven regression preventionまだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Run Prettier for the is-kit repository. Use when asked to format or check formatting in this project. Always consult AGENTS.md in the repo root before executing commands.
日本語の概要は準備中です。原文の説明を表示しています。
Create, compose, migrate, and review TypeScript runtime type guards with is-kit. Use when adding reusable guards; replacing typeof, null checks, or handwritten type predicates; narrowing unknown values; validating JSON or API responses; building collection or object schemas with struct or typedStruct; or reviewing existing is-kit usage. Do not use for one-off environment checks or validation that requires data transformation or rich error reporting.
日本語の概要は準備中です。原文の説明を表示しています。