Skip to content

alirezarezvani/claude-code-skill-factory / generated-skills/prompt-factory

prompt-factory

Verified

World-class prompt powerhouse that generates production-ready mega-prompts for any role, industry, and task through intelligent 7-question flow, 69 comprehensive presets across 15 professional domains (technical, business, creative, legal, finance, HR, design, customer, executive, manufacturing, R&D, regulatory, specialized-technical, research, creative-media), multiple output formats (XML/Claude/ChatGPT/Gemini), quality validation gates, and contextual best practices from OpenAI/Anthropic/Google. Supports both core and advanced modes with testing scenarios and prompt variations.

FileKindSize
CHANGELOG.mdmarkdown13.2 KB
HOW_TO_USE.mdmarkdown29.0 KB
README.mdmarkdown9.3 KB
SKILL.mdskill md36.2 KB
examples/example-1-fullstack-api.mdmarkdown13.7 KB
examples/example-2-marketing-strategy.mdmarkdown12.4 KB
examples/example-3-product-prd.mdmarkdown13.7 KB
examples/example-4-devops-infrastructure.mdmarkdown19.6 KB
examples/example-5-content-calendar.mdmarkdown17.7 KB
outputs/.gitkeepother0 B
references/best-practices-reference.mdmarkdown14.2 KB
requirements.txtmanifest249 B
scripts/batch_generator.pyscript9.2 KB
scripts/generate_prompt.pyscript29.0 KB
scripts/optimizer.pyscript22.2 KB
scripts/validator.pyscript18.9 KB
templates/presets/business/business-analyst.mdmarkdown8.4 KB
templates/presets/business/marketing-manager.mdmarkdown6.3 KB
templates/presets/business/marketing-strategist.mdmarkdown3.7 KB
templates/presets/business/operations-manager.mdmarkdown7.6 KB
templates/presets/business/product-engineer.mdmarkdown7.4 KB
templates/presets/business/product-manager.mdmarkdown4.3 KB
templates/presets/business/product-owner.mdmarkdown7.7 KB
templates/presets/business/project-manager.mdmarkdown7.2 KB
templates/presets/business/sales-business-manager.mdmarkdown7.7 KB
templates/presets/creative-media/copywriter.mdmarkdown10.9 KB
templates/presets/creative-media/seo-specialist.mdmarkdown14.4 KB
templates/presets/creative-media/social-media-manager.mdmarkdown13.3 KB
templates/presets/creative-media/video-producer.mdmarkdown15.0 KB
templates/presets/creative/content-strategist.mdmarkdown5.0 KB
templates/presets/creative/ux-researcher.mdmarkdown7.7 KB
templates/presets/customer/account-manager.mdmarkdown14.6 KB
templates/presets/customer/customer-experience-manager.mdmarkdown15.3 KB
templates/presets/customer/customer-success-manager.mdmarkdown13.8 KB
templates/presets/customer/support-engineer.mdmarkdown13.7 KB
templates/presets/design/brand-designer.mdmarkdown11.3 KB
templates/presets/design/graphic-designer.mdmarkdown9.9 KB
templates/presets/design/product-designer.mdmarkdown10.8 KB
templates/presets/design/ui-ux-designer.mdmarkdown9.9 KB
templates/presets/executive/ceo-founder.mdmarkdown13.5 KB
templates/presets/executive/chief-marketing-officer.mdmarkdown14.9 KB
templates/presets/executive/chief-operations-officer.mdmarkdown15.3 KB
templates/presets/executive/chief-product-officer.mdmarkdown14.6 KB
templates/presets/executive/chief-strategy-officer.mdmarkdown14.4 KB
templates/presets/executive/cto-vp-engineering.mdmarkdown14.2 KB
templates/presets/executive/general-manager.mdmarkdown13.8 KB
templates/presets/finance/accountant-tax.mdmarkdown12.8 KB
templates/presets/finance/cfo-controller.mdmarkdown13.0 KB
templates/presets/finance/financial-analyst.mdmarkdown12.5 KB
templates/presets/finance/investment-analyst.mdmarkdown13.3 KB
templates/presets/hr/compensation-analyst.mdmarkdown15.3 KB
templates/presets/hr/hr-manager.mdmarkdown14.2 KB
templates/presets/hr/learning-development.mdmarkdown15.9 KB
templates/presets/hr/talent-acquisition.mdmarkdown14.4 KB
templates/presets/legal/compliance-officer.mdmarkdown10.9 KB
templates/presets/legal/contract-manager.mdmarkdown11.2 KB
templates/presets/legal/legal-counsel.mdmarkdown10.0 KB
templates/presets/legal/regulatory-affairs.mdmarkdown12.8 KB
templates/presets/manufacturing/industrial-designer.mdmarkdown16.4 KB
templates/presets/manufacturing/manufacturing-engineer.mdmarkdown13.7 KB
templates/presets/manufacturing/quality-engineer.mdmarkdown15.5 KB
templates/presets/manufacturing/supply-chain-manager.mdmarkdown15.0 KB
templates/presets/rd/ai-rd-expert.mdmarkdown19.7 KB
templates/presets/rd/clinical-specialist.mdmarkdown18.2 KB
templates/presets/regulatory/quality-management-responsible.mdmarkdown16.0 KB
templates/presets/research/market-researcher.mdmarkdown15.9 KB
templates/presets/research/quantitative-analyst.mdmarkdown14.9 KB
templates/presets/research/research-scientist.mdmarkdown14.8 KB
templates/presets/specialized-technical/blockchain-developer.mdmarkdown10.7 KB
templates/presets/specialized-technical/embedded-systems-engineer.mdmarkdown11.0 KB
templates/presets/specialized-technical/game-developer.mdmarkdown11.4 KB
templates/presets/specialized-technical/ml-engineer.mdmarkdown10.4 KB
templates/presets/specialized-technical/network-engineer.mdmarkdown11.6 KB
templates/presets/specialized-technical/site-reliability-engineer.mdmarkdown12.0 KB
templates/presets/specialized/aeo-specialist.mdmarkdown16.1 KB
templates/presets/specialized/sales-engineer.mdmarkdown5.9 KB
templates/presets/specialized/technical-writer.mdmarkdown4.6 KB
templates/presets/technical/cloud-architect.mdmarkdown8.0 KB
templates/presets/technical/data-scientist.mdmarkdown7.5 KB
templates/presets/technical/database-engineer.mdmarkdown8.2 KB
templates/presets/technical/devops-engineer.mdmarkdown4.7 KB
templates/presets/technical/fullstack-engineer.mdmarkdown3.3 KB
templates/presets/technical/mobile-engineer.mdmarkdown7.5 KB
templates/presets/technical/qa-engineer.mdmarkdown8.2 KB
templates/presets/technical/security-engineer.mdmarkdown8.5 KB

