Token导航 LogoToken导航

Agent Skill · 研究检索

alibabacloud-analyticdb-postgresql-ai-coaching-best-practice(alibabacloud analyticdb PostgreSQL AI coaching 最佳 practice)

用于辅助数据库表结构、查询语句、迁移脚本和数据维护任务。它适合让 Agent 分析 schema、编写 SQL、排查查询问题、整理索引或生成迁移建议。使用时需要明确数据库类型、连接环境和目标表,区分只读分析与写入变更;涉及删除、更新、迁移和批量导入时,应优先 dry-run、备份或事务保护,避免误操作。

alibabacloud-analyticdb-postgresql-ai-coaching-best-practice 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 45,000。

总安装 879周安装 37GitHub Stars 80下载 308核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:alibabacloud-analyticdb-postgresql-ai-coaching-best-practice(alibabacloud analyticdb PostgreSQL AI coaching 最佳 practice)
来源仓库:https://github.com/aliyun/alibabacloud-aiops-skills
仓库路径:skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice
安装命令:
npx skills add https://github.com/aliyun/alibabacloud-aiops-skills --skill alibabacloud-analyticdb-postgresql-ai-coaching-best-practice
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/aliyun/alibabacloud-aiops-skills --skill alibabacloud-analyticdb-postgresql-ai-coaching-best-practice

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于构建基于 ADBPG 的智能 coaching 系统,结合 Supabase 与向量知识库。支持训练数据管理、RAG 对话引擎搭建与学习记录追踪。需部署 Supabase 项目和 ADBPG 向量实例,完成索引与 embedding 配置。依赖 aliyun CLI >= 3.3.3,首次使用前必须验证版本兼容性。

alibabacloud-analyticdb-postgresql-ai-coaching-best-practice 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/aliyun/alibabacloud-aiops-skills --skill aliba…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

alibabacloud-analyticdb-postgresql-ai-coaching-best-practice 怎么安装?

在终端执行 npx skills add https://github.com/aliyun/alibabacloud-aiops-skills --skill alibabacloud-an…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

alibabacloud-analyticdb-postgresql-ai-coaching-best-practice 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

alibabacloud-analyticdb-postgresql-ai-coaching-best-practice 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

alibabacloud-analyticdb-postgresql-ai-coaching-best-practice 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

alibabacloud-analyticdb-postgresql-ai-coaching-best-practice 用的人多吗?

公开数据是累计安装 879 次,近一周安装 37 次,下载 308 次,GitHub 80 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

alibabacloud-analyticdb-postgresql-ai-coaching-best-practice 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
alibabacloud-analyticdb-postgresql-ai-coaching-best-practice

alibabacloud analyticdb PostgreSQL AI coaching 最佳 practice · 本页

87980接触敏感数据未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

ADBPG AI Coaching Best Practice

Build RAG-driven coaching systems using ADBPG Supabase (training data management) + ADBPG Vector Knowledge Base (RAG-driven intelligent coaching).

Core Capabilities:

  • Supabase Project: PostgreSQL-based platform for managing coaching domains, learners, and session records
  • Vector Knowledge Base: ADBPG instance with vector optimization for RAG-driven coaching
  • Seamless Integration: Supabase stores structured data, ADBPG powers intelligent AI coaching dialogue

Pre-check: Aliyun CLI >= 3.3.3 Required

IMPORTANT: Run aliyun version to verify >= 3.3.3. If not installed or version too low, run curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash to update, or see references/cli-installation-guide.md for installation instructions. Then [MUST] run aliyun configure set --auto-plugin-install true to enable automatic plugin installation. [MUST] run aliyun plugin update to ensure that any existing plugins on your local machine are always up-to-date.

[MUST] CLI User-Agent

Every aliyun CLI command invocation must include: --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice

[MUST] CLI AI-Mode Configuration

At the start of the Core Workflow (before any CLI invocation):

[MUST] Enable AI-Mode — AI-mode is required for Agent Skill execution. Run the following commands before any CLI invocation:

aliyun configure ai-mode enable
aliyun configure ai-mode set-user-agent --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice"

[MUST] Disable AI-Mode at EVERY exit point — Before delivering the final response for ANY reason, always disable AI-mode first. This applies to ALL exit paths: workflow success, workflow failure, error/exception, user cancellation, session end, or any other scenario where no further CLI commands will be executed. AI-mode is only used for Agent Skill invocation scenarios and MUST NOT remain enabled after the skill stops running.

aliyun configure ai-mode disable

