單元二:進階提示詞技巧與 AI 協作工作流程
Module 2: Advanced Prompting & AI Collaboration Workflow · 建議 2–3 小時
2.1 結構化提示詞框架 2.1 A Structured Prompt Framework
專業工作嘅提示詞建議按「角色/背景 → 任務 → 輸出格式 → 限制及檢查要求」四部分結構化,減少AI誤解需求嘅機會。
For professional work, structure prompts in four parts — role/context, task, output format, and constraints/verification requirements — to reduce the chance the AI misunderstands the request.
| 部分 Part | 內容 Content |
|---|---|
| 角色/背景 Role / Context | 業務性質、報表準則(如按HKFRS編製)、使用者身份 Nature of the business, reporting framework (e.g. HKFRS-based), and who will use the output |
| 任務 Task | 具體要做嘅事(例如:對賬、草擬應計費用分錄) The specific task to perform (e.g. reconcile an account, draft an accrual entry) |
| 輸出格式 Output Format | 表格結構、公式邏輯、命名規則 Table structure, formula logic, naming conventions |
| 限制及檢查 Constraints & Checks | 邊啲數字唔可以假設、要加咩檢查欄、要保留邊啲來源 What figures must never be assumed, which check columns to add, what source references to retain |
2.2 疊代式開發:設計 → 測試 → 除錯 → 優化 2.2 The Iterative Build–Test–Fix–Refine Cycle
- 先要求AI提出設計方案(唔好即刻要求完整檔案),評估邏輯是否合理。
First ask the AI to propose a design (not the full file yet), and assess whether the logic is sound.
- 用一組已知答案嘅測試數據,要求AI建立雛形並自行核對結果。
Using a test dataset with a known answer, ask the AI to build a prototype and self-verify the results.
- 抽查關鍵公式,確認引用範圍、四捨五入方式、貨幣單位等細節正確。
Spot-check key formulas to confirm reference ranges, rounding method and currency units are correct.
- 針對發現嘅問題,要求AI逐項修正,而唔係重新生成成個檔案(減少新錯誤)。
For issues found, ask the AI to fix them one at a time rather than regenerating the whole file (this reduces the chance of new errors).
- 定案後記錄最終提示詞版本,作為標準作業程序(SOP)嘅一部分。
Once finalised, record the final prompt version as part of the standard operating procedure (SOP).
2.3 將AI融入月結/年結流程 2.3 Integrating AI into Month-End / Year-End Close
- 銀行對賬:要求AI比對銀行月結單同賬簿記錄,列出未達賬項目供人手覆核。
Bank reconciliation: ask the AI to compare the bank statement against ledger records and list unmatched items for human review.
- 應計及預付草稿:AI可以根據合約/發票草擬分錄,但金額同期間判斷須由人手確認。
Accrual and prepayment drafts: the AI can draft entries based on contracts/invoices, but amounts and period judgment need human confirmation.
- 變化幅度分析:要求AI列出本期同上期/預算差異超過指定百分比嘅科目,輔助覆核優先次序。
Variance analysis: ask the AI to list accounts where the movement vs. prior period/budget exceeds a set threshold, to help prioritise review.
- 草擬管理報表評論:AI可以根據數字草擬初步文字說明,但結論性判斷(例如業務前景)須由負責人撰寫。
Drafting management commentary: the AI can draft preliminary narrative from the numbers, but conclusive judgments (e.g. business outlook) must be written by the responsible person.
2.4 建立機構提示詞庫與標準作業程序 2.4 Building a Firm-Wide Prompt Library and SOP
將經驗證有效嘅提示詞整理成庫,並附上:用途、輸入要求、預期輸出、須人手覆核嘅部分。呢個做法可以減少每次由零開始嘅時間,亦方便新入職同事跟隨統一標準。
Organise proven prompts into a library, each documented with its purpose, required inputs, expected output, and the parts that require human review. This reduces the time spent starting from scratch each time, and helps new staff follow a consistent standard.
SAMPLE 練習 · 四段式提示詞
用「角色/任務/格式/限制」為 Peakview(SAMPLE)寫一段銀行對賬提示詞,並聲明唔用雜項調整湊平。
參考答案(點擊展開)
角色:HKFRS 小型服務公司會計助理。任務:比對月結單與帳簿。格式:已配對/未配對兩表。限制:列金額日期可能原因;唔估計未知項目;唔用雜項湊平;產出=草稿待覆核。