修理级别分析软件分享 http://blog.sciencenet.cn/u/optscu Level of Repair Analysis Software

博文

与AI沟通常用的提示词

已有 444 次阅读 2026-8-21 12:55 |个人分类:程序-代码|系统分类:科研笔记

==============================================================================

CLAUDE CODE EXECUTION BLUEPRINT (XML VERSION)

==============================================================================

<system_config>

重要提示:在执行任务或扫描目录时,请严格遵守以下忽略规则。

绝对不要读取、扫描、搜索或分析以下匹配的文件与目录:

- node_modules/

- dist/

- build/

- venv/

- .git/

- *.log

- *.mat (如果是 MATLAB 项目,防止误读大容量数据文件)

- bin/ / obj/ (如果是 C 语言项目编译产物)

</system_config>

<task_summary>

任务简述:

</task_summary>

<target_scope>

目标文件与精确位置:

- 路径: - 目标函数/行号: 注意:除此指定范围外,禁止修改或重写文件内的其他任何部分。

</target_scope>

<logic_blueprint>

请严格按照以下伪代码逻辑进行代码重构。可以用任何你顺手的逻辑语言或自然语言混合描述:

</logic_blueprint>

<constraints>

- **Scope Lock**: ONLY modify the lines/functions explicitly mentioned in <logic_blueprint>. Do not refactor or "clean up" adjacent or unrelated code.

- **Dependency Guard**: Do not add, update, or import any new third-party libraries, modules, or header files unless explicitly specified in the blueprint.

- **No Verbose Explanations**: Do not explain how the code works or why you made the changes. Only output the necessary code patch.

- **Tool Restriction**: Do not use internet search, grep, find, or test runner tools automatically. Target files are already provided.

- **Log Preservation**: Keep all existing logging, printing (printf/fprintf/print), and error-handling statements exactly as they are unless instructed otherwise.

</constraints>

==============================================================================

END OF BLUEPRINT - PLEASE EXECUTE NOW

==============================================================================



https://blog.sciencenet.cn/blog-3591566-1548908.html

上一篇:非线性 01 规划问题求解




    
收藏 IP: 179.255.154.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2026-9-3 15:50

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部