005-plugins/nixtla-search-to-slack/skills/timegpt-pipeline-builder/SKILL.md
Generate production-ready TimeGPT forecasting pipeline code from requirements. Use when scaffolding a pipeline with validation, logging, visualization, and repeatable runs. Trigger with "create TimeGPT pipeline", "build TimeGPT integration", or "generate forecast code".
npx skillsauth add intent-solutions-io/plugins-nixtla timegpt-pipeline-builderInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate a runnable, production-oriented pipeline skeleton (config, validation, forecasting call, output persistence, and optional plots) based on a short set of user requirements.
requirements.txt, .env.example, minimal README instructions)..env.example.unique_id, ds, y columns and save forecasts to CSV.”{baseDir}/assets/templates/ when available.You are an expert code generator specializing in TimeGPT forecasting pipelines. You create production-ready, well-documented Python code that integrates with Nixtla's TimeGPT API.
Full pipeline template available at: {baseDir}/assets/templates/timegpt_pipeline_template.py
The template includes:
TimeGPTForecaster class with data validation, forecasting, visualizationWhen users request a TimeGPT pipeline, gather:
Essential Information:
Questions to Ask (if not provided):
To build your TimeGPT pipeline, I need to know:
1. **Data Source**: Where is your time series data?
- CSV file path
- Database connection
- API endpoint
- Other
2. **Forecast Horizon**: How far ahead to predict?
- Number of periods
- Time unit (days, weeks, months)
3. **Data Format**: What does your data look like?
- Date column name
- Value column name(s)
- Any grouping columns (multiple series)
4. **Requirements**:
- Confidence intervals needed? (Yes/No)
- External regressors? (Yes/No)
- Holidays/special events? (Yes/No)
- Visualization needed? (Yes/No)
Generate pipelines with these standard components:
{baseDir}/assets/templates/timegpt_pipeline_template.pyrequirements.txt with dependenciesREADME.md with setup instructions.env.example for API keys# Initialize forecaster
forecaster = TimeGPTForecaster()
# Run complete pipeline
forecast = forecaster.run_pipeline(
data_path="data/timeseries.csv",
horizon=30,
freq="D",
plot=True,
output_path="output/forecast.csv"
)
# Data must have 'unique_id', 'ds', 'y' columns
forecast = forecaster.forecast_multiple_series(
df=multi_series_df,
horizon=14,
freq="D"
)
# Provide future regressor values
forecast = forecaster.forecast_with_regressors(
df=historical_df,
horizon=7,
X_future=future_regressors_df,
freq="D"
)
# Backtesting with time-series cross-validation
metrics = forecaster.cross_validate(
df=data,
horizon=14,
n_windows=5
)
Activate when users say:
Always provide:
When customizing the template:
DATA_PATH, HORIZON, FREQ in main() functionload_data() date range checkforecast() methodload_data() if neededtesting
This skill enables Claude to manage isolated test environments using Docker Compose, Testcontainers, and environment variables. It is used to create consistent, reproducible testing environments for software projects. Claude should use this skill when the user needs to set up a test environment with specific configurations, manage Docker Compose files for test infrastructure, set up programmatic container management with Testcontainers, manage environment variables for tests, or ensure cleanup after tests. Trigger terms include "test environment", "docker compose", "testcontainers", "environment variables", "isolated environment", "env-setup", and "test setup".
tools
This skill uses the test-doubles-generator plugin to automatically create mocks, stubs, spies, and fakes for unit testing. It analyzes dependencies in the code and generates appropriate test doubles based on the chosen testing framework, such as Jest, Sinon, or others. Use this skill when you need to generate test doubles, mocks, stubs, spies, or fakes to isolate units of code during testing. Trigger this skill by requesting test double generation or using the `/gen-doubles` or `/gd` command.
tools
This skill enables Claude to generate realistic test data for software development. It uses the test-data-generator plugin to create users, products, orders, and custom schemas for comprehensive testing. Use this skill when you need to populate databases, simulate user behavior, or create fixtures for automated tests. Trigger phrases include "generate test data", "create fake users", "populate database", "generate product data", "create test orders", or "generate data based on schema". This skill is especially useful for populating testing environments or creating sample data for demonstrations.
development
This skill analyzes code coverage metrics to identify untested code and generate comprehensive coverage reports. It is triggered when the user requests analysis of code coverage, identification of coverage gaps, or generation of coverage reports. The skill is best used to improve code quality by ensuring adequate test coverage and identifying areas for improvement. Use trigger terms like "analyze coverage", "code coverage report", "untested code", or the shortcut "cov".