Command Palette

Search for a command to run...

Назад к скиллам
скилл № 74819

write-xbrief

Write an xBRIEF spec and continue.json directly — without launching the interactive planning agent. The workspace copy lives in the runtime dir `.overdeck/`…

БесплатноБез исполняемых скриптов
eltmonот eltmon★ 36 звёзд на GitHub

Установить write-xbrief в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Write xBRIEF — Direct Plan Authoring

Use this skill when you want to author an xBRIEF plan directly, bypassing the interactive planning agent. This is appropriate when:

  • The work is well-scoped and doesn't need a Q&A discovery session
  • You are a work agent that received an issue without a pre-existing plan
  • The issue is small enough that a full planning session would cost more than the work itself
  • You need to rewrite or patch a broken xBRIEF before continuing work

After writing the plan, run pan plan finalize to materialize xBRIEF tasks and promote the spec to .pan/specs/ in the project repo (or the configured plan-home repo for polyrepo projects).


Step 1 — Explore First

Before writing a single line of JSON, read the issue and explore the relevant code. A plan written without codebase context will have wrong file paths, wrong difficulty estimates, and spurious edges.

Minimum exploration:

  • Read the issue body and the canonical PRD at .pan/drafts/<issue-id-lowercase>.md in the project repo
  • Grep for the primary symbols, commands, or files the issue mentions
  • Identify which subsystems are affected and how many files will change
  • Check .pan/specs/ in the project repo for an existing issue spec

Step 2 — Write .overdeck/spec.vbrief.json

The file goes at .overdeck/spec.vbrief.json in the workspace root and MUST conform to xBRIEF v0.8. The workspace copy lives in the runtime dir .overdeck/; finalize reads it and promotes the canonical spec to .pan/specs/ in the project repo with the .xbrief.json extension, committed on the feature branch.

Full schema

{
  "xBRIEFInfo": {
    "version": "0.8",
    "created": "<ISO 8601 timestamp>",
    "author": "overdeck/<VERSION>",
    "description": "Plan for <ISSUE-ID>: <issue title>"
  },
  "plan": {
    "id": "<issue-id-lowercase>",
    "title": "<issue title>",
    "status": "approved",
    "uid": "<UUID v4>",
    "author": "agent:<model-slug>",
    "sequence": 1,
    "created": "<ISO 8601 timestamp>",
    "updated": "<ISO 8601 timestamp>",
    "references": [
      { "uri": "<issue URL>", "label": "<ISSUE-ID>", "type": "issue" }
    ],
    "tags": ["<relevant tags>"],
    "narratives": {
      "Problem": "<what problem this solves>",
      "Proposal": "<the approach chosen>",
      "NonGoals": "<explicitly out of scope; behaviors this issue must NOT introduce — one per line, prefixed '- '>"
    },
    "autoDecisions": [],
    "items": [
      {
        "id": "<short-kebab-id>",
        "title": "<task title>",
        "status": "pending",
        "priority": "medium",
        "created": "<ISO 8601 timestamp>",
        "metadata": {
          "difficulty": "trivial|simple|medium|complex|expert",
          "kind": "docs|api|backend|frontend|infra|test|refactor|design|spike",
          "issueLabel": "<issue-id-lowercase>",
          "files_scope": ["src/path/to/file.ts"],
          "files_scope_confidence": "high",
          "verify_commands": ["npm run typecheck"],
          "expected_outputs": ["typecheck completes without errors"],
          "readiness": "ready",
          "traces": ["FR-1", "NFR-2"],
          "requiresInspection": false,
          "inspectionDepth": "fast",
          "foundationFor": []
        },
        "narrative": { "Action": "<what needs to be done>" },
        "items": [
          {
            "id": "<parent-id>.ac1",
            "title": "<specific testable acceptance criterion>",
            "status": "pending",
            "metadata": { "kind": "acceptance_criterion" }
          }
        ]
      }
    ],
    "edges": [
      { "from": "<source-item-id>", "to": "<target-item-id>", "type": "blocks" }
    ]
  }
}

Field rules

Field Rule
plan.id Issue ID in lowercase — e.g. "pan-1234". Never issueId, never issue_id.
plan.uid Fresh UUID v4. Generate with node -e "console.log(crypto.randomUUID())".
plan.status Must be "approved" when written by a self-planning agent (skip draft/proposed).
items[].status One of: draft, proposed, approved, pending, running, completed, blocked, cancelled, failed. Use "pending" for new items.
items[].metadata.kind Required routing category: docs, api, backend, frontend, infra, test, refactor, design, or spike.
plan.narratives.NonGoals Required narrative. List everything discovery established as out of scope ("none" if genuinely nothing); review enforces these as must-not constraints.
items[].metadata.files_scope Required string[] of files/globs this item is expected to touch. Use concrete paths or narrow globs, not broad repo-wide patterns.
items[].metadata.files_scope_confidence Required confidence in files_scope: "high", "medium", or "low".
items[].metadata.verify_commands Required for slot-eligible items. List commands that verify this item before slot merge, e.g. `["npm run typecheck",
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Bash
  2. 02Read
  3. 03Write
  4. 04Grep
  5. 05Glob

FAQ

Что делает скилл write-xbrief?

Write an xBRIEF spec and continue.json directly — without launching the interactive planning agent. The workspace copy lives in the runtime dir `.overdeck/`; finalize reads it and promotes the canonical spec to `.pan/specs/` in the project repo. Use when the work is well-understood and the agent can author the plan from the issue body and codebase alone. Also use when you ARE the work agent and need to self-plan before implementing. Covers the full xBRIEF v0.8 schema, continue.json format, task sizing rules, and the `pan plan finalize` handoff command.

Как установить скилл write-xbrief?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл write-xbrief запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить write-xbrief с