fallow-codex-onboarding
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSet up Fallow in Codex
在Codex中设置Fallow
Use the Fallow app tools. Keep each step short. Ask one question at a time.
使用Fallow应用工具。每一步保持简短,一次只提一个问题。
1. Check the installation
1. 检查安装情况
Call with .
fallow_check_install{}- If it reports a version, continue.
- If fallow is missing, explain that the app runs the fallow CLI locally and
that no code leaves the machine. Offer to install it globally with
. The sidebar dashboard needs a fallow on PATH, because the app runs a copy inside the project only within the Codex sandbox of a thread. Run the install only after the user agrees. Then call
npm install --global fallowagain.fallow_check_install
调用参数为 的 。
{}fallow_check_install- 如果返回了版本号,继续下一步。
- 如果未找到fallow,请向用户说明:该应用在本地运行fallow CLI,不会有代码流出设备。可提议通过 全局安装。侧边栏仪表盘需要PATH中存在fallow,因为应用仅在线程的Codex沙箱内的项目中运行副本。仅在用户同意后再执行安装,随后重新调用
npm install --global fallow。fallow_check_install
2. Choose the defaults
2. 选择默认配置
Call with . Ask these questions, one at a time.
Skip a question when the user already answered it.
fallow_settings_read{}- "Analyze the whole project by default, or only the files your branch
changed?" Map the whole project to and changed files to
scope: "full".scope: "changed" - "Leave tests, stories and dev tooling out of the analysis?" Map yes to
.
production: true
Call with a object that holds only the changed
values, for example . Skip the call when nothing
changed. Report the saved values from the tool result. Do not say that a value
was saved when the call failed.
fallow_settings_updateset{"set":{"scope":"changed"}}调用参数为 的 。一次提一个以下问题,若用户已回答过则跳过对应问题。
{}fallow_settings_read- “默认分析整个项目,还是仅分析您的分支修改的文件?” 整个项目对应 ,修改的文件对应
scope: "full"。scope: "changed" - “是否将测试、stories和开发工具排除在分析范围之外?” 选择“是”对应 。
production: true
调用 ,传入仅包含变更值的 对象,例如 。若无变更则跳过调用。根据工具返回结果告知用户已保存的值,调用失败时不要声称值已保存。
fallow_settings_updateset{"set":{"scope":"changed"}}3. Run the first analysis
3. 运行首次分析
Call with . The user sees the dashboard. In two or three
sentences, give the health score, the largest category of findings, and one
finding to start with.
fallow_analyze{}If the result says that no project is known, ask the user to open a project
folder in this thread, then call again.
fallow_analyze调用参数为 的 。用户将看到仪表盘。用两三句话说明健康评分、占比最高的问题类别,以及一个可优先处理的问题。
{}fallow_analyze如果结果提示未识别到项目,请让用户在该线程中打开一个项目文件夹,随后重新调用 。
fallow_analyze4. Show what the app adds
4. 介绍应用新增功能
Tell the user, in a short list:
- Fallow in the sidebar opens the full dashboard.
- Code Health opens beside a thread and follows the project of that thread.
- Type @Fallow in the composer to attach a finding or all findings of a rule.
- Open or
.fallowrc.jsonto edit rules and preview their impact before saving..fallowrc.jsoncfiles open in a findings viewer..sarif - Before a commit, ask Codex to audit the branch.
用简短的列表向用户说明:
- 侧边栏中的 Fallow 可打开完整仪表盘。
- Code Health 会在线程旁打开,并跟随该线程对应的项目。
- 在输入框中输入 @Fallow 可附加单个问题或某条规则的所有问题。
- 打开 或
.fallowrc.json可编辑规则,并在保存前预览影响。.fallowrc.jsonc文件可在问题查看器中打开。.sarif - 提交代码前,可让Codex审计分支。
5. Offer the next step
5. 提供下一步建议
If the project has no fallow config file (, ,
or ), offer the skill to add one and
a CI gate. If the user installed the plugin during another task, continue that
task in this conversation.
.fallowrc.json.fallowrc.jsoncfallow.toml.fallow.tomlfallow-setup如果项目没有fallow配置文件(、、 或 ),可提议使用 技能添加配置文件和CI门禁。如果用户是在其他任务过程中安装的插件,请在本次对话中继续完成该任务。
.fallowrc.json.fallowrc.jsoncfallow.toml.fallow.tomlfallow-setup