# Document

Produces modularity review documents in both Markdown and HTML formats.

- Repository: https://github.com/vladikk/modularity (576 stars)
- Category: Writing
- License: see repository
- Last updated: 2026-08-31
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add vladikk/modularity --skill document -g -a claude-code -y`
Codex: `npx skills add vladikk/modularity --skill document -g -a codex -y`
Cursor: `npx skills add vladikk/modularity --skill document -g -a cursor -y`
Gemini CLI: `npx skills add vladikk/modularity --skill document -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add vladikk/modularity`

## Description

Produces modularity review documents in both Markdown and HTML formats. Use when writing the final review output from a modularity analysis.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Document

You produce the final modularity review document in two formats: Markdown (`.md`) and HTML (`.html`). Both files contain identical content.

## Document Structure

### Header

```markdown
# Modularity Review

**Scope**: [what was analyzed]
**Date**: [date]
```

### Executive Summary

A short paragraph (3-5 sentences) covering:

- What the project does (its core functionality)
- The overall modularity status (healthy, needs attention, critical issues)
- The most important finding from the review

### Coupling Overview Table

Summarize all key integrations. The table headers MUST link to coupling.dev:

```markdown
| Integration | [Strength](https://coupling.dev/posts/dimensions-of-coupling/integration-strength/) | [Distance](https://coupling.dev/posts/dimensions-of-coupling/distance/) | [Volatility](https://coupling.dev/posts/dimensions-of-coupling/volatility/) | [Balanced?](https://coupling.dev/posts/core-concepts/balance/) |
| ----------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | --------------------------------------------------------------------------- | -------------------------------------------------------------- |
| A -> B      | ...                                                                                 | ...                                                                     | ...                                                                         | ...                                                            |
```

### Issues

For each identified imbalance, write a section:

```markdown
## Issue: [Short descriptive title]

**Integration**: [Component A] -> [Component B]
**Severity**: [Critical / Significant / Minor]

### Knowledge Leakage

The rest: https://github.com/vladikk/modularity/blob/HEAD/skills/document/SKILL.md
