wewrite/.gitignore
wangzhuc 885cae8e7d feat: add SICO-style exemplar extraction system for few-shot writing
- New script: scripts/extract_exemplar.py
  Extracts style fingerprints from human-written articles (opening hook,
  emotional peak, transition/self-correction, closing) with statistical
  analysis (sentence stddev, vocab temperature, negative ratio, paragraph CV).
  Auto-detects category, supports batch import.

- SKILL.md: Add Step 4.4 exemplar injection
  Loads matching exemplars by category before writing, injects segments
  as few-shot style examples in the prompt.

- learn_edits.py: Auto-grow exemplar library
  After user edits, auto-extracts the final version into the exemplar
  library if humanness_score <= 50.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 22:32:02 +08:00

44 lines
585 B
Text

# Credentials
config.yaml
# User data (generated at runtime, not tracked)
style.yaml
history.yaml
playbook.md
corpus/
lessons/
# Optimized writing parameters (user runs loop to generate their own)
writing-config.yaml
optimization-results.tsv
# Generated output
output/
!output/.gitkeep
# Exemplar library (user-specific content)
references/exemplars/*.md
references/exemplars/index.yaml
# Legacy client directories
clients/
# macOS
.DS_Store
# Python
__pycache__/
*.pyc
*.pyo
*.egg-info/
dist/*
!dist/openclaw/
build/
# Internal dev docs
docs/
CLAUDE.md
# IDE
.vscode/
.idea/