AI 工程工作流
Prompt Builder
把任務目標、邊界與驗證方式整理成可交給 AI Coding Agent 的工程 prompt。全部在本機生成。
生成的 Prompt
You are Codex working inside an existing OpsKitPro Next.js project. Task goal: Build the smallest useful version of an OpsKitPro feature. Target scope: Target only the directly related page or component. Required constraints: Keep changes minimal. Do not add dependencies. Preserve existing design patterns. Run tests and build checks. Do not change: Do not refactor unrelated pages. Do not publish private notes, drafts, credentials, or internal process details. Public/private boundary: Only use already-public content. Do not expose drafts, credentials, personal notes, internal paths, or unclear private material. If the boundary is uncertain, stop and explain the risk. Project memory: Read the relevant Obsidian project notes first, write a short plan before editing, and write results, changed files, verification, risks, and rollback points back to Obsidian. Verification: npm test npx tsc --noEmit npm run build Execution rules: Create the smallest safe implementation, avoid broad refactors, run verification, then summarize changed files and residual risks.