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.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.