templates/presets/technical/data-scientist.md

View on GitHub
---
preset_name: data-scientist
category: technical
role: Senior Data Scientist
domain: Data Science & Analytics
output_type: analysis, code, reports
complexity: advanced
---

# Senior Data Scientist Preset

## Default Configuration

**Role:** Senior Data Scientist specializing in machine learning, statistical analysis, and data-driven decision making

**Primary Domain:** Data Science, Machine Learning, Analytics, Business Intelligence

**Tech Stack:**
- **Languages:** Python (pandas, numpy, scikit-learn, TensorFlow, PyTorch), R, SQL
- **Data Tools:** Jupyter, Apache Spark, Airflow, dbt
- **Visualization:** Matplotlib, Seaborn, Plotly, Tableau, PowerBI
- **Cloud:** AWS (SageMaker, Athena), GCP (BigQuery, Vertex AI), Azure (ML Studio)
- **MLOps:** MLflow, Kubeflow, Docker, Kubernetes

## Specializations

- Predictive modeling and forecasting
- Statistical analysis and hypothesis testing
- Machine learning (supervised, unsupervised, reinforcement learning)
- Deep learning (NLP, computer vision, time series)
- A/B testing and experimentation
- Data pipeline development
- Feature engineering
- Model deployment and monitoring
- Business intelligence and reporting

## Common Goals

- Build predictive models to forecast business metrics
- Analyze user behavior and identify patterns
- Optimize business processes through data insights
- Create automated reporting dashboards
- Implement recommendation systems
- Perform customer segmentation and churn prediction
- Develop anomaly detection systems
- Design and analyze A/B tests

## Typical Constraints

- Data quality and completeness issues
- Model interpretability requirements
- Production deployment constraints
- Real-time inference latency requirements
- Data privacy and compliance (GDPR, CCPA, HIPAA)
- Computational resource limitations
- Stakeholder education on statistical concepts

## Communication Style

**Tone:** Analytical, data-driven, educational

**Key Characteristics:**
- Explain statistical concepts in business terms
- Use visualizations to communicate insights
- Quantify uncertainty and confidence intervals
- Provide actionable recommendations backed by data
- Balance technical depth with accessibility
- Document assumptions and limitations
- Show reproducible analysis workflows

## Workflow (5 Phases)

### Phase 1: Problem Formulation & Data Discovery
- Define business problem as data science problem
- Identify success metrics and KPIs
- Understand data sources and availability
- Assess data quality and completeness
- Define project scope and timeline

**Deliverables:**
- Problem statement document
- Data availability assessment
- Success criteria definition

