Book Metadata System
A comprehensive metadata management and workflow orchestration system for intelligent textbook creation with Claude Code skills.
Overview
The Book Metadata System provides centralized tracking of: - Dublin Core Metadata - Standard bibliographic information - Skill Dependencies - Ensures correct execution order - Quality Tracking - Monitors output quality across all skills - Workflow Phases - Guides you through the creation process - Progress Visibility - Clear view of what's done and what's next
Quick Start
1. Check Status
1 | |
Shows: - ✓ Completed skills with quality scores - ○ Skills ready to run - Blocked skills and why
2. Verify Prerequisites
Before running any skill:
1 | |
3. Run the Demo
See the system in action:
1 | |
This interactive demo simulates the complete workflow.
Files
Core Files
| File | Purpose |
|---|---|
book-metadata.yml |
Central metadata and status tracking |
src/book_metadata_helper.py |
Python API and CLI tool |
src/workflow_demo.py |
Interactive demonstration |
Documentation
| File | Content |
|---|---|
| book-metadata-quickstart.md | 5-minute quick start guide |
| book-metadata-guide.md | Complete reference documentation |
| skill-dependency-diagram.md | Visual dependency graph |
| skills/metadata-integration-example.md | Code integration examples |
| BOOK_METADATA_SUMMARY.md | Executive summary |
Features
Dependency Management
Skills declare their prerequisites:
1 2 3 4 5 6 7 | |
The system prevents skills from running until dependencies are met.
Quality Tracking
Each skill execution records: - Status (not_started, in_progress, completed, failed) - Quality score (0-100) - Timestamp - Output metrics - Validation results
Workflow Phases
Six phases guide creation:
- Planning - Course description
- Foundation - Learning graph, glossary
- Content Generation - Chapters, simulations
- Enhancement - Quizzes, FAQs, references
- Quality Assurance - Validation, metrics
- Deployment - Social assets, publishing
Progress Visibility
Status report shows exactly where you are:
1 2 3 4 5 6 | |
Command-Line Interface
Show Status
1 | |
Full report of all skills and their status.
Check Skill
1 | |
Verify if a skill can run.
Update Status
1 2 3 4 | |
Update skill status (usually done automatically by skills).
Python API
Basic Usage
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | |
Query Skill Data
1 2 3 4 5 6 7 8 9 10 11 | |
Integration with Skills
Minimal Integration (3 steps)
Step 1: Check prerequisites
1 2 3 4 | |
Step 2: Mark as running
1 | |
Step 3: Update when done
1 2 3 4 5 6 | |
See integration examples for complete implementation.
Skill Dependencies
Dependency Graph
1 2 3 4 5 6 7 8 | |
See dependency diagram for complete graph.
Quality Requirements
Most skills require quality score ≥ 70 from dependencies:
- course_description_analyzer → learning_graph_generator
- learning_graph_generator → glossary, chapters, quizzes, etc.
Completion Requirements
Some skills need partial completion:
- quiz_generator: needs 30% of chapters
- faq_generator: needs 30% of chapters
- social_media_generator: needs 50% of chapters
Common Workflows
Starting a New Book
- Update
book-metadata.ymlwith your book info - Run
course_description_analyzer - Check status:
python src/book_metadata_helper.py status - Continue with next unblocked skill
Checking What's Next
1 | |
Look for skills marked ○ with no blockers.
Parallel Execution
After learning graph completes, run simultaneously: - glossary_generator - chapter_generator - microsim_p5 - concept_validator
Sequential Execution
Must run in order: 1. course_description_analyzer 2. learning_graph_generator 3. Everything else (check dependencies)
Validation Rules
Configured in book-metadata.yml:
1 2 3 4 5 6 7 8 9 10 | |
Adjust these thresholds based on your quality standards.
Dublin Core Metadata
Standard bibliographic information:
1 2 3 4 5 6 7 8 9 10 11 12 | |
Based on Dublin Core Metadata Element Set (ISO 15836).
Status Values
| Symbol | Status | Meaning |
|---|---|---|
| ✓ | completed | Finished successfully |
| → | in_progress | Currently running |
| ○ | not_started | Not yet run |
| ✗ | failed | Encountered errors |
| ⚠ | needs_update | Quality below threshold |
Quality Scores
| Range | Rating | Action |
|---|---|---|
| 90-100 | Excellent | Exceeds requirements |
| 80-89 | Very Good | Meets all requirements |
| 70-79 | Good | Meets requirements |
| 60-69 | Acceptable | Minimum requirements met |
| <60 | Needs Work | Re-run or revise |
Tracked Skills
Foundation
course_description_analyzer- Validates course description
Content Generation
learning_graph_generator- Creates concept graphglossary_generator- Generates terminologychapter_generator- Writes chapter contentmicrosim_p5- Creates p5.js simulations
Enhancement
quiz_generator- Creates assessmentsfaq_generator- Generates FAQsreference_generator- Curates bibliography
Quality Assurance
concept_validator- Validates conceptsquality_metrics_analyzer- Analyzes quality
Deployment
social_media_generator- Creates social assets
Examples
Check if Ready for Quizzes
1 2 3 4 5 | |
View Full Status
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | |
Update After Running Skill
1 2 3 4 5 6 | |
Troubleshooting
Skill Shows as Blocked
Check dependencies:
1 | |
Complete the listed dependencies first.
Quality Score Too Low
If dependency completed but score < 70: 1. Review the dependency's output 2. Improve quality 3. Re-run the dependency 4. Verify new score ≥ 70
Reset a Skill
Edit book-metadata.yml:
1 2 3 4 | |
Cannot Find book-metadata.yml
File must be in repository root. Check with:
1 | |
Best Practices
- Check before running - Always verify prerequisites
- Let skills update - Don't manually edit metadata
- Track quality - Monitor scores to ensure quality
- Follow phases - Use workflow phases as guide
- Run in parallel - When possible, run independent skills together
Resources
- Quick Start Guide - Get started in 5 minutes
- Complete Guide - Full documentation
- Dependency Diagram - Visual workflow
- Integration Examples - Code samples
- Summary - Executive overview
Support
Questions or issues? 1. Check the troubleshooting section 2. Review the complete guide 3. See integration examples 4. Run the demo for interactive help
License
This metadata system is part of the Intelligent Textbooks project. See LICENSE for details.