·polizy-storage
</>

polizy-storage

bratsos/polizy

用于策略授权的存储适配器设置。在配置 InMemory、Prisma 或自定义存储适配器、数据库设置或性能优化时使用。

3安装·0热度·@bratsos

安装

$npx skills add https://github.com/bratsos/polizy --skill polizy-storage

SKILL.md

| Persistence | No (RAM only) | Yes (database) | | Multi-instance | No | Yes | | Setup | Zero config | Prisma model required | | Performance | Fastest | Good with indexes | | Use case | Testing, dev | Production |

| Slow reads | Add database indexes | | Too many queries | Reduce group nesting depth | | Large tuple counts | Periodic cleanup of expired tuples | | Batch operations | Use writeTuple with parallel Promise.all |

| Data lost on restart | Switch from InMemory to Prisma | | "Table doesn't exist" | Run npx prisma migrate deploy | | Slow checks | Reduce group/hierarchy depth | | Memory growing | Clean up expired conditional tuples |

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/bratsos/polizy --skill polizy-storage
分类
</>开发工具
认证
收录时间
2026-02-11
更新时间
2026-02-18

快速解答

什么是 polizy-storage?

用于策略授权的存储适配器设置。在配置 InMemory、Prisma 或自定义存储适配器、数据库设置或性能优化时使用。 来源:bratsos/polizy。

如何安装 polizy-storage?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/bratsos/polizy --skill polizy-storage 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/bratsos/polizy

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-11