OpsKitPro logo
OpsKitPro_
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.