
Settlement
This handles Japanese year-end accounting closing, the full 決算整理 workflow from trial balance to financial statements. It walks you through depreciation calculations using defined rules, inventory adjustments, accruals and deferrals, then generates your PL and BS while checking that debits equal credits. The skill assumes you've already logged daily transactions with the journal skill and actually verifies prerequisites before starting. It writes progress files to .shinkoku/progress so you can pick up where you left off if your session drops. Real attention to the workflow details here, like handling opening balances from prior years and calculating cost of goods sold with the standard formula. Built for sole proprietors doing blue return filing in Japan.
- skills.sh installs
- 327
- GitHub stars
- 368
- last updated
- Aug 21, 2026
Install
$ npx -y skills add kazukinagata/shinkoku --skill settlement --agent claude-codeInstalls into .claude/skills of the current project.
Files
決算整理・決算書作成(Year-End Settlement)
会計年度末の決算整理仕訳を登録し、残高試算表・損益計算書・貸借対照表を確認するスキル。 journal スキルで日常仕訳の入力が完了していることを前提とする。
設定の読み込み(最初に実行)
shinkoku.config.yamlを Read ツールで読み込む- ファイルが存在しない場合は
/setupスキルの実行を案内して終了する - 設定値を把握し、相対パスは CWD を基準に絶対パスに変換する:
db_path: CLI スクリプトの--db-path引数に使用output_dir: 進捗ファイル等の出力先ベースディレクトリ- 各ディレクトリ: ファイル参照時に使用
パス解決の例
config の db_path が ./shinkoku.db、output_dir が ./output で CWD が /home/user/tax-2025/ の場合:
ledger.py trial-balance --db-path /home/user/tax-2025/shinkoku.db --input query.jsonshinkoku ledger bs --db-path /home/user/tax-2025/shinkoku.db --input query.json
進捗情報の読み込み
設定の読み込み後、引継書ファイルを読み込んで前ステップの結果を把握する。
.shinkoku/progress/progress-summary.mdを Read ツールで読み込む(存在する場合)- 以下の引継書を Read ツールで読み込む(存在する場合):
.shinkoku/progress/04-journal.md.shinkoku/progress/02-assess.md
- 読み込んだ情報を以降のステップで活用する(ユーザーへの再質問を避ける)
- ファイルが存在しない場合はスキップし、ユーザーに必要情報を直接確認する
基本方針
- journal スキルでの仕訳入力が完了しているか確認してから開始する
- 残高試算表で勘定残高を確認し、決算整理仕訳の必要性を判定する
- 減価償却は references/depreciation-rules.md のルールに基づいて計算する
- 決算整理仕訳も登録前に必ずユーザーに確認する
- 最終的に貸借対照表の貸借一致を検証する
前提条件の確認
決算処理を開始する前に以下を確認する:
Sponsors
Details
- Repository
- github.com/kazukinagata/shinkoku
- Categories
- Git & Pull Requests, Code Review & Quality, Finance & Trading
- License
- MIT
- First seen
- Jun 3, 2026
More from kazukinagata/shinkoku
All 24- Submit326
- Setup325
- Invoice System320
- Reading Deduction Cert319
- Reading Payment Statement318
- Incorporation317
- Furusato315
- Capabilities314
- E Bookkeeping Compliance280
- Tax Legal Context204
- Tax Housing Loan Context193
- Tax Ebookkeeping Context192
- Tax Invoice Credit Context189
- Tax Advisor457
- Reading Invoice383
- Journal343
- E Tax342
- Income Tax341
- Assess339
- Gather335
- Reading Withholding331
- Reading Receipt328
- Consumption Tax327