Appearance
Changelog
1.2.0
- New MCP prompts:
write_like_me(task, optional context) andcheck_my_draft(draft, optional context). Clients such as Claude Code list them as slash commands, e.g./mcp__writelikeme__write_like_me. - New: accuracy benchmark (
npm run bench, also part ofnpm test): eight samples in clearly different styles, checked against the facts the style brief should report. - New:
analyzeSamples(texts)joins non-empty writing samples with blank lines, analyzes them withanalyzeText(), and addssampleCountto the result. - New CLI:
-f/--filemay be repeated and may be a directory (reads.md,.txt,.markdownfiles, non-recursive, sorted); it works foranalyze,generateandbrief. Newgenerate --no-wordsleaves frequent words and signature phrases out of the SVG. - New signature words:
frequentWordsnow excludes contractions (any apostrophe) and an extended stopword list of generic verbs/fillers. New optionalsignaturePhrases— up to five most common two-word sentence openers (count >= 2) as[{ phrase, count }]— is stored in profiles and SVG metadata, anddescribeStyle()adds a "Typical openers" line when present. - New MCP:
analyze_text,generate_style_svganddescribe_styleaccepttext_paths(array of file paths).generate_style_svgacceptsinclude_words(default true).generateStyleSVGtakes a fourthoptionsargument ({ includeWords: false }), as doescreateStyleProfile, for the privacy flag. - Website demo: "Leave out frequent words (privacy)" checkbox on the style preview/download/copy.
- Draft checking:
checkDraft(styleCode, draftText, options)scores a draft against a profile (0-1), returnspass(score >=options.min || 0.8) and up to five largest style gaps with short actionable fixes ({ signal, yours, draft, fix }), covering sentence length, formality, complexity, contraction rate, first/second person, punctuation, question/exclamation rate, tone and more. CLI:writelike-me check --style-code me.svg [draft | -f draft.md | -] [--min 0.8] [--json]exits 1 when the score is below--minfor CI. MCP:check_draft(draft or draft_path, style_code_path or svg, min). - Named contexts: profiles may carry an optional
contextstring (stored in SVG metadata, round-trips). CLIgenerate --context emailsets it and, without-o, defaults output tostyle/email.svg;describeStyleprints "Context: email." as the first line. MCPdescribe_style,check_draftandwrite_like_meacceptcontext(resolvingstyle/<context>.svgwhen no style code is given), andgenerate_style_svgacceptscontext(default output_pathstyle/<context>.svg). - Fix: the MCP server no longer crashes on a message that is valid JSON but not a request object (
null, a string, an array). It now replies with JSON-RPC-32600 Invalid Requestand keeps running. - Fix:
generate_style_svgreports the file's real size in bytes. - MCP tools report a missing file as
Could not read <path>: file not found. - New scripts:
npm run docs:devandnpm run docs:preview. - Tests: protocol edge cases, every tool's error path, relative paths, CLI edge cases, and a check that the published package contains every file it needs.
- CI: tests run on every push and pull request (Node 14–24, Linux, Windows, macOS).
1.1.0
- New:
writelike-me mcp, a dependency-free MCP server for Claude Code, Cursor, Codex, Qwen Code, Gemini CLI, VS Code, Windsurf, OpenCode and other MCP clients. Tools:generate_style_svg,describe_style,analyze_text,read_style_code,compare_styles,write_like_me. They never return SVG markup to the model. - New:
describeStyle()andwritelike-me brief: a ~100-token style brief for any AI model. - New CLI:
generate -o,brief,inspect,write,compare,-f/--file, stdin (-),--flag=value,--version. - New:
Handler/createHandlerare also exported from the main entry. - Website demo: download, copy and import SVG style codes; copy the style brief.
- v2 style codes are upgraded to v3 when read.
- Fix: contractions such as "that's" and "it's" are counted, and the contraction score uses a realistic scale, so briefs match contraction-heavy writing.
- Fix: "I'm", "I've", "you'll" and similar count as first/second person.
- Fix: local drafts capitalize every sentence and no longer repeat phrases.
1.0.3
- Punctuation style signal; first npm release under
@ai-clyde/writelikeme.