Pre-check: Alibaba Cloud Credentials Required

Security Rules: - NEVER read, echo, or print AK/SK values - NEVER ask the user to input AK/SK directly - NEVER print passwords or API Keys in plain text in logs or stdout - ONLY use aliyun configure list to check credential status - When displaying API Keys, show only the first 6 characters + *** (e.g., sk-abc1***)
aliyun configure list

If no valid profile exists, STOP here. Configure credentials outside of this session via aliyun configure or environment variables.


Scenario Description

ScenarioUse CaseTarget Users
Workflow CoachingGuide professionals through structured business processes (sales cycles, project management)Sales teams, project managers
Decision SupportHelp engineers evaluate trade-offs and make informed technical decisionsEngineers, architects
Skill DevelopmentDevelop communication, negotiation, or technical skills through guided practiceProfessionals, new hires
OnboardingSystematically guide new team members through technical and process onboardingNew employees, mentors

Architecture

User (Web / Terminal / Agent)
           │
    ┌──────┴──────┐
    v             v
┌─────────────┐  ┌────────────────────────┐
│  Supabase   │  │  Agent Mode            │
│  (spb-xxx)  │  │  ChatWithKnowledgeBase │
│  - Domains  │  └───────────┬────────────┘
│  - Sessions │              │
└──────┬──────┘              │
       v                     v
┌────────────────────────────────────────┐
│  ADBPG Instance (gp-xxx) + KB          │
│  Domain Knowledge + RAG + LLM          │
└────────────────────────────────────────┘

RAM Policy

Required Permissions

OperationRAM Permission
Supabase Project Managementgpdb:CreateSupabaseProject, gpdb:GetSupabaseProject, gpdb:ModifySupabaseProjectSecurityIps
ADBPG Instance Managementgpdb:CreateDBInstance, gpdb:DescribeDBInstances, gpdb:ModifySecurityIps
Account Managementgpdb:DescribeAccounts, gpdb:CreateAccount
Knowledge Base Operationsgpdb:InitVectorDatabase, gpdb:CreateNamespace, gpdb:CreateDocumentCollection, gpdb:UploadDocumentAsync, gpdb:ChatWithKnowledgeBase
VPC Networkvpc:DescribeVpcs, vpc:DescribeVSwitches, vpc:DescribeVSwitchAttributes
NAT Gateway & EIPvpc:DescribeNatGateways, vpc:CreateNatGateway, vpc:DescribeEipAddresses, vpc:AllocateEipAddress, vpc:AssociateEipAddress, vpc:CreateSnatEntry

Recommended System Policies: AliyunGPDBFullAccess, AliyunVPCFullAccess (or AliyunVPCReadOnlyAccess if NAT already exists)

See references/ram-policies.md for complete list.

[MUST] Permission Failure Handling: When any command fails due to permission errors: 1. Read references/ram-policies.md for required permissions 2. Use ram-permission-diagnose skill to guide the user 3. Pause and wait until user confirms permissions granted

Core Workflow

When user says "Help me set up an AI coaching system" or similar, execute the following steps:

Smart Defaults Mode: User only needs minimal input (e.g., "北京i"). The agent auto-parses region, discovers VPC/VSwitch, generates passwords, and presents all parameters for one-click confirmation.

Step 1: Create Supabase Project

