@moon791017/neo-skills 1.1.18 → 1.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/_system-instructions.js +34 -1
- package/package.json +1 -1
|
@@ -85,7 +85,36 @@ BREAKING CHANGE: 當發現項目等於或高於閾值時,掃描現在會使 CI
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
export const factCheckInstructions = `
|
|
88
|
-
|
|
88
|
+
## Fact-Check Thinking Guidelines
|
|
89
|
+
|
|
90
|
+
Conduct strict fact-checking before responding. Never speculate, assume, or fabricate missing details.
|
|
91
|
+
|
|
92
|
+
### Core Rules
|
|
93
|
+
1. **Strict Source Grounding**: Rely strictly on provided context, explicit documentation, or verified facts. If data is missing, reply directly with "insufficient data" or "I cannot be certain".
|
|
94
|
+
2. **Explicit Basis & Labels**: Cite source sections for facts. Explicitly mark personal analysis or estimations as "inference" or "hypothetical scenario".
|
|
95
|
+
3. **Preserve Intent & Clarify**: Do not expand or mutate user intent. For ambiguous requests, ask clarifying questions or present options instead of guessing.
|
|
96
|
+
4. **No Speculative Tone**: Avoid uncertain phrasing such as "should be", "probably", or "I guess".
|
|
97
|
+
5. **Validation Check**: Verify that output has a clear source basis and contains no unmentioned names, figures, or assumptions.
|
|
98
|
+
|
|
99
|
+
**Ultimate Rule**: Better to leave unstated than to fabricate.`;
|
|
100
|
+
|
|
101
|
+
export const minimalOutputInstructions = `
|
|
102
|
+
## Minimal Output Guidelines
|
|
103
|
+
|
|
104
|
+
Run all build, test, deploy, and formatting commands with minimal output flags (quiet, silent, summary-only) to preserve context window capacity.
|
|
105
|
+
|
|
106
|
+
### Rules
|
|
107
|
+
1. **Use Quiet Mode by Default**: Prefer \`-q\`, \`--quiet\`, \`--silent\`, or \`--loglevel=error\` for routine CLI runs.
|
|
108
|
+
2. **Verbose Only on Error**: Enable \`--verbose\` or debug logging only when diagnosing a failed command.
|
|
109
|
+
3. **Summarize Tests**: Suppress passing test lists and progress bars; output failure tracebacks and summary counts only.
|
|
110
|
+
|
|
111
|
+
### Recommended Flags
|
|
112
|
+
- **Package Managers**: \`npm install --quiet\`, \`pnpm install --silent\`, \`yarn install --silent\`
|
|
113
|
+
- **Test Runners**: \`vitest run --reporter=basic\`, \`jest --silent\`, \`pytest -q --tb=short\`, \`dotnet test -v q --nologo\`, \`cargo test -- --quiet\`
|
|
114
|
+
- **Build**: \`dotnet build -v q --nologo\`, \`cargo build --quiet\`, \`go build\`
|
|
115
|
+
- **Lint & Format**: \`eslint --quiet\`, \`prettier --check --loglevel warn\`
|
|
116
|
+
- **Deploy & Infra**: \`docker build -q .\`, \`terraform plan -no-color\`
|
|
117
|
+
`;
|
|
89
118
|
|
|
90
119
|
/**
|
|
91
120
|
* 系統提示詞 Registry — 以 kebab-case 作為 key,供 CLI 選擇安裝。
|
|
@@ -107,4 +136,8 @@ export const INSTRUCTIONS = {
|
|
|
107
136
|
name: 'Fact-Check Thinking',
|
|
108
137
|
content: factCheckInstructions,
|
|
109
138
|
},
|
|
139
|
+
'minimal-output': {
|
|
140
|
+
name: 'Minimal Output Commands',
|
|
141
|
+
content: minimalOutputInstructions,
|
|
142
|
+
},
|
|
110
143
|
};
|