Skip to content
Skills Library
Programming · Building & coding

words

/words

Use when an app uses @pierre/words to render Markdown as HTML or ANSI, display streamed Markdown in React or the DOM, customize generated HTML, or highlight fenced code with @pierre/highlights.

Repository
pierre ↗
Licence
Apache-2.0
Last repository change
12.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
5
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.

Licence

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 an app uses @pierre/words to render Markdown as HTML or ANSI, display streamed Markdown in React or the DOM, customize generated HTML, or highlight fenced code with @pierre/highlights.

Original author description

Use when an app uses @pierre/words to render Markdown as HTML or ANSI, display streamed Markdown in React or the DOM, customize generated HTML, or highlight fenced code with @pierre/highlights.

How it works

  1. Install
  2. Select a reference
  3. Integration rules
Original SKILL.md headings · 39 lines, 266 words
SKILL.md preview
---
name: words
description:
  Use when an app uses @pierre/words to render Markdown as HTML or ANSI, display
  streamed Markdown in React or the DOM, customize generated HTML, or highlight
  fenced code with @pierre/highlights.
---

# `@pierre/words`

Use Words for CommonMark and GFM Markdown. Choose the core API for HTML or
terminal bytes, `Markdown` for React, or the HTML and DOM renderers for other
frameworks. Use one session or renderer per document that receives updates.

## Install

```bash
pnpm add @pierre/words
```

The package initializes WebAssembly on import in Node.js, browsers, and
Cloudflare Workers. Normal use needs no `init()` call. The core entry point has
no runtime dependencies. React and `@pierre/highlights` are optional peers.

## Select a reference

| Task                                                                 | Reference                              |
| -------------------------------------------------------------------- | -------------------------------------- |
| Render HTML or ANSI bytes, or extract YAML frontmatter               | [Core API](references/core.md)         |
| Update a Markdown document from a stream or consume incremental HTML | [Streaming](references/streaming.md)   |
| Use the React component, animation, or a caret                       | [React](references/react.md)           |
| Update the DOM, customize HTML, filter URLs, or highlight code       | [HTML and plugins](references/html.md) |

## Integration rules

- Decode or copy core output bytes before another render. The bytes share
  WebAssembly memory.
- Pass the full accumulated source on each update, not the latest chunk.
- Finish a stream with incomplete repair and active state set to `false`.
- Core HTML and sessions do not sanitize URLs. Use the formatted HTML, DOM, or
  React API for its URL checks and element filters.
- `components` hooks and plugins return HTML strings, not React elements. They
  are trusted code. Escape untrusted text that they add.
- Math, Mermaid, CJK extensions, and remark or rehype plugins are not built in.
  Use a custom code renderer when the app needs a special fence language.
Files in this package (5)
  • SKILL.md 2 KB
  • references/core.md 3 KB
  • references/html.md 6 KB
  • references/react.md 3 KB
  • references/streaming.md 3 KB

Versions

The database has no other skills named words.

Database snapshot: 13.11.2026 · package version d4cfe482fb76 (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

  • 100pierre
    Use Pierre Computer Company's `@pierre/trees` (path-first file tree) and `@pierre/diffs` (shiki-based code/diff renderer) in Kolu. Pierre ships Preact/vanilla cores with optional React wrappers — Kolu consumes the vanilla classes and wraps them in thin SolidJS components.…
  • 95diffs
    Use when an app uses @pierre/diffs to render or edit code files, diffs, patches, merge conflicts, or CodeView review surfaces, including React, vanilla JavaScript, SSR, workers, annotations, selection, and custom syntax languages or themes.
  • 95theming
    Use when an app uses @pierre/theming to list, resolve, select, switch, persist, or apply themes, including color modes, theme controllers, React state, UI colors, and bundled Pierre or Shiki collections.
  • 95trees
    Use when changing Palot file-tree behavior built on @pierre/trees, especially the Changes tab tree, selection, search, rename, drag and drop, Git status, or theme integration. Do not use for generic tree data structures.
  • 95diffs
    Use when changing Palot code, file, or diff rendering built on @pierre/diffs, including the Changes tab, file views, CodeView, parsing, selection, annotations, workers, or Shiki themes and languages. Do not use for ordinary code review or Git conflict resolution.
  • 100react-email
    React Email renderer for json-render that turns JSON specs into HTML or plain-text emails using @react-email/components and @react-email/render. Use when working with @json-render/react-email, building transactional or marketing emails from JSON, creating email catalogs,…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.