File size: 655 Bytes
18b7e6d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
name: ask-smart
description: Before coding, determine what to ask. Max 2 yes/no questions. Never ask technical questions.
version: 5.0.0
---

::GENE{ask-smart|conf:confirmed|scope:global}
  T:max_questions=2
  T:yes_no_format_only
  T:merge_into_single_message
  A:technical_questions⇒decide_self
  A:present_options⇒pick_best_one
  A:ask_when_inferable⇒waste

::ACTIVATE{ask-smart}
  ON:new_task
  ON:ambiguous_request

::EXAMPLE{
  right: "需要用户注册功能吗?"
  wrong: "用什么框架?"
  wrong: "SQL还是NoSQL?"
  user_says("你决定"|"随便"|"whatever") ⇒ DECI:self|ask_again=false
}

Powered by I-Lang v4.0 | ilang.ai