compositional-writing

Creates bite-sized, indexable text units for reusable technical documentation and communication.

Updated Aug 21, 2025
One-click install
npx skills add https://github.com/tarrragon/blog --skill compositional-writing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compositional-writing
Source: https://github.com/tarrragon/blog/tree/main/.claude/skills/compositional-writing
Command: npx skills add https://github.com/tarrragon/blog --skill compositional-writing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Compositional-writing enables you to craft self-contained, atomic writing that minimizes cognitive load and token costs when producing code comments, documentation, logs, prompts, and long-form technical articles.

Core Features & Use Cases

  • Atomization: treat each paragraph or card as a single, reusable unit.
  • Indexing: connect cards with MOC-style maps and tags for easy navigation.
  • Explicit Intent & Layer Alignment: keep a clear abstraction level; separate intent from implementation details.
  • Multi-pass Review: apply iterative reviews to steadily improve clarity and correctness.
  • Surface-driven routing: steer reading with a six-field frame model and trigger-based references.

Quick Start

Read SKILL.md and then pick the most relevant reference under references to draft a single, atomic, grep-friendly note.

Frequently Asked Questions about compositional-writing

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

FAQPage Schema
What is atomic writing for technical documentation?

Atomic writing treats each paragraph or card as a single, self-contained, reusable unit to minimize cognitive load and token costs when producing code comments, docs, logs, and prompts.

How do I make documentation grep-friendly?

Make documentation grep-friendly by using stable IDs, structured frontmatter, and surface metadata so content can be easily indexed, searched, and navigated at scale across large knowledge bases.

What is a Map of Content structure for knowledge management?

A Map of Content (MOC) structure connects atomic writing cards via tags and indexes, directing readers from a central SKILL.md file to precise references for easy navigation and scalable discovery.

How do I structure technical articles using a six-field frame?

Structure technical articles using a six-field frame model encompassing what, why, when, where, how, and acceptance criteria to align intent with implementation and guide surface-driven reading.

Does compositional writing support multi-pass review workflows?

Yes, compositional writing enforces a multi-pass review workflow that applies iterative reviews to steadily improve clarity, correctness, and layer alignment in atomic, grep-friendly content.

When should I use atomic writing for code comments and logs?

Use atomic writing for code comments and logs when you need to minimize token costs, reduce cognitive load, and ensure each content unit is self-contained, reusable, and easily discoverable via grep.