@olegkoval/agent-skills 1.19.0 → 1.19.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "olko-agent-skills",
3
3
  "description": "Agent-agnostic skill catalog for Codex, Claude, Cursor, Grok, Copilot, Windsurf, Kiro, and other skill-aware tools.",
4
- "version": "1.18.0",
4
+ "version": "1.19.0",
5
5
  "author": {
6
6
  "name": "Oleg Koval"
7
7
  },
@@ -35,7 +35,19 @@ Qodo has **no check run to poll** — there is nothing in `gh pr checks` to wait
35
35
  gh pr view --json number,headRefName,headRefOid -q '{number, branch: .headRefName, sha: .headRefOid}'
36
36
  ```
37
37
 
38
- Check out the branch if not already on it.
38
+ Check out the branch if not already on it, **then require a clean working
39
+ tree** (`git status --porcelain` empty) before touching anything:
40
+
41
+ ```bash
42
+ [ -z "$(git status --porcelain)" ] || { echo "working tree not clean — refusing to start, would risk committing unrelated changes"; exit 1; }
43
+ ```
44
+
45
+ This is the precondition step E's scoped `git add <file>` depends on: staging
46
+ only the files a fix touched is safe *because* the tree started clean, so
47
+ nothing else could be sitting in those files. Skip this check and a file
48
+ with pre-existing local edits will have those edits swept into the fix
49
+ commit right along with it — the exact failure `git add -A` had, just
50
+ narrower.
39
51
 
40
52
  ### 2. Loop (max 5 iterations)
41
53
 
@@ -34,7 +34,19 @@ Qodo has **no check run to poll** — there is nothing in `gh pr checks` to wait
34
34
  gh pr view --json number,headRefName,headRefOid -q '{number, branch: .headRefName, sha: .headRefOid}'
35
35
  ```
36
36
 
37
- Check out the branch if not already on it.
37
+ Check out the branch if not already on it, **then require a clean working
38
+ tree** (`git status --porcelain` empty) before touching anything:
39
+
40
+ ```bash
41
+ [ -z "$(git status --porcelain)" ] || { echo "working tree not clean — refusing to start, would risk committing unrelated changes"; exit 1; }
42
+ ```
43
+
44
+ This is the precondition step E's scoped `git add <file>` depends on: staging
45
+ only the files a fix touched is safe *because* the tree started clean, so
46
+ nothing else could be sitting in those files. Skip this check and a file
47
+ with pre-existing local edits will have those edits swept into the fix
48
+ commit right along with it — the exact failure `git add -A` had, just
49
+ narrower.
38
50
 
39
51
  ### 2. Loop (max 5 iterations)
40
52
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olegkoval/agent-skills",
3
- "version": "1.19.0",
3
+ "version": "1.19.1",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -42,7 +42,19 @@ Qodo has **no check run to poll** — there is nothing in `gh pr checks` to wait
42
42
  gh pr view --json number,headRefName,headRefOid -q '{number, branch: .headRefName, sha: .headRefOid}'
43
43
  ```
44
44
 
45
- Check out the branch if not already on it.
45
+ Check out the branch if not already on it, **then require a clean working
46
+ tree** (`git status --porcelain` empty) before touching anything:
47
+
48
+ ```bash
49
+ [ -z "$(git status --porcelain)" ] || { echo "working tree not clean — refusing to start, would risk committing unrelated changes"; exit 1; }
50
+ ```
51
+
52
+ This is the precondition step E's scoped `git add <file>` depends on: staging
53
+ only the files a fix touched is safe *because* the tree started clean, so
54
+ nothing else could be sitting in those files. Skip this check and a file
55
+ with pre-existing local edits will have those edits swept into the fix
56
+ commit right along with it — the exact failure `git add -A` had, just
57
+ narrower.
46
58
 
47
59
  ### 2. Loop (max 5 iterations)
48
60
 
@@ -43,7 +43,19 @@ Qodo has **no check run to poll** — there is nothing in `gh pr checks` to wait
43
43
  gh pr view --json number,headRefName,headRefOid -q '{number, branch: .headRefName, sha: .headRefOid}'
44
44
  ```
45
45
 
46
- Check out the branch if not already on it.
46
+ Check out the branch if not already on it, **then require a clean working
47
+ tree** (`git status --porcelain` empty) before touching anything:
48
+
49
+ ```bash
50
+ [ -z "$(git status --porcelain)" ] || { echo "working tree not clean — refusing to start, would risk committing unrelated changes"; exit 1; }
51
+ ```
52
+
53
+ This is the precondition step E's scoped `git add <file>` depends on: staging
54
+ only the files a fix touched is safe *because* the tree started clean, so
55
+ nothing else could be sitting in those files. Skip this check and a file
56
+ with pre-existing local edits will have those edits swept into the fix
57
+ commit right along with it — the exact failure `git add -A` had, just
58
+ narrower.
47
59
 
