← 分类浏览

编程开发

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

675 个提示词

最新↓按浏览量↓ 新 → 旧

nullability, raises/throws, thread-safety, and a usage example for public API. Mark…

编程开发文本创作

Docstrings/JSDoc: summary line (imperative), params/returns with units and

社区用户28
开发EN-02-Code-Review-Debugging-Refactoring

either (a) a rationale (constraint, tradeoff, external bug link, invariant) or (b) a…

编程开发文本创作

Remove/replace comments that restate code; convert every surviving comment into

社区用户26
开发EN-02-Code-Review-Debugging-Refactoring

Turns bad comments into maintainable docs: explains WHY, keeps docs near code, and generates API docs from real signatures — no marketing fluff.

编程开发文本创作

Code Comment / Documentation Improver

社区用户26
开发EN-02-Code-Review-Debugging-Refactoring

latency of replacing joins; report pipelines. Give a timeline with milestones.…

编程开发文本创作

Risks: distributed transactions avoided via saga/eventual consistency;

社区用户26
开发EN-02-Code-Review-Debugging-Refactoring

parity (dual-run diffing), and cutover/rollback criteria.

编程开发文本创作

Strangler steps as independently shippable PRs with feature flags, metrics for

社区用户24
开发EN-02-Code-Review-Debugging-Refactoring

dual-write/outbox → backfill → switch reads → stop old writes → drop columns, with…

编程开发文本创作

Data ownership migration: read model/API replacements for foreign readers,

社区用户23
开发EN-02-Code-Review-Debugging-Refactoring

service — justify whether a service is even needed now (YAGNI) using team…

编程开发文本创作

Target architecture: in-process module first (seams, interfaces), then optional

社区用户26
开发EN-02-Code-Review-Debugging-Refactoring

shared code, events), ranked by extraction difficulty.

编程开发文本创作

Dependency analysis: inbound/outbound couplings (sync calls, shared DB joins,

社区用户27
开发EN-02-Code-Review-Debugging-Refactoring

invariants, and what other contexts currently read/write that data illegally.

编程开发文本创作

Bounded-context definition: domain language, owned data (exact tables/columns),

社区用户26
开发EN-02-Code-Review-Debugging-Refactoring

Plans extraction of a bounded context from a monolith with data ownership and dual-write/cutover safety.

编程开发文本创作

Monolith-to-Module / Service Extraction Planner

社区用户26
开发EN-02-Code-Review-Debugging-Refactoring

tests for changed lines (diff coverage), and why a global % target would be gamed.…

编程开发文本创作

Recommend a realistic coverage policy: critical-package threshold + mandatory

社区用户28
开发EN-02-Code-Review-Debugging-Refactoring

clear names; show which production bug class each prevents.

编程开发文本创作

Write the top 5 missing tests (boundary + failure paths), table-driven, with

社区用户24
开发EN-02-Code-Review-Debugging-Refactoring

if the feature were deleted, duplicated setup hiding intent, over-mocked units.

编程开发文本创作

Identify WEAK tests: no assertions, assertion-free mocks, tests that would pass

社区用户29
开发EN-02-Code-Review-Debugging-Refactoring

trivial getters. Ignore generated code and DTOs.

编程开发文本创作

Rank gaps by risk: money/auth/data-loss/permissions > complex branching >

社区用户28
开发EN-02-Code-Review-Debugging-Refactoring

integration paths are verified vs unverified. Produce a behavior coverage matrix.

编程开发文本创作

Map behaviors (not lines) to tests: which business rules, branches, and

社区用户31
开发EN-02-Code-Review-Debugging-Refactoring

Identifies untested critical paths (not line coverage) and writes the highest-value missing tests first.

编程开发文本创作

Test-Coverage Gap Analyzer

社区用户27
开发EN-02-Code-Review-Debugging-Refactoring

confidence; cite file:line for every claim. Ask me for specific files when needed.…

编程开发文本创作

Confusing/dead-looking areas and questions to ask the team — label your

社区用户29
开发EN-02-Code-Review-Debugging-Refactoring

add job, add permission, change schema) with the test locations.

编程开发文本创作

"Where would I change X?" map for 5 common changes (add endpoint, add field,

社区用户26
开发EN-02-Code-Review-Debugging-Refactoring

definitions appear.

编程开发文本创作

Glossary of domain terms as used in the code, and where the authoritative

社区用户23
开发EN-02-Code-Review-Debugging-Refactoring

flags are typically done — with file references as examples.

编程开发文本创作

Conventions: how errors, config, auth, logging, tests, migrations, and feature

社区用户27
开发EN-02-Code-Review-Debugging-Refactoring

the dependency rule the code seems to follow (or violate).

编程开发文本创作

Draw an ASCII diagram of components and data flow; mark module boundaries and

社区用户27
开发EN-02-Code-Review-Debugging-Refactoring

prove no behavior change via tests. Provide the updated tsconfig/mypy config and a…

编程开发文本创作

Submit in small commits: enable stricter rule per directory, fix violations,

社区用户25
开发EN-02-Code-Review-Debugging-Refactoring

hand-writing; add runtime validation and fail clearly on schema drift.

编程开发文本创作

For JSON/API responses, generate types from the OpenAPI/JSON schema instead of

社区用户26
开发EN-02-Code-Review-Debugging-Refactoring

boundary responses, Record , broad exception types, optional fields used without checks.

编程开发文本创作

Inventory unsafety: any/as casts, non-null assertions, @ts-ignore, untyped

社区用户28
开发EN-02-Code-Review-Debugging-Refactoring