G1-G5 固化Codex自然语言协作规则
这个提交包含在:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: hyb-oa-delivery
|
||||
description: "Use for hyb-oa project delivery tasks: planning with Issue CSV, implementing Fastify/Prisma or React/Vite changes, refining PC/mobile/WeCom UI, reimbursement/invoice/OCR/attachment work, trial-run troubleshooting, automated/visual verification, and Chinese batch commits."
|
||||
description: "Use for hyb-oa project delivery tasks: natural-language triage, planning with Issue CSV, implementing Fastify/Prisma or React/Vite changes, refining PC/mobile/WeCom UI, reimbursement/invoice/OCR/attachment work, trial-run troubleshooting, automated/visual verification, and Chinese batch commits."
|
||||
---
|
||||
|
||||
# hyb-oa Delivery
|
||||
@@ -17,6 +17,18 @@ Read only what is relevant:
|
||||
- For local/WeCom/public trial-run, OCR runtime, Caddy, or DB drift work, read `docs/trialrun-runbook.md` and `references/trialrun.md`.
|
||||
- For how this skill should evolve, read `docs/agent-development-practices.md`.
|
||||
|
||||
## Natural-Language Triage
|
||||
|
||||
Users may assign work with a plain paragraph. Before asking follow-up questions, classify the request into defect, feature, acceptance feedback, plan, review, QA, deployment, design, or product-flow optimization.
|
||||
|
||||
Default behavior:
|
||||
|
||||
1. Extract intent, target surface, constraints, approval state, and next action.
|
||||
2. Check existing assets before declaring a blocker: `issues/`, `docs/`, `artifacts/`, `output/`, scripts, Playwright tests, runbooks, and prior trial-run evidence.
|
||||
3. Ask only when required by `AGENTS.md` or safety: missing approval for non-trivial coding, destructive data work, production config, secrets/accounts, conflicting goals, or unclear high-risk acceptance.
|
||||
4. Treat a plain "确认" as approval for the immediately preceding explicit plan or Issue CSV, unless multiple candidates exist.
|
||||
5. If the user asks whether a problem is real, verify first with automation, code inspection, public checks, or visual evidence before proposing broad changes.
|
||||
|
||||
## Delivery Loop
|
||||
|
||||
1. Check `git status --short`; do not revert unrelated user changes.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
interface:
|
||||
display_name: "hyb-oa交付"
|
||||
short_description: "按hyb-oa执行合同、设计基线和试运行规则推进交付"
|
||||
default_prompt: "继续推进hyb-oa需求,先读取Issue CSV和项目事实源,尽量用自动化与视觉验证。"
|
||||
short_description: "按hyb-oa自然语言派工、Issue合同和试运行规则推进交付"
|
||||
default_prompt: "继续推进hyb-oa需求,先自动拆解自然语言输入,读取Issue CSV和项目事实源,尽量用自动化与视觉验证。"
|
||||
|
||||
在新工单中引用
屏蔽一个用户