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-code

Installs into .claude/skills of the current project.

Files

決算整理・決算書作成(Year-End Settlement)

会計年度末の決算整理仕訳を登録し、残高試算表・損益計算書・貸借対照表を確認するスキル。 journal スキルで日常仕訳の入力が完了していることを前提とする。

設定の読み込み(最初に実行)

  1. shinkoku.config.yaml を Read ツールで読み込む
  2. ファイルが存在しない場合は /setup スキルの実行を案内して終了する
  3. 設定値を把握し、相対パスは 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.json
  • shinkoku ledger bs --db-path /home/user/tax-2025/shinkoku.db --input query.json

進捗情報の読み込み

設定の読み込み後、引継書ファイルを読み込んで前ステップの結果を把握する。

  1. .shinkoku/progress/progress-summary.md を Read ツールで読み込む(存在する場合)
  2. 以下の引継書を Read ツールで読み込む(存在する場合):
    • .shinkoku/progress/04-journal.md
    • .shinkoku/progress/02-assess.md
  3. 読み込んだ情報を以降のステップで活用する(ユーザーへの再質問を避ける)
  4. ファイルが存在しない場合はスキップし、ユーザーに必要情報を直接確認する

基本方針

  • 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
1kazukinagata avatarsubmitkazukinagata/shinkokuThis skill should be used when the user is ready to submit their tax return, needs a final review checklist, wants to know how to submit (e-Tax, mail, or in-per326skills.sh installs
2davila7 avatargh-fix-cidavila7/claude-code-templatesInspect GitHub PR checks with gh, pull failing GitHub Actions logs, summarize failure context, then create a fix plan and implement after user approval. Use whe325skills.sh installs
3leonardomso avatarconcept-workflowleonardomso/33-js-conceptsEnd-to-end workflow for creating complete JavaScript concept documentation, orchestrating all skills from research to final review325skills.sh installs
4bmad-code-org avatarbmad-checkpoint-previewbmad-code-org/bmad-methodLLM-assisted human-in-the-loop review. Make sense of a change, focus attention where it matters, test. Use when the user says "checkpoint", "human review", or "324skills.sh installs
5gohypergiant avataraccelint-security-best-practicesgohypergiant/agent-skillsComprehensive security audit and vulnerability detection for JavaScript/TypeScript applications following OWASP Top 10. Use when (1) Users say 'audit security',323skills.sh installs
6shining319 avataracademic-writing-styleshining319/claude-code-single-person-workflowPersonalized academic writing assistant for university assignments in Chinese and English. Use when users need help writing/revising academic reports, project d323skills.sh installs