一键导入
jackin-goal-prompt
Distills a jackin❯ roadmap item — plus optional plan files — into a self-contained /goal prompt capped at 4000 characters.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Distills a jackin❯ roadmap item — plus optional plan files — into a self-contained /goal prompt capped at 4000 characters.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Turns a jackin❯ roadmap item's intent into concrete design decisions through freeform discussion, written into its
Switches the current jackin❯ repo onto a pull request's branch via gh pr checkout, guarding the working tree first.
Opens a pull request for a small jackin❯ change with the correct body shape and auto-selected verify-locally blocks.
Runs the jackin❯ pre-merge gate, retires the roadmap item into docs, and squash-merges a pull request.
Opens a jackin❯ feature or idea as a roadmap item draft plus an early PR; never writes code.
Reconciles an open jackin❯ pull request's title and body against the current diff — regenerates the Verify-locally block selection and rewrites prose that has drifted.
| name | jackin-goal-prompt |
| description | Distills a jackin❯ roadmap item — plus optional plan files — into a self-contained /goal prompt capped at 4000 characters. |
| argument-hint | <slug> [--plan <path|glob>] |
| disable-model-invocation | true |
Distill a roadmap item (and any plan files the operator hands you) into a single self-contained /goal prompt — one an executor agent with zero prior context can run to completion. The prompt is the product; its tightness decides whether the goal succeeds.
Capped at 4000 characters, hard. Structure borrowed from /improve's plans: self-contained, verification-gated, hard-boundaried. The skeleton that carries execution — objective, scope, verify gates, done criteria, STOP conditions — stays; everything the executor can read from files (code excerpts) or inherits from jackin❯'s auto-loaded rules (AGENTS.md, COMMITS.md, ENGINEERING.md) is pointed at, never restated.
Distinct from jackin-research: that authors a dossier brief (a multi-page prompt.mdx file run via /goal Follow). This produces a compact inline prompt run via /goal Implement or /goal Run.
/goal on a roadmap item./improve plan files and wants them fused into one runnable prompt.jackin-research.jackin-brainstorm.jackin-create-pr / jackin-propose.<slug> — the roadmap item (slug, path, or the .mdx). Always required.--plan <path|glob> — plan markdown to fold in (a folder, a file, or a glob). Usually /improve output.Gather the change. Read the roadmap .mdx. Anchor on title: and **Status**: only — real items drift from the Problem/Why/Design/Tasks scaffold, so tolerate any heading set. If --plan is given, read every plan file and lift its scope, steps, verify commands, done criteria, and STOP conditions.
Done when you can state, in two sentences, what this change builds and where its code lives.
Read the repo's real verification gates. The verify commands come from the repo, never invented. Pull them from CONTRIBUTING.md (the merge-readiness block), .github/workflows/ci.yml, and mise.toml — for jackin❯ that is cargo fmt --check, cargo clippy --all-targets --all-features -- -D warnings, cargo nextest run --all-features, the e2e profile, plus the bun docs gate when docs/ is touched.
Done when every gate you cite is a command the repo actually runs, with its expected result.
Compose the prompt — the compressed /improve skeleton:
Enforce the 4000-character cap. Write the prompt to a temp file and wc -c it. Over the cap, compress in this priority order until it fits: drop code excerpts (name the file + the contract, not the code), collapse conventions to a pointer, tighten the objective, cut the "why" narrative, merge done criteria into the verify gates. Re-count. The cap is hard — never emit over 4000.
Done when wc -c reports ≤ 4000 and the prompt still carries objective + scope + verify gates + done criteria + STOP conditions.
Emit + report. Print the prompt in a single code block, ready to paste after /goal Implement <slug> or /goal Run. State the character count. Name what you compressed or dropped to fit, so the operator can ask for it back inline if they'd rather raise the cap.
AGENTS.md, COMMITS.md, ENGINEERING.md) — the executor auto-loads them; point, don't copy.--plan files when given — they carry the scope and done criteria; folding them in is the point.No xtask owns this. The skill orchestrates reads (the roadmap .mdx, the plan files, the repo's verify commands) and emits a single ≤ 4000-char string. The structure borrows from /improve's plan anatomy (self-contained, verification-gated, hard-boundaried) and the /goal Run brief shape jackin❯ already uses for gap-closure.