PR 创建
- 作者仓库星标 0
- 作者仓库 skills-registry
You are the orchestrator for the /jlu-create-pr command.
Phase 1 — Bootstrap
Resolve plugin root. Try in order:
- Go up 2 levels from this skill's directory (plugin install at
<plugin-root>/skills/create-pr/SKILL.md). ~/.claude/jelou/(manual installation).
If neither resolves, stop with: "Plugin root not found. Ensure jelou-spec-plugin is installed."
Runtime contract (Claude Code). The workflow file uses OpenCode names:
- Workflow says
question→ invokeAskUserQuestion(deferred — preload below). - Workflow says
task→ invokeAgent(subagent dispatch). - Never narrate questions as plain text. Never skip a prescribed question.
Run these in parallel (single tool-call message — do NOT serialize):
Bash:<plugin-root>/bin/check-update.sh 2>/dev/null || echo SKIPPEDRead:<plugin-root>/jelou/workflows/create-pr.mdToolSearch:select:AskUserQuestion(max_results: 1) — mandatory before anyAskUserQuestioncall.
Update banner. If the bash output starts with UPDATE_AVAILABLE <local> <remote>, print one line and continue:
[jlu] v<remote> available (you have v<local>). Run: /plugin update jlu@jelou-spec-plugin
If the output is UP_TO_DATE or SKIPPED, continue silently. Update-check failures must never block the workflow.
ToolSearch fallback. If ToolSearch returns zero matches for AskUserQuestion, fall back to printing each question as plain text and warn the user that the skill cannot run correctly without AskUserQuestion in this Claude Code version.
Phase 2 — Execute Workflow
Follow the workflow file you just read. Do NOT spawn a sub-agent — execute the workflow yourself in this session.
The argument is {argument}. The plugin root is the path resolved above. The current working directory is {cwd}.
<!-- tomevault:4.0:skill_md:2026-05-22 -->Source: cristian-pisco/jelou-spec-plugin — distributed by TomeVault.
- 流狐分类
- 工程开发
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @tomevault-io · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- Shell 执行
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Resolve plugin root. Try in order: Go up 2 levels from this skill's directory (plugin install at <plugin-root>/skills/create-pr/SKILL.md). ~/.claude/jelou/ (manual installation).
Follow the workflow file you just read. Do NOT spawn a sub-agent — execute the workflow yourself in this session. The argument is {argument}. The plugin root is the path resolved above. The current working directory is {cwd}.
You are the orchestrator for the `/jlu-create-pr` command.
## Phase 1 — Bootstrap
**Resolve plugin root.** Try in order:
1. Go up 2 levels from this skill's directory (plugin install at `<plugin-root>/skills/create-pr/SKILL.md`).
2. `~/.claude/jelou/` (manual installation).
If neither resolves, stop with: "Plugin root not found. Ensure jelou-spec-plugin is installed."
**Runtime contract (Claude Code).** The workflow file uses OpenCode names:
- Workflow says `question` → invoke `AskUserQuestion` (deferred — preload below).
- Workflow says `task` → invoke `Agent` (subagent dispatch).
- Never narrate questions as plain text. Never skip a prescribed question.
**Run these in parallel** (single tool-call message — do NOT serialize):
1. `Bash`: `<plugin-root>/bin/check-update.sh 2>/dev/null || echo SKIPPED`
2. `Read`: `<plugin-root>/jelou/workflows/create-pr.md`
3. `ToolSearch`: `select:AskUserQuestion` (max_results: 1) — mandatory before any `AskUserQuestion` call.
**Update banner.** If the bash output starts with `UPDATE_AVAILABLE <local> <remote>`, print one line and continue:
> `[jlu] v<remote> available (you have v<local>). Run: /plugin update jlu@jelou-spec-plugin`
If the output is `UP_TO_DATE` or `SKIPPED`, continue silently. Update-check failures must never block the workflow.
**ToolSearch fallback.** If `ToolSearch` returns zero matches for `AskUserQuestion`, fall back to printing each question as plain text and warn the user that the skill cannot run correctly without `AskUserQuestion` in this Claude Code version.
## Phase 2 — Execute Workflow
Follow the workflow file you just read. Do NOT spawn a sub-agent — execute the workflow yourself in this session.
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Phase 1 — Bootstrap → Phase 2 — Execute Workflow
要点 -> Resolve plugin root. · Runtime contract (Claude Code). · Run these in parallel · Update banner. · ToolSearch fallback.
文件/命令 -> /jlu-create-pr · <plugin-root>/skills/create-pr/SKILL.md · ~/.claude/jelou/ · question · AskUserQuestion · task · Bash · <plugin-root>/bin/check-update.sh 2>/dev/null || echo SKIPPED
内容 SHA-256 -> 4759e4878eae
方法与流程
适用与边界
原文中的明确线索
/jlu-create-pr、<plugin-root>/skills/create-pr/SKILL.md、~/.claude/jelou/、question、AskUserQuestion、task、Bash、<plugin-root>/bin/check-update.sh 2>/dev/null || echo SKIPPED