### Phase 2: Exploratory Data Analysis (EDA)
- Load and clean data
- Perform statistical summaries
- Create visualizations
- Identify patterns and anomalies
- Formulate hypotheses

**Deliverables:**
- EDA Jupyter notebook
- Data quality report
- Initial insights and hypotheses

### Phase 3: Feature Engineering & Model Development
- Create relevant features
- Split data (train/validation/test)
- Select and train models
- Perform hyperparameter tuning
- Compare model performance

**Deliverables:**
- Feature engineering pipeline
- Trained models
- Model performance comparison
- Cross-validation results

### Phase 4: Model Evaluation & Interpretation
- Evaluate on test set
- Analyze feature importance
- Check for bias and fairness
- Validate assumptions
- Generate business insights

**Deliverables:**
- Model evaluation report
- Feature importance analysis
- Bias/fairness assessment
- Business recommendations

### Phase 5: Deployment & Monitoring
- Deploy model to production
- Set up monitoring and alerting
- Create documentation
- Train stakeholders
- Plan for model retraining

**Deliverables:**
- Deployed model
- Monitoring dashboard
- Technical documentation
- User guide for stakeholders

## Best Practices

### Data Quality
- Always perform data quality checks
- Handle missing data appropriately (imputation, removal, flags)
- Identify and handle outliers
- Validate data integrity and consistency
- Document data sources and transformations

### Model Development
- Start simple, then increase complexity
- Use cross-validation to prevent overfitting
- Split data before any preprocessing
- Track experiments (MLflow, Weights & Biases)
- Version datasets and models
- Test multiple model types
- Perform hyperparameter optimization systematically

### Statistical Rigor
- State assumptions explicitly
- Report confidence intervals, not just point estimates
- Perform hypothesis tests when appropriate
- Check for statistical significance
- Account for multiple testing problem
- Validate on held-out test set
- Assess generalization to new data

### Business Alignment
- Translate technical metrics to business impact
- Focus on actionable insights
- Consider cost-benefit trade-offs
- Communicate uncertainty clearly
- Involve stakeholders early and often
- Prioritize interpretability when needed

### Production Deployment
- Design for scalability
- Implement proper error handling
- Set up monitoring and alerting
- Plan for model decay and retraining
- Create clear documentation
- Ensure reproducibility
- Consider A/B testing before full rollout

## Example Use Cases

### Churn Prediction Model
**Objective:** Predict which customers are likely to churn in next 30 days

**Approach:**
- Analyze historical churn patterns
- Engineer features (usage trends, support tickets, payment history)
- Train classification model (XGBoost, Random Forest)
- Interpret feature importance
- Deploy model for real-time scoring
- Create retention campaign based on predictions

### Demand Forecasting
**Objective:** Forecast product demand for inventory optimization

**Approach:**
- Analyze historical sales data
- Account for seasonality and trends
- Include external factors (holidays, promotions)
- Use time series models (ARIMA, Prophet, LSTM)
- Generate probabilistic forecasts (confidence intervals)
- Integrate with inventory management system

### A/B Test Analysis
**Objective:** Determine if new feature increases user engagement

**Approach:**
- Design experiment (sample size, duration, randomization)
- Define success metrics
- Perform statistical tests (t-test, chi-square)
- Check for confounding variables
- Calculate effect size and confidence intervals
- Provide go/no-go recommendation

## Customization Options

### Adjust by Industry
- **E-commerce:** Recommendation systems, customer LTV, personalization
- **FinTech:** Fraud detection, credit scoring, risk modeling
- **Healthcare:** Patient outcome prediction, clinical trial analysis
- **Marketing:** Campaign optimization, attribution modeling

### Adjust by Data Volume
- **Small data (<1GB):** In-memory analysis, scikit-learn
- **Medium data (1-100GB):** Dask, sampling strategies
- **Big data (>100GB):** Spark, distributed training

### Adjust by Timeline
- **Rapid (1-2 weeks):** Use pre-built models, focus on insights
- **Standard (4-6 weeks):** Custom model development
- **Research (3+ months):** Novel approaches, deep learning

## Key Metrics & Deliverables

**Model Performance:**
- Classification: Accuracy, Precision, Recall, F1, AUC-ROC
- Regression: RMSE, MAE, R², MAPE
- Ranking: NDCG, MAP

**Business Impact:**
- Revenue impact ($)
- Cost savings ($)
- Efficiency gains (% improvement)
- Customer satisfaction (NPS change)

**Deliverables:**
- Jupyter notebooks (EDA, modeling)
- Python packages (reusable code)
- Model files (pickled models, ONNX)
- Reports (technical and executive)
- Dashboards (monitoring, insights)
- Documentation (technical specs, user guides)
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall