document

Generates structured Markdown documentation for Effect-TS code files and services.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/twlines/maslow --skill document-twlines
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: document
Source: https://github.com/twlines/maslow/tree/main/.claude/skills/document
Command: npx skills add https://github.com/twlines/maslow --skill document-twlines

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the generation of comprehensive documentation for code modules, files, or services, ensuring accuracy by reading source code directly.

Core Features & Use Cases

  • Code Analysis: Reads source files and their dependencies to understand structure and behavior.
  • Structured Output: Generates documentation in a consistent Markdown format including API Surface, Data Flow, Dependencies, and Error Handling.
  • Use Case: When you need to understand a complex service like Kanban, you can invoke this skill to get a clear, documented overview of its public interface, how data flows through it, and its external dependencies.

Quick Start

Use the document skill to generate documentation for the file src/services/Kanban.ts.

Frequently Asked Questions about document

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate structured code documentation for an Effect-TS module?

To generate structured code documentation for an Effect-TS module, you can analyze source files directly to extract the API surface, data flow, dependencies, and error handling patterns. This process outputs comprehensive Markdown documentation for specific files, services, or directories.

What is the best way to document API surfaces and data flow in TypeScript?

The best way to document API surfaces and data flow is by reading source code directly to ensure accuracy. This approach extracts the public interface and external dependencies automatically, providing a structured overview of how data moves through the module.

Can I analyze a single TypeScript file to extract its error handling patterns?

Yes, you can analyze a single TypeScript file to extract its error handling patterns. The analysis reads the source file and its dependencies to understand its behavior, generating documentation that includes error handling and external dependencies.

Does code documentation generation work for an entire codebase or just single services?

Code documentation generation works for both an entire codebase and single services. You can target single files, specific service names, directories, or the full codebase to extract API surfaces and data flow into structured Markdown.

Why does manually documenting complex services become difficult to maintain?

Manually documenting complex services becomes difficult because tracking data flow, dependencies, and error handling across modules requires continuous effort. Automating documentation by reading source code directly ensures accuracy and maintains a consistent Markdown structure.