Qa deployment prompts

From CarlosCaPe/octorato · View interactive version

Qa deployment prompts is an AI agent skill from the GitHub repository CarlosCaPe/octorato. QA Deployment Prompts

How to use this skill

Skill file

QA Deployment Prompts

What

A self-contained markdown document that provides everything an operator (or AI

agent) needs to deploy a ticket to an environment they can reach, when the

original developer cannot (e.g., due to VNET restrictions).

Why

When DEV is reachable but QA is behind a VNET, the developer can't deploy

directly. Instead of writing a Slack message with scattered instructions, a

QA Deployment Prompt packages all context into a single copy-paste document

that another operator can execute without any additional questions.

How

Required sections

# DA-XXX -- QA Deployment Prompt

## Context for the AI agent
- What the ticket does (plain English)
- What the script modifies (tables, procedures, indexes)
- Current status table (DEV: deployed, QA: pending)

## What you need to do

### Step 1: Verify the workspace
Test-Path fixes/tickets/DA-XXX/01_script.sql

### Step 2: Verify credentials
.env must have DB_HOST_QA, DB_PORT_QA, DB_USER_QA, DB_PASSWORD_QA

### Step 3: Test connectivity
TcpClient connect test to QA server

### Step 4: Dry-run (FIRST)
node scripts/run_sql_file.js --env qa --db MyDB_QA --file ... --logPrefix DA-XXX

### Step 5: Execute (only after dry-run succeeds)
node scripts/run_sql_file.js --env qa --db MyDB_QA --file ... --execute 1 --logPrefix DA-XXX

### Step 6: Update ticket files
Update CLOSURE_NOTE.md and README.md

### Step 7: Git commit

## Important notes
- Idempotent, dry-run by default, auth method, etc.

Key principle

The prompt must be self-contained. The operator should not need to:

Everything they need is in the prompt.

When to Use

Where We Used It

connectivity test, and post-deployment update checklist

Gotchas

full command line

they should know immediately, not after 30 seconds of timeout

knows what success looks like


Category: Process | Origin: DA-102

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.