prath-mode
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePrath mode
Prath模式
Read the matched leaf skill in full before executing. Do not restate or
improvise its workflow. The leaf owns its own triggers, flags, and rules.
执行前完整阅读匹配到的叶子skill。不要重述或随意修改其工作流。叶子skill拥有自己的触发条件、标记和规则。
Routing map
路由映射表
| Action | Leaf skill |
|---|---|
| Commit or write a commit message | commit ( |
| Strip AI slop or simplify a diff | deslop ( |
| Open a pull request | make-pr ( |
| Address PR review feedback | fix-pr ( |
| Fix or implement a Linear ticket | fix-linear-ticket ( |
| Review a plan, design, or implementation | peer-review ( |
| Clone or search an external git repo | box ( |
| Delegate work to an external agent | assign ( |
| Save session context or resume a handoff | handoff ( |
| Explain a diff, branch, or PR (HTML) | explain-diff ( |
| Send a Discord notification or alert | notify ( |
When a request matches several skills, pick the leaf that owns the immediate
action. For multi-step work, use a chain below.
| 操作 | 叶子skill |
|---|---|
| 提交或编写提交信息 | commit ( |
| 去除AI冗余内容或简化差异 | deslop ( |
| 发起拉取请求 | make-pr ( |
| 处理PR评审反馈 | fix-pr ( |
| 修复或实现Linear工单 | fix-linear-ticket ( |
| 评审方案、设计或实现 | peer-review ( |
| 克隆或搜索外部Git仓库 | box ( |
| 将工作委派给外部Agent | assign ( |
| 保存会话上下文或恢复交接 | handoff ( |
| 解释差异、分支或PR(HTML格式) | explain-diff ( |
| 发送Discord通知或警报 | notify ( |
当请求匹配多个skill时,选择对应直接操作的叶子skill。对于多步骤工作,使用下方的工作流链。
Workflow chains
工作流链
Run in order. Read each leaf before its step. is not a skill.
implement- Ship ticket work: → implement →
fix-linear-ticket→deslop→commit(passmake-prto make-pr when the ID is known)--ticket - Ship planned work: → implement →
peer-review→deslop→commitmake-pr - Quick save: (optional) →
deslopcommit - Land PR feedback: →
fix-pr→ pushcommit - Research external code:
box - Delegate heavy lift:
assign - End or resume session: or
handoffhandoff --resume <path>
按顺序运行。执行每个步骤前先阅读对应的叶子skill。不是一个skill。
implement- 交付工单工作: → implement →
fix-linear-ticket→deslop→commit(当工单ID已知时,向make-pr传递make-pr参数)--ticket - 交付规划工作: → implement →
peer-review→deslop→commitmake-pr - 快速保存: (可选)→
deslopcommit - 处理PR反馈: →
fix-pr→ pushcommit - 研究外部代码:
box - 委派繁重工作:
assign - 结束或恢复会话: 或
handoffhandoff --resume <path>
Step 1: Match
步骤1:匹配
Match the request to one leaf or one chain. If nothing matches, say so and ask
what the user wants.
将请求与某个叶子skill或某条工作流链匹配。如果没有匹配项,请告知用户并询问其需求。
Step 2: Verify installation
步骤2:验证安装
Before reading or executing a leaf, confirm it is installed: resolve
relative to this skill's directory and check it exists
( or the Read tool). For a chain, verify every leaf before the first
step and re-check before each subsequent step, the user may install skills
between steps.
../<skill-name>/SKILL.mdtest -fIf any leaf is missing, stop and report its name and checked path, list all
missing names in one message, and tell the user to install:
. Never improvise a missing leaf's
workflow.
npx skills@latest add prathamdby/skills在读取或执行叶子skill前,确认其已安装:相对于当前skill的目录解析路径,并检查文件是否存在(使用或读取工具)。对于工作流链,在第一步前验证所有叶子skill,并且在后续每个步骤前重新检查,因为用户可能在步骤之间安装skill。
../<skill-name>/SKILL.mdtest -f如果任何叶子skill缺失,请停止操作并报告其名称和检查路径,在一条消息中列出所有缺失的名称,并告知用户执行以下命令安装:
。绝不要随意修改缺失叶子skill的工作流。
npx skills@latest add prathamdby/skillsStep 3: Read and invoke
步骤3:读取并调用
Read the matched leaf's in full, then execute per the leaf. For
chains, complete each step before starting the next unless the user narrows scope.
SKILL.md完整读取匹配到的叶子skill的文件,然后按照该叶子skill的要求执行。对于工作流链,完成每个步骤后再开始下一个步骤,除非用户缩小了范围。
SKILL.md