mit einem Klick
security-review
当用户要求安全审查、安全检查、漏洞扫描或提到安全时使用。
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Menü
当用户要求安全审查、安全检查、漏洞扫描或提到安全时使用。
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Basierend auf der SOC-Berufsklassifikation
This skill should be used when the user requests merging work into main and then deleting all other local and remote branches, keeping only main.
当用户要求"DeepSeek API 集成"、"AI 服务"、"生成回复建议"、"调用 LLM"、"HTTP 请求"、"流式响应"、"连接池优化"、"重试策略",或者提到"DeepSeek"、"API 调用"、"reqwest"、"streaming"时使用此技能。用于 DeepSeek API 集成、HTTP 客户端配置、错误处理、流式响应、连接池优化和 API 密钥管理。
当用户要求"IPC 通信"、"进程通信"、"Agent 协议"、"stdin/stdout"、"JSON 消息"、"Orchestrator 通信"、"消息序列化",或者提到"进程间通信"、"Agent 集成"、"消息协议"时使用此技能。用于实现 Rust Orchestrator 和 Platform Agents 之间的 IPC 通信,包括消息格式定义、序列化、错误处理和性能优化。
macOS Agent 开发规范(Swift + Accessibility API),包括项目结构、Accessibility API 使用、UI Automation、IPC 通信集成、错误处理和测试。
Background knowledge about WeReply project architecture, features, and context. Automatically loaded for AI reference, not directly user-invocable.
Python Agent 开发规范(Windows wxauto v4),包括项目结构、模块化、wxauto 使用、IPC 集成、错误处理、测试和部署。
| name | security-review |
| description | 当用户要求安全审查、安全检查、漏洞扫描或提到安全时使用。 |
// ✓ 正确
let api_key = env::var("OPENAI_API_KEY")?;
// ✗ 错误
const API_KEY: &str = "sk-1234567890";
#[derive(Deserialize, Validate, Type)]
pub struct CreateFormulaDto {
#[validate(length(min = 2, max = 50))]
pub name: String,
}
#[tauri::command]
#[specta::specta]
pub async fn create_formula(dto: CreateFormulaDto) -> ApiResponse<Formula> {
if let Err(e) = dto.validate() {
return api_err(format!("输入验证失败: {}", e));
}
// ...
}
// ✓ 正确
sqlx::query_as!(Formula, "SELECT * FROM formulas WHERE name = ?", name)
// ✗ 错误
let sql = format!("SELECT * FROM formulas WHERE name = '{}'", name);
pub fn validate_file_path(path: &str) -> Result<PathBuf> {
let path = Path::new(path);
if path.components().any(|c| c == std::path::Component::ParentDir) {
return Err(anyhow!("不允许使用 .. 路径"));
}
Ok(path.to_path_buf())
}
// ✓ 正确
info!(formula_id = formula.id, "配方创建成功");
// ✗ 错误
info!("API Key: {}", api_key);
cargo audit # 检查安全漏洞
cargo outdated # 检查过时依赖
cargo update # 更新依赖
cargo clippy 无安全警告cargo audit 无已知漏洞