重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
npx skills add https://github.com/itechmeat/llm-code --skill postgresqlRLS 仅在当前事务已设置上下文时才有效:
SET LOCAL app.current_tenant_id = '<tenant_uuid>';
必须在事务中第一个租户范围的查询之前运行。
select() 之后才设置 SET LOCAL ...ALTER TABLE some_table ENABLE ROW LEVEL SECURITY;
CREATE POLICY some_table_tenant_isolation
ON some_table
USING (tenant_id = current_setting('app.current_tenant_id', true)::uuid);
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
ON DELETE CASCADENULLS NOT DISTINCT(PostgreSQL 15+)目标:
标准流程:
硬性规则:
WHERE 条件,绝不运行 DELETETRUNCATE/DROP破坏性操作前的预检步骤:
SELECT/行数统计并展示结果每周安装次数
50
代码仓库
GitHub 星标数
12
首次出现
2026 年 1 月 26 日
安全审计
安装于
github-copilot39
opencode38
codex34
claude-code31
gemini-cli31
cursor30
RLS works only if the current transaction has the context set:
SET LOCAL app.current_tenant_id = '<tenant_uuid>';
Must run before the first tenant-scoped query in that transaction.
SET LOCAL ... after the first select()ALTER TABLE some_table ENABLE ROW LEVEL SECURITY;
CREATE POLICY some_table_tenant_isolation
ON some_table
USING (tenant_id = current_setting('app.current_tenant_id', true)::uuid);
ON DELETE CASCADENULLS NOT DISTINCT (PG15+)Goal:
Canonical flow:
Hard rules:
DELETE without a narrow WHERE targeting specific dataTRUNCATE/DROP without explicit confirmationPre-flight before destructive actions:
SELECT/row count first and show resultsWeekly Installs
50
Repository
GitHub Stars
12
First Seen
Jan 26, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
github-copilot39
opencode38
codex34
claude-code31
gemini-cli31
cursor30
Lark Mail CLI 使用指南:邮件管理、安全规则与自动化工作流
47,900 周安装