AI prompt library for software engineers | DevPrompt Lab
Discover expert prompts, AI coding tools and engineering benchmarks for faster, more reliable software development.
Build better software with focused AI context
Browse reusable prompts, compare AI coding tools and read practical engineering guides.
Featured prompts
Analyze cache invalidation and freshness
Map cache keys, stale-data risks, and invalidation triggers before optimizing reads.
Choose instruction files for coding tools
Map project context into each tool's documented instruction format without inventing support.
Create a risk-based test plan
Choose focused tests that protect behavior and important failure cases.
Debug with a reproducible hypothesis
Turn an unclear symptom into a minimal reproduction and verified root cause.
Design a clear REST API contract
Specify routes, validation, authorization, errors, and pagination consistently.
Design stable API pagination
Specify bounded pages, deterministic ordering, and clear totals for collection endpoints.
Investigate a slow request with evidence
Locate latency in the full request path before suggesting an optimization.
Map repository module boundaries
Explain ownership, entry points, dependency direction, and generated areas from the codebase.
Map sensitive data through a feature
Trace collection, storage, access, logging, sharing, and deletion of user data.
Plan a repeatable, reversible data migration
Preserve legacy rows and prove the migration can safely run again.
Refactor while preserving contracts
Improve a module in small steps without changing its public behavior.
Review a change for correctness and maintainability
Focus a code review on behavior, edge cases, and future change cost.
Latest engineering articles
Xây Dựng AI Coding Agent Độc Lập Bằng LangGraph và TypeScript: Tự Đọc Code, Chạy Linter Và Sửa Lỗi
Hướng dẫn tự phát triển một Agent dạng vòng lặp ReAct có khả năng tự động giải quyết các lỗi ESLint và TypeScript trong dự án.
Kỹ Thuật Viết Prompt Sinh Tài Liệu API OpenAPI 3.1 & Zod Schemas Chuẩn Xác 100%
Cách biến các controller handlers phức tạp thành tài liệu Swagger/OpenAPI tự động, kèm mã lỗi RFC 7807 và ví dụ minh họa.
Chiến Lược Chuyển Đổi Legacy Code (Java 7 / PHP 5) Sang Ngôn Ngữ Hiện Đại Bằng AI An Toàn Tuyệt Đối
Phương pháp Strangler Fig Pattern kết hợp prompt kiểm thử hồi quy để hiện đại hóa hệ thống cũ mà không làm gián đoạn kinh doanh.
Đánh Giá GitHub Copilot Workspace: Trải Nghiệm Lập Trình Từ Ý Tưởng Đến Pull Request Tự Động
Trải nghiệm môi trường phát triển trên cloud của GitHub: AI tự lên kế hoạch giải quyết issue, viết code và tạo PR.
Benchmark Tối Ưu Truy Vấn SQL: AI Có Đánh Bại Được Kỹ Sư DBA Lão Luyện?
Thử thách tối ưu 20 câu lệnh SQL chậm kinh điển trên cơ sở dữ liệu PostgreSQL 500 triệu records: Kết quả bất ngờ.
Kỹ Thuật RAG Codebase: Xây Dựng Hệ Thống Semantic Search Cho Dự Án Triệu Dòng Code
Cách chia nhỏ code theo Abstract Syntax Tree (AST) bằng Tree-sitter và tạo embeddings để AI tìm đúng hàm cần sửa trong chớp mắt.