前言¶
DSH 的擴展方式接近“一切皆插件”:把特定任務沉澱爲插件,再掛到當前 DSH 環境裏使用。社區目錄是獨立站點,不等同於 DeepSeek 或幻方的官方應用商店。
財務和會計場景裏,常見需求不是讓模型直接改動業務系統,而是把分錄準備、對賬、報表、差異分析、關賬計劃、SOX 測試和審計支持整理成可檢查的工作產品。zhang787jun/dsh-finance 面向這個需求:它是 zhang787jun 維護的 DSH 插件,從 Anthropic 的 Finance plugin 適配而來,用於準備和校驗財務與會計工作。它是獨立社區適配,不代表 Anthropic 背書。
這是什麼¶
一句話定位:Finance and accounting workflows for DeepSeek Harness, adapted from Anthropic’s Finance plugin.
它解決的是“在 DSH 中完成財務與會計工作流的準備和檢查”,但不越過授權邊界:不發佈分錄、不鎖會計期間、不發送報告、不簽署對賬、不審批控制、不做投資決策。
許可證爲 MIT AND Apache-2.0。倉庫原有代碼爲 MIT 許可;八個適配的 finance skills 派生自 Apache-2.0 許可的 Anthropic 材料。
核心功能¶
八個財務技能¶
下面列出它覆蓋的八個技能:
| DSH 技能 | 覆蓋內容 |
|---|---|
dsh-finance-journal-entry |
accruals, depreciation, prepaids, payroll, revenue entries, support, and review |
dsh-finance-journal-entry-prep |
standard entry patterns, documentation, approval matrix, and error checks |
dsh-finance-reconciliation |
GL-to-subledger, bank, intercompany, aging, categorization, and escalation |
dsh-finance-financial-statements |
income statement, balance sheet, cash flow, GAAP/IFRS presentation, and period-end adjustments |
dsh-finance-variance-analysis |
price/volume, rate/mix, headcount, spend, materiality, narratives, and waterfalls |
dsh-finance-close-management |
T+1 to T+5 close calendar, dependencies, critical path, status, and retrospectives |
dsh-finance-audit-support |
SOX scoping, assertions, sampling, evidence, workpapers, and deficiency classification |
dsh-finance-sox-testing |
control matrices, sample selection, test steps, conclusions, and remediation |
五個工具¶
它提供五個工具,用於在 DSH 中做確定性的檢查和擴展:
finance_journal_entry_check:校驗借貸平衡、行結構、文檔缺失和制單人/審批人分離。它不授權發佈分錄。finance_reconciliation_snapshot:計算調整後餘額、賬齡、分類合計、久未處理項標記和籤覈准備度。它不授權籤核。finance_variance_bridge:驗證帶符號驅動因子能否從基準連接到實際值,暴露殘差,並評估重要性閾值。finance_research_workflow:規劃有來源支撐的公開市場研究。portfolio_risk_snapshot:根據提供的持倉計算敞口和集中度控制。
finance_research_workflow 與 portfolio_risk_snapshot 是從版本 0.1 保留下來的 DSH 擴展,不屬於與 Anthropic Finance 對齊的部分。
安裝與啓用¶
先確認你接受其許可邊界,然後把插件安裝到目標 profile:
dsh plugin --profile web add github:zhang787jun/dsh-finance
上面的命令會把 dsh-finance 加入 web profile。安裝不會激活外部服務器,也不會收集憑據。
由於插件會以當前 dsh 進程權限運行,安裝前應檢查源碼、許可證和依賴,確認它符合你的安全要求。
典型用法¶
下面的請求示例說明它可用於哪些任務:
Prepare the July AP accrual journal entry, show the support, and validate that debits equal credits.
Reconcile the cash GL to the bank statement as of 2026-07-31 and age every open item.
Build the monthly income statement, flag material variances, and reconcile the waterfall drivers.
Create a SOX testing workpaper for the revenue-recognition control for 2026-Q2.
Build a T+5 month-end close plan with owners, dependencies, blockers, and a critical path.
經過上面的步驟,可以得到分錄草稿與借貸校驗、現金總賬與銀行對賬、月度利潤表與差異橋、SOX 測試工作底稿、T+5 月結關賬計劃。所有結果仍需專業人員審覈後才能進入後續使用。
適用場景與注意¶
適合把財務和會計工作流放進 DSH 的開發者或財務團隊,尤其適合以下類型的工作:
- 分錄準備、支持材料整理和借貸校驗。
- 總賬到子賬、銀行、公司間、賬齡和分類對賬。
- 收入表、資產負債表、現金流量表和期末調整的材料準備。
- 價格/數量、費率/結構、人頭、費用等差異分析。
- T+1 到 T+5 關賬日曆、依賴關係、關鍵路徑和狀態回顧。
- SOX 範圍、斷言、抽樣、證據、工作底稿和缺陷分類。
- 控制矩陣、樣本選擇、測試步驟、結論和整改記錄。
注意以下邊界:
- 如果沒有連接數據源,DSH 必須請求粘貼數據或本地文件,並說明由此帶來的證據限制。
- 輸出用於 reporting、filings、audit documentation、tax work 或 investment decisions 前,必須由合格財務專業人員審覈。
- 插件不執行高權限動作:不發佈分錄、不鎖會計期間、不發送報告、不簽署對賬、不審批控制、不做投資決策。
- 安裝前建議檢查倉庫源碼、許可證與依賴,確認它符合當前 DSH 環境的安全要求。
相關鏈接¶
- GitHub:https://github.com/zhang787jun/dsh-finance
- 目錄頁:https://www.skillhub.cn/plugins/zhang787jun/dsh-finance