A language-agnostic CLI tool that enables SDK and documentation teams to rapidly generate LLM prompt templates for any programming language or platform (JavaScript, Java, .NET, Python, etc.), without performing codebase introspection.
The Quickstart Prompt Generator guides teams through structured prompt creation for:
- Deep SDK Analysis - Understanding SDK capabilities and architecture
- Style Extraction - Learning from reference quickstart documentation
- Final Synthesis - Combining insights to generate tailored quickstart docs
Perfect for SDK teams working across multiple languages who need consistent, high-quality quickstart documentation generated via LLMs like ChatGPT or Claude.
- Language-Agnostic: Works with any SDK/library in any programming language
- No Code Parsing: Accepts SDK information as plain input - no introspection required
- Three-Stage Workflow: Structured approach ensures comprehensive and consistent results
- Analysis Mode: Evaluate existing quickstart documentation with structured improvement recommendations
- Standalone Mode: Generate quickstarts for pure SDK usage without framework dependencies
- Multiple Style References: Blend documentation styles from different sources or focus on specific companies
- Smart Session Management: Continue existing sessions, go back during questionnaire, and handle errors gracefully
- Interactive CLI: Step-by-step guidance with session persistence and undo functionality
- Flexible Output: Console display, Markdown, or plain text export
- Extensible Templates: Modular prompt templates for easy customization
- Prerequisites:
# Ensure Python 3.9+ is installed
python --version # Should show Python 3.9 or higher- Clone and navigate to the project:
git clone <repository-url>
cd quickstart_prompt_generator- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Configure pip for global PyPI (if needed):
# Only run if you have corporate/artifactory configuration
pip config unset global.index-url
pip config unset global.extra-index-url
pip config unset global.trusted-host
pip config unset global.only-binary
# Verify clean configuration (should show no output)
pip config list- Install dependencies:
pip install -r requirements.txt- Install the tool:
pip install -e .- Verify installation:
# Check if command is available
quickstart-prompt-generator --help
# If command not found, use alternative method:
python -m src.cli --helpIf you encounter installation or runtime issues, see our comprehensive TROUBLESHOOTING.md guide which covers:
- Network connection errors (proxies, SSL issues)
- Command not found issues
Quick fixes for common issues:
- Connection errors:
pip install setuptools wheel && pip install -e . - Command not found: Use
python -m src.cliinstead ofquickstart-prompt-generator
- Initialize a session with your SDK details:
quickstart-prompt-generator init- Generate all prompts for your LLM workflow:
quickstart-prompt-generator generate- Follow the three-stage process:
- Copy Stage 1 prompt β Paste in LLM β Get SDK analysis
- Copy Stage 2 prompt + reference docs β Get style guide
- Copy Stage 3 prompt + previous outputs β Get final quickstart
For analyzing existing quickstart documentation:
quickstart-prompt-generator analyze initThen generate improvement recommendations:
quickstart-prompt-generator analyze generate| Command | Description |
|---|---|
init |
Initialize a new prompt generation session |
generate |
Generate all three LLM prompts |
status |
Show current session information |
reset |
Clear current session and start over |
| Command | Description |
|---|---|
analyze init |
Initialize a new analysis session for existing documentation |
analyze generate |
Generate analysis prompts for existing documentation |
analyze status |
Show current analysis session status |
analyze reset |
Reset the current analysis session |
quickstart-prompt-generator generate [OPTIONS]
Options:
-f, --format [console|markdown|text] Output format (default: console)
-o, --output PATH Save to file (optional)
--help Show help message- Purpose: Analyze SDK capabilities, architecture, and developer workflow
- Input: SDK name, language, and optional repository link
- Output: Comprehensive technical analysis for LLM
- Purpose: Extract writing style and structure from reference documentation
- Input: Links to existing quickstart documentation (supports multiple references with style blending)
- Output: Style guide and formatting patterns with smart style preference handling
- Purpose: Combine SDK analysis with style patterns to create final quickstart
- Input: Results from Stages 1 & 2
- Output: Complete, framework-specific quickstart documentation
Analyze existing quickstart documentation to identify improvement opportunities and generate actionable recommendations.
- Documentation Input: Provide existing documentation via file, URL, or direct paste
- Improvement Focus: Select specific areas to analyze (clarity, completeness, structure, etc.)
- LLM Analysis: Generate targeted prompts for comprehensive documentation review
- Recommendations: Receive structured improvement suggestions with priorities and implementation guidance
$ quickstart-prompt-generator init
Which SDK/library are you using?
> auth0-spa-js
What is the SDK language?
> JavaScript
SDK repository or documentation link? (optional)
> https://github.com/auth0/auth0-spa-js
Reference quickstart links (one per line, empty to finish):
Reference: https://auth0.com/docs/quickstart/spa/javascript
Reference: https://auth0.com/docs/quickstart/spa/react
Reference: https://auth0.com/docs/quickstart/spa/angular
Reference:
π Documentation Style Preference
You provided 3 reference documents:
1. https://auth0.com/docs/quickstart/spa/javascript
2. https://auth0.com/docs/quickstart/spa/react
3. https://auth0.com/docs/quickstart/spa/angular
Which documentation style would you like to primarily emulate?
Enter the number (1, 2, etc.) or 'blend' to combine all styles:
Style preference: blend
Which framework/platform is your target? (or 'standalone' for pure SDK usage)
> Svelte
# Generate prompts focused on Svelte integration
$ quickstart-prompt-generator generate --format markdown --output auth0-svelte-prompts.md$ quickstart-prompt-generator init
Which SDK/library are you using?
> auth0-api-python
What is the SDK language?
> Python
SDK repository or documentation link? (optional)
> https://github.com/auth0/auth0-api-python
Reference quickstart links (one per line, empty to finish):
Reference: https://auth0.com/docs/quickstart/backend/python/interactive
Reference: https://vercel.com/docs/functions/runtimes/python
Reference:
Which framework/platform is your target? (or 'standalone' for pure SDK usage)
> standalone
# Generate prompts focused on direct SDK usage
$ quickstart-prompt-generator generate --format markdown --output auth0-standalone-prompts.mdπ Documentation Style Preference
You provided 2 reference documents:
1. https://auth0.com/docs/quickstart/backend/python/interactive
2. https://vercel.com/docs/functions/runtimes/python
Which documentation style would you like to primarily emulate?
Enter the number (1, 2, etc.) or 'blend' to combine all styles:
Style preference: blend # Combines best of both Auth0 and Vercel styles$ quickstart-prompt-generator init
β οΈ Existing session detected!
SDK: auth0-api-python
Language: Python
Target: standalone
What would you like to do?
Choose an option (continue, reset, cancel): continue
# Continue editing your existing session with all previous values preserved
# Use 'back' during questionnaire to fix any mistakesFor more detailed examples including standalone mode, style preferences, and advanced workflows, see docs/EXAMPLES.md.
quickstart_prompt_generator/
βββ src/
β βββ __init__.py # Package initialization
β βββ cli.py # Main CLI interface
β βββ prompts.py # Prompt template engine
βββ docs/
β βββ README.md # This file
β βββ EXAMPLES.md # Sample generated prompts
β βββ PROMPT_TEMPLATES.md # Template documentation
βββ tests/
β βββ test_cli.py # Unit tests
βββ setup.py # Package configuration
The tool stores session data in .qpg_session.json in your current directory. This allows you to:
- Resume sessions after closing the terminal
- Modify session data and regenerate prompts
- Share session configurations with team members
from src.prompts import PromptGenerator
generator = PromptGenerator()
generator.add_custom_template('my_template', 'Your custom template here')The prompt templates use Jinja2 for flexibility. See docs/PROMPT_TEMPLATES.md for detailed template documentation and customization examples.
- Examples: Sample generated prompts and workflows
- Template Guide: Template structure and customization
- Contributing: Guidelines for extending the tool
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Issues: Report bugs or request features via GitHub Issues
- Discussions: Join the community discussions for usage questions
- Documentation: Check the
docs/directory for detailed guides
Built for SDK teams who want to generate consistent, high-quality quickstart documentation across any programming language or platform using the power of LLMs.