explaingit

zy-zmc/tianming-skill

27PowerShellAudience · writerComplexity · 3/5LicenseSetup · hard

TLDR

TianMing is a structured prompt system for co-writing long Chinese-language novels with Claude AI, splitting labor so the writer handles creative decisions while the AI manages consistency, pacing, and style across chapters.

Mindmap

mindmap
  root((TianMing))
    What it does
      Long novel co-writing
      Consistency tracking
      Chapter generation
    Workflow
      High-level outline
      Chapter table of contents
      Chapter prose
    Commands
      TianMing outline
      TianMing main text
      Health check
    Templates
      World rules
      Character profiles
      Writing style samples
    Tech Stack
      PowerShell linter
      Python scripts
Click or tap to explore — scroll the page freely

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

Things people build with this

USE CASE 1

Write a long-form Chinese novel chapter by chapter with Claude maintaining plot consistency, character continuity, and writing style automatically.

USE CASE 2

Use short bracketed commands to generate outlines, chapter tables of contents, and 3500-word chapter drafts without reloading all context each time.

USE CASE 3

Fill in the provided templates to define your world rules, characters, and writing style before Claude starts generating any prose.

USE CASE 4

Run the included PowerShell linter to check that all internal cross-references between your protocol files are valid before a writing session.

Tech stack

PowerShellPython

Getting it running

Difficulty · hard Time to first run · 1h+

Requires familiarity with Claude and filling in five knowledge-base templates before any writing can begin.

Licensed for non-commercial use only, you may not use this project for any commercial purpose.

In plain English

TianMing is a structured system for co-writing long-form novels with Claude, designed primarily for Chinese-language fiction. The README is mostly in Chinese, but the project description and structure are clear enough to summarize. The name means "destiny" or "fate," and the project originated as a single 995-line prompt that was later reorganized into more than 30 separate files. The core idea is a division of labor: the writer provides the creative vision, world rules, character details, and writing style samples, while the system handles consistency across chapters, tracks plot threads, controls pacing, and keeps the writing style stable over a long work. You interact with the system using short bracketed commands like "TianMing: outline" or "TianMing: main text," and it loads only the relevant internal rules for that task rather than everything at once, which reduces wasted tokens. The workflow follows a fixed order. You start by generating a high-level outline, then a full-book strategic plan, then a chapter-by-chapter table of contents in batches of 30, and finally the actual chapter text at 3,500 to 4,000 words per chapter. There are also commands for running a consistency health check and saving structured updates to the world state file. The repository includes templates for the five knowledge base documents a writer fills in before starting: world rules, character profiles, timeline events, and writing style samples. A small five-chapter example novel called "Promise in the Mirror" demonstrates the system in practice. Two utility scripts are included: a PowerShell linter that checks that all internal cross-references between protocol files are valid, and a Python script that calculates a numeric conflict intensity score for planning chapter tension. The project is licensed for non-commercial use only.

Copy-paste prompts

Prompt 1
I am using the TianMing system with Claude to write a Chinese fantasy novel with a cultivation magic system. Help me fill out the world-rules template with three competing factions and a power ranking system.
Prompt 2
Using TianMing's outline command, generate a 30-chapter strategic plan for a slow-burn romance novel set in Tang Dynasty China with a hidden identity subplot.
Prompt 3
What bracketed command do I type in TianMing to start generating a chapter at 3500 to 4000 words, and how do I trigger a consistency health check afterward?
Prompt 4
Explain how to use the Python conflict intensity script in TianMing to calculate a tension score for a confrontation chapter and decide whether to raise or lower the stakes.
Open on GitHub → Explain another repo

← zy-zmc on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.