fix: quote the plugin path in the validate_layers.dart command
まだ誰も着手していません。
評価
調査の方向性
agents/ffca-layer-auditor.md の39行目付近と skills/ffca-audit/SKILL.md の27行目および30行目付近を読んでください。パスにスペースが含まれていても機能するように、文書化されている各コマンドでプラグインスクリプトのパスを引用符で囲んでください。3つのコマンドすべてを確認し、引用符の使い方に一貫性があることを確かめてください。issueによると、plugin-paths CIジョブでも引用符のない参照を検出できる可能性があります。
索引モデルが issue の本文から書いたものです。
説明
Description
The ffca-layer-auditor agent and the ffca-audit skill tell the model to run:
dart run ${CLAUDE_PLUGIN_ROOT}/scripts/validate_layers.dart --all
Claude Code substitutes the installed plugin path into that text.
When the path has a space, the command splits and dart run gets the wrong file.
claude plugin validate only checks hook files for this, so CI won't flag it.
It appears in:
agents/ffca-layer-auditor.md, line 39skills/ffca-audit/SKILL.md, lines 27 and 30
Steps To Reproduce
- Load the plugin from a path with a space, e.g. the Claude desktop app on macOS (
~/Library/Application Support/Claude/…). - Run the
ffca-auditskill in an FFCA repo. - The auditor runs the command as written, and
dart runcan't find the script.
Expected Behavior
The validator runs from any install path.
Quoting fixes it:
dart run "${CLAUDE_PLUGIN_ROOT}/scripts/validate_layers.dart" --all
Additional Context
- I haven't reproduced it. The model may quote the path on its own, but nothing tells it to.
- https://code.claude.com/docs/en/plugins-reference: "In skill, command, and agent content, write the
${...}reference in the Markdown body instead, and Claude Code substitutes the path inline when it loads the content." - The
plugin-pathsCI job could also fail on an unquoted${CLAUDE_PLUGIN_ROOT}in a command. - Same root cause as VeryGoodOpenSource/vgv-ai-flutter-plugin#194, there in a hook.
- 主要言語
- Dart
- スター
- 7
- フォーク
- 2
- 平均マージ
- 9時間 59分
- マージ済み PR(30日)
- 7
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
VeryGoodOpenSource/vgv-ffca-plugin のほかの issue
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
chore
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
chore
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
-
feature
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
VeryGoodOpenSource/vgv-ffca-plugin の issue をすべて見る
似ている issue
-
🚀 [firebase_core] Bump Firebase C++ SDK (14.1.0 → 14.2.0)対応中かも @SelaseKay が今日担当しました。 オープンNeeds Attention type: enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
firebase/flutterfire#18977 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
-
agent: is checked on a wrapper holding several checkables answers from the first one in tree orderオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
AlphaWaveSystems/flutter-probe#865 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
ubuntu/app-center#2306 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
spotiflacapp/SpotiFLAC-Mobile#923 ·