finance/reconciliation: dollar amounts in SKILL.md are replaced by command arguments ($0.00 → "cash.00")

オープン 初心者向け
#1,286 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
82/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
markdown
領域
documentation

調査の方向性

finance/skills/reconciliation/SKILL.mdから始めて、Claude Codeがskillのテキスト内のドル記号をそのままどう扱うかを確認してください。該当する金額の数字の前にあるドル記号をエスケープし、引数を指定して呼び出したときにskillがそれらを保持することを確認してください。このissueでは、ドル金額を出力する他のskillも影響を受ける可能性があると指摘されています。

索引モデルが issue の本文から書いたものです。

説明

When the reconciliation skill is invoked with arguments, as the README suggests (/reconciliation cash 2024-12), Claude Code replaces $0, $1, $10… in SKILL.md with those arguments, as documented under "Available string substitutions" ($N is shorthand for $ARGUMENTS[N]). Two dollar amounts in finance/skills/reconciliation/SKILL.md are caught by it:

  • Difference: $0.00 reaches Claude as Difference: cash.00 when the skill is run as /finance:reconciliation cash 2026-09
  • > $10,000 in the escalation table becomes the eleventh argument followed by ,000

Minimal reproduction: /finance:reconciliation A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11. The skill text Claude receives then reads Difference: A0.00 and | Individual item amount | > A10,000 | Supervisor review |. $XX,XXX is not affected, and $50,000 and $100,000 survive only because $50 and $100 point to arguments that are not there.

Fix: put a backslash before each dollar sign that is followed by a digit (\$0.00, \$10,000, \$50,000, \$100,000), as the Claude Code docs describe for literal dollar signs. Other skills that print dollar amounts are probably affected in the same way.

主要言語
Python
スター
36.8k
フォーク
4.1k
平均マージ
1日 23時間
マージ済み PR(30日)
17

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

anthropics/knowledge-work-plugins のほかの issue

anthropics/knowledge-work-plugins の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。