happyflow-generatorlisted
Install: claude install-skill aiskillstore/marketplace
# HappyFlow Generator Skill
## Metadata
- **Skill Name**: HappyFlow Generator
- **Version**: 2.0.0
- **Category**: API Testing & Automation
- **Required Capabilities**: Code execution, web requests, file operations
- **Estimated Duration**: 2-5 minutes per API spec
- **Difficulty**: Intermediate
## Description
Automatically generate and execute Python test scripts from OpenAPI specifications and GraphQL schemas that successfully call all API endpoints in dependency-correct order, ensuring all requests return 2xx status codes.
**Input**: OpenAPI/GraphQL spec (URL/file) + authentication credentials
**Output**: Working Python script that executes complete API happy path flow
**Key Features**:
- **Multi-format support**: OpenAPI 3.0+ and GraphQL schemas
- **Enhanced execution**: Parallel execution, detailed reporting, connection pooling
- **Advanced testing**: File upload support, response schema validation, rate limiting handling
- **Modular architecture**: Well-organized codebase with proper error handling
## Complete Workflow
### Phase 1: Authentication Setup
Execute this code to prepare authentication headers:
```python
import base64
import requests
from typing import Dict, Any
def setup_authentication(auth_type: str, credentials: Dict[str, Any]) -> Dict[str, str]:
"""Prepare authentication headers based on auth type"""
if auth_type == "bearer":
return {"Authorization": f"Bearer {credentials['token']}"}
elif auth_type == "api_key":
he