← 分类浏览

编程开发

代码生成、调试优化、技术文档等编程辅助提示词

675 个提示词

最新↓按浏览量↓ 新 → 旧

shared mutable state; fixed clock; cleanup or ephemeral tenants. 4. Auth: seeded test…

编程开发文本创作

Data strategy: per-test isolated schema/database, factory-based seeding, no

社区用户31
开发EN-01-Code-Generation-Prompts

Redis}} and a mock server (WireMock/MockServiceWorker) for third-party APIs; contract…

编程开发文本创作

Deterministic environment: docker-compose/testcontainers with real {{Postgres,

社区用户31
开发EN-01-Code-Generation-Prompts

only for critical user journeys (list them with priority P0/P1).

编程开发文本创作

Test pyramid plan: which behaviors belong in unit/integration/E2E; keep E2E

社区用户27
开发EN-01-Code-Generation-Prompts

Designs deterministic end-to-end tests with fixtures, seeding, auth, and CI parallelization for web apps/APIs.

编程开发文本创作

Integration / E2E Test Architect

社区用户26
开发EN-01-Code-Generation-Prompts

Generates high-value tests: behavior tables, boundary cases, property-based tests, and failure injection — without testing implementation details.

编程开发文本创作

Unit Test Engineer (Behavior-First)

社区用户26
开发EN-01-Code-Generation-Prompts

from plain object literals.…

编程开发文本创作

Edge cases: optional props, unions of events, readonly tuples, and inference

社区用户26
开发EN-01-Code-Generation-Prompts

the exact compiler error expected. 3. A tsconfig.json relevant excerpt and the tsc…

编程开发文本创作

Usage examples showing correct calls and 4+ calls that SHOULD error — each with

社区用户26
开发EN-01-Code-Generation-Prompts

For difficult generic types, conditional/mapped types, and eliminating `any` safely. Outputs compile-safe types with explanations.

编程开发文本创作

TypeScript Type System Solver

社区用户28
开发EN-01-Code-Generation-Prompts

plan changes. Note write-amplification trade-offs. 5. Suggest denormalization or caching…

编程开发文本创作

Provide exact CREATE INDEX statements (with CONCURRENTLY) and predict the

社区用户25
开发EN-01-Code-Generation-Prompts

window functions, lateral joins, partial indexes, covering indexes) and explain why each…

编程开发文本创作

Rewrite the query (CTEs vs subqueries, join order, semi-joins with EXISTS,

社区用户29
开发EN-01-Code-Generation-Prompts

actions needed.

编程开发文本创作

Point out stale statistics or planner mis-estimates and the ANALYZE/VACUUM

社区用户27
开发EN-01-Code-Generation-Prompts

skewed joins, sort/hash spills, lock waits, network).

编程开发文本创作

Read the plan bottom-up; identify the dominant cost (seq scans, bad estimates,

社区用户27
开发EN-01-Code-Generation-Prompts

Paste a slow query and get a diagnosis, rewritten SQL, and index recommendations with EXPLAIN-based reasoning.

编程开发文本创作

SQL Query Debugger & Optimizer

社区用户29
开发EN-01-Code-Generation-Prompts

zero-downtime notes and lock-duration estimates. 6. Seed data and RLS policies if…

编程开发文本创作

Migration plan: expand/contract (additive, backfill, switch, drop) with

社区用户27
开发EN-01-Code-Generation-Prompts

them to be index-friendly (sargable predicates, no SELECT *).

编程开发文本创作

The 8 most important queries as SQL with EXPLAIN ANALYZE expectations; write

社区用户29
开发EN-01-Code-Generation-Prompts

with a recommendation for my scale.

编程开发文本创作

Multi-tenancy strategy comparison (shared schema + tenant_id vs schema-per-tenant)

社区用户26
开发EN-01-Code-Generation-Prompts

NOT NULL defaults, CHECK constraints, unique constraints, foreign keys with ON DELETE…

编程开发文本创作

DDL with: correct types (bigint identity, timestamptz, jsonb vs columns),

社区用户26
开发EN-01-Code-Generation-Prompts

and which normal form; note deliberate denormalizations with rationale).

编程开发文本创作

ER model in text (entities, attributes, types, nullability, PK/FK, cardinalities,

社区用户26
开发EN-01-Code-Generation-Prompts

Designs schemas (normalization, indexes, constraints) and writes/optimizes SQL. Use before coding features that touch the database.

编程开发文本创作

Database Schema & SQL Expert

社区用户26
开发EN-01-Code-Generation-Prompts

and tests using @apollo/server's executeOperation. Include a migration for schema…

编程开发文本创作

Provide dataloaders, resolvers, generated types, context (with auth/prisma),

社区用户30
开发EN-01-Code-Generation-Prompts

behavior with an example query and the resulting SQL count. 4. Pagination caps,…

编程开发文本创作

Prevent N+1 with DataLoader per request; batch and cache; show the batching

社区用户28
开发EN-01-Code-Generation-Prompts

INSIDE resolvers (never trust the client), including per-node field visibility.

编程开发文本创作

Enumerate queries/mutations with auth requirements in a table. Enforce auth

社区用户28
开发EN-01-Code-Generation-Prompts

spec for every list (edges/node/pageInfo, cursor opaque base64). Input objects for…

编程开发文本创作

Schema design: nouns as types, verbs as mutations; use the Relay connection

社区用户28
开发EN-01-Code-Generation-Prompts

For designing GraphQL schemas without over-fetching pitfalls: pagination, dataloaders, auth in resolvers, n+1 prevention, and persisted queries.

编程开发文本创作

GraphQL API & Resolver Builder

社区用户27
开发EN-01-Code-Generation-Prompts