Standards for authoring SDD plugin agents — frontmatter, self-containment, skill references, and no-user-interaction rules.
日本語の概要は準備中です。原文の説明を表示しています。
PostgreSQL database agent: deploy locally (Docker/K8s), manage schemas, run queries, analyze performance, configure permissions, and seed data.
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
SQL-native PostgreSQL operations via psql. No Python dependencies required.
| Feature | Minimum Version |
|---|---|
| Core functionality | PostgreSQL 12+ |
pg_blocking_pids() | 9.6+ |
REINDEX CONCURRENTLY | 12+ |
pg_stat_progress_* views | 12+ |
VACUUM PARALLEL | 13+ |
pg_stat_wal | 14+ |
pg_stat_checkpointer | 17+ |
Recommended: PostgreSQL 14+
export PGHOST=localhost
export PGPORT=5432
export PGUSER=app
export PGPASSWORD=secret
export PGDATABASE=myapp
# Using environment variables
psql
# Using connection string
psql "postgresql://app:secret@localhost:5432/myapp"
# Docker
docker exec -it postgres psql -U app -d myapp
# Kubernetes
kubectl exec -it postgres -- psql -U postgres
INSERT INTO app.users (email, name) VALUES
('alice@example.com', 'Alice'),
('bob@example.com', 'Bob')
RETURNING id, email;
INSERT INTO app.users (email, name)
VALUES ('alice@example.com', 'Alice Updated')
ON CONFLICT (email) DO UPDATE SET
name = EXCLUDED.name,
updated_at = NOW();
INSERT INTO app.users (email, name)
SELECT
'user' || n || '@example.com',
'User ' || n
FROM generate_series(1, 1000) AS n;
\copy app.users (email, name) FROM 'users.csv' WITH (FORMAT csv, HEADER true);
CRITICAL: Always use parameterized queries to prevent SQL injection.
-- In psql with variables
\set user_id 123
SELECT * FROM app.users WHERE id = :user_id;
-- Prepared statements
PREPARE get_user(bigint) AS
SELECT * FROM app.users WHERE id = $1;
EXECUTE get_user(123);
BEGIN;
UPDATE app.accounts SET balance = balance - 100 WHERE id = 1;
UPDATE app.accounts SET balance = balance + 100 WHERE id = 2;
COMMIT;
-- With savepoint
BEGIN;
INSERT INTO app.orders (user_id, total) VALUES (1, 99.99);
SAVEPOINT before_items;
INSERT INTO app.order_items (order_id, product_id) VALUES (1, 999);
-- Oops, rollback just the items
ROLLBACK TO before_items;
COMMIT;
CRITICAL: Follow these rules to prevent data loss and security issues.
| Command | Description |
|---|---|
\l | List databases |
\c dbname | Connect to database |
\dt | List tables |
\dt schema.* | List tables in schema |
\d tablename | Describe table |
\di | List indexes |
\df | List functions |
\du | List roles/users |
\dn | List schemas |
\x | Toggle expanded display |
\timing | Toggle query timing |
\i file.sql | Execute SQL file |
\copy | Import/export CSV |
\q | Quit |
For detailed guidance, read these on-demand:
This skill defines no input parameters or structured output.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Standards for authoring SDD plugin agents — frontmatter, self-containment, skill references, and no-user-interaction rules.
日本語の概要は準備中です。原文の説明を表示しています。
Scaffolds Node.js/TypeScript backend components with CMDO architecture, driven by component settings.
日本語の概要は準備中です。原文の説明を表示しています。
CMDO architecture standards for Node.js/TypeScript backends with strict layer separation.
日本語の概要は準備中です。原文の説明を表示しています。
Intent-to-command mappings for fullstack-typescript tech pack features.
日本語の概要は準備中です。原文の説明を表示しています。
Create change specification and implementation plan with dynamic phase generation. Supports feature, bugfix, refactor, and epic types.
日本語の概要は準備中です。原文の説明を表示しています。
Orchestrates the full change lifecycle — routes actions to phase-specific sub-files.
日本語の概要は準備中です。原文の説明を表示しています。