database-operations — for Claude Code database-operations, claude-family, community, for Claude Code, ide skills, ai_company_foundation, ### Primary Schema Use, claude.sessions, claude.knowledge, claude.feedback

v1.0.0

このスキルについて

適した場面: Ideal for AI agents that need database operations skill. ローカライズされた概要: --- Quick Reference Connection Primary Schema Use claude. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

機能

Database Operations Skill
Last Updated: 2026-01-08
This skill provides guidance for database operations with the Claude Family PostgreSQL database
conn = psycopg.connect(
dbname="ai company foundation", # Note: dbname, not database

# 主なトピック

TalkingMonkeyOz TalkingMonkeyOz
[1]
[0]
更新日: 5/4/2026

Skill Overview

Start with fit, limitations, and setup before diving into the repository.

適した場面: Ideal for AI agents that need database operations skill. ローカライズされた概要: --- Quick Reference Connection Primary Schema Use claude. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

このスキルを使用する理由

推奨ポイント: database-operations helps agents database operations skill. --- Quick Reference Connection Primary Schema Use claude. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

おすすめ

適した場面: Ideal for AI agents that need database operations skill.

実現可能なユースケース for database-operations

ユースケース: Database Operations Skill
ユースケース: Last Updated: 2026-01-08
ユースケース: This skill provides guidance for database operations with the Claude Family PostgreSQL database

! セキュリティと制限

  • 制約事項: -- WRONG: Column in ORDER BY must be in SELECT for DISTINCT
  • 制約事項: Requires repository-specific context from the skill documentation
  • 制約事項: Works best when the underlying tools and dependencies are already configured

About The Source

The section below is adapted from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Labs デモ

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ とインストール手順

These questions and steps mirror the structured data on this page for better search understanding.

? よくある質問

database-operations とは何ですか?

適した場面: Ideal for AI agents that need database operations skill. ローカライズされた概要: --- Quick Reference Connection Primary Schema Use claude. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

database-operations はどうやって導入しますか?

次のコマンドを実行してください: npx killer-skills add TalkingMonkeyOz/claude-family/database-operations。Cursor、Windsurf、VS Code、Claude Code など19以上のIDEで使えます。

database-operations の主な用途は?

主な用途は次のとおりです: ユースケース: Database Operations Skill, ユースケース: Last Updated: 2026-01-08, ユースケース: This skill provides guidance for database operations with the Claude Family PostgreSQL database。

database-operations に対応するIDEは?

このスキルは Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer に対応しています。統一された導入には Killer-Skills CLI を使えます。

database-operations に制限はありますか?

制約事項: -- WRONG: Column in ORDER BY must be in SELECT for DISTINCT. 制約事項: Requires repository-specific context from the skill documentation. 制約事項: Works best when the underlying tools and dependencies are already configured.

このスキルの導入方法

  1. 1. ターミナルを開く

    プロジェクトディレクトリでターミナルまたはコマンドラインを開きます。

  2. 2. インストールコマンドを実行

    npx killer-skills add TalkingMonkeyOz/claude-family/database-operations を実行してください。CLI がIDEまたはエージェントを自動検出し、スキルを設定します。

  3. 3. スキルを使い始める

    このスキルはすぐに有効になります。現在のプロジェクトで database-operations をすぐ使えます。

! Source Notes

This page is still useful for installation and source reference. Before using it, compare the fit, limitations, and upstream repository notes above.

Upstream Repository Material

The section below is adapted from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Upstream Source

database-operations

--- Quick Reference Connection Primary Schema Use claude. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows. Database Operations Skill

SKILL.md
Readonly
Upstream Repository Material
The section below is adapted from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.
Upstream Source

Database Operations Skill

Status: Active Last Updated: 2026-01-08


Overview

This skill provides guidance for database operations with the Claude Family PostgreSQL database (ai_company_foundation).


Quick Reference

Connection

python
1# Python (psycopg3) 2import psycopg 3 4conn = psycopg.connect( 5 host="localhost", 6 port=5432, 7 dbname="ai_company_foundation", # Note: dbname, not database 8 user="postgres", 9 password="your_password" 10)

Primary Schema

Use claude.* for all new work. Legacy schemas (claude_family, claude_pm, claude_mission_control) are deprecated.

Core Tables

TablePurpose
claude.sessionsSession tracking and logging
claude.knowledgePersistent knowledge entries
claude.feedbackGitHub-style issue tracking
claude.featuresFeature planning
claude.build_tasksDevelopment tasks
claude.projectsProject registry
claude.column_registryValid values for constrained columns

Data Gateway (MANDATORY)

Before writing to any constrained column, check valid values:

sql
1SELECT valid_values FROM claude.column_registry 2WHERE table_name = 'TABLE' AND column_name = 'COLUMN';

Common Constraints

Table.ColumnValid Values
feedback.feedback_typebug, design, question, change, idea, improvement
*.priority1-5 (1=critical, 5=low)
*.statusCheck registry - varies by table

Key Gotchas

1. psycopg3 vs psycopg2

python
1# psycopg2 uses 'database' 2conn = psycopg2.connect(database="ai_company_foundation") 3 4# psycopg3 uses 'dbname' 5conn = psycopg.connect(dbname="ai_company_foundation")

2. UUID Array Casting

sql
1-- WRONG: PostgreSQL doesn't auto-cast text[] to uuid[] 2INSERT INTO table (uuid_array_col) VALUES (ARRAY['id1', 'id2']); 3 4-- CORRECT: Explicit cast 5INSERT INTO table (uuid_array_col) VALUES (ARRAY['id1', 'id2']::uuid[]);

3. DISTINCT with ORDER BY

sql
1-- WRONG: Column in ORDER BY must be in SELECT for DISTINCT 2SELECT DISTINCT title FROM knowledge ORDER BY created_at; 3 4-- CORRECT: Include the ORDER BY column 5SELECT DISTINCT title, created_at FROM knowledge ORDER BY created_at;

4. Schema Consolidation

Legacy functions in claude_family.* may reference deleted tables. Check function definitions with:

sql
1SELECT pg_get_functiondef(oid) FROM pg_proc WHERE proname = 'function_name';

Replace with direct queries to claude.* schema.


Common Queries

sql
1-- Check project status 2SELECT * FROM claude.projects WHERE project_name = 'your-project'; 3 4-- Recent sessions 5SELECT session_start, summary FROM claude.sessions 6WHERE project_name = 'your-project' ORDER BY session_start DESC LIMIT 5; 7 8-- Valid values for any field 9SELECT valid_values FROM claude.column_registry 10WHERE table_name = 'TABLE' AND column_name = 'COLUMN'; 11 12-- Check open feedback 13SELECT feedback_id::text, feedback_type, description, status 14FROM claude.feedback 15WHERE status IN ('new', 'in_progress') 16ORDER BY created_at DESC;

  • testing-patterns - Database testing approaches
  • feature-workflow - Feature tracking in database

Version: 1.0

関連スキル

Looking for an alternative to database-operations or another community skill for your workflow? Explore these related open-source skills.

すべて表示

openclaw-release-maintainer

Logo of openclaw
openclaw

ローカライズされた概要: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

333.8k
0
AI

widget-generator

Logo of f
f

ローカライズされた概要: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat. It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf

149.6k
0
AI

flags

Logo of vercel
vercel

ローカライズされた概要: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
ブラウザ

pr-review

Logo of pytorch
pytorch

ローカライズされた概要: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review. It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
開発者