litprog-skill
Turn codebases into readable literate programs and PDFs
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install litprog-skill?โผ
Run `npx skills add tlehman/litprog-skill --all -g -y` in your terminal to install the skill globally.
What is literate programming?โผ
It is an approach created by Donald Knuth where code is written as a narrative document for humans, which can also generate the runnable source files and a formatted PDF.
How do I create a literate program from my codebase?โผ
Run the /literate-programming command in Claude Code and it will analyze your code, plan a narrative order, and produce a .lit.md file with prose, diagrams, and named code chunks.
What happens if I edit source files directly?โผ
A PostToolUse hook detects the edit and automatically syncs the change back into the .lit.md file, keeping it as the single source of truth.
How do I generate a PDF from a literate program?โผ
Run the weave command with Pandoc, xelatex, and mermaid-filter installed, or simply run /literate-programming again on an existing .lit.md file.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core