Skip to content
cccskills
FreePublished on GitHub

journal-learning

過去の仕訳日記帳から仕分けパターンを確認・更新し、wikiのパターンページを保守する手順

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md2.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Skill: 仕訳パターンの学習

過去の仕訳日記帳(journal)と承認済み伝票から仕分けパターンを抽出し、knowledge/wiki/accounting/仕訳パターン.md を最新に保つ。

前提

  • get_journal(voucher-mcp): 指定年月の全仕訳伝票を取得
  • knowledge/wiki/accounting/仕訳パターン.md: 学習の保存先(人間が直接編集可)

手順

1. 仕訳日記帳を読む

対象期間(例: 直近の会計年度)の get_journal を取得し、以下の観点で集計する:

  • 入金系: 借方=預金科目 の行 → 貸方(売上高 等)と相手先(補助科目名/摘要)
  • 出金系: 貸方=預金科目 の行 → 借方(仕入高/経費 等)
  • 振替系: 預金を挟まない行(例: 仕入高 → 仮払金)

2. パターンを wiki に反映する

knowledge/wiki/accounting/仕訳パターン.md の表を更新する:

  • 新規の「取引先/摘要 × 借方・貸方」が見つかったら行を追加
  • 既存パターンと矛盾する場合は、出現回数・直近月・承認済みかを確認して最も確からしいものを優先し、迷う場合は人間に確認
  • 出現回数(件数)と直近月を更新

3. 人間の編集を尊重する

人間が wiki を直接編集した場合、それは正として扱う。自分の集計と食い違う場合は wiki を基準にし、自分の更新は wiki に合わせる。

4. 自動仕訳の改善ループ

  • 人間が承認・修正した伝票は get_journal に反映されるため、次回の照合で正しいパターンが使われる
  • 誤って自動仕訳したケースがあれば、その実績を wiki のパターンに反映して再発を防ぐ

注意

  • 学習結果(パターン)は人間の承認済みデータから作る。承認待ちの伝票をパターン化する場合は「未承認」と注記する
  • パターンは会計の「事実」であり、自分の推測を混ぜない

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

証憑(画像/PDF)の読み取りから証憑登録・自動仕訳(承認待ち)までの手順

The English summary is being prepared. Showing the original description.

BeesNestInc/hieronymus10Updated Aug 18, 2026

See all skills by BeesNestInc

Report a problem with this skill