Book Metadata Quick Start Guide
Get started with the book metadata system in 5 minutes.
For Textbook Authors
Check Your Book Status
1 | |
This shows you: - Which skills have been completed ✓ - Which skills are ready to run ○ - Which skills are blocked and why
Before Running Any Skill
Check if prerequisites are met:
1 | |
Examples:
1 2 3 4 5 | |
After Running a Skill
Update the metadata (usually done automatically by the skill):
1 2 3 4 | |
For Skill Developers
Add 3 Lines to Your Skill
Step 1: Check if skill can run
Add this at the start of your skill:
1 2 3 4 5 6 7 8 9 10 | |
Step 2: Mark as in progress
1 | |
Step 3: Update when complete
1 2 3 4 5 6 7 8 9 | |
Full Minimal Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | |
Common Workflows
Starting a New Book
-
Update
book-metadata.ymlwith your book information:1 2 3 4
dublin_core: title: "Your Book Title" creator: "Your Name" description: "Your course description" -
Run course description analyzer:
1 2 3 4 5
# Check if ready python src/book_metadata_helper.py check --skill course_description_analyzer # Run the skill (using Claude Code or your script) # Skill will automatically update metadata -
Check status:
1python src/book_metadata_helper.py status
Sequential Skill Execution
Follow this order for best results:
- course_description_analyzer - Foundation
- learning_graph_generator - Concept mapping
- glossary_generator - Term definitions
- reference_generator - Bibliography
- chapter_generator - Content (can run in parallel with glossary/references)
- quiz_generator - Assessment (after 30% of chapters)
- faq_generator - Questions (after 30% of chapters)
- microsim_p5 - Interactive content (anytime after learning graph)
- quality_metrics_analyzer - Validation (anytime)
- social_media_generator - Marketing (after 50% of chapters)
Checking What's Next
The status report tells you what you can do next:
1 | |
Look for skills marked with ○ (not started) that have no blockers listed.
Resuming Work on a Book
-
Check current status:
1python src/book_metadata_helper.py status -
Find the current phase:
1Current Phase: content_generation -
Look for next unblocked skill and run it
Integration with Claude Code
When asking Claude Code to help with your textbook:
Good request:
"Check the book metadata and tell me what skill I should run next"
Claude will:
1. Run python src/book_metadata_helper.py status
2. Analyze what's completed and what's blocked
3. Recommend the next logical skill to run
4. Offer to run it for you
Good request:
"Generate quizzes for my textbook"
Claude will: 1. Check if quiz_generator can run 2. If blocked, tell you what needs to be done first 3. If ready, run the skill and update metadata automatically
Skill Status Values
- not_started ○ - Skill hasn't been run yet
- in_progress → - Skill is currently running
- completed ✓ - Skill finished successfully
- failed ✗ - Skill encountered errors
- needs_update ⚠ - Skill completed but quality score below threshold
Quality Score Guidelines
- 90-100: Excellent - Exceeds all requirements
- 80-89: Very Good - Meets all requirements with minor issues
- 70-79: Good - Meets requirements, some improvements needed
- 60-69: Acceptable - Meets minimum requirements
- Below 60: Needs Work - Should be re-run or revised
Most skills require a minimum score of 70 from their dependencies.
Troubleshooting
"Cannot find book-metadata.yml"
The file should be in your repository root. If missing:
1 2 3 4 | |
Skill shows as blocked but dependency is completed
Check the quality score:
1 | |
If score is below 70, you may need to re-run the dependency.
Need to reset a skill
Edit book-metadata.yml and change the skill's status back to not_started:
1 2 3 4 | |
Or use Python:
1 2 3 | |
Tips
- Always check status before starting - Saves time and prevents errors
- Let skills update metadata - Don't manually edit unless necessary
- Track quality scores - They determine what can run next
- Use the status report - It's your workflow dashboard
- Follow the phases - They guide you through the process
Next Steps
- Read the complete guide
- See integration examples
- Review skill documentation
- Check workflow overview
Quick Reference
1 2 3 4 5 6 7 8 | |
Status values: not_started, in_progress, completed, failed, needs_update
Common skill names:
- course_description_analyzer
- learning_graph_generator
- glossary_generator
- chapter_generator
- quiz_generator
- faq_generator
- reference_generator
- microsim_p5