# Docs Data Type Ref

> Write reference documentation for a specific ZIO data type. Research the type, write comprehensive documentation with examples, verify mdoc compilation, and integrate into docs.

- **Type:** Skill
- **Install:** `agentstack add skill-zio-zio-skills-docs-data-type-ref`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [zio](https://agentstack.voostack.com/s/zio)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [zio](https://github.com/zio)
- **Source:** https://github.com/zio/zio-skills/tree/main/writer-assistant/skills/docs-data-type-ref

## Install

```sh
agentstack add skill-zio-zio-skills-docs-data-type-ref
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Data Type Reference: Conceptual Overview

A data type reference page is **task-independent, comprehensive API documentation** for a single ZIO type. It is not a tutorial (teaching concepts) or how-to guide (achieving a goal) — it documents everything about one type for practitioners who need authoritative API details.

## Core Properties

- **Documents every public method** on the type and its companion object
- **All code examples compile** with zero mdoc errors
- **Precise section order** — readers navigate by scanning headings, so sequence matters
- **No duplication** — each method appears exactly once

## Section Structure

1. **Opening Definition** — NO heading, immediately after frontmatter; type signature + key properties + plain `scala` structural shape
2. **Motivation / Use Case** (if applicable) — problem + why this type solves it
3. **Quick Showcase** — 1–3 examples in a single `mdoc:reset` block showing core capabilities
4. **Installation** (if applicable) — `libraryDependencies` for top-level module types
5. **Construction / Creating Instances** — all factory methods, smart constructors, conversions
6. **Predefined Instances** (if applicable) — variants, constants in a table or block
7. **Core Operations** — grouped methods: Element Access, Transformations, Combining, Querying, Conversion
8. **Subtypes / Variants** (if applicable) — when to use each, how to create, differing operations
9. **Comparison** (if applicable) — contrast with Java/Scala stdlib equivalents
10. **Advanced Usage** (if applicable) — composition with other types
11. **Integration** (high-confidence only) — only when non-trivial cross-module wiring with a runnable example
12. **Running the Examples** (when standalone examples exist)

## mdoc Conventions

- Method signatures: plain `scala` block (no mdoc)
- Usage examples: `mdoc:reset` block
- Setup + output in a single block — never split
- No blank lines between consecutive code blocks

## Quality Gate

Every method documented, zero mdoc compilation errors, frontmatter `id` matches filename.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [zio](https://github.com/zio)
- **Source:** [zio/zio-skills](https://github.com/zio/zio-skills)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-zio-zio-skills-docs-data-type-ref
- Seller: https://agentstack.voostack.com/s/zio
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