Parameters to confirm for this step: | Parameter | Default | Notes | | --- | --- | --- | | RegionId | Auto-parse | "北京i" → cn-beijing, "上海b" → cn-shanghai, "杭州" → cn-hangzhou, "深圳" → cn-shenzhen | | ZoneId | Auto-parse | "北京i" → cn-beijing-i; query zones when only city provided | | VpcId | Auto-discover | Query available VPCs, select one with most available IPs | | VSwitchId | Auto-discover | Query VSwitches in target zone, select one with most available IPs | | ProjectName | ai_coaching | Supabase project name | | AccountPassword | Auto-generate | Password rules: 8-32 chars, at least 3 of uppercase/lowercase/digits/special (@#$%^&*), avoid ! |
1.1 Check/Create NAT Gateway
Important: Supabase public connection requires a NAT Gateway with SNAT rules in the VPC.
# Check existing NAT Gateways in VPC
aliyun vpc describe-nat-gateways --profile adbpg \
  --biz-region-id <RegionId> --vpc-id <VpcId> \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice
  • If TotalCount > 0 and SNAT entries cover the VSwitch CIDR → Skip to Step 1.2
  • If no NAT Gateway → Get user confirmation, then:
# 1.1a: Get VSwitch CIDR
aliyun vpc describe-vswitch-attributes --profile adbpg \
  --biz-region-id <RegionId> --vswitch-id <VSwitchId> \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice
# Record: CidrBlock

# 1.1b: Create Enhanced NAT Gateway (requires user confirmation)
# 💰 Cost note: NAT Gateway incurs hourly charges
aliyun vpc create-nat-gateway --profile adbpg \
  --biz-region-id <RegionId> --vpc-id <VpcId> --vswitch-id <VSwitchId> \
  --nat-type Enhanced \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice
# Record: NatGatewayId and SnatTableIds.SnatTableId[0]
# Poll until Status=Available

# 1.1c: Find or allocate EIP (requires user confirmation)
# 💰 Cost note: EIP incurs charges; release via VPC console when no longer needed
aliyun vpc describe-eip-addresses --profile adbpg \
  --biz-region-id <RegionId> \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice
# If no available EIP:
aliyun vpc allocate-eip-address --profile adbpg \
  --biz-region-id <RegionId> \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice
# Record: AllocationId and EipAddress

# 1.1d: Bindind EIP to NAT Gateway (requires user confirmation)
aliyun vpc associate-eip-address --profile adbpg \
  --biz-region-id <RegionId> \
  --allocation-id <EIP-AllocationId> --instance-id <NatGatewayId> \
  --instance-type Nat \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice

# 1.1e: Create SNAT entry (requires user confirmation)
aliyun vpc create-snat-entry --profile adbpg \
  --biz-region-id <RegionId> \
  --snat-table-id <SnatTableId> \
  --source-cidr "<VSwitch-CidrBlock>" --snat-ip "<EipAddress>" \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice
1.2 Create Supabase Project
aliyun gpdb create-supabase-project --profile adbpg \
  --biz-region-id <RegionId> --zone-id <ZoneId> \
  --project-name <ProjectName> --account-password '<AccountPassword>' \
  --security-ip-list "127.0.0.1" --vpc-id <VpcId> --vswitch-id <VSwitchId> \
  --project-spec 2C4G --storage-size 20 --pay-type Postpaid \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice

Record: ProjectId (sbp-xxx), PublicConnectUrl, API Keys (store securely; do NOT print full API Keys in logs)

Timeout: Supabase project creation takes 5-10 minutes. Poll status until running: ``bash aliyun gpdb get-supabase-project --profile adbpg \ --biz-region-id <RegionId> --project-id <ProjectId> \ --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice ` Check Status field. Retry every 30 seconds until Status=running`.

Step 2: Initialize Coaching Platform Database

Note: Steps 2-3 execute on Supabase Project, Steps 4-8 on ADBPG Instance. They are independent.

Modify whitelist, then connect via psql and execute schema from references/database-schema.md.

# Ask user for whitelist IP (do NOT use curl to external services)
# Example: "Please provide the IP address to add to the whitelist"

# Set whitelist
aliyun gpdb modify-supabase-project-security-ips --profile adbpg \
  --biz-region-id <RegionId> --project-id <ProjectId> \
  --security-ip-list "<WhitelistIP>" \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice

Step 3: Insert Preset Coaching Domains

Execute SQL from references/database-schema.md via psql to insert coaching domains and coaching personas.

Step 4: Discover / Select / Create ADBPG Instance

4.1 Discover Existing Instances
aliyun gpdb describe-db-instances --profile adbpg \
  --biz-region-id <RegionId> --page-size 100 \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice

Filter results: DBInstanceStatus=Running AND VectorConfigurationStatus=enabled.

4.2 User Selects Instance

Present qualifying instances to user:

Available Instances (Running + Vector Enabled): | # | Instance ID | Spec | Region | Status | Description | | --- | --- | --- | --- | --- | --- | | 1 | gp-xxxxx | 4C32G | cn-hangzhou | Running | Production | | 2 | gp-yyyyy | 8C64G | cn-hangzhou | Running | Testing | Select an instance, or enter "Create New".
  • User selects existing → Go to Step 4.3
  • User selects "Create New" → Go to Step 4.4
  • No qualifying instances → Inform user, go to Step 4.4
4.3 Verify Selected Instance (when using existing)
aliyun gpdb describe-db-instance-attribute --profile adbpg \
  --db-instance-id <DBInstanceId> --region <RegionId> \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice

Confirm: DBInstanceStatus=Running + VectorConfigurationStatus=enabled. Then proceed to Step 5.

4.4 Create New Instance (when no existing or user chooses new)
Must present configuration and get user confirmation before execution: 💰 Cost note: Creating an instance incurs charges. Release or pause via ADBPG Console when not in use.
ConfigDefaultNotes
RegionIdcn-hangzhouUser-specified
ZoneIdcn-hangzhou-jAuto-query VPC/VSwitch after selection
EngineVersion7.0
DBInstanceModeStorageElasticStorage elastic mode
DBInstanceCategoryBasicDefault Basic; optional HighAvailability
InstanceSpec4C16GBasic: 4C16G/8C32G/16C64G; HA: 4C32G/8C64G/16C128G
SegNodeNum2Basic default 2 (multiples of 2); HA default 4 (multiples of 4)
StorageSize50 GBRange: 50–8000 GB
SegStorageTypecloud_essdESSD cloud disk
VPC/VSwitchAuto-discoverSelect VSwitch with most available IPs
VectorConfigurationStatusenabledMust be enabled for AI coaching
PayTypePostpaidPay-as-you-go; optional Prepaid

Query VSwitch list for the zone:

aliyun vpc describe-vswitches --profile adbpg \
  --biz-region-id <RegionId> --zone-id <ZoneId> \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice

Present VSwitch options to user, recommend the one with most available IPs.

After user confirms:

aliyun gpdb create-db-instance --profile adbpg \
  --biz-region-id <RegionId> --zone-id <ZoneId> \
  --engine gpdb --engine-version "7.0" \
  --db-instance-mode StorageElastic --db-instance-category Basic \
  --instance-spec 4C16G --seg-node-num 2 \
  --storage-size 50 --seg-storage-type cloud_essd \
  --vpc-id <VpcId> --vswitch-id <VSwitchId> \
  --vector-configuration-status enabled --pay-type Postpaid \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice
Timeout: Instance creation takes 10–15 minutes (max 30 min). Poll every 30–60 seconds: ``bash aliyun gpdb describe-db-instance-attribute --profile adbpg \ --db-instance-id <DBInstanceId> --region <RegionId> \ --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice ` Wait until DBInstanceStatus=Running`.

Step 5: Configure Database Account

Check if the ADBPG instance already has a database account:

aliyun gpdb describe-accounts --profile adbpg \
  --db-instance-id <DBInstanceId> \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice

Case A: No existing account → Create a new account:

Suggest account creation, confirm with user before executing: - Account name: auto-generate ai_coaching_XX (XX = random 2-digit number), or user-specified - Password: auto-generate a compliant password (8-32 chars, at least 3 character types, avoid !), or user-specified - Example: Account: ai_coaching_01, Password: Coach3Acc#2x9K — Please confirm or provide your own. ⚠️ Important: - Account name cannot be changed after creation — confirm carefully! - Password can be reset via console, but save it securely now. - This account will be used as ManagerAccount in Step 6.
aliyun gpdb create-account --profile adbpg \
  --db-instance-id <DBInstanceId> --region <RegionId> \
  --account-name <ManagerAccount> --account-password '<ManagerAccountPassword>' \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice

Case B: Account already exists → Inform the user. If the account was not created by the agent, ask the user for the existing account password before proceeding to Step 6.

Record: ManagerAccount and ManagerAccountPassword — these will be used in Step 6 for knowledge base initialization.

Step 6: Create Knowledge Base

Parameters to confirm for this step: Auto-generate the following, present to user for confirmation (user may modify), then execute. | Parameter | Default | Notes | | --- | --- | --- | | Namespace | ns_coaching | Namespace name, cannot be changed after creation | | NamespacePassword | Auto-generate | Namespace password (same password rules); needed for uploads and coaching sessions | | Collection | coaching_knowledge | Knowledge base name | | EmbeddingModel | text-embedding-v4 | Embedding model |

Using the ManagerAccount and ManagerAccountPassword from Step 5, after user confirms the above parameters, execute:

# Initialize vector database
aliyun gpdb init-vector-database --profile adbpg \
  --biz-region-id <RegionId> --db-instance-id <DBInstanceId> \
  --manager-account <ManagerAccount> --manager-account-password '<ManagerAccountPassword>' \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice

# Create namespace
aliyun gpdb create-namespace --profile adbpg \
  --biz-region-id <RegionId> --db-instance-id <DBInstanceId> \
  --manager-account <ManagerAccount> --manager-account-password '<ManagerAccountPassword>' \
  --namespace <Namespace> --namespace-password '<NamespacePassword>' \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice

# Create document collection
aliyun gpdb create-document-collection --profile adbpg \
  --biz-region-id <RegionId> --db-instance-id <DBInstanceId> \
  --manager-account <ManagerAccount> --manager-account-password '<ManagerAccountPassword>' \
  --namespace <Namespace> --collection <Collection> \
  --embedding-model <EmbeddingModel> --dimension 1024 \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice

Step 7 (Optional): Upload Domain Knowledge Documents

If the user has domain knowledge documents (PDF/TXT/Markdown, etc.), upload them to the knowledge base to enhance coaching quality. This step can be skipped — proceed directly to Step 8 to start coaching.
aliyun gpdb upload-document-async --profile adbpg \
  --biz-region-id <RegionId> --db-instance-id <DBInstanceId> \
  --namespace <Namespace> --namespace-password '<NamespacePassword>' \
  --collection <Collection> --file-name "domain_knowledge.pdf" \
  --file-url "https://example.com/knowledge.pdf" \
  --document-loader-name ADBPGLoader --chunk-size 500 --chunk-overlap 50 \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice

Recommended documents by scenario: Sales methodologies, process guides (Workflow); Architecture patterns, design docs (Decision Support); Communication frameworks, best practices (Skill Development); Tech stack docs, onboarding guides (Onboarding).

Step 8: Start Coaching Session

Optional parameters for this step: | Parameter | Default | Notes | | --- | --- | --- | | Model | qwen-max | LLM model; use qwen-turbo for daily practice (lower cost) | | TopK | 5 | RAG retrieval count |
Note: SourceCollection element MUST include Namespace field.
aliyun gpdb chat-with-knowledge-base --profile adbpg \
  --biz-region-id <RegionId> --db-instance-id <DBInstanceId> \
  --model-params '{"Model": "<Model>", "Messages": [
    {"Role": "system", "Content": "<system_prompt from coaching_personas>"},
    {"Role": "user", "Content": "<learner message>"}
  ]}' \
  --knowledge-params '{"SourceCollection": [{
    "Collection": "<Collection>", "Namespace": "<Namespace>",
    "NamespacePassword": "<NamespacePassword>", "QueryParams": {"TopK": <TopK>}
  }]}' \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice

