SuperAPI AI 工具集

project-preflight

通用与其它

查看项目

更新于 10-16 01:35

技能介绍

用途:在已有仓库中开始工作,或在评审、规划、GitHub 操作之前,先运行内置的只读预检探针,确认仓库、shell、终端、GitHub 与原生智能体状态,避免基于错误状态继续操作。

主要能力:探针不会启动智能体、不会修改文件、不会打印凭据。输出 JSON,可用字段区分仓库检测失败与可选的 GitHub 或原生智能体能力失败。必需仓库字段包括 repo_root、integration_branch、current_branch。GitHub 操作前应检查 has_gh、gh_command_status、gh_network_status、gh_auth_status、gh_token_status、gh_child_credential_status;评审面板前应检查 native_agent_status、native_agent_surface、agent_model、agent_effort、agent_max_reviewers。

使用方式:从包含该技能的项目插件安装中解析可执行文件,使用其同级 bin/project-preflight 路径。若从检出目录工作,该路径为 plugins/project/bin/project-preflight。应使用绝对路径调用,不要假设插件的 bin/ 目录已在 PATH 中: <project-plugin-root>/bin/project-preflight --format json

限制:若无法解析可执行文件,应报告项目插件安装不完整,而不是替换为其他检测器或推断缺失值。资料未提供收费、平台、价格或效果信息。