Writing Dna Skill

Studies 20 or more articles by one author and turns their style into a written rulebook, so new drafts follow that voice, structure and layout.

Writing & Editingwriting stylevoicestyle guidechineseby larashero3-dotcom2.9kGitHub

What it is

Writing DNA Skill, also called 写作蒸馏器 (writing distiller), analyses the style of an author, publication, brand or account, including your own archive, and writes it down as reusable rules. It is for writers, editors and content teams who want AI drafts to sound consistently like a particular voice. The instructions are written in Chinese, but it works on Chinese or English articles and produces its documents in either language, normally the language of the source articles.

Rather than handing the AI a few samples and asking it to copy them, it analyses at least 20 complete articles in six layers. It covers word choice, sentence length and punctuation; how articles open, develop and close; which topics the author picks; what sources and evidence they use; their core beliefs; and visual style such as image use, bold text and paragraph rhythm. It also requires opening screenshots and images, because they often carry part of the argument.

You end up with four layered style documents and a combined Writing-DNA.md under about 4,000 words. Before each new piece, it rereads all of them plus the five most similar original articles, copies how the author writes rather than what they said, then removes AI-sounding phrasing with a bundled rule set. The author asks that it not be used to impersonate anyone or breach copyright, and the current version is licensed for noncommercial use only.

What it can do

  • Tags each article with its type, hook, structure, topics, sources and word count.
  • Measures frequent words, sentence lengths, short and long sentence ratios and punctuation habits.
  • Builds reusable structure templates for each type of article, such as interviews or deep analysis.
  • Writes down the author's topic choices, use of sources and three or more core beliefs.
  • Describes visual style: image types and placement, bold text, headings, paragraph rhythm and colour.
  • Writes new articles in the distilled style and cleans AI-sounding phrasing without overriding the author's real habits.

When to use it

  • You have 50 of your own newsletter issues and want AI drafts that sound like you instead of a generic assistant.
  • Your company blog has several writers and you need one clear house style that a new writer or an AI can follow.
  • You admire a columnist's way of building an argument and want to study how they open, use evidence and conclude.
  • You want to compare how two publications cover the same subject.

How it works

  1. 1You collect at least 20 complete articles as .md or .txt files in a raw folder, ideally from different periods and types.
  2. 2The agent records details about each article, such as date, type, hook style and topics, in a metadata folder.
  3. 3It analyses the language statistics, marks up each article's structure, then reads closely for topic logic, sources and beliefs.
  4. 4It samples 5 to 10 articles to examine their images and layout, then writes the visual style guide.
  5. 5It combines everything into Writing-DNA.md and checks it against a quality list.
  6. 6For each new piece, it rereads every style document and five closely matching originals before drafting, then cleans AI tone.

Try asking

“Distill the writing style from these 25 newsletter issues in raw/”
“Build a Writing DNA for my blog archive and write it in English”
“Using this author's Writing DNA, write a new article about remote work”
“Analyse the writing style of this WeChat account from its last 30 articles”

How to install

Install with the skills CLI (recommended)

Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.

npm
npx skills add larashero3-dotcom/writing-dna-skill
pnpm
pnpm dlx skills add larashero3-dotcom/writing-dna-skill

Install manually

Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the writing-dna-skill folder and upload it in the Skills section of Settings.

Terminal
git clone --depth 1 https://github.com/larashero3-dotcom/writing-dna-skill.git ~/.claude/skills/writing-dna-skill

Then just ask in plain language, for example: “Distill the writing style from these 25 newsletter issues in raw/”