開發者提示詞庫

程式碼審查、除錯、API 設計、測試等,一鍵複製的提示詞範本。

15 個提示詞
程式開發 ✦ Claude Sonnet 4

Code Review

Thorough code review covering correctness, security, performance, and maintainability.

#review #security #quality
除錯 ✦ Claude Sonnet 4

Bug Debugging

Systematic bug analysis — diagnose root cause and suggest minimal fix.

#debug #root-cause #fix
設計 ✦ Claude Opus 4

REST API Design

Design a complete RESTful API with endpoints, request/response schemas, and error handling.

#api #rest #design #schema
設計 ✦ Claude Opus 4

Database Schema Design

Design a normalized database schema with tables, relationships, indexes, and RLS policies.

#database #postgresql #schema #rls
程式開發 ✦ Claude Sonnet 4

Unit Test Generation

Generate comprehensive unit tests with edge cases, mocks, and coverage for critical paths.

#testing #unit-tests #coverage
技術寫作 ✦ Claude Sonnet 4

Technical Documentation

Write clear developer documentation with overview, installation, API reference, and examples.

#docs #technical-writing #api-reference
技術寫作 ✦ GPT-4o

Commit Message Generator

Generate a Conventional Commits format message from a git diff or change description.

#git #commit #conventional-commits
技術寫作 ✦ Claude Sonnet 4

PR Description Writer

Write a clear pull request description from changed files and commit history.

#git #pull-request #github
分析 ✦ Claude Opus 4

Architecture Review

Review a system architecture for scalability, reliability, security, and operational concerns.

#architecture #system-design #review
分析 ✦ Claude Sonnet 4

Performance Optimization

Identify performance bottlenecks and suggest prioritized optimizations.

#performance #optimization #profiling
分析 ✦ Claude Opus 4

Security Audit

Audit code for OWASP Top 10 vulnerabilities and security best practices.

#security #owasp #audit #vulnerabilities
程式開發 ✦ Claude Sonnet 4

Code Refactoring

Refactor code to improve readability and maintainability without changing behavior.

#refactoring #clean-code #solid
分析 ✦ GPT-4o

Explain Code

Get a plain-English explanation of complex or unfamiliar code.

#explain #understanding #learning
程式開發 ✦ Claude Sonnet 4

Code Language Converter

Convert code from one programming language to another, preserving idioms.

#conversion #migration #language
程式開發 ✦ GPT-4o

Regex Generator

Generate and explain a regular expression for a specific matching pattern.

#regex #pattern-matching #validation