@robot-inventor/agent-skills 0.8.1 → 0.9.1
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/hooks/hooks.json
CHANGED
|
@@ -2,7 +2,19 @@
|
|
|
2
2
|
"hooks": {
|
|
3
3
|
"SessionStart": [
|
|
4
4
|
{
|
|
5
|
-
"matcher": "
|
|
5
|
+
"matcher": "compact",
|
|
6
|
+
"hooks": [
|
|
7
|
+
{
|
|
8
|
+
"type": "command",
|
|
9
|
+
"command": "bun \"${PLUGIN_ROOT}/scripts/codex.ts\"",
|
|
10
|
+
"commandWindows": "powershell -NoProfile -NonInteractive -Command \"& bun (Join-Path $env:PLUGIN_ROOT 'scripts/codex.ts')\"",
|
|
11
|
+
"additionalContextLimit": 0
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"UserPromptSubmit": [
|
|
17
|
+
{
|
|
6
18
|
"hooks": [
|
|
7
19
|
{
|
|
8
20
|
"type": "command",
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ name: simple-engineering
|
|
|
3
3
|
description: A skill outlining the fundamental principles to keep in mind when writing or editing code. Read this skill before developing an implementation plan or writing or reviewing code, and apply it to your work.
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
|
-
|
|
6
|
+
author: Robot-Inventor
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Simple Engineering
|
|
@@ -25,3 +25,7 @@ Reinventing the wheel should be avoided. Before adding code, check whether exist
|
|
|
25
25
|
Keep the YAGNI (You aren't gonna need it) principle in mind. You should not introduce complexity just because you might need it in the future. Also, there is no need to maintain backward compatibility for unreleased features.
|
|
26
26
|
|
|
27
27
|
The code ultimately delivered to the user should be such that every line of change is necessary and no unnecessary code remains. Carefully review the diff line by line, rather than file by file, to ensure that all changes are truly necessary.
|
|
28
|
+
|
|
29
|
+
## Establish a shared understanding
|
|
30
|
+
|
|
31
|
+
If `request_user_input` tool is available, actively use it when asking the user questions, especially while running the grilling session. Do not use it for a single yes/no question; instead, use it when asking multiple questions at once or when presenting multiple options. The tool description specifies limiting the number of questions to between one and three, but this is merely a recommendation rather than a functional constraint. Use the `request_user_input` tool even if there are four or more questions.
|