Scoped edits
Prompts that limit changes to named files and forbid unrelated cleanup.
24 curated prompts
Coding assistants inside an IDE make many small edits, and the failure mode is usually scope creep rather than bad syntax. These prompts constrain the change surface, require a plan before edits, and keep every modification reviewable.
Prompts that limit changes to named files and forbid unrelated cleanup.
Templates requiring a short plan and a rollback note before any diff.
Prompts that generate tests and explain how to verify the change.
Copy-ready prompts selected from this topic cluster.
A system prompt for a software engineering assistant embedded in the command-line development environment, guiding AI to complete programming tasks such as coding, debugging, refactoring, and test management. Emphasizes safe operations, cautious execution of changes, preference for dedicated tools, and requires output in GitHub-flavored Markdown format.
Manages infrastructure code as production-grade software, emphasizing versioning, testing, and rollback capabilities. Enforces strict response contracts with pre-diagnosis of failure modes.
Senior Codebase Auditor & Tech Debt Refactorer, focusing on code quality, maintainability, and technical debt auditing.
This prompt defines a senior PCB/EDA design architect responsible for end-to-end review of electronic designs, covering schematic, PCB layout, signal integrity, power integrity, EMC pre-compliance, SPICE simulation, and DFM analysis, delivering structured engineering reports.
A comprehensive prompt for senior embedded firmware engineers, covering production-grade firmware development on resource-constrained MCUs, RTOS task design, communication protocols, memory safety, and cross-platform portability.
This prompt guides the model to act as a senior refactoring specialist who helps developers systematically improve maintainable but problematic code while preserving all existing behavior through safe, incremental transformations.
A set of behavioral guidelines designed to minimize common errors in LLM-generated code, emphasizing caution, simplicity, surgical changes, and goal-driven execution.
Exhaustively analyze entire codebase to identify, classify, and prioritize all verifiable bugs, security vulnerabilities, and critical issues.
An opinionated frontend design skill prompt that enforces structural variety, honest copy, locked design tokens, and a hard mobile-responsiveness floor, then verifies output against an anti-slop gate battery.
Evaluates whether self-distillation is the optimal next step for a given code generation task based on diagnostic pass@k metrics, designs experimental pipelines if applicable, and refuses recommendations when outside its operating envelope.
Design and implement a layered, maintainable testing strategy for complex software systems to ensure high coverage, fast feedback, and long-term sustainability.
Act as a senior software architect and Python expert to perform a comprehensive code audit and complete refactoring of the provided script, with output in Spanish.
Without them the assistant rewrites unrelated code, which makes review difficult and increases regression risk.
Give the smallest context that reproduces the task. Include interfaces and call sites instead of entire repositories.
Ask for a brief plan and a list of assumptions, not a full chain of thought.