Product Innovation & Lifecycle Orchestration Tool
PILOT is a streamlined web application that helps product teams transform simple use case descriptions into comprehensive product documentation, including functional requirements, architecture diagrams, and system design documents.
- Streamlit: For building the interactive web application interface
- Python 3.8+: Core programming language for backend and logic
- Claude AI CLI: AI-powered artifact and documentation generation
- Mermaid.js: For rendering architecture and system diagrams
- MkDocs & MkDocs Material: For generating and serving professional documentation sites
- Azure DevOps Python SDK: Integration for work item management
- streamlit-mermaid, streamlit-shadcn-ui: Streamlit component libraries for enhanced UI and diagram support
- Pymdown Extensions: Advanced Markdown rendering in documentation
- Git: Version control and repository management
- π Use Case Management: Create and manage product use cases with intuitive descriptions
- π€ AI-Powered Generation: Automatically generate product artifacts using Claude AI
- π Architecture Diagrams: Create Mermaid.js diagrams for system architecture
- π Requirements Documentation: Generate functional and non-functional requirements
- ποΈ System Design: Produce comprehensive system design documents
- π Interactive Documentation: Built-in MkDocs server for viewing generated documentation
- π― User-Friendly Interface: Clean, tab-based interface for easy navigation
product-planner/
βββ frontend/ # Streamlit web application
β βββ main.py # Main application file
| βββ ado.py # Helper methods for azure devops
β βββ commands.md # AI command configurations
βββ workspace/ # Generated use cases and artifacts
β βββ [use-case]/ # Individual use case directories
β βββ usecase.md # Use case description
β βββ ra-fr.md # Functional requirements
β βββ ra-nfr.md # Non-functional requirements
β βββ ra-diagrams.md # Architecture diagrams
β βββ ra-sdd.md # System design document
β βββ _ra/ # Generated documentation site
βββ README.md # This file
- Python 3.8 or higher
- Claude AI CLI configured with API access
- Streamlit
- MkDocs (installed automatically)
-
Clone the repository
git clone https://github.com/cloudtriquetra/product-planner.git cd product-planner -
Install dependencies
pip install -r requirements.txt
-
Configure Claude AI CLI
# Follow Claude AI CLI setup instructions # Ensure you have API access configured
-
Run the application
cd frontend streamlit run main.py -
Access PILOT Open your browser to
http://localhost:8501
- Navigate to the Product Use Case tab
- Expand "Create a new Use Case"
- Enter a descriptive name and detailed description
- Click "Save Use Case"
Example Use Case:
Name: Simple Calculator
Description: I need to build a web-based calculator that works on all devices.
It should handle basic math operations like addition, subtraction, multiplication,
and division. Users should be able to enter numbers either by clicking buttons
or using their keyboard...
- Select your use case from the dropdown
- Switch to the Product Planning tab
- Choose an artifact type:
- Functional Requirements: Core feature specifications
- Non-Functional Requirements: Performance, security, usability requirements
- Architecture Diagrams: Visual system architecture with Mermaid.js
- System Design Document: Comprehensive technical design
- Click "Generate Product Artifacts"
- Wait for AI processing to complete
- Navigate to the Results tab
- Select a report to view from the dropdown
- Review generated content with rendered diagrams
- Use the documentation server link for a polished view
- Navigate to the Azure Devops tab
- All Functional & Non Functional requirements (FR & NFR) will be displayed.
- Review and update the stories (if required).
- Add Azure DevOps Settings to establish the azure deveops connection.
- Click Upload Stories to Azure DevOps to create the work items.
Generated artifacts automatically create an MkDocs documentation site:
- Accessible via the "View Documentation" button
- Professional formatting with Material theme
- Interactive Mermaid.js diagrams
- Searchable content
Customize AI generation commands by editing the commands configuration:
1. Functional Requirement,claude -p "/ra-fr $USECASE" --dangerously-skip-permissions,ra-fr.md
2. Non-Functional Requirement,claude -p "/ra-nfr $USECASE" --dangerously-skip-permissions,ra-nfr.md
3. Architecture Diagrams,claude -p "/ra-diagrams $USECASE" --dangerously-skip-permissions,ra-diagrams.md
4. System Design Document,claude -p "/ra-sdd $USECASE" --dangerously-skip-permissions,ra-sdd.mdFormat: Name,Command Template,Output File
The application uses centered layout with custom branding:
- Custom logo/favicon support
- Responsive design
- Session state management for multi-user scenarios
- Automatic port allocation for documentation servers
- Process management for background MkDocs servers
- Graceful server shutdown and restart
- Comprehensive error messages for failed generations
- Validation for missing dependencies
- Process monitoring and recovery
- Persistent use case selection across tabs
- Background process tracking
- Status indicators for running operations
- 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
streamlit>=1.28.0
streamlit-mermaid>=0.1.0
streamlit-shadcn-ui>=0.1.0
mkdocs>=1.5.0
mkdocs-material>=9.0.0
mkdocs-mermaid2-plugin>=1.0.0
pymdown-extensions>=10.0.0
mkdocs-awesome-pages-plugin>=2.8.0
mkdocs-minify-plugin>=0.7.0
mkdocs-git-revision-date-localized-plugin>=1.2.0
azure-devops>=7.1.0b4
- Claude AI CLI with valid API access
- Git (for repository management)
1. Claude AI CLI not found
# Install and configure Claude AI CLI
# Ensure it's in your PATH2. Port conflicts
- PILOT automatically manages ports starting from 8005
- Kill conflicting processes if needed:
lsof -ti:PORT | xargs kill
3. Documentation generation fails
- Check Claude AI API limits and permissions
- Verify use case description is detailed enough
- Review error logs in the application
4. MkDocs dependencies
- Dependencies are auto-installed per session
- Manual installation:
pip install mkdocs mkdocs-material
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Streamlit for the web interface
- Powered by Claude AI for intelligent content generation
- Documentation generated with MkDocs and Material theme
- Diagrams rendered with Mermaid.js
For questions, issues, or contributions:
- Open an issue on GitHub
- Check the Wiki for detailed documentation
- Review existing discussions and solutions
Made with β€οΈ for product teams who want to move fast and build great things