explaingit

samgalanakis/pilcrow

Analysis updated 2026-05-18

30TypeScriptAudience · writerComplexity · 2/5Setup · easy

TLDR

A writing linter and editor skill suite for AI coding tools that catches prose problems using rules from Strunk, Williams, Zinsser, Pinker, Orwell, and King.

Mindmap

mindmap
  root((repo))
    What it does
      Lints prose
      Style guide rules
      Never auto-edits
    Tech stack
      TypeScript
      npm package
      CLI tool
    Use cases
      Documentation review
      Blog post editing
      Personal style guide
    Audience
      Writers
      Documentation authors

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Lint your markdown or README files for prose issues before publishing

USE CASE 2

Catch AI-sounding phrases in your writing using LLM-judged checks

USE CASE 3

Run named editor commands like tighten, humanize, or clarify inside your AI assistant

USE CASE 4

Build a personal VOICE.md style guide from your existing writing

What is it built with?

TypeScriptnpmCLI

How does it compare?

samgalanakis/pilcrowalbertaworlds/japanese-text-cleanerayangabryl/ngx-digit-flow
Stars303030
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyeasyeasyeasy
Complexity2/52/52/5
Audiencewriterdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

In plain English

Pilcrow is a writing linter and editor skill suite that plugs into AI coding tools (like Claude Code, Cursor, or GitHub Copilot). A linter normally catches code style problems automatically, pilcrow does the same thing for written prose, applying rules from well-known style guides by Strunk, Williams, Zinsser, Pinker, Orwell, and King. It works in two modes. The command-line tool (CLI) analyzes markdown, plain text, or HTML files and reports writing problems with their exact location, a snippet of the offending text, and an optional suggestion. These checks include both deterministic rules (things a pattern-matcher can catch reliably) and LLM-judged rules (things that require language understanding, like spotting "AI tells", phrases that sound like they were written by an AI). It never edits your text, it only reports findings. The skill layer runs inside your AI assistant. Running /pilcrow with no arguments finds the prose in scope, identifies what genre it is (essay, tutorial, readme, etc.), lints it, and proposes a sequence of editor commands for you to confirm before anything changes. Named commands like "polish," "tighten," "humanize," "clarify," and "argue" each apply a specific methodology drawn from one of the style guides. A separate "document" command scans your existing writing to build a VOICE.md file capturing your personal style, which then influences future suggestions. You would use pilcrow if you write a lot of documentation, blog posts, or any prose in a code project and want systematic feedback beyond spell-checking. The full README is longer than what was provided. It is built in TypeScript and distributed as an npm package.

Copy-paste prompts

Prompt 1
Run pilcrow on my README.md and show me what writing problems it finds
Prompt 2
Use pilcrow's tighten command to make this blog post more concise
Prompt 3
Help me set up pilcrow's CLI to check all markdown files in my project
Prompt 4
Build a VOICE.md file for me based on my past blog posts using pilcrow

Frequently asked questions

What is pilcrow?

A writing linter and editor skill suite for AI coding tools that catches prose problems using rules from Strunk, Williams, Zinsser, Pinker, Orwell, and King.

What language is pilcrow written in?

Mainly TypeScript. The stack also includes TypeScript, npm, CLI.

How hard is pilcrow to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is pilcrow for?

Mainly writer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.