A simple shell script that demonstrates how to automatically regenerate the skeleton file whenever a change is detected in the src directory. It uses inotifywait to watch for file system events.
This is a more advanced example which does the following:
- Generates multiple summary files: It creates separate summary files for different domains of a hypothetical application (e.g.,
model,features,gui). - Parallel execution: It runs the generation process for different summaries in parallel, which can significantly speed up the process for large projects.
- Post-processing: It performs cleanup operations on the generated skeleton files, such as removing import statements and other boilerplate code.
- Adds custom instructions: It prepends a set of custom instructions from the skel_intro.txt file to each summary file. These instructions can provide guidance to the LLM on how to interpret and use the generated skeleton.