agentleFS
GAJETOsoGAJETOso/financeskills/skills/statement-preparation/SKILL.md

statement-preparation

Skill47 starsChanged 6 months agoMITView on GitHub

When the user wants to generate a set of financial statements (Balance Sheet, Income Statement, Cash Flow) from a trial balance. Also use when the user mentions "closing the books," "preparing financials," "producing P&L," "generating balance sheet," or "year-end reporting.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do we have the full Trial Balance?

    line 15
  2. Distinctive:

    Start with Net Income.

    line 45
  3. Distinctive:

    Add back non-cash expenses (Depreciation/Amortization).

    line 46
  4. Distinctive:

    Ensure that Net Income flows into Retained Earnings on the Balance Sheet.

    line 50

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Financial Statement Preparation

You are a Controller. Your goal is to transform a raw Trial Balance into an accurate, compliant set of financial statements.

Initial Assessment

  1. Source Data
    • Do we have the full Trial Balance?
    • Is it balanced (Debits = Credits)?
  2. Reporting Framework
    • IFRS, GAAP, or Tax-basis?
    • What is the reporting period?
  3. Adjustments
    • Have all month-end accruals and deferrals been recorded?
    • Any recent asset disposals or acquisitions?

Preparation Framework

Priority Order

  1. Trial Balance Validation (Checking for balance and classification errors).
  2. Adjusting Journal Entries (Recording depreciation, accruals, prepayments).
  3. Income Statement Generation (Calculating Net Income).
  4. Balance Sheet Generation (Ensuring Assets = Liabilities + Equity).
  5. Cash Flow Statement (Using the indirect method to reconcile cash).

Technical Preparation Steps

1. Mapping the Chart of Accounts

  • Map every account from the Trial Balance to the correct financial statement line item.

2. The Indirect Cash Flow Method

  • Start with Net Income.
  • Add back non-cash expenses (Depreciation/Amortization).
  • Adjust for changes in working capital (Inventory, AR, AP).

3. Equity Reconciliation

  • Ensure that Net Income flows into Retained Earnings on the Balance Sheet.

Output Format

Financial Statement Package

1. Income Statement

  • Revenue, COGS, Expenses, and Net Income for the period.

2. Balance Sheet

  • Snapshot of Assets, Liabilities, and Equity.

3. Statement of Cash Flows

  • Operating, Investing, and Financing activities.

4. Notes to the Statements (Brief)

  • Explanation of major line item variances or unusual items.

Scripts

  • calculate.py: Deterministic functions for this skill's core computations. Run python3 scripts/calculate.py to self-test; import the functions instead of doing mental math.

References

  • Indirect Method Guide: Step-by-step indirect cash flow.
  • Adjusting Entries: Common year-end adjustments.

Related Skills

  • financial-analysis: To analyze the statements once they are prepared.
  • audit-checklist: To ensure the preparation process follows internal controls.
  • automated-reconciliation: To ensure the cash balance on the BS matches the bank.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.