Install
$ agentstack add skill-zio-zio-skills-docs-how-to-guide ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
How-To Guide: Conceptual Overview
A how-to guide is goal-oriented — it helps practitioners accomplish a specific task. It is not a tutorial (building a mental model for newcomers) or a reference page (exhaustive API docs). The reader already knows the library basics and wants to get something done.
Core Properties
- Goal-focused: reader wants to accomplish a concrete task, not learn concepts
- Assumes familiarity: skip conceptual preambles; introduce types and APIs only as needed
- Direct and imperative: "Define a Schema", "Create a codec", "Run the effect" — not "Let's explore"
- Realistic examples: close to production use, not toy snippets
- Shows intermediate results: printed output or types after major steps so reader can verify progress
- No branching: pick the canonical path; don't offer alternatives inline
8-Section Structure
- Introduction — 1 paragraph: what the reader will accomplish, why useful, approach in one sentence
- The Problem — concrete problem statement + why it matters + "before" code showing the pain point
- Prerequisites — sbt dependency, base imports in
mdoc:silent, assumed knowledge - The Core Model — domain types in
mdoc:silent, brief explanation of design choices - Step-by-step sections (3–6) — one new concept each: 1–3 sentence intro → code → result. When companion examples are requested, each section's code block stays an inline
mdocblock (auto-rendered output is required here —mdoc:embedcannot show it), but the corresponding companion.scalafile must copy that code verbatim, not re-derive it from the prose. - Putting It Together — complete copy-paste runnable example combining all steps. When companion examples are requested, do not paste this code inline — write it directly to
CompleteExample.scalaand embed it withmdoc:embed(output rendering isn't needed here, so embedding the file directly eliminates the duplication entirely). - Running the Examples — git clone + sbt runMain per example.
CompleteExample.scalais already embedded in "Putting It Together" — do not embed its source a second time here; give it narrative + observe note + run command only. - Going Further (optional) — links to reference pages, related guides, variations
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: zio
- Source: zio/zio-skills
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.