Ultra-simple Python/Streamlit app development rules for business process analysis using ChatGPT-4o, Supabase, and OpenAI
A development skill for building SmartFlowAI, a business process analysis application powered by ChatGPT-4o. This skill enforces ultra-simple architecture patterns and Polish-language business logic documentation.
**SmartFlowAI** is a course project (10xdev) designed for business process analysis using ChatGPT-4o.
```python
def process_data(input_text: str) -> str:
# Processing logic
return result
```
```python
try:
# Operation
result = process()
except Exception as e:
st.error(f"Wystąpił błąd: {str(e)}")
```
**Python Version:** 3.11+
**Dependencies:**
**Configuration:**
When assisting with SmartFlowAI development:
1. **Prioritize Simplicity:** Always choose the simplest solution that works
2. **Test Before Suggesting:** Verify code functionality before providing recommendations
3. **Suggest Improvements Sparingly:** Only recommend changes that meaningfully improve UX
4. **Use Polish for Business Comments:** Write business logic comments in Polish
5. **Maintain Architecture:** Respect the single-file 300-line constraint
```python
import streamlit as st
from supabase import create_client
import openai
def analyze_process(description: str) -> str:
"""
Analizuje proces biznesowy przy użyciu ChatGPT-4o
Args:
description: Opis procesu biznesowego
Returns:
Wynik analizy procesu
"""
try:
response = openai.ChatCompletion.create(
model="gpt-4o",
messages=[{"role": "user", "content": description}]
)
return response.choices[0].message.content
except Exception as e:
st.error(f"Błąd podczas analizy: {str(e)}")
return ""
def main():
st.title("SmartFlowAI")
# Aplikacja...
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/smartflowai-development-guide/raw