48
60
  ### 2. Loop (max 5 iterations)
49
61
 
@@ -44,7 +44,19 @@ Qodo has **no check run to poll** — there is nothing in `gh pr checks` to wait
44
44
  gh pr view --json number,headRefName,headRefOid -q '{number, branch: .headRefName, sha: .headRefOid}'
45
45
  ```
46
46
 
47
- Check out the branch if not already on it.
47
+ Check out the branch if not already on it, **then require a clean working
48
+ tree** (`git status --porcelain` empty) before touching anything:
49
+
50
+ ```bash
51
+ [ -z "$(git status --porcelain)" ] || { echo "working tree not clean — refusing to start, would risk committing unrelated changes"; exit 1; }
52
+ ```
53
+
54
+ This is the precondition step E's scoped `git add <file>` depends on: staging
55
+ only the files a fix touched is safe *because* the tree started clean, so
56
+ nothing else could be sitting in those files. Skip this check and a file
57
+ with pre-existing local edits will have those edits swept into the fix
58
+ commit right along with it — the exact failure `git add -A` had, just
59
+ narrower.
48
60
 
49
61
  ### 2. Loop (max 5 iterations)
50
62
 
@@ -43,7 +43,19 @@ Qodo has **no check run to poll** — there is nothing in `gh pr checks` to wait
43
43
  gh pr view --json number,headRefName,headRefOid -q '{number, branch: .headRefName, sha: .headRefOid}'
44
44
  ```
45
45
 
46
- Check out the branch if not already on it.
46
+ Check out the branch if not already on it, **then require a clean working
47
+ tree** (`git status --porcelain` empty) before touching anything:
48
+
49
+ ```bash
50
+ [ -z "$(git status --porcelain)" ] || { echo "working tree not clean — refusing to start, would risk committing unrelated changes"; exit 1; }
51
+ ```
52
+
53
+ This is the precondition step E's scoped `git add <file>` depends on: staging
54
+ only the files a fix touched is safe *because* the tree started clean, so
55
+ nothing else could be sitting in those files. Skip this check and a file
56
+ with pre-existing local edits will have those edits swept into the fix
57
+ commit right along with it — the exact failure `git add -A` had, just
58
+ narrower.
47
59
 
48
60
  ### 2. Loop (max 5 iterations)
49
61
 
@@ -35,7 +35,19 @@ Qodo has **no check run to poll** — there is nothing in `gh pr checks` to wait
35
35
  gh pr view --json number,headRefName,headRefOid -q '{number, branch: .headRefName, sha: .headRefOid}'
36
36
  ```
37
37
 
38
- Check out the branch if not already on it.
38
+ Check out the branch if not already on it, **then require a clean working
39
+ tree** (`git status --porcelain` empty) before touching anything:
40
+
41
+ ```bash
42
+ [ -z "$(git status --porcelain)" ] || { echo "working tree not clean — refusing to start, would risk committing unrelated changes"; exit 1; }
43
+ ```
44
+
45
+ This is the precondition step E's scoped `git add <file>` depends on: staging
46
+ only the files a fix touched is safe *because* the tree started clean, so
47
+ nothing else could be sitting in those files. Skip this check and a file
48
+ with pre-existing local edits will have those edits swept into the fix
49
+ commit right along with it — the exact failure `git add -A` had, just
50
+ narrower.
39
51
 
40
52
  ### 2. Loop (max 5 iterations)
41
53
 
@@ -34,7 +34,19 @@ Qodo has **no check run to poll** — there is nothing in `gh pr checks` to wait
34
34
  gh pr view --json number,headRefName,headRefOid -q '{number, branch: .headRefName, sha: .headRefOid}'
35
35
  ```
36
36
 
37
- Check out the branch if not already on it.
37
+ Check out the branch if not already on it, **then require a clean working
38
+ tree** (`git status --porcelain` empty) before touching anything:
39
+
40
+ ```bash
41
+ [ -z "$(git status --porcelain)" ] || { echo "working tree not clean — refusing to start, would risk committing unrelated changes"; exit 1; }
42
+ ```
43
+
44
+ This is the precondition step E's scoped `git add <file>` depends on: staging
45
+ only the files a fix touched is safe *because* the tree started clean, so
46
+ nothing else could be sitting in those files. Skip this check and a file
47
+ with pre-existing local edits will have those edits swept into the fix
48
+ commit right along with it — the exact failure `git add -A` had, just
49
+ narrower.
38
50
 
39
51
  ### 2. Loop (max 5 iterations)
40
52