一键导入
worker-database
Database operation patterns, collections, and connection patterns
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Database operation patterns, collections, and connection patterns
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Load CI/CD pipeline configuration and deployment information when working with automation or deployments
Load database relationships, shared resources, and schema information when working with data models or database configuration
Load development environment information including folder structure, OrbStack setup, and system configuration
Load port mappings for all projects when working with networking, docker-compose, or service configuration
Load GitHub/GitLab repository information when working with git, CI/CD, or repository management
Load server information, infrastructure details, and access patterns when working with deployment or server configuration
| name | worker-database |
| description | Database operation patterns, collections, and connection patterns |
| disable-model-invocation | true |
All databases run in the databases-test namespace on K3S.
Databases:
flowmaster - Production dataflowmaster_test - Test environmentflowmaster_dev - Development environmentKey Collections:
process_definitions - BPMN/workflow definitionsprocess_instances - Running workflow instancesagent_sessions - AI agent conversation historyknowledge_items - RAG/knowledge base documentsschedules - Scheduled tasks and triggersnode_executions - Execution logs per process nodebusiness_rules - DMN rules and conditionsQuery Pattern:
FOR doc IN process_definitions
FILTER doc.type == "workflow"
RETURN doc
Databases:
flowmaster_core - Auth, RBAC, permissionsflowmaster_users - User profiles and settingsflowmaster_workflow - Workflow execution stateORM: Prisma (used in auth-service)
Prisma Schema Location:
prisma/schema.prismaUsed By:
event-bus - Event routing and queuingai-agent - Session cachingprompt-engineering - Prompt cachescheduling - Job scheduling# Create tunnel for ArangoDB
ssh dev-01-root -L 8529:<arango-k8s-url>:8529 -N &
# Create tunnel for PostgreSQL
ssh dev-01-root -L 5432:<postgres-k8s-url>:5432 -N &
# Create tunnel for Redis
ssh dev-01-root -L 6379:<redis-k8s-url>:6379 -N &
# Now connect locally using credentials from commander-mcp
arangosh --server.endpoint http://127.0.0.1:8529 --server.username <user> --server.password <password>
psql -h localhost -U <user> -d flowmaster_core
redis-cli -p 6379
db.process_definitions.insert({
_key: "workflow_123",
name: "Approval Workflow",
version: "1.0",
type: "workflow",
definition: { /* BPMN */ }
})
FOR doc IN process_instances
FILTER doc.status == "running"
LIMIT 10
RETURN doc
SELECT id, email, role FROM users WHERE role = 'admin';
SELECT p.*, r.name FROM permissions p
JOIN roles r ON p.role_id = r.id
WHERE p.resource = 'process_design';
redis-cli GET session:user_123
redis-cli PUBLISH events:workflow '{"type":"started","id":"123"}'
databases-test namespace (despite name, used for production).databases-test.svc.cluster.local domainFor live database credentials and connection details, use commander-mcp: get_credential("arango"), get_context_databases