К основному содержанию
скилл CX Codex

jackin-goal-prompt — скилл для Claude Code: сжать задачу в /goal

Собирает из пункта роадмапа и планов один самодостаточный промпт /goal не длиннее 4000 знаков.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add jackin-project/jackin-dev --skill jackin-goal-prompt -a claude-code
Открыть на GitHub

Что делает jackin-goal-prompt

Скилл читает пункт роадмапа в .mdx, а если передан --plan — ещё и файлы планов. Из них он вытаскивает объём работ, шаги, команды проверки, критерии готовности и условия остановки. На выходе — один промпт, который исполнитель без контекста сможет прогнать до конца.

Структура взята у /improve: цель, границы, гейты проверки, критерии готовности, STOP-условия. Команды проверки скилл берёт из самого репозитория — CONTRIBUTING.md, .github/workflows/ci.yml, mise.toml — и не придумывает их. Выдержки кода не вставляются: вместо них указывается файл и контракт, которому он должен соответствовать. Правила вроде AGENTS.md и COMMITS.md тоже не пересказываются, на них только ссылаются.

Лимит 4000 знаков жёсткий. Скилл пишет промпт во временный файл и считает длину через wc -c, а при переборе сжимает по порядку: убирает выдержки кода, сворачивает конвенции до ссылки, сокращает цель, режет пояснения. Если вы готовы поднять лимит, скажите об этом сразу — иначе часть деталей придётся вернуть вручную.

Какие задачи решает

  • собрать из пункта роадмапа промпт, который исполнитель поймёт без переписки
  • сложить планы от /improve и роадмап в один запускаемый текст
  • подставить в промпт реальные команды проверки из репозитория
  • уложить постановку задачи в 4000 знаков без потери критериев готовности
  • сохранить STOP-условия, чтобы исполнитель мог честно остановиться

Примеры запросов агенту

  • сделай goal prompt по пункту роадмапа auth-refresh
  • jackin-goal-prompt для пункта rate-limits, план возьми из plans/rate-limits/
  • собери /goal промпт по docs/roadmap/billing.mdx и планам plans/billing/*.md

Как установить jackin-goal-prompt

1Через Skills CLI (Vercel)

npx skills add jackin-project/jackin-dev --skill jackin-goal-prompt -a claude-code

2Вручную: положить файлы

~/.claude/skills/jackin-goal-prompt/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/jackin-goal-prompt/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о jackin-goal-prompt

Как установить jackin-goal-prompt в Claude?

Выполните npx skills add jackin-project/jackin-dev --skill jackin-goal-prompt -a claude-code. После этого скилл лежит в ~/.claude/skills/jackin-goal-prompt/SKILL.md.

Что делает jackin-goal-prompt?

Превращает пункт роадмапа и необязательные файлы планов в один самодостаточный промпт /goal длиной до 4000 знаков. Внутри — цель, границы, гейты проверки, критерии готовности и STOP-условия.

Чем jackin-goal-prompt отличается от jackin-research?

jackin-research пишет многостраничный брифинг prompt.mdx для /goal Follow. Этот скилл даёт компактный встроенный промпт для /goal Implement или /goal Run.

Исходный текст

SKILL.md · Apache-2.0
---
name: jackin-goal-prompt
description: Use only when the user explicitly requests this skill. 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
license: Apache-2.0
user-invocable: true
---

# jackin-goal-prompt

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`.

## When to use

- Operator asks for a goal prompt / wants to kick off `/goal` on a roadmap item.
- Operator has a roadmap item plus `/improve` plan files and wants them fused into one runnable prompt.

## When NOT to use

- Authoring a research dossier brief → `jackin-research`.
- Designing the roadmap item itself → `jackin-brainstorm`.
- Opening the PR → `jackin-create-pr` / `jackin-propose`.

## Arguments

- `<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.

## Process

1. **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.

2. **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.

3. **Compose the prompt** — the compressed `/improve` skeleton:
   - **Objective** — one or two lines: what to build, pulled from the roadmap/plan.
   - **Scope** — in-scope paths; out-of-scope boundaries (what looks related but must not be touched).
   - **Verify gates** — the commands from step 2, each with its expected result.
   - **Done criteria** — machine-checkable, one line each (a command + result, or a greppable absence), never prose like "works correctly."
   - **STOP conditions** — drift vs the plan, a scope boundary that won't hold, a gate that won't go green honestly.
   - **Conventions** — one line pointing at jackin❯'s auto-loaded rule files; do not copy their content.

4. **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.

5. **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.

## Common mistakes

- Exceeding 4000 characters — the one hard constraint.
- Inventing verify commands instead of reading the repo's real ones — a gate the repo doesn't run is noise.
- Restating jackin❯'s auto-loaded rules (`AGENTS.md`, `COMMITS.md`, `ENGINEERING.md`) — the executor auto-loads them; point, don't copy.
- Inlining code excerpts — the executor reads the files; name the file and the contract it must satisfy.
- Producing a prompt that leans on chat context ("as discussed", "the approach we chose") — not self-contained, breaks on a fresh executor.
- Ignoring `--plan` files when given — they carry the scope and done criteria; folding them in is the point.
- Dropping the STOP conditions — they are the executor's only honest escape hatch.

## Tooling

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.

© jackin-project · Apache-2.0 · jackin-project/jackin-dev

Похожие скиллы

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
fable-goal Alireza Rezvani Превращает сбивчивое описание желаемого результата в один готовый /goal-промпт для новой сессии. Сам ничего не строит. 23установок define-goal официальный openai Скилл превращает расплывчатую задачу в измеримую цель с критериями проверки перед стартом работы агента. CX Codex +1 2 800установок plannotator-setup-goal backnotprop Скилл превращает идею в готовый пакет цели через интервью с пользователем, сбор фактов и анализ кодовой базы. Помогает чётко сформулировать, что нужно сделать, и создать план выполнения. CX Codex +1 11 400установок goal-setting-okrs RefoundAI Скилл помогает формулировать квартальные цели и OKR без раздутых списков задач. Он связывает стратегию компании с конкретными результатами команды. CX Codex +1 442установок jobs-to-be-done wondelai Скилл помогает разбирать, какую задачу клиент нанимает продукт решать, и связывать выводы с интервью, конкурентами и дорожной картой. CX Codex +1 6 800установок inspired-product wondelai Скилл для Claude Code, который разводит продуктовую работу на discovery и delivery и ставит вашей команде балл от 0 до 7 по семи пунктам. CX Codex +1 5 100установок

Из того же набора2

Спонсоры проекта

Компании, которые помогают держать аналитику открытой