feat: Add linked scene/chapter templates with planning-draft file references

- Updated Plot scene template with YAML frontmatter for metadata tracking
- Updated First Draft scene template with YAML frontmatter
- Added _template.md files in both Plot and First Draft folders
- Added create_scene.py script for automatic file creation and linking
- Planning files reference draft files via 'draft_file' field
- Draft files reference planning files via 'planning_template' field
- Word count targets tracked in planning, current count in draft
- Added comprehensive scripts/README.md with usage guide
- Supports --from-planning and --from-draft for creating missing counterparts

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
landon
2026-09-15 14:20:44 -05:00
parent d311e87836
commit b183237d59
6 changed files with 1117 additions and 12 deletions
@@ -0,0 +1,99 @@
---
id: draft_scene_new
title: "New Scene Title"
slug: new-scene-title
planning_template: ""
act: 1
chapter: 1
scene: 99
type: draft
status: not_started
word_count: 0
word_count_updated: ""
session_word_count: 0
last_session: ""
total_sessions: 0
pov: ""
version: 1
created: ""
updated: ""
---
# New Scene Title
**Draft File** | **ID:** draft_scene_new | **Status:** {{ status | replace('_', ' ') | capitalizes }}
---
## Planning Reference
> **Linked to:** {{ planning_template if planning_template else "[Create Planning Template](#)" }}
---
## Scene Metadata
| Attribute | Value |
|-----------|-------|
| **Act** | {{ act }} |
| **Chapter** | {{ chapter }} |
| **Scene** | {{ scene }} |
| **Type** | {{ type | capitalizes }} |
| **POV** | {{ pov if pov else "Not set" }} |
| **Version** | {{ version }} |
---
## Word Count Tracking
| Metric | Value |
|--------|-------|
| **Target** | (from planning) |
| **Current** | {{ word_count }} |
| **This Session** | {{ session_word_count }} |
| **Last Updated** | {{ word_count_updated if word_count_updated else "Never" }} |
---
## Draft Content
### Rough Draft:
[Write your scene content here...]
---
## Writing Notes
### Session Log
| Date | Words Added | Notes |
|------|--------------|-------|
| {{ last_session if last_session else "" }} | {{ session_word_count }} | |
### Revision Notes
-
-
---
## Status Checklist
- [ ] First draft complete
- [ ] Word count target met
- [ ] POV consistent
- [ ] Character voices distinct
- [ ] Setting details accurate
- [ ] Conflict resolved/advanced
- [ ] Ready for revision
---
**Instructions:**
1. Copy this file to the appropriate Act/Chapter folder
2. Rename to `sceneXX.md` (e.g., `scene02.md`)
3. Update the YAML frontmatter with scene details
4. Set `planning_template` to point to the corresponding planning file
5. Create the planning file using the template in `05-Plot/_template.md`
6. Update word count as you write
**Related:** [Story Bible](../../03-Story-Bible/_index.md) | **Created:** {{ created }} | **Updated:** {{ updated }}