Skip to main content
skill CX Codex

information-hierarchy — Claude Code skill: structure long documents

A skill for large human-facing output: reports, docs, multi-section explanations. The answer comes first, depth sits behind it.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add haowjy/creative-writing-skills --skill information-hierarchy -a claude-code
Open on GitHub

What information-hierarchy does

The skill gives the agent rules for building long text a person will actually read. The core rule is plain: the reader gets the answer in the first thing they see, and finds depth only when they reach for it. Everything else follows. Each beat of the piece takes the form that carries it best, what matters most comes first, and the medium stays as simple as the content allows.

Three things are spelled out. Lead with the conclusion: a section's first sentence is its answer, a slide title is the takeaway rather than the topic name. Pick the form that fits the idea: prose by default, a table for enumerable facts, a diagram for pipelines and relationships, a mockup for layout. Diagram-first applies when the relationship between parts is the hard idea — one-sentence takeaway, then the diagram, then detailed prose. Match hierarchy to the medium: chat and email show everything at once, so density and order do the work there, while HTML and apps can fold depth into collapsed sections and child pages.

Take the simplest medium that presents every beat well. A tight reply beats an HTML page when both teach the same thing. The skill points at /md-validation for checking diagrams and /structured-artifact for building HTML, so both commands need to exist in your project or those steps go nowhere.

What it helps with

  • write a report that reads in thirty seconds
  • split a long explanation into sections with conclusions up front
  • decide between a table, a diagram and a paragraph for one beat
  • cut a doc wall of text nobody finishes
  • build an HTML artifact with collapsible sections

Example prompts for the agent

  • Write up the load test results: conclusion in the first paragraph, details below
  • Compare the three libraries in a table instead of prose
  • Build an HTML page with progressive disclosure using /structured-artifact

How to install information-hierarchy

1Skills CLI (Vercel)

npx skills add haowjy/creative-writing-skills --skill information-hierarchy -a claude-code

2Manually: put the files in place

~/.claude/skills/information-hierarchy/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/information-hierarchy/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about information-hierarchy

How do I install information-hierarchy in Claude?

Run npx skills add haowjy/creative-writing-skills --skill information-hierarchy -a claude-code. The skill lands at ~/.claude/skills/information-hierarchy/SKILL.md.

What does information-hierarchy do?

It gives the agent rules for presenting long text: answer first, depth behind it, the right form for each beat. It applies to reports, docs and multi-section explanations.

Which platforms does the skill support?

Besides Claude there are install commands for Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode. Each platform uses a different -a flag.

Source text

SKILL.md · Apache-2.0
---
name: information-hierarchy
description: |
  Load for large human-facing outputs: reports, docs, multi-section
  explanations, artifacts. Choose the right form for each beat (prose, diagram,
  table, mockup) and put the answer first, depth behind it. If the medium allows, use progressive disclosure.
---

# Information Hierarchy

The reader should get the answer in the first thing they see, and find depth
only when they reach for it. Everything else here follows from that: each beat
of the piece takes the form that carries it best, what matters most comes
first, and the medium stays as simple as the content allows.

## Lead with the answer/conclusion

Readers scan. Open with the finding itself, and the piece works in thirty
seconds. The same logic repeats at every scale: a section's first sentence is
its answer, a slide's title is its takeaway ("Cache misses double p99" rather
than "Performance"), a UI label carries its whole meaning alone.

Behind the answer sits depth (reasoning, evidence, edge cases), and behind
that, sources. Keep depth that most readers will skip, and *move* it: a later
section, a linked page, a footnote. Sources belong at the end.

## Pick the form that fits the idea

Prose is the default; break from it when another form genuinely carries the
idea better. An example grounds an abstract claim faster than more
explanation. A table holds enumerable facts that prose would bury. A chart
shows a trend that a sentence can only assert. A mockup shows a layout the
reader would otherwise have to imagine.

**Diagram-first for pipelines and relationships.** When the content is a
pipeline, a dependency graph, a state machine, or any structure where the
*relationship between parts* is the hard idea, put the diagram early — a
one-sentence takeaway, then the diagram, then detailed prose. The diagram
leads, the prose still explains; prose alone buries the shape. Keep inline
diagrams to a handful of nodes and give larger structures an explorable view.
Validate diagrams (see `/md-validation`).

Ask what the beat is trying to do, then give it the form that does that: an
explanation gets a paragraph, a comparison gets a table. Each form teaches
best inside its own job: a diagram standing in for an explanation teaches
less than the paragraph would.

## Match hierarchy to the medium

For any medium, ask one question: can it hide content until the reader asks
for it? Chat, email, and plain documents show everything at once, so
hierarchy there means density and order: every early sentence pays for
itself, and depth lives behind a link. Media that can hide (HTML, apps,
anything with expand or navigate) may fold depth into collapsed sections,
popovers, or child pages. Reserve each interaction for depth a reader will
actually reach for.

Structure helps the scanner in every medium: headers that carry the argument
on their own, asides for context off the main thread, a table of contents
when the piece is long enough to need a map. These organize the surface;
putting the answer first remains the job of the writing itself.

Choose the simplest medium that presents every beat well: a tight reply
beats an HTML site whenever both would teach the same thing. When HTML is
earned, build it phone-first and use `/structured-artifact`.

## Sources

- [How Users Read on the Web (NN/g)](https://www.nngroup.com/articles/how-users-read-on-the-web/):
  scanning, why the lede must come first.
- [Progressive Disclosure (NN/g)](https://www.nngroup.com/articles/progressive-disclosure/):
  defer secondary content to secondary screens.

© haowjy · Apache-2.0 · haowjy/creative-writing-skills

Similar skills

All skills for Writing and docs →

From the same set24

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor