Communitygithub.com

Conz-Wilts/ai-editor

エディターのメンテナー向け。ユーザーが修正した内容を、リポジトリ内の恒久的な修正に変換し、全ユーザーに適用し、コードとテストで強制します。

ai-editor とは?

このスキルは、AIビデオエディターのメンテナー(保守担当者)が、ユーザーからのフィードバックを体系的に取り込み、リポジトリ全体に恒久的な修正として反映させるためのものです。ユーザーが「全員に役立つ」とマークした提案(`~/.ai-video-editor/suggestions.jsonl`)、設定の逸脱(`taste.py report`)、プレビュー時の修正(`edits/*/corrections.jsonl`)、レビューページのコメント(`*/review.json`)、およびGitHubのフィードバックラベル付きIssueを収集し、重複をグループ化します。メンテナーが受け入れた各項目に対して、一般的なルールを `PRINCIPLES.md` と該当スキールに書き込み、それを強制するチェックを追加または強化し、テストを追加し、全テストスイートを実行します。「エディターを改善して」「フィードバックを修正に変えて」「提案を処理して」「ユーザーが何に不満を持っているか」「フィードバックIssueを確認して」といったメンテナーの指示に応じて使用します。個人の好み(テイスト)の設定や、ビデオ編集作業には使用しません。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Conz-Wilts/ai-editor/tree/HEAD/.claude/skills/improve

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Improve

パス: ${CLAUDE_SKILL_DIR} はこの SKILL.md が置かれているフォルダ、${CLAUDE_SKILL_DIR}/../.. はその2階層上のエディターの .claude/ フォルダを示します。

ユーザーへの質問はすべて質問ボックスに入力してください。AskUserQuestion ツールを呼び出します(2~4個の選択肢を用意し、推奨するものを最初に配置)。そのツールがないエージェントの場合のみ、番号付きの質問をテキストで行ってください。

このスキルはリポジトリのチェックアウト内で、リポジトリのメンテナーが実行するものです。ここでの修正は、全ユーザーが次回更新時に受け取ることができます。S="${CLAUDE_SKILL_DIR}/scripts"。スクリプトはMacとLinuxでは python3 で、Windowsでは py で実行してください。

0. 誰が実行しているか

python3 "$S/improve.py" mode

maintainer: AI_EDITOR_MAINTAINER=1 が設定されたリポジトリのgitチェックアウト内でのみ。ステップ1に進んでください。

user: エディター自身のファイルは更新のたびに置き換えられるため、決して編集しないでください(SKILL.md、リファレンス、スクリプト、PRINCIPLES.mdは対象外)。以下に従って収集・選択し、承認された各項目を、更新によって変更されないユーザー自身のレイヤーに保存します(リポジトリ内の docs/customise.md を参照):設定は taste.py add ... --set を使用、単語ルールは python3 "${CLAUDE_SKILL_DIR}/../../lib/ai_editor/custom.py" rule "<rule>" を使用、キャプションの見た目は custom/captions/<name>.json と taste.py set captions.preset <name> を使用、テンプレートのデフォルトは custom/templates/<type>.json を使用します。その後 taste.py suggest を実行して、メンテナーが全員のために修正できるように提案してください。ここで終了します。

1. 収集

python3 "$S/improve.py" collect [--edits D] [--no-gh]

各行が1つのルールを表し、最も多く繰り返されたものが先頭に来ます:出現回数、発生元(suggestion、taste regression、preview correction、review note、GitHub issue)、所有者の名前、最大3つの例。複数のユーザーから報告されたルール、または適用後に再度報告されたルールが優先されます。

2. 選択

キューの先頭を表示し、質問ボックスでどの項目を今修正するか尋ねます(複数選択可。最も繰り返されたものを最初に、推奨)。各項目について、不明な場合はさらに尋ねます:すべてのユーザー(推奨)/ 一部のクリエイターのスタイルのみ(ルールではなく style.json フィールドに属する)/ 修正不要(クローズ)。

3. 各項目を以下の順序で修正

  1. ルール。 ${CLAUDE_SKILL_DIR}/../../PRINCIPLES.md の適切な見出しの下に1行。どこで強制されるかを明記し、所有するSKILL.mdまたはリファレンスにも同じルールを追加。一般的で、決して1つのビデオについてではありません:「ズームは少なくとも0.5秒かけてイーズアウトする」はOK、「0:12のズームが急だった」はNG。
  2. 強制。 誰も覚えていなくてもルールが守られる最小のコード:チェック(check.py、quality.py、product.py check、ai_tells.py)でのFAIL、それを破るスクリプトでの拒否(gates.py)、生成不可能なデフォルト、またはリポジトリルールのための tests/check_plugins.py の1行。新しいチェックを追加するよりも、既存のチェックを強化することを優先。
  3. テスト。 そのスクリプトの demo()(または tests/)内のアサーション。小さな合成例から構築。修正前に実行して失敗を確認し、修正後に実行して成功を確認。エージェントのみが従えるルール(質問、説明)には、代わりに evals/ に評価ケースを追加:prompt.md と tool_used または llm グレーダー。
  4. 記録。 docs/feedback-matrix.md:ルール、記載場所、強制方法、テスト内容。

