/sdlc-documentation:08-accounting-engine-test-planfrom sdlc-documentation
Produces or updates the accounting-engine test plan covering ledger invariants, posting, reversal, period control, reconciliation, migration, and audit evidence, with traceability and acceptance evidence.
Ships in sdlc-documentation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
| Artefact | Source/provider | Required? | Behaviour when absent |
|---|---|---|---|
| Project _context/, approved requirements, architecture, and implemented posting rules | Project owner, engineering, and finance controller | Required | Stop; do not infer ledger behaviour, balances, rates, or authority. |
| Current finance doctrine and applicable source evidence | chwezi-accounting-doctrine router, finance controller, and verified current sources | Required | Mark the gate unassessed and block any finance pass or release claim. |
| Environment, tenant, period state, and operation authority | Service owner and finance controller | Required for execution | Stay read-only and return the missing-authority checklist. |
| Artefact | Consumer | Observable acceptance condition |
|---|---|---|
| Accounting-engine Test Plan | Finance controller, QA, and engineering | Every finance flow proves balanced immutable postings, tenant isolation, idempotency, period control, reconciliation, and traceable evidence. |
| Decision and gap register | Reviewer and downstream phase owner | Every assumption, rejected option, unresolved dependency, waiver, and owner is explicit. |
| Validation evidence | Release or governance reviewer | Checks identify command or method, date, result, evidence location, and all unassessed items. |
| Evidence | Minimum content | Acceptance |
|---|---|---|
| Traceability record | Source artefact, decision, output section, owner | No mandatory decision is source-free. |
| Quality-gate result | Check, expected result, observed result, evidence path | Failures and unavailable checks cannot appear as passes. |
| Review record | Reviewer, date, disposition, open actions | The consumer can reproduce the acceptance decision. |
If files, execution, network, rendering, environment access, fonts, or current evidence are unavailable, return the narrowest useful draft plus a gap register. Label affected checks not assessed, retain the intended acceptance oracle, and state who must supply or verify the missing evidence. Never convert an unavailable check into a pass.
| Choice | Action | Failure or risk avoided |
|---|---|---|
| Evidence is complete and authority is explicit | Choose tests from finance doctrine and the implemented posting rules and produce the full artefact. | A UI-only pass that misses ledger corruption. |
| A required source or approval is missing | Stop the affected branch; record the gap, owner, and unblock condition. | Fabricated requirements or unauthorised action. |
| Evidence conflicts across sources | Preserve both claims, identify the controlling owner, and request a recorded decision. | Silent selection of a convenient but wrong source. |
| A check cannot run in the available environment | Keep its oracle and mark it not assessed; require later execution evidence. | False assurance from capability limits. |
not assessed, preserve the oracle, and name the verifier.Given an approved project source and a conflicting implementation detail, record both with provenance, stop the affected branch, and obtain the accountable owner's decision. Then update the relevant contract, define a reproducible acceptance check, and retain its observed result. The artefact is accepted only when every finance flow proves balanced immutable postings, tenant isolation, idempotency, period control, reconciliation, and traceable evidence.
LedgerPostingService; direct table writes fail review/CI checks.Given a locked accounting period
When a business module attempts to post a sale dated in that period
Then the posting service rejects the entry
And no journal header or line is inserted
And the rejection names the locked period and source document.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
accounting-engine, test-plan, ledger-invariants, audit-evidence, finance
npx claudepluginhub peterbamuhigire/chwezi-sdlc-documentation --plugin sdlc-documentation160 skills in this plugin
/01-deployment-guideUse when producing or updating deployment guide for release prerequisites, migration choreography, verification, rollback, and ownership. Use runbook for the neighbouring concern; this skill owns the named document contract and its acceptance evidence./01-high-level-designUse when approved requirements need a system-level architecture with boundaries, components, critical flows, deployment topology and ADRs, or an as-built design must be recovered from existing code; use system-overview for orientation, low-level-design for module internals, and infrastructure-design for infrastructure depth./01-initialize-srsUse when writing a new SRS (software requirements specification) for a business system or module: create the Waterfall SRS workspace, IEEE structure, identifiers and source context; use context-engineering next for boundaries and actors.Other plugins' skills for the same job