AgentSkillsCN

setup-database

指导用户在SnapLogic项目中为测试搭建数据库容器。当用户想要启动/停止数据库(Oracle、PostgreSQL、MySQL、SQL Server、DB2、Teradata、Snowflake)、加载测试数据,或排查数据库连接问题时使用此功能。

SKILL.md
--- frontmatter
name: setup-database
description: Guides setting up database containers for testing in the SnapLogic project. Use when the user wants to start/stop databases (Oracle, PostgreSQL, MySQL, SQL Server, DB2, Teradata, Snowflake), load test data, or troubleshoot database connections.
user-invocable: true

Setup Database Skill

Agentic Workflow (Claude: Follow these steps in order)

Step 1: Load the Complete Guide

code
ACTION: Use the Read tool to load:
{{cookiecutter.primary_pipeline_name}}/.claude/skills/setup-database/SKILL.md

Do not proceed until you have read the complete guide.

Step 2: Understand the User's Request

Parse what the user wants:

  • Which database? (Oracle, PostgreSQL, MySQL, SQL Server, DB2, Teradata, Snowflake)
  • Start/stop/status commands?
  • Load test data?
  • Troubleshoot connection issues?

Step 3: Follow the Guide

Use the detailed instructions from the file you loaded in Step 1 to:

  • Provide correct make commands for the database
  • Guide through configuration steps
  • Help with data loading

Step 4: Respond to User

Provide database setup commands and guidance based on the complete guide.


Quick Reference

Available databases: Oracle, PostgreSQL, MySQL, SQL Server, DB2, Teradata, Snowflake

This guide covers:

  • Quick start commands
  • Database-specific configurations
  • Loading test data
  • Troubleshooting database connections