4. すべて実行

python3 tests/check_plugins.py
python3 .claude/lib/ai_editor/okf.py check

続けて tests/demos.sh(全スクリプトのデモ)、node tests/test_record.mjs、レンダラーが設定されていれば tests/smoke.py と tests/golden.py。すべてグリーンになってから引き継ぐこと。コミットはしないでください。メンテナーが差分を確認してコミットします。

修正が完了したGitHub Issueについては、修正の1行要約をコメントしてクローズする提案をしても構いません(gh issue close <n> --comment "...")。ただし、必ず事前に質問してください。

絶対にしてはいけないこと

  • ユーザーの taste.md、taste.json、rules.json、suggestions.jsonl を編集しないでください。それらはユーザーのものです。
  • 個人データをリポジトリに入れないでください。フィードバックからの名前、ハンドル、メールアドレス、ファイル名、映像は一切含めてはいけません。一般的なルールと合成例を記述してください。tests/check_plugins.py は既知の個人名を検出してFAILします。すべての例をリポジトリに入れる前に確認してください。
  • メモだけでループを閉じてはいけません。強制もテストもないルールは完了ではありません。

ファイル

  • scripts/improve.py: mode、collect、demo。読み取り専用。
  • ${CLAUDE_SKILL_DIR}/../../lib/ai_editor/custom.py: ユーザーの <library>/custom/ フォルダ(ユーザーモードはここに書き込みます)。
  • ${CLAUDE_SKILL_DIR}/../../skills/taste/scripts/taste.py: suggest と issue がユーザー側に書き込む場所。

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

Conz-Wilts/ai-editor

Turns one long video or podcast (a local file or a YouTube link) into the best 3-5 short vertical clips, each cut and styled in the user's profile style. Transcribes once, splits the talk into candidate clips at sentence boundaries inside the chosen length, scores every candidate in code (speech rate, loudness, laughter, numbers and names said), shows the shortlist on one page with a preview of each, then trims, cuts and style-edits each pick as its own edit. Use when the user says "clip this video", "make shorts from my podcast", "find the best clips", "cut this into TikToks", "turn this YouTube video into reels", "repurpose this long video", or drops a long video (over about 3 minutes) or a YouTube link and wants short clips. Not for editing one short take (that is start or cut), and not for measuring someone else's style (that is creator-teardown).

Conz-Wilts/ai-editor

Reverse-engineers a short-form creator's video format from their real numbers. Pulls a TikTok or YouTube Shorts profile (or pasted links, Instagram reels too) with view, like and save counts, transcribes the top videos word for word, measures pace, pauses and fillers, maps each video into timed beats, and writes a teardown.md someone can film from, a teardown.html page of their graphics, motion and sound, and the style.json the style-edit skill edits from (on its own it can write an edit plan as a table and .srt). Use when the user wants to analyse, break down or study a creator ("analyse @handle", "tear down @handle", "teardown of @handle", "break down this creator", "what makes this creator's videos work"), pastes TikTok, YouTube or Instagram links and asks what the pattern is, or asks to set up creator-teardown. Not for editing the user's own video like a creator (that is start), not for researching a topic, and not for cutting raw footage.

Conz-Wilts/ai-editor

Cuts raw talking-head footage into a clean jump cut. Takes one take or several joined (mp4 or mov, any aspect, 4K phone footage is fine), transcribes it word by word, removes retakes, false starts, fillers and dead pauses, and renders cut.mp4 at the source resolution plus words.json timed to the cut. The user approves the cut on a page with the whole transcript and every removed word struck through. Use when the user says "cut my video", "just cut it", "remove my mistakes", "cut out the retakes", "remove the pauses", "clean up this take", "jump cut this", "tighten this clip", or asks only for the cut of a raw take; start calls it for a full edit. Runs before style-edit. Not for a general request to edit a video or to make it look like a creator (that is start), not for adding captions, zooms or cards (style-edit), and not for analysing someone else's videos (creator-teardown).

Conz-Wilts/ai-editor

Generates new footage with Higgsfield and puts it on the edit's timeline. Prices every generation first, asks the user with the dollar amount (and, for their own footage, whether it may be uploaded to Higgsfield), then submits, waits, downloads into the edit's generated/ folder and adds the result to the timeline's Generated track. Covers motion transfer on a clip of the user's video (their moves onto a character or styled look), b-roll from a sentence (text to video), a still brought to life (image to video) and stills for cards (text to image). Use when the user says "generate b-roll", "make a shot of", "AI b-roll", "generate a clip", "use Higgsfield", "motion transfer", "put my moves on", "restyle this part with AI", or asks for footage they did not film. Not for animated diagrams or motion graphics (motion), not for real screenshots and logos (overlays, logo-pack), and not for the cut (cut).

関連スキル