Helper tool for interacting with local Docker-based PostgreSQL databases and configuring subscription data.

Install

mkdir -p .claude/skills/local-env && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/5674" && unzip -o skill.zip -d .claude/skills/local-env && rm skill.zip

Installs to .claude/skills/local-env

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Local environment management - run SQL queries, set up fake payments, reset test data. Use when the user needs help with local database operations or test data setup.
166 chars✓ has a “when” trigger
Beginner

Key capabilities

  • →Execute SQL queries on a local PostgreSQL database
  • →Set up fake payment statuses for organizations
  • →Set up fake payment statuses for opportunities
  • →Reset fake payment data for organizations and opportunities
  • →Update the lifecycle state of an opportunity
  • →Discover schema information for unknown database operations

How it works

The skill interacts with a local PostgreSQL database running in a Docker container. It executes SQL commands to manage test data, including setting fake payment statuses and updating opportunity states.

Inputs & outputs

You give it
User request for a local database operation, e.g., "Set up fake payment for opportunity X"
You get back
SQL query execution result or confirmation of data modification

When to use local-env

  • →Execute SQL queries on local PostgreSQL
  • →Set up fake subscription and payment status
  • →Reset local test data
  • →Verify organization subscription flags

About local-env

Simplifies management of local dev environments by executing SQL queries on Docker-hosted PostgreSQL containers. Includes commands to inject fake payment records for feature testing.

Local environment management - run SQL queries, set up fake payments, reset test data. Use when the user needs help with local database operations or test data setup.

When not to use it

  • →When the database is not PostgreSQL or not running locally via Docker
  • →When managing production environments or non-local databases

Prerequisites

DockerPostgreSQL database running in a Docker container

Limitations

  • →The skill is designed for local development environments.
  • →Column naming in entity property names may differ from actual database columns.
  • →Many status fields are integer enums, not strings.

How it compares

This skill automates common local development database tasks and test data setup using predefined SQL commands, which is more efficient than manually constructing and executing queries.

Compared to similar skills

local-env side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
local-env (this skill)18moReviewBeginner
supabase-local-dev-loop02moCautionBeginner
test-with-postgres14moReviewIntermediate
supabase-multi-env-setup12moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry