docs-data-type-list-members
/docs-data-type-list-members
Use when extracting and categorizing public members from a Scala data type for documentation completeness checks.
- Author
- zio ↗
- Repository
- zio-skills ↗
- Licence
- Apache-2.0
- Last repository change
- 27.10.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
Use when extracting and categorizing public members from a Scala data type for documentation completeness checks.
Original author description
Use when extracting and categorizing public members from a Scala data type for documentation completeness checks.
How it works
- JSON Output
SKILL.md preview
---
name: docs-data-type-list-members
description: Use when extracting and categorizing public members from a Scala data type for documentation completeness checks.
---
# List Data Type Members
Parses a Scala source file and prints public members of the named type, grouped into sections for easy auditing.
```bash
scala-cli ${CLAUDE_PLUGIN_ROOT}/skills/docs-data-type-list-members/extract-members.scala \
-- <source-file> [<type-name>]
```
Run with `--help` for the full usage.
**Default text output sections** (each preceded by a header line ending in `===`):
- **Companion Object Members** — factory methods, utilities, and static operations
- **Public API** — instance methods on the type itself
- **Inherited Methods** — methods from parent classes/traits (when cross-file analysis is available)
Excludes private/protected members and internal helpers.
## JSON Output
For machine-readable output (e.g., when piping into other scripts or filtering with `jq`), pass `--json`:
```bash
scala-cli ${CLAUDE_PLUGIN_ROOT}/skills/docs-data-type-list-members/extract-members.scala \
-- --json <source-file> [<type-name>] | jq '.publicApi'
```
The JSON schema is:
```json
{
"sourceFile": "<path>",
"typeName": "<name> or null",
"companion": ["..."],
"publicApi": ["..."],
"inherited": []
}
```
**Exit codes:**
| Code | Meaning |
|------|------------------------------------------------------------------|
| `0` | Success — at least one public member was extracted. |
| `1` | No public members found in the file or named type. |
| `2` | Invocation error (missing arguments, file not found). |
Pipe the output into `/docs-report-method-coverage` to check whether all members appear in a reference doc.
Files in this package (2)
- SKILL.md 2 KB
- extract-members.scala 13 KB
Versions
The database has no other skills named docs-data-type-list-members.
Database snapshot: 13.11.2026 · package version 780ff686a3e9 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 95docs-report-method-coverage
Use when checking if documentation covers all public members of a Scala data type. - 85Scala Type System
Use when scala's advanced type system including generics, variance, type bounds, implicit conversions, type classes, higher-kinded types, path-dependent types, and abstract type members for building type-safe, flexible APIs. - 91fix-members-short-description
Use when asked to fix short descriptions of Python type members. - 90neo-csharp-interface-generator
Use this skill when the user asks to generate, update, or place a C# interface from an existing class. Trigger for extracting public members, filtering virtual or non-public members, enforcing getter-only properties, and safely creating, appending, or replacing interface blocks. - 100cellar
Look up the public API of any JVM dependency (Scala 3, Scala 2, Java) from the terminal — type signatures, members, docs, and source as Markdown, no JAR unpacking needed. Use this skill whenever you need to call an unfamiliar library method, explore a package's types, or check a… - 100audit
Audit packages for documentation completeness, detect drift between code and docs, and maintain documentation quality across the monorepo. Use when checking package docs, running audits, or reviewing documentation health.