带约束的重构建议
考察模型能否在限制条件下提出低风险重构。
Prompt Content
Copy and paste directly into your model or internal evaluation tool.
一个 1800 行的 service 文件同时处理鉴权、计费、通知和审计。团队只能投入 2 天,不能改数据库,也不能影响线上 API。请给出分阶段重构计划、风险控制和验收标准。
Use Cases
Reference Output
应先补 characterization tests,再提取纯函数/适配层,保持 API 契约,分小 PR 验证。
Scoring Rubric
5分:计划可执行且低风险;3分:方向正确但无验收;1分:大改架构。
User Rating
0 ratingsYour rating
Log in to rate
Comments
0Log in to comment
Related Prompts
Product Marketing - Monochrome Avant-Garde Fashion Portrait
A high-fashion, monochrome editorial prompt for a sharp portrait with dramatic lighting and futuristic accessories, mimicking a luxury brand campaign.
Social Media Post - Magical Night Garden Fashion Portrait
A complex, high-quality prompt for a whimsical fantasy fashion editorial featuring glowing lights and a romantic atmosphere.
Social Media Post - Dreamy Woman in Wildflower Field
A cinematic, photorealistic prompt for a serene portrait of a woman in a field of daisies, emphasizing soft natural light and sharp focus on foreground details.
Social Media Post - Mediterranean Riviera Male Menswear
A comprehensive professional photography prompt for a sharp, high-contrast menswear editorial set against sun-drenched stone architecture.