How ethanvibe/xingainianzuowen works
This repository is a Chinese creative-writing style skill, with an optional Python self-check/reporting CLI. The main workflow is a user-provided story or draft, a skill-guided rewrite, then an eight-item check and a diff-style report. The README documents the style pillars, atomic editing operations, ethics boundary, and example materials. Source excerpts show the CLI’s file inputs, checks, report generation, and exit status; the skill and reference-file internals were not sampled, so their detailed runtime links are based only on README statements.
Main entry points: SKILL.md Rewrite skill · style_diff.py Self-check CLI · examples.md Worked examples · examples Example drafts
Components 13
Writing skill
- Rewrite skill
SKILL.md - Ethics boundary
SKILL.md
Style guidance
- Four style pillars
SKILL.md - Atomic edits
references/atomic_ops.md - Style fingerprint
references/source-fingerprint.md - Worked examples
references/examples.md - Example drafts
examples
Validation and reports
- Eight-item checklist
references/8-item-checklist.md - Self-check CLI
scripts/style_diff.py - Diff report
scripts/style_diff.py
Other components
- Writer
- Draft text
- Text files
Connections 13
- Writer → Rewrite skill: requests rewrite
README.md - Draft text → Rewrite skill: provides text
README.md - Rewrite skill → Ethics boundary: screens subjects
README.md - Rewrite skill → Four style pillars: applies principles
README.md - Rewrite skill → Atomic edits: uses edits
README.md - Rewrite skill → Style fingerprint: follows profile
README.md - Rewrite skill → Worked examples: consults examples
README.md - Rewrite skill → Self-check CLI: runs checks
README.md - Self-check CLI → Text files: reads rewrite and source
scripts/style_diff.py - Self-check CLI → Eight-item checklist: checks against
- Self-check CLI → Diff report: formats results
scripts/style_diff.py - Diff report → Text files: optionally writes report
scripts/style_diff.py - Example drafts → Worked examples: illustrate rewrites