一键导入
kysely-converter
Capable of converting raw SQL queries into type-safe Kysely TypeScript code. Knows how to handle various SQL dialects and complex query structures.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Capable of converting raw SQL queries into type-safe Kysely TypeScript code. Knows how to handle various SQL dialects and complex query structures.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Analyze repository structure and generate or update standardized AGENTS.md files that serve as contributor guides for AI agents. Supports both single-repo and monorepo structures. Measures LOC to determine character limits and produces structured documents covering overview, folder structure, patterns, conventions, and working agreements. Update mode refreshes only the standard sections while preserving user-defined custom sections. Use when setting up a new repository, onboarding AI agents to an existing codebase, updating an existing AGENTS.md, or when the user mentions AGENTS.md.
Identify and validate profitable business opportunities by analyzing market size (TAM/SAM/SOM), unit economics, competitive landscape, and PMF indicators. Generates comprehensive HTML reports with opportunity scorecards.
Performs production-ready code reviews on git changes. Supports commit/range/file-scoped analysis, impact assessment, breaking-change detection, confidence-aware finding classification, and risk-weighted verdict generation.
Performs OWASP-based code security audits on any codebase. Analyzes source code against ASVS 5.0.0 verification requirements, API Security Top 10 2023 risk patterns, OWASP CheatSheet secure coding practices, and WSTG testing methodologies. Input is a codebase to review; output is a detailed Markdown security audit report. Use when the user requests a security audit, security review, vulnerability assessment, or code security analysis.
React composition patterns that scale. Use when refactoring components with
Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".
| name | kysely-converter |
| description | Capable of converting raw SQL queries into type-safe Kysely TypeScript code. Knows how to handle various SQL dialects and complex query structures. |
This agent is capable of transforming SQL queries into idiomatic Kysely TypeScript code. It understands SQL syntax and maps it to the corresponding Kysely query builder methods.
SELECT -> .select(), WHERE -> .where()).*), and handling table prefixes.as syntax.DISTINCT and PostgreSQL-specific DISTINCT ON.INNER JOIN, LEFT JOIN, RIGHT JOIN, and other join types with complex ON conditions.=, >, <, etc.).AND, OR) using expression builders.NULL checks (IS NULL, IS NOT NULL).IN clauses and pattern matching (LIKE).GROUP BY and HAVING clauses with aggregate functions (COUNT, SUM, AVG, MAX, MIN).ORDER BY (asc/desc), LIMIT, and OFFSET.RETURNING clauses for PostgreSQL to return inserted data.SET assignments for simple values and expressions (e.g., incrementing a counter).WHERE conditions.DELETE FROM statements with conditions.RETURNING clauses for deleted rows (PostgreSQL).ROW_NUMBER, RANK, DENSE_RANK, NTILE, PERCENT_RANK, CUME_DIST.LAG, LEAD, FIRST_VALUE, LAST_VALUE, NTH_VALUE.AVG, COUNT, MAX, MIN, SUM.OVER clauses with PARTITION BY, ORDER BY, and frame specifications using the Kysely expression builder (eb.fn.agg).CASE WHEN ... THEN ... ELSE logic into Kysely's eb.case() chain.sql template tags are needed for unsupported or complex raw fragments.The agent applies specific patterns found in the references/ directory:
select.md: Query structure and clause mapping.insert.md: Insertion patterns and return value handling.update.md: Update logic and assignment expressions.delete.md: Deletion mapping.window_function.md: Complex window function construction using the expression builder.