[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EW3DSFWX7PCN4DCMY6T62Y":3,"skill-same:01M7EW3DSFWX7PCN4DCMY6T62Y":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7EW3DSFWX7PCN4DCMY6T62Y","supabase-pro",null,"Supabase backend development — Postgres, Auth, Storage, and Row Level Security — use when building on Supabase.","TanNhatCMS\u002Fjarvis","TanNhatCMS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113796420?v=4","01M753MV17KG5CD3152G3WQEQY","KietNT","01M7EKEDYVYQ6PWVJJMZ911VMX",0,"MIT","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-supabase-pro\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: supabase-pro\ndescription: Supabase backend development — Postgres, Auth, Storage, and Row Level Security — use when building on Supabase.\ncategory: database\n---\n\n## Overview\n\nSupabase is an open-source backend platform built on Postgres: hosted database,\nauthentication, storage, edge functions, and realtime subscriptions, all\naccessible via auto-generated APIs. The core skill is Postgres plus Supabase's\nsecurity model — especially Row Level Security (RLS), which turns your database\ninto the authorization layer.\n\n## When to use\n\n- Designing tables and RLS policies for a Supabase project\n- Implementing auth flows (email, OAuth, magic links) with Supabase Auth\n- Using Storage buckets with access policies for user uploads\n- Subscribing to realtime changes or writing edge functions\n- Going to production: backups, connection pooling, migrations\n\n## Core concepts\n\n**RLS is your authorization layer.** With the client libraries talking directly\nto Postgres, every table exposed to clients needs `ENABLE ROW LEVEL SECURITY`\nplus policies defining who can `SELECT`\u002F`INSERT`\u002F`UPDATE`\u002F`DELETE` which rows.\nA table with RLS enabled but no policies denies everything — fail-closed by\ndefault, which is exactly right.\n\n**Policies are SQL on the requesting user.** `auth.uid()` gives the JWT's user\nid; policies are `USING` (visibility) and `WITH CHECK` (writes) expressions:\n\n```sql\nCREATE POLICY \"Users read own profile\"\n  ON profiles FOR SELECT\n  USING (auth.uid() = id);\n```\n\nWrite policies per operation, test with different roles, and remember policies\ncombine with OR — overly broad policies leak data.\n\n**Auth is JWT-based.** Supabase Auth issues JWTs; the API layer sets\n`auth.uid()` and `auth.jwt()` from them. Custom claims (roles, tenant ids) can\nbe added via hooks. Service-role keys bypass RLS — they belong server-side\nonly, never in client bundles.\n\n**Storage uses the same policy model.** Buckets have RLS-like policies on the\n`storage.objects` table; structure paths as `\u003Cuser_id>\u002F\u003Cfile>` and write\npolicies matching path prefixes for clean per-user isolation.\n\n**Realtime is Postgres logical replication.** Subscribing to table changes\nstreams inserts\u002Fupdates\u002Fdeletes to clients — but RLS applies, so clients only\nreceive rows their policies allow. Enable replication per table deliberately.\n\n## Practical workflow\n\n1. **Model in Postgres first** (see database-designer): tables, keys,\n   constraints — Supabase is Postgres, so normal design rules apply.\n2. **Enable RLS on every client-facing table** before writing app code; add\n   policies operation by operation; verify by querying as different users\n   (the SQL editor's \"run as\" \u002F JWT switching).\n3. **Structure auth:** choose providers, configure redirect URLs, set up email\n   templates; store profile data in a `profiles` table keyed to `auth.users.id`\n   via trigger on signup.\n4. **Wire Storage:** private buckets + path-based policies; generate signed URLs\n   server-side for temporary access rather than making buckets public.\n5. **Use edge functions for secrets and side effects** (payments, emails, third\n   parties) — never put service-role keys or API secrets in client code.\n6. **Ship safely:** use the CLI's migration workflow (`supabase db diff` →\n   review → `supabase db push`), enable Point-in-Time Recovery \u002F backups,\n   and use the connection pooler (Supavisor) for serverless\u002Fhigh-connection\n   workloads.\n\n## Common pitfalls\n\n- **Tables without RLS in production** — the dashboard warns, but it's easy to\n  miss; audit with a query over `pg_tables` checking `rowsecurity`.\n- **Policies that are too permissive** (`USING (true)` on writes) — equivalent\n  to no security; write the narrowest correct policy.\n- **Leaking the service-role key** into frontend code or a public repo — it\n  bypasses all RLS; rotate immediately if exposed.\n- **N+1 via the JS client:** chaining `.select()` with nested relations is\n  convenient but can generate heavy queries; check the SQL in the dashboard's\n  query performance view.\n- **Realtime on high-churn tables** without considering fan-out — every write\n  broadcasts to subscribers; scope channels and filters tightly.\n- **Migrations done by clicking in the dashboard** with no CLI history —\n  environments drift; keep migrations in version control and apply via CLI.\n","## Overview\n\nSupabase is an open-source backend platform built on Postgres: hosted database,\nauthentication, storage, edge functions, and realtime subscriptions, all\naccessible via auto-generated APIs. The core skill is Postgres plus Supabase's\nsecurity model — especially Row Level Security (RLS), which turns your database\ninto the authorization layer.\n\n## When to use\n\n- Designing tables and RLS policies for a Supabase project\n- Implementing auth flows (email, OAuth, magic links) with Supabase Auth\n- Using Storage buckets with access policies for user uploads\n- Subscribing to realtime changes or writing edge functions\n- Going to production: backups, connection pooling, migrations\n\n## Core concepts\n\n**RLS is your authorization layer.** With the client libraries talking directly\nto Postgres, every table exposed to clients needs `ENABLE ROW LEVEL SECURITY`\nplus policies defining who can `SELECT`\u002F`INSERT`\u002F`UPDATE`\u002F`DELETE` which rows.\nA table with RLS enabled but no policies denies everything — fail-closed by\ndefault, which is exactly right.\n\n**Policies are SQL on the requesting user.** `auth.uid()` gives the JWT's user\nid; policies are `USING` (visibility) and `WITH CHECK` (writes) expressions:\n\n```sql\nCREATE POLICY \"Users read own profile\"\n  ON profiles FOR SELECT\n  USING (auth.uid() = id);\n```\n\nWrite policies per operation, test with different roles, and remember policies\ncombine with OR — overly broad policies leak data.\n\n**Auth is JWT-based.** Supabase Auth issues JWTs; the API layer sets\n`auth.uid()` and `auth.jwt()` from them. Custom claims (roles, tenant ids) can\nbe added via hooks. Service-role keys bypass RLS — they belong server-side\nonly, never in client bundles.\n\n**Storage uses the same policy model.** Buckets have RLS-like policies on the\n`storage.objects` table; structure paths as `\u003Cuser_id>\u002F\u003Cfile>` and write\npolicies matching path prefixes for clean per-user isolation.\n\n**Realtime is Postgres logical replication.** Subscribing to table changes\nstreams inserts\u002Fupdates\u002Fdeletes to clients — but RLS applies, so clients only\nreceive rows their policies allow. Enable replication per table deliberately.\n\n## Practical workflow\n\n1. **Model in Postgres first** (see database-designer): tables, keys,\n   constraints — Supabase is Postgres, so normal design rules apply.\n2. **Enable RLS on every client-facing table** before writing app code; add\n   policies operation by operation; verify by querying as different users\n   (the SQL editor's \"run as\" \u002F JWT switching).\n3. **Structure auth:** choose providers, configure redirect URLs, set up email\n   templates; store profile data in a `profiles` table keyed to `auth.users.id`\n   via trigger on signup.\n4. **Wire Storage:** private buckets + path-based policies; generate signed URLs\n   server-side for temporary access rather than making buckets public.\n5. **Use edge functions for secrets and side effects** (payments, emails, third\n   parties) — never put service-role keys or API secrets in client code.\n6. **Ship safely:** use the CLI's migration workflow (`supabase db diff` →\n   review → `supabase db push`), enable Point-in-Time Recovery \u002F backups,\n   and use the connection pooler (Supavisor) for serverless\u002Fhigh-connection\n   workloads.\n\n## Common pitfalls\n\n- **Tables without RLS in production** — the dashboard warns, but it's easy to\n  miss; audit with a query over `pg_tables` checking `rowsecurity`.\n- **Policies that are too permissive** (`USING (true)` on writes) — equivalent\n  to no security; write the narrowest correct policy.\n- **Leaking the service-role key** into frontend code or a public repo — it\n  bypasses all RLS; rotate immediately if exposed.\n- **N+1 via the JS client:** chaining `.select()` with nested relations is\n  convenient but can generate heavy queries; check the SQL in the dashboard's\n  query performance view.\n- **Realtime on high-churn tables** without considering fan-out — every write\n  broadcasts to subscribers; scope channels and filters tightly.\n- **Migrations done by clicking in the dashboard** with no CLI history —\n  environments drift; keep migrations in version control and apply via CLI.\n",{"name":5,"category":24,"description":7},"database","main","af388a77c2fe5e0b4fd879cca4300a0ffa9a6579","skills\u002Fams-supabase-pro",1,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis","https:\u002F\u002Fgithub.com\u002FTanNhatCMS","https:\u002F\u002Fmrkiet.name.vn","2026-11-07 14:23:08",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add TanNhatCMS\u002Fjarvis --skill supabase-pro",{"tool":39,"command":40},"bunx","bunx skills add TanNhatCMS\u002Fjarvis --skill supabase-pro",{"tool":42,"command":43},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fjarvis --skill supabase-pro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-supabase-pro\u002FSKILL.md",true,[],[48,55,63,70,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7EWYJR0J8DARY7E59Z6Y9MV","web-scrape","Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open\u002Ffetch fails on JS-heavy pages, or when you need clean markdown\u002Fstructured extraction from a site. Requires FIRECRAWL_API_KEY.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scrape\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":59,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7EWYBN5P6F2AJG3FR24T9BP","design-taste-frontend","tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML\u002FCSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, \"AI-made\", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7EWY8FQFNQ2GB7NZZWGSSDX","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-tdd\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7EWY5SHBFRH1HDHVWM9K7TV","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-debugging\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7EWY3NM0Z0JAKS7HDZ24K66","requesting-code-review","Use when completing tasks, implementing major features, or before merging to verify work meets requirements","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-code-review\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7EWY0WRMWX4M9ZFY0WKC593","brainstorming","You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-brainstorming\u002FSKILL.md",[],[]]