AGENT SKILL

edit-from-review

Edit edit.json to address open review.json annotations, with ticket updates in the prescribed sequence. Use for requests such as “Address a-0002 and a-0003” or “Address all open tickets”. The consumer side of the QA loop; bin/respond.mjs atomically enforces open → addressed with mandatory response, immutable resolved tickets, and no silent dismissal.(旧名: address-review)

License 许可
MIT
最近更新
2026-10-22
Stars
★ 214
Forks
25

01 前言 Front Matter

name
edit-from-review
description
Edit edit.json to address open review.json annotations, with ticket updates in the prescribed sequence. Use for requests such as “Address a-0002 and a-0003” or “Address all open tickets”. The consumer side of the QA loop; bin/respond.mjs atomically enforces open → addressed with mandatory response, immutable resolved tickets, and no silent dismissal.(旧名: address-review)

02 资源文件 8

03 SKILL.md 正文

Address open tickets

Language: Respond in the user's language — conversation, questions, approval prompts, and the reports and records you write (including decision-log rows) follow the language the user writes in.

Canonical source: private internal contracts (akari-video-internal): review-annotations §1/§3/§5 (state machine)

  • review-session §6 (additional session-derived fields).

Hard rules

  1. Strictly follow the state machine: open → addressed always requires response (summary + action + respondedAt). Never write to resolved (human-only approval gate). Do not re-handle addressed. bin/respond.mjs rejects these programmatically; never bypass guards with manual review.json edits.
  2. Never silently dismiss: For tickets you choose not to/cannot address, always respond with declined and a reason in summary. When uncertain, do not leave open; use declined with a question in summary.
  3. Target [要確認] only when explicitly named: Annotations whose text starts with [要確認] (machine marker: needs confirmation) are excluded by --all-open; bin/list.mjs automatically skips and reports them. Include only when their IDs are explicitly specified through --ids. [要確認] is a question for the owner, not something the agent may independently interpret and process.
  4. Pass edit-lint after implementing edit.json changes, before respond: Caption instructions follow the caption contract (Captions and cut editing, Japanese: gap principle, actual speech intervals, minimum 1.0s). Run respond only after node packages/edit-lint/bin/edit-lint.mjs <project> --media PASS; never mark addressed before PASS.
  5. The agent judges interpretation/implementation; bin handles only mechanical listing/state transitions. Do not make bin decide how to fix edits.

Execution order

  1. List targets:

    node skills/edit-from-review/bin/list.mjs <project-root> --ids a-0002,a-0003
    node skills/edit-from-review/bin/list.mjs <project-root> --all-open
    

    Human-readable output includes sourceT / sourceRange / target (e.g., cut:<index>) / text / input; for session-derived annotations (§6 additions), also formatted session (id, recRange, confidence) and strokes (with sessionRef). --all-open automatically skips [要確認] annotations (machine confirmation marker) and includes skipped IDs/count in output.

Do not Read all of edit.json / captions.json; grep by ID and read matching lines only (Reading edit.json). Write through relevant-line Edit or edit-store's script API.

  1. Read each ticket's text instructions (including source seconds/target) and decide the response.

    • If addressing: Edit relevant edit.json (captions.json if needed) lines or use edit-store's script API; pass node packages/edit-lint/bin/edit-lint.mjs <project-root> --media.
    • If not addressing: Clearly establish the reason; never silently dismiss.
  2. Execute state transitions for each judged ticket:

    node skills/edit-from-review/bin/respond.mjs <project-root> \
      --id a-0002 --action edited --summary "captions.json に c-0009〜c-0013 を追加。edit-lint --media PASS 確認済み。"
    
    node skills/edit-from-review/bin/respond.mjs <project-root> \
      --id a-0003 --action declined --summary "参照素材が assets/ に無いため見送り。素材が揃ったら再度チケットを切ってください。"
    

    respond rejects targets not open (resolved / addressed / unknown ID), and empty summary. All rejections leave review.json completely unchanged. Exit codes: success 0 / guard rejection 1 / input/environment error 2.

  3. After all responses, give 1 response summary: action (edited/declined) and summary gist per handled ID, skipped [要確認] IDs (machine confirmation marker), and reasons for any rejections.

