How can Cursor draft a pull request description?
It can summarize a diff and draft test notes, but the author must ensure the description matches actual changes. State which tests were run and which ...
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 1201–1212 of 3610 questions
It can summarize a diff and draft test notes, but the author must ensure the description matches actual changes. State which tests were run and which ...
Ask it to explain the intent of each side and propose a resolution that preserves required behavior. Inspect the merged semantics and run tests for bo...
Use it to explain old patterns and propose incremental migrations, but avoid broad rewrites without baseline tests. Migrate one boundary at a time, pr...
Review generated SQL, parameterization, tracking, query count, pagination, and transaction semantics. Watch for N+1 queries and unintended eager loadi...
Confirm authentication and server-side authorization for each resource and action. Do not infer permission from UI visibility or a client-supplied own...
Prompt injection is untrusted content that attempts to manipulate an AI tool into ignoring intended instructions or taking unrelated actions. It can a...
Keep credentials in approved secret stores and environment configuration, not prompts, source files, or logs. Use placeholders in examples, enable sec...
Suggestions may reference malicious, vulnerable, or nonexistent packages. Verify package identity, publisher, maintenance, license, advisories, and tr...
Use AI to form hypotheses, then measure with a profiler or benchmark. Optimize demonstrated bottlenecks and preserve correctness tests. Avoid introduc...
Identify workspace boundaries, shared libraries, build scripts, and dependent applications before editing. Limit changes to relevant packages and cons...
Rules should be short, actionable, and consistent with current architecture and repository practices. Remove stale or conflicting rules, and avoid pla...
Inspect each command's arguments, working directory, file effects, network use, and privilege. Prefer narrow, repeatable commands and isolated environ...