一键导入
postgres
PostgreSQL best practices, query optimization, schema design, security, operations, and performance tuning. Load when working with Postgres databases.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
PostgreSQL best practices, query optimization, schema design, security, operations, and performance tuning. Load when working with Postgres databases.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Angular frontend security best practices for building secure, production-grade applications. Use when writing or reviewing security-sensitive Angular code, configuring authentication, handling user input, setting up CSP, securing Angular SSR, or hardening an Angular application. Covers OWASP 2025, XSS prevention, DomSanitizer, template injection, CSRF/XSRF, HttpClient security, Angular SSR vulnerabilities (CVE-2025-59052), XSRF token leakage (CVE-2025-66035), stored XSS via SVG (CVE-2025-66412), AutoCSP, Trusted Types, zoneless Angular, functional guards/interceptors, NgRx security, supply chain, and deployment hardening. Keywords: Angular security, XSS, CSRF, CSP, DomSanitizer, bypassSecurityTrust, template injection, AOT, Angular SSR, HttpClient, XSRF, route guards, NgRx, signals, zoneless. (updated 2026-03-28)
Angular enterprise architecture guidelines for structuring scalable, production-grade applications. Use when scaffolding a new Angular project, reviewing project structure, setting up feature slices, choosing state management, configuring data fetching, or making architectural decisions in an Angular/TypeScript codebase. Covers folder structure, signals, standalone components, new control flow, deferrable views, zoneless change detection, NgRx SignalStore, httpResource, functional guards/interceptors, typed reactive forms, esbuild + Vite, Vitest, Playwright, Tailwind v4, SSR with incremental hydration, and Nx monorepos. Keywords: Angular architecture, project structure, feature slices, DDD, enterprise Angular, folder layout, monorepo, Nx, signals, standalone, zoneless. (updated 2026-03-30)
Angular/TypeScript-specific code review overlay. Extends the universal code-reviewer skill with Angular version-aware rules. Trigger when reviewing Angular components, services, directives, pipes, guards, resolvers, NgRx stores/effects, RxJS streams, Apollo Angular GraphQL, HttpClient calls, SSR (Angular Universal), or any .ts/.html file in an Angular project. Keywords: Angular, standalone, component, NgRx, signal, computed, effect, RxJS, Observable, HttpClient, inject(), OnPush, @if, @for, router, guard, resolver, lazy loading, Angular Material, SSR, hydration. Do NOT trigger for Node.js backend code in the same monorepo (use code-reviewer-node for that) or for plain TypeScript utilities with no Angular imports. (updated 2026-03-28)
Django/Python-specific code review overlay. Extends the universal code-reviewer skill with Django and Python version-aware rules. Trigger when reviewing Django views, models, serializers, forms, URLs, settings, migrations, Celery tasks, or any .py file in a Django project. Keywords: Django, DRF, ORM, QuerySet, serializer, viewset, model, migration, WSGI, ASGI, Celery, pytest-django. Do NOT trigger for pure Python scripts unrelated to Django, or for frontend code in the same project (use code-reviewer-react or code-reviewer-node for those). (updated 2026-03-28)
Node.js/Express/TypeScript-specific code review overlay. Extends the universal code-reviewer skill with Node.js version-aware rules. Trigger when reviewing Express route handlers, middleware, REST controllers, GraphQL resolvers, Apollo Server setup, JWT/OAuth middleware, Bull/BullMQ job processors, or any .ts/.js file in a Node.js backend project. Keywords: Express, REST API, GraphQL, Apollo, JWT, OAuth, BullMQ, Bull, queue, middleware, TypeScript strict, tsconfig, req, res, next, router. Do NOT trigger for frontend React/Vue/Angular code in the same repo (use code-reviewer-react for those) or for infrastructure/IaC files. (updated 2026-03-28)
React/TypeScript-specific code review overlay. Extends the universal code-reviewer skill with React version-aware rules. Trigger when reviewing React components, hooks, context, Suspense boundaries, Server Components, Client Components, React Router, TanStack Query, Zustand, Redux, React Hook Form, or any .tsx/.jsx file in a React project. Keywords: React, useState, useEffect, useCallback, useMemo, useRef, useContext, useReducer, useTransition, Suspense, memo, RSC, Server Component, Client Component, TanStack Query, Zustand, React Hook Form, Next.js, Vite, prop drilling, key prop. Do NOT trigger for Angular or Vue files in the same monorepo. (updated 2026-03-28)
基于 SOC 职业分类
| name | postgres |
| description | PostgreSQL best practices, query optimization, schema design, security, operations, and performance tuning. Load when working with Postgres databases. |
| license | MIT |
| metadata | {"author":"Marwen Amamou | amamoumarwen@gmail.com","version":"1.0.0"} |
| Topic | Reference | Use for |
|---|---|---|
| Schema Design | references/schema-design.md | Tables, primary keys, data types, foreign keys, naming |
| JSONB Patterns | references/json-patterns.md | JSONB operators, querying, indexing, best practices |
| Partitioning | references/partitioning.md | Range/list partitioning, pg_partman, data retention |
| Topic | Reference | Use for |
|---|---|---|
| Query Patterns | references/query-patterns.md | SQL anti-patterns, JOINs, pagination, N+1 detection |
| Indexing | references/indexing.md | Index types, composite, partial, covering, GIN, BRIN |
| Index Optimization | references/index-optimization.md | Unused/duplicate index detection, bloat, HOT updates |
| Full-Text Search | references/full-text-search.md | tsvector, tsquery, GIN indexing, ranking, search config |
| Optimization Checklist | references/optimization-checklist.md | Pre-optimization audit, cleanup, readiness checks |
| Topic | Reference | Use for |
|---|---|---|
| MVCC and VACUUM | references/mvcc-vacuum.md | Dead tuples, autovacuum tuning, bloat prevention |
| MVCC Transactions | references/mvcc-transactions.md | Isolation levels, XID wraparound, serialization errors |
| Locking | references/locking.md | Lock types, deadlocks, advisory locks, lock monitoring |
| Topic | Reference | Use for |
|---|---|---|
| Process Architecture | references/process-architecture.md | Multi-process model, connection management, auxiliary processes |
| Memory Architecture | references/memory-management-ops.md | Shared/private memory, OS page cache, OOM prevention |
| WAL and Checkpoints | references/wal-operations.md | WAL internals, checkpoint tuning, durability, crash recovery |
| Storage Layout | references/storage-layout.md | PGDATA structure, TOAST, fillfactor, tablespaces |
| Replication | references/replication.md | Streaming replication, slots, sync commit, failover |
| Backup and Recovery | references/backup-recovery.md | pg_dump, pg_basebackup, PITR, WAL archiving |
| Topic | Reference | Use for |
|---|---|---|
| Configuration Tuning | references/configuration-tuning.md | Memory, I/O, planner, parallelism, workload profiles |
| Connection Pooling | references/connection-pooling.md | PgBouncer setup, pool sizing, pooling modes |
| Monitoring | references/monitoring.md | pg_stat views, logging, pg_stat_statements, host metrics |
| Topic | Reference | Use for |
|---|---|---|
| Django Integration | references/django-integration.md | ORM optimization, connection pooling, zero-downtime migrations, contrib.postgres |
| Topic | Reference | Use for |
|---|---|---|
| Security | references/security.md | Roles, permissions, RLS, pg_hba.conf, SSL/TLS, audit |
| Schema Migrations | references/schema-migrations.md | Zero-downtime DDL, safe migration patterns, backfills |
| Extensions | references/extensions.md | pg_stat_statements, pgcrypto, PostGIS, pg_repack, pgAudit |