Options

  • list.mjs --ids <id,id,...>: List specified IDs only, including [要確認] (machine confirmation marker).
  • list.mjs --all-open: List all status: "open", skipping/reporting [要確認] (machine confirmation marker).
  • list.mjs --json / respond.mjs --json: Machine-readable stdout.
  • respond.mjs --id --action edited|declined --summary "...": State-transition executor. respondedAt is generated automatically from execution time (ISO8601, cannot override).

Outputs

  • bin/list.mjs: Target ticket list (human-readable or --json); no file writes.
  • bin/respond.mjs: Atomic review.json state transition (open → addressed + response). Nontarget annotations and other target fields remain byte-identical.

Applying to real projects

This skill executes the prescribed open-ticket response pattern. Judging which edit.json changes count as addressing a ticket (exact caption ranges, cuts to remove, etc.) is the agent's job, based on project-specific primary information (audio, footage, transcript); bin does not substitute for that judgment.

04 同仓库更多 Skills

AkariLabs
AkariLabs/akari-video

verify-project

Verify an AKARI Video project with the L0 / L1 / L2 verification ladder required by an AKARI Video task contract on the current Theia stack. Read when acceptance criteria specify levels such as L0 or L0+L1, to determine exactly what to run and how at each level.(旧名: verify)

★ 214
AkariLabs
AkariLabs/akari-video

verify-edit

Verify edit.json and optional analysis.json / captions.json / media with a deterministic CLI, then finish QA with frame inspection and reporting after PASS. Use immediately after writing or modifying edit.json, before export, and after applying review feedback.(旧名: edit-lint)

★ 214
AkariLabs
AkariLabs/akari-video

setup-remote

Set up remote access to approval reports and previews from another device such as a phone, and send footage to the workspace. Use doctor to assess Tailscale, guide installation and login (human actions), expose the preview server (default 4567) and approval report helper over tailnet-only HTTPS with tailscale serve, connect Taildrop reception to workspace inbox/, and verify access from another device. Use for requests to view reports on a phone, approve remotely, send footage from a phone, or set up remote access. Public internet exposure (funnel) is outside the default scope.

★ 214
AkariLabs
AkariLabs/akari-video

setup-project

Set up an AKARI Video project headlessly. Recursively copy `templates/project-default/`, record the template version, initialize git only when safe, and generate an HTML creation report. No app launch is needed. Use to create a video project or fill in an existing folder as an AKARI Video project.(旧名: create-project)

★ 214
AkariLabs
AkariLabs/akari-video

setup-library

Use for first-time AKARI Video setup or when the current project needs more usable assets. This first-run skill checks ffmpeg / whisper-cli (and can install with approval), reads the bundled catalog with akari assets to propose a starter pack, obtains explicit human approval, then acquires, places, validates, and updates INDEX entries. It also covers the audio library (BGM and sound effects): bulk acquisition of first-party AKARI Sounds from GitHub Releases, a free-source candidate HTML list with drop-folder matching or assisted acquisition for missing families, and keep/drop decisions in the listening gallery. Use for requests such as "I want more BGM" or "add sound effects to the library".(旧名: setup-audio-library)

★ 214
AkariLabs
AkariLabs/akari-video

setup-connections

Set up and inspect AKARI Video connections: AI-service keys, which models are allowed, cost-approval policy, the tool and media-service state, and 3D settings. Use for first-time setup, adding a provider or key later, checking what is usable (「何が使える?」 'what can I use?'), setting a key such as fal (「fal の鍵を設定したい」), 3D settings (「3D の設定を使いたい」), connection checks, and gates before paid generation or external publication. Model selection belongs to the production skills (they read the ledger and preferences); this skill decides allowed models and the cost policy. Works with `.akari/connections.json` and a free, read-only doctor.(旧名: manage-connections)(旧名: connect)

★ 214