编程开发
代码生成、调试优化、技术文档等编程辅助提示词
675 个提示词
and stop for review before business logic.…
Then implement the foundation layer (models + migration + contract + validation)
→ GA), metrics to watch, and rollback steps.
Test plan (unit/integration/E2E mapping to ACs), rollout plan (flag → % rollout
likely touched, and dependencies; label risk (schema change / third-party / migration /…
Task breakdown: small (<1 day) tickets with title, acceptance criteria, files
contract, sequence diagram for the main flow, feature flags, and analytics events.
Technical design: architecture sketch (ASCII), data model changes, API
an AC id; list non-goals.
Acceptance criteria in Gherkin (Given/When/Then) — every PRD claim traced to
Turns a product requirement into a shippable implementation plan + skeleton with acceptance criteria traceability. Useful at sprint start.
Code Generation from Issue/PRD
Creates secure, fast pipelines: caching, matrix tests, SBOM, signing, progressive delivery, and rollback.
CI/CD Pipeline Engineer
Produces reviewable IaC: modular, idempotent, least-privilege IAM, with state and rollout safety.
Infrastructure as Code (Terraform/Pulumi/Docker/K8s)
Generates a mobile screen/feature with offline support, lifecycle correctness, and platform conventions.
Mobile (iOS/Android/Flutter) Feature Coder
Defines versioned protobuf contracts, streaming RPCs, error model, and generates client/server stubs with interceptors.
gRPC / Protobuf API Builder
Scaffolds an event-driven service with outbox, schema registry, contracts, and observability — keeps services loosely coupled.
Microservice / Event-Driven System Coder
Then implement in {{LANGUAGE}} with tests using a fault-injection harness (kill process…
Define retry/backoff/jitter, DLQ policy, and visibility timeout math.
- optimistic concurrency (version column) vs SELECT ... FOR UPDATE vs advisory locks vs…
Choose the concurrency primitives and justify vs alternatives:
thundering herd, clock skew, split-brain, partial DB write, retry storms.
List failure modes: duplicate delivery, at-least-once, lost ack, poison message,
For locks, queues, idempotent workers, race conditions, and retries — forces correctness reasoning before code.
Concurrency & Distributed Systems Implementer
If a parser is needed, provide a small grammar (e.g. lark/nearley) instead.…
Code wrapper with named groups and unit tests.
ReDoS-safe formulation (linear-time where possible); length cap before matching. 3. A…
Anchoring rules, Unicode handling, catastrophic-backtracking analysis, and
comments on each token.
The regex for {{flavor: PCRE/JS/Python RE2}} with the x/verbose mode and
Builds correct, readable regexes with test matrices instead of cryptic one-liners; prefers real parsers when regex is the wrong tool.
Regular Expression / Parser Generator
rollback, follow-up (monitoring/alert/test) that would have caught it earlier. 7. Add a…
Once root cause is confirmed: minimal fix, why it's correct, blast radius,
range), cheapest first. Tell me exactly what to run and what each result means.
Experiments to falsify each hypothesis (commands, queries, logs, git bisect
When something broke after a change: bisects commits, reads traces, and proposes root cause + fix + regression test. Replaces random "try this" debugging.
Git / Debugging Incident Responder
permissions, full checkout) plus a P0 smoke set for every deploy.…
Write 5 example E2E specs (login, create resource, validation errors,
trace/video on retry only, quarantine tag for known flaky tests. 6. CI: sharding,…