Scenario Quick Reference

ScenarioFlow
Workflow CoachingQuery sales_workflow_coach → Inject coaching persona + process KB → Guide learner through sales stages → Record session
Decision SupportQuery architecture_advisor → Inject coaching persona + tech KB → Guide trade-off analysis → Document decision
Skill DevelopmentQuery communication_coach → Inject coaching persona + best practices KB → Practice scenarios → Provide feedback
OnboardingQuery onboarding_mentor → Inject coaching persona + tech docs KB → Progressive learning → Verify understanding

Success Verification

See references/verification-method.md for detailed verification steps.

Quick verification:

  1. Supabase project exists and is Running
  2. ADBPG instance has VectorConfigurationStatus=enabled
  3. Database tables exist (coaching_domains, coaching_personas, learners, coaching_sessions)
  4. Preset coaching domains are queryable
  5. ChatWithKnowledgeBase returns meaningful coaching responses

Best Practices

  1. Supabase for data, KB for AI — Session records through Supabase, coaching dialogue through RAG
  2. Coaching persona is key — Quality of system_prompt determines coaching effectiveness
  3. Always store session records — Write every coaching round for review and improvement
  4. All operations use --profile adbpg — Consistent credential management
  5. Team isolation with namespaces — Different teams use different Namespace
  6. TopK recommendation: 5 — Reduces token consumption
  7. Daily practice: qwen-turbo (low cost), assessments: qwen-max (high quality)
  8. Idempotent write operations — Before any resource creation (CreateSupabaseProject, CreateDBInstance, CreateAccount, CreateNamespace, etc.), always query first (Describe/List) to check if the resource already exists. Only create when the resource does not exist. This prevents duplicate resources on retry

References

DocumentDescription
references/cli-installation-guide.mdAliyun CLI installation
references/related-apis.mdAll CLI commands and APIs used
references/ram-policies.mdRequired RAM permissions
references/database-schema.mdSQL schema and preset coaching domains
references/acceptance-criteria.mdCorrect/incorrect patterns
references/verification-method.mdSuccess verification steps

平台分布

Claude

33.44%
按下载量换算103

Codex

32.74%
按下载量换算101

Cursor

18.11%
按下载量换算56

Gemini CLI

9.03%
按下载量换算28

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills