assess
This skill should be used when the user asks to determine what tax filings they need, wants to know if they must file a tax return (確定申告), asks about…
This skill manages furusato nozei (hometown tax) donations. Use when the user wants to register donation data, read donation receipts, check deduction limits, or manage their furusato nozei records. Trigger phrases: "ふるさと納税", "furusato", "寄附金", "寄付金", "ふるさと納税の控除", "寄附金受領証明書",
$ npx -y skills add kazukinagata/shinkoku --skill furusato --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/furusatoContext preview
The summary Claude sees to decide when to auto-load this skill.
This skill manages furusato nozei (hometown tax) donations. Use when the user wants to register donation data, read donation receipts, check deduction limits, or manage their furusato nozei records. Trigger phrases: "ふるさと納税", "furusato", "寄附金", "寄付金", "ふるさと納税の控除", "寄附金受領証明書",
name: furusato description: > This skill manages furusato nozei (hometown tax) donations. Use when the user wants to register donation data, read donation receipts, check deduction limits, or manage their furusato nozei records. Trigger phrases: "ふるさと納税", "furusato", "寄附金", "寄付金", "ふるさと納税の控除", "寄附金受領証明書", "ワンストップ特例".
ふるさと納税の寄附金受領証明書を読み取り、寄附データを管理し、控除額を計算するスキル。
1. `shinkoku.config.yaml` を Read ツールで読み込む 2. ファイルが存在しない場合は `/setup` スキルの実行を案内して終了する 3. 設定値を把握する:
設定の読み込み後、引継書ファイルを読み込んで前ステップの結果を把握する。
1. `.shinkoku/progress/progress-summary.md` を Read ツールで読み込む(存在する場合) 2. 以下の引継書を Read ツールで読み込む(存在する場合):
3. 読み込んだ情報を以降のステップで活用する(ユーザーへの再質問を避ける) 4. ファイルが存在しない場合はスキップし、ユーザーに必要情報を直接確認する
`import_data.py furusato-receipt --file-path PATH` でファイルの存在を確認する。
**重要: 画像の読み取りは対応する reading-* スキルに委任する。**
画像ファイルの読み取りには `/reading-receipt` スキルを使用する。 スキルの指示に従い、デュアル検証(2つの独立した読み取り結果の照合)を行って結果を取得する。
**結果照合:** 両方の読み取り結果から `amount`, `date`, `municipality_name` を比較する
**一致の場合:** そのまま採用。「2つの独立した読み取りで結果が一致しました」と報告
**不一致の場合:** ユーザーに元画像パスと両方の結果を提示し、正しい方を選択してもらう:
読み取り結果の `---FURUSATO_RECEIPT_DATA---` ブロックから以下の情報を取得する:
1. Glob ツールで受領証明書画像の一覧を取得する(例: `furusato_receipts/*.jpg`, `furusato_receipts/*.png`) 2. `shinkoku import furusato-receipt --file-path PATH` で各ファイルの存在を確認する 3. 画像ファイルの読み取りには `/reading-receipt` スキルを使用する。 スキルの指示に従い、デュアル検証(2つの独立した読み取り結果の照合)を行って結果を取得する。
**結果照合:** ファイル単位で両方の読み取り結果の `amount`, `date`, `municipality_name` を比較する
**一致の場合:** そのまま採用。「2つの独立した読み取りで結果が一致しました」と報告
**不一致の場合:** 不一致のファイルについてユーザーに元画像パスと両方の結果を提示し、正しい方を選択してもらう:
4. 各証明書の結果をまとめてユーザーに提示する
抽出した情報を一覧表示し、正しいか確認する。修正があればユーザーの入力を反映する。
確認が完了したら `furusato.py add` で登録する。
shinkoku furusato add --db-path DB --input FILE
入力 JSON ファイルのフォーマット:
{
"fiscal_year": 2025,
"municipality_name": "自治体名",
"amount": 30000,
"date": "2025-06-15",
"municipality_prefecture": "都道府県",
"receipt_number": "受領証明書番号",
"one_stop_applied": false
}登録時に「ワンストップ特例を申請しましたか?」と確認する。
**重要な注意**: 副業で確定申告する場合、ワンストップ特例は**無効化**される。 確定申告時に全額を寄附金控除として申告する必要がある。
「他に受領証明書はありますか?」と確認し、あればステップ1~2を繰り返す。
すべての寄附データを登録したら `furusato.py summary` で集計する。
shinkoku furusato summary --db-path DB --fiscal-year YEAR [--estimated-limit N]
表示する情報:
所得情報が把握できている場合は `shinkoku tax calc-furusato-limit` で上限を推定する。
shinkoku tax calc-furusato-limit --input FILE
**推奨(詳細推定)**: 所得税と住民税では所得控除額が異なる(基礎控除: 所得税58〜104万 vs 住民税43万 等)ため、 住民税側の控除・調整控除を考慮した詳細推定を使う。入力 JSON は `calc-deductions` と同じ粒度で控除の元データを渡す:
{
"fiscal_year": 2026,
"total_income": 4_500_000,
"social_insurance": 750_000,
"life_insurance_detail": {"general_new": 80_000},
"earthquake_insurance_premium": 20_000,
"medical_expenses": 0,
"ideco_contribution": 276_000,
"spouse_income": null,
"dependents": [
{"name": "子", "relationship": "子", "birth_date": "2010-04-01", "income": 0}
]
}**簡易推定(後方互換)**: `{"total_income": N, "total_income_deductions": M}` を渡すと所得税の所得控除合計から逆算する。 所得税の基礎控除の方が大きいため上限を過少に見積もる(令和8年分では1〜2万円程度の差が出る)。
上限超過の場合は警告を表示: 「寄附合計額が推定上限を超えています。超過分は自己負担となります。」
以下を説明する:
| 質問カテゴリ | 参照ファイル | |-------------|-------------| | ふるさと納税の税制ルール・計算式 | `references/furusato-tax-rules.md` | | 上限額・返礼品・タイミング・相談全般 | `references/furusato-consultation-guide.md` |
サマリー提示後、以下のファイルを Write ツールで出力する。 これにより、セッションの中断や Compact が発生しても次のステップで結果を引き継げる。
`.shinkoku/progress/05-furusato.md` に以下の形式で出力する:
---
step: 5
skill: furusato
status: completed
completed_at: "{当日日付 YYYY-MM-DD}"
fiscal_year: {tax_year}
---
# ふるさと納税管理の結果
## 登録済み寄附一覧
| 自治体名 | 都道府県 | 金額 | 寄附日 | ワンストップ |
|---------|---------|------|--------|------------|
| {自治体名} | {都道府県} | {金額}円 | {日付} | {申請済み/未申請} |
## 集計
- 寄附先自治体数: {件数}
- 寄附合計額: {合計金額}円
- 控除額(合計 - 2,000円): {控除額}円
## 控除上限との比較
- 推定控除上限: {上限額}円(所得情報がある場合)
- 上限超過: {なし/あり(超過額: {金額}円)}
## 次のステップ
/income-tax で所得税の計算に進む寄附がない場合(スキップ)は status を `skipped` とし、内容は「該当なし」と記載する。
`.shinkoku/progress/progress-summary.md` を更新する(存在しない場合は新規作成):
ファイルを出力したらユーザーに以下を伝える:
確定申告を自動化する AI コーディングエージェント向けプラグイン。個人事業主・会社員の所得税・消費税の確定申告を、帳簿の記帳から確定申告書等作成コーナーへの入力代行までエンドツーエンドで支援します。 Claude Code Plugin として動作するほか、SKILL.md オープン標準 に準拠した Agent Skills パッケージとして、Claude Code / Cursor / Windsurf / GitHub Copilot / Gemini CLI / Codex / Cline / Roo
This skill should be used when the user asks to determine what tax filings they need, wants to know if they must file a tax return (確定申告), asks about…
Display shinkoku's current capabilities, supported personas, and known limitations. Use when the user asks "what can you do?", "what's supported?", or similar…
This skill should be used when the user needs to calculate consumption tax (消費税) or determine their tax method (2割特例, 簡易課税, or 本則課税). Trigger phrases include:…
優良な電子帳簿の要件チェック・コンプライアンス診断を実行する。 「優良な電子帳簿」「電帳法対応」「電子帳簿の要件確認」 「税務調査の準備」「75万円控除の条件」「帳簿の要件を満たしているか」 「e-bookkeeping compliance」で起動。
This skill should be used when the user wants to file their tax return electronically via the 確定申告書等作成コーナー (NTA Tax Return Preparation Corner) using Claude in…
This skill should be used when the user needs to know what documents to collect for their tax filing, wants a checklist of required documents, or asks where to…