@olegkoval/agent-skills 1.93.0 → 1.94.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.
Files changed (48) hide show
  1. package/.github/prompts/wrap-up.prompt.md +44 -3
  2. package/.kiro/steering/wrap-up.md +44 -3
  3. package/.windsurf/rules/wrap-up.md +44 -3
  4. package/adapters/claude/olko-github-pr/skills/lekker-review/references/agents/conventions.md +1 -1
  5. package/adapters/claude/olko-github-pr/skills/lekker-review/references/agents/implementation.md +5 -12
  6. package/adapters/claude/olko-github-pr/skills/lekker-review/references/agents/prover.md +1 -1
  7. package/adapters/claude/olko-github-pr/skills/lekker-review/references/agents/quality.md +2 -12
  8. package/adapters/claude/olko-github-pr/skills/lekker-review/references/agents/triage-logic.md +2 -2
  9. package/adapters/claude/olko-github-pr/skills/lekker-review/references/agents/triage-quality.md +5 -12
  10. package/adapters/claude/olko-github-pr/skills/lekker-review/references/agents/verifier.md +2 -6
  11. package/adapters/claude/olko-github-pr/skills/lekker-review/references/output-format.md +2 -2
  12. package/adapters/claude/olko-github-pr/skills/lekker-review/references/revmux/lenses/lekker-consistency.md +1 -1
  13. package/adapters/claude/olko-github-pr/skills/lekker-review/references/revmux/lenses/lekker-conventions.md +3 -5
  14. package/adapters/claude/olko-github-pr/skills/lekker-review/references/revmux/lenses/lekker-implementation.md +13 -28
  15. package/adapters/claude/olko-github-pr/skills/lekker-review/references/revmux/lenses/lekker-quality.md +3 -13
  16. package/adapters/claude/olko-github-pr/skills/lekker-review/references/revmux/lenses/lekker-test-quality.md +2 -15
  17. package/adapters/claude/olko-github-pr/skills/lekker-review/references/revmux/profile.md +17 -196
  18. package/adapters/claude/olko-reflection/skills/wrap-up/SKILL.md +45 -2
  19. package/adapters/cursor/olko-reflection/skills/wrap-up/SKILL.md +45 -2
  20. package/adapters/grok/olko-reflection/skills/wrap-up/SKILL.md +45 -2
  21. package/catalog/skills.json +1 -1
  22. package/package.json +1 -1
  23. package/plugins/olko-apple-kit/.claude-plugin/plugin.json +1 -1
  24. package/plugins/olko-creative/.claude-plugin/plugin.json +1 -1
  25. package/plugins/olko-garmin-kit/.claude-plugin/plugin.json +1 -1
  26. package/plugins/olko-git-tools/.claude-plugin/plugin.json +1 -1
  27. package/plugins/olko-github-pr/.claude-plugin/plugin.json +1 -1
  28. package/plugins/olko-github-pr/skills/lekker-review/references/agents/conventions.md +1 -1
  29. package/plugins/olko-github-pr/skills/lekker-review/references/agents/implementation.md +5 -12
  30. package/plugins/olko-github-pr/skills/lekker-review/references/agents/prover.md +1 -1
  31. package/plugins/olko-github-pr/skills/lekker-review/references/agents/quality.md +2 -12
  32. package/plugins/olko-github-pr/skills/lekker-review/references/agents/triage-logic.md +2 -2
  33. package/plugins/olko-github-pr/skills/lekker-review/references/agents/triage-quality.md +5 -12
  34. package/plugins/olko-github-pr/skills/lekker-review/references/agents/verifier.md +2 -6
  35. package/plugins/olko-github-pr/skills/lekker-review/references/output-format.md +2 -2
  36. package/plugins/olko-github-pr/skills/lekker-review/references/revmux/lenses/lekker-consistency.md +1 -1
  37. package/plugins/olko-github-pr/skills/lekker-review/references/revmux/lenses/lekker-conventions.md +3 -5
  38. package/plugins/olko-github-pr/skills/lekker-review/references/revmux/lenses/lekker-implementation.md +13 -28
  39. package/plugins/olko-github-pr/skills/lekker-review/references/revmux/lenses/lekker-quality.md +3 -13
  40. package/plugins/olko-github-pr/skills/lekker-review/references/revmux/lenses/lekker-test-quality.md +2 -15
  41. package/plugins/olko-github-pr/skills/lekker-review/references/revmux/profile.md +17 -196
  42. package/plugins/olko-obsidian/.claude-plugin/plugin.json +1 -1
  43. package/plugins/olko-product/.claude-plugin/plugin.json +1 -1
  44. package/plugins/olko-reflection/.claude-plugin/plugin.json +1 -1
  45. package/plugins/olko-reflection/skills/wrap-up/SKILL.md +45 -2
  46. package/plugins/olko-release/.claude-plugin/plugin.json +1 -1
  47. package/plugins/olko-skill-meta/.claude-plugin/plugin.json +1 -1
  48. package/plugins/olko-web-ops/.claude-plugin/plugin.json +1 -1
@@ -1,209 +1,30 @@
1
- # Project profile
1
+ # Project review profile
2
2
 
3
- This file is handed to revmux as `{{PROFILE}}` for the lekker-medium and
4
- lekker-deep review profiles. It ships with generic default conventions only.
5
- Put your team's own hard rules (always Critical) in `references/house-rules.md`
6
- and, if you use revmux, add them to the top of this file as well, each with an
7
- ID such as `TS-1` so findings can cite it. Where this file disagrees with a
8
- reviewer's general taste, this file wins.
3
+ Use this profile to give reviewers the repository's review rules and conventions.
4
+ The default profile declares no project-specific requirements. Add explicit
5
+ rules to `references/house-rules.md` and include them here when using revmux.
6
+ Use a stable rule ID so a finding can cite the governing rule and evidence.
9
7
 
10
- ---
8
+ ## 1. Naming
11
9
 
12
- # Default conventions (styling, naming, comments, tests, hygiene)
10
+ Check new names against established names for equivalent concepts in the target repository.
13
11
 
14
- These are default house-style conventions. A review that misses them lets the
15
- same nits come back from the human reviewer.
12
+ ## 2. Comments
16
13
 
17
- Severity ceiling: everything here is **idiomatic** unless a row says otherwise.
18
- Cite a precedent from the codebase where the row asks for one, and never
19
- inflate a style deviation into Critical.
14
+ Look for explanations of invariants, workarounds, and surprising constraints.
20
15
 
21
- ---
16
+ ## 3. Debug artifacts
22
17
 
23
- ## 1. Naming matrix
18
+ Flag debug output, breakpoints, and temporary files when the diff would ship them unintentionally.
24
19
 
25
- Flag a name the diff INTRODUCES that breaks a row. Renaming is cheap in the
26
- diff, expensive later - but a rename is still a cost, so leave conforming
27
- names alone.
20
+ ## 4. Tests
28
21
 
29
- ### Values
22
+ Apply the target repository's test conventions and check that assertions exercise observable behavior.
30
23
 
31
- | Kind | Convention | Example |
32
- |---|---|---|
33
- | boolean | `is` prefix, no negatives (`has`/`can`/`should` for possession/permission/policy) | `isFrozen` |
34
- | array | plural noun (value plural, type stays singular) | `variantIds` |
35
- | keyed lookup | `…ById` suffix | `toneByStatus` |
36
- | id | `Id` / `Ids` suffix | `shipmentId` |
37
- | timestamp | `At` suffix | `scheduledAt` |
38
- | duration | unit suffix | `timeoutMs` |
39
- | count | `Count` suffix | `lineCount` |
40
- | casing | camelCase values · PascalCase types/components · `CONSTANT_CASE` constants | |
24
+ ## 5. Commits
41
25
 
42
- ### Verbs - one per job, chosen by cost + purity
26
+ Apply commit conventions declared by the project or demonstrated by comparable changes.
43
27
 
44
- `get` cheap/sync · `fetch` async I/O · `create` new persisted entity ·
45
- `build` assembles in memory (pure) · `derive` pure value from existing state ·
46
- `parse` raw → typed · `format` value → display string · `update` change a
47
- persisted entity · `validate` returns validity · `assert` throws · `ensure`
48
- idempotently makes state hold.
28
+ ## 6. Generated code
49
29
 
50
- A `getX` that does network I/O is a finding (`fetchX`). A `createX` that
51
- mutates an existing row is a finding (`updateX`).
52
-
53
- ### Effect affixes - put the surprise in the name
54
-
55
- `…OrThrow` · `…OrDefault` · `upsert` · `…ForUpdate` (row lock) ·
56
- `…SkipLocked` · `try…` (returns result, doesn't throw) · `with…`
57
- (acquire→run→release) · `…Sync` · `…Cached` · `unsafe…`.
58
-
59
- A function that takes a row lock, throws on miss, or returns a cached value
60
- without saying so in its name is a finding - that surprise is exactly what the
61
- next caller will miss.
62
-
63
- ### React & types
64
-
65
- - React: `use` hook · `handle` (impl) / `on` (prop) · `Props` type · `with` HOC
66
- · components PascalCase and **domain-prefixed when collidable**
67
- (`AdjustmentStatusBadge`, not `StatusBadge`).
68
- - Types: `Input` / `Output` · `Result` (ok/err) · `Schema` (Zod) ·
69
- `Brand<string,'X'>` for ids · PascalCase noun, no `I-` prefix, never
70
- pluralize a type.
71
-
72
- ### Bare generic nouns
73
-
74
- `line`, `item`, `node`, `record`, `entry`, `group`, `row`, `value`, `key` are
75
- findings when the surrounding domain has two or more qualified variants in
76
- scope (arrival line vs receipt line; source node vs target node). Qualify with
77
- the domain role - variables, params, fields, type aliases, **type params**
78
- (`TLine` → `TReceiptLine`), and the functions built on the noun.
79
-
80
- ### NEVER flag a rename at a boundary
81
-
82
- DB table/column names (and any `Row`/`Dto` mirroring them), GraphQL / oRPC /
83
- OpenAPI contract fields, enum string values, route strings, wire/JSON keys.
84
- Something outside the diff reads them. The app-layer alias may be renamed
85
- (`createdAt @map("created_at")`); the boundary name may not. A "rename this
86
- column" finding is a false positive - say the boundary name is bad and leave
87
- it to a human if it matters.
88
-
89
- ---
90
-
91
- ## 2. Comment policy
92
-
93
- **Default: a comment should not exist.** It earns its place only by saying
94
- something the code *cannot*, and then in as few words as possible. Flag each
95
- offending comment the diff ADDED as its own `idiomatic` finding with the
96
- deletion as the `fix` - never a vague "too many comments". Pre-existing
97
- comments are out of scope.
98
-
99
- Flag a comment that:
100
-
101
- - restates the next line (`// increment counter` over `counter += 1`);
102
- - narrates a step or captions a block ("first we fetch, then we map…");
103
- - **narrates a whole function or type** - JSDoc restating a well-named
104
- signature, its params, or its return shape. A doc comment earns its place
105
- only for a non-obvious *contract*;
106
- - explains obvious syntax or a well-known API;
107
- - repeats a rationale stated elsewhere in the diff (keep ONE canonical place);
108
- - is changelog/AI noise - ticket IDs (`PROJ-123`), person names, multi-paragraph
109
- "why we chose X" essays. A single `@see PROJ-123` JSDoc tag is fine;
110
- - **references what the reader cannot see** - a removed line or a prior
111
- approach ("no longer using the old Y"). Source shows what the code *is*;
112
- - **documents invisible coupling** - "ordered this way because some other code
113
- does X". The fix is clearer structure, not a comment enshrining it;
114
- - **says what a name or type could say** - then the code should carry it (this
115
- is a naming finding per §1, not a comment to keep).
116
-
117
- KEEP (do not flag): an external-system quirk, an ordering/concurrency
118
- constraint, a bug workaround, a footgun, a "looks wrong but is correct
119
- because…" causal chain, a directive, a license header, and every lint/type
120
- pragma (`eslint-disable`, `@ts-expect-error`, `prettier-ignore`).
121
-
122
- Heuristic: a comment about as long as the code it sits on, naming no real
123
- gotcha, is noise. Code is type-checked; prose is not.
124
-
125
- ---
126
-
127
- ## 3. Hygiene & debug artifacts - severity is fixed, do not soften
128
-
129
- Scan `+` lines only (added by this diff; pre-existing occurrences are out of
130
- scope).
131
-
132
- | Artifact | Severity |
133
- |---|---|
134
- | `console.log(` / `console.debug(` added to non-CLI production code | important |
135
- | `debugger;` | critical |
136
- | `.only` on a test (`it.only`, `describe.only`, `fit(`, `fdescribe(`) - silently skips the rest of the suite | critical |
137
- | new `TODO:` / `FIXME:` / `HACK:` / `XXX:` with no ticket reference | idiomatic |
138
- | commented-out code block > 3 lines | idiomatic |
139
- | hardcoded URL / endpoint that belongs in an env var | important |
140
- | hardcoded magic number that should be a named constant | idiomatic |
141
- | unreachable code after `return`/`throw` | important |
142
-
143
- `console.error`/`console.warn` on a real error path is not a finding unless the
144
- repo has a logger idiom - then cite it.
145
-
146
- ---
147
-
148
- ## 4. Test conventions
149
-
150
- These are on top of the mutation/mock analysis the test-quality agent already
151
- does. Each is an `idiomatic` finding with the corrected code as the `fix`.
152
-
153
- - **Placement:** tests live in `__tests__/` **next to** the source file.
154
- `.test.ts` for pure logic, `.test.tsx` when JSX is needed. A test parked in a
155
- top-level `test/` dir or beside the source without `__tests__/` is a finding.
156
- - **Names read as English sentences:** `'returns false when name is null'`, not
157
- `'should return false'`.
158
- - **`describe` nesting max 2 levels;** flat `it()` blocks are fine for small
159
- functions. Grouping that adds no clarity is a finding.
160
- - **`afterEach(cleanup)`** in every RTL test file.
161
- - **`new QueryClient({ defaultOptions: { queries: { retry: false } } })`** in
162
- every hook/component test wrapper. Missing `retry: false` silently hangs the
163
- test on a failing query - flag it as `important`, not idiomatic.
164
- - **Query priority:** `getByRole` → `getByLabelText` → `getByText` →
165
- `getByTestId` (last resort only). A `getByTestId` where a role query works is
166
- a finding.
167
- - **Mock paths are RELATIVE, never the `@lib/common` alias.** The alias
168
- resolves only from `web/`; inside `common/` it is silently ignored and the
169
- mock has no effect - the test then passes against the real module. Flag any
170
- `vi.mock('@lib/common/…')` inside `common/` as `important`.
171
- - **Mock at the module boundary,** not `vi.spyOn(mod, '_internal')`.
172
- - **Zod schemas:** test via `safeParse` and assert `result.success`, not
173
- try/catch around `parse`.
174
- - **Matrix tests:** when behaviour depends on 3+ independent boolean/enum
175
- inputs, drive `it.each` from a typed matrix, tag each row with the AC it
176
- verifies, and include the exhaustiveness assertion
177
- (`expect(matrix).toHaveLength(N * M * K)`). A hand-picked subset of a
178
- combinatorial space is a coverage-gap finding.
179
- - **Comment the non-obvious scenario:** a test capturing a past bug explains
180
- *why* (this is a sanctioned comment - never flag it under §2).
181
-
182
- ---
183
-
184
- ## 5. Commit & PR hygiene
185
-
186
- Beyond PR-1 (hard rule). All `idiomatic` - a squash fixes them and they never
187
- block.
188
-
189
- - Conventional commits: `<type>(<scope>): <description>` with type in
190
- `feat|fix|refactor|test|docs|chore|style|perf|build|ci`; description
191
- lowercase, imperative, no trailing period.
192
- - Vague subjects (`fix`, `update`, `wip`, `changes`, `stuff`) - flag, recommend
193
- a rewrite.
194
- - Many WIP commits - recommend a squash before merge, in one line, once.
195
- - Never mention Claude Code / the assistant in commit or PR text; a
196
- `Co-Authored-By: Claude` trailer or "Generated with Claude Code" footer in
197
- the commit log is a finding.
198
-
199
- ---
200
-
201
- ## 6. Generated code - check the source, not the artifact
202
-
203
- When a source file changes and the artifact generated from it does not (or
204
- vice versa), that is an `important` finding: for example a changed `.sql`,
205
- `.graphql`, JSON schema or ORM schema without its regenerated output, or a
206
- migration missing for a schema change.
207
-
208
- Never review the *content* of a generated file as if it were hand-written - no
209
- naming, comment, or complexity findings inside `generated/`. Review the source.
30
+ Check that a source change includes its required generated output. Review the source for quality findings.
@@ -4,6 +4,8 @@ description: >
4
4
  Close out a small change or multi-step task by checking its original objective, running applicable
5
5
  quality gates, auditing the diff and task-owned artifacts, and preparing an evidence-backed handoff.
6
6
  Use when work is believed done, the user asks to wrap up or clean up, or before handing work off.
7
+ Also checks whether the session produced a repeatable workflow that deserves a skill, with a second
8
+ opinion from Jev, and suggests creating it only when both agree.
7
9
  For a retro over repository history use retro-analysis; for agent operations use agent-ops-retro.
8
10
  license: MIT
9
11
  compatibility: Codex, Claude Code, Cursor, GitHub Copilot, Windsurf, Kiro, Grok, and other Agent Skills compatible tools.
@@ -52,7 +54,45 @@ Before cleanup, when a completed task used a team and its applicable checks are
52
54
  - For confirmed safe targets, propose `git worktree remove -- 'path with spaces'` or `git branch -d -- 'topic/branch'` with the actual argument shell-quoted, including embedded quotes. Use `--` to end options; never interpolate untrusted names as raw shell text. Use `git fetch --prune` only when network access and remote cleanup are appropriate. Force deletion requires explicit approval.
53
55
  - Read-only inspection and configured non-destructive checks may run automatically. Ask before committing, pushing, creating or updating a PR, deleting any file, branch, or worktree, or modifying external systems. Existing explicit authorization for the task still applies.
54
56
 
55
- ## 5. Handoff
57
+ ## 5. Check for a skill worth creating
58
+
59
+ Stay silent unless something qualifies. This step must never add noise to a small task.
60
+
61
+ **Own pass.** Look at what the session actually did, not at what was asked. A workflow is a candidate only when all four hold:
62
+
63
+ - It ran as a sequence of at least three distinct steps with recognisable inputs and outputs, for example: gather facts from two sources, produce an artifact, draft the message that goes with it.
64
+ - It repeated in this session (the same sequence for a second item), or the user corrected or re-asked for the same shape of work, or the user called it a standing process ("again", "for each", "next one").
65
+ - No installed skill already covers most of it. Check the skills listed in your context and a find-skills skill where available. If the skip rules in "Second opinion from Jev" allow Jev, also run `jev pick-skill --turn "<abstract>"` (an empty list means nothing fits; a `fail_open` reply means unknown, not none). If a skill covers most of it, report that skill to use or extend and skip the creation assessment.
66
+ - It is a procedure, not a fact. A gotcha, preference or project rule belongs in memory or a knowledge entry, not in a skill.
67
+
68
+ For the strongest candidate only, write a name, trigger phrases, the steps, inputs, outputs, side effects that need approval, and the plugin it would live in.
69
+
70
+ **Second opinion from Jev.** Run it only when the own pass found a candidate. Jev is an outside service: send a short abstract, never session content. The abstract is at most eight lines: the goal, the steps, the tools or sources used, how many times it repeated, how many times the user corrected it. Leave out names, emails, ids, quotes, URLs, file paths, client or candidate details, and secrets. If you cannot write it without those, skip Jev and report "second opinion skipped: sensitive session". Also skip when `jev` is not installed or a project rule forbids outside services.
71
+
72
+ ```bash
73
+ echo '{"state": "<abstract>", "questions": [
74
+ {"id": "reusable", "type": "noul",
75
+ "instructions": "This workflow will recur and a written procedure would save real effort"},
76
+ {"id": "shape", "type": "choice", "instructions": "What is the best form for capturing it?",
77
+ "criteria": {"skill": "A multi-step skill", "memory": "A remembered preference or rule",
78
+ "checklist": "A short checklist or a hook", "none": "Not worth capturing"}}]}' | ~/.local/bin/jev ask
79
+ ```
80
+
81
+ Read `reusable` at 0.6 or higher as yes (a starting value; adjust it with experience). A Jev error or `fail_open` is no opinion, not a no.
82
+
83
+ **Combine the two results.**
84
+
85
+ | Own pass | Jev | Do |
86
+ |---|---|---|
87
+ | Candidate, not covered | reusable and shape `skill` | Suggest creating the skill: name, a one-sentence trigger description, at most six steps, inputs and outputs, approvals, plugin. Ask whether to create it; never create it unprompted. |
88
+ | Candidate, an existing skill covers most | any | Name the skill to use or extend instead. |
89
+ | Candidate, not covered | not reusable, or shape other than `skill` | One line: "possible skill, Jev disagrees (reason)". Suggest nothing. If the shape is `memory`, propose that memory entry instead. |
90
+ | Candidate, not covered | no opinion or skipped | Report that Jev gave no opinion or was skipped; do not suggest creating a skill. |
91
+ | None | not run | Silent: the report says "Skill check: none". |
92
+
93
+ Report at most one suggestion, the strongest.
94
+
95
+ ## 6. Handoff
56
96
 
57
97
  Use the report below, keeping it brief for a small change and adding detail only where evidence or risk warrants it. State what was executed and what still needs confirmation. If a PR is appropriate, draft its motivation, changes, testing evidence, rollout and rollback considerations, and reviewer notes; do not publish it without authorization. Suggest a conventional commit message without committing.
58
98
 
@@ -95,6 +135,9 @@ Use the report below, keeping it brief for a small change and adding detail only
95
135
  - Updated: <files or none>
96
136
  - Not needed: <reason or none>
97
137
 
138
+ **Skill check**
139
+ - <none | suggestion: name, why, own-pass and Jev result | extend <existing skill> | second opinion skipped: reason>
140
+
98
141
  **Risks and follow-ups**
99
142
  - <remaining risk, blocked gate, or next action; include delivery state if relevant>
100
143
 
@@ -102,5 +145,5 @@ Use the report below, keeping it brief for a small change and adding detail only
102
145
  `type(scope): concise imperative summary`
103
146
 
104
147
  **Handoff**
105
- <2–5 sentences with the evidence and next step a teammate needs>
148
+ <2 to 5 sentences with the evidence and next step a teammate needs>
106
149
  ```
@@ -4,6 +4,8 @@ description: >
4
4
  Close out a small change or multi-step task by checking its original objective, running applicable
5
5
  quality gates, auditing the diff and task-owned artifacts, and preparing an evidence-backed handoff.
6
6
  Use when work is believed done, the user asks to wrap up or clean up, or before handing work off.
7
+ Also checks whether the session produced a repeatable workflow that deserves a skill, with a second
8
+ opinion from Jev, and suggests creating it only when both agree.
7
9
  For a retro over repository history use retro-analysis; for agent operations use agent-ops-retro.
8
10
  license: MIT
9
11
  compatibility: Codex, Claude Code, Cursor, GitHub Copilot, Windsurf, Kiro, Grok, and other Agent Skills compatible tools.
@@ -52,7 +54,45 @@ Before cleanup, when a completed task used a team and its applicable checks are
52
54
  - For confirmed safe targets, propose `git worktree remove -- 'path with spaces'` or `git branch -d -- 'topic/branch'` with the actual argument shell-quoted, including embedded quotes. Use `--` to end options; never interpolate untrusted names as raw shell text. Use `git fetch --prune` only when network access and remote cleanup are appropriate. Force deletion requires explicit approval.
53
55
  - Read-only inspection and configured non-destructive checks may run automatically. Ask before committing, pushing, creating or updating a PR, deleting any file, branch, or worktree, or modifying external systems. Existing explicit authorization for the task still applies.
54
56
 
55
- ## 5. Handoff
57
+ ## 5. Check for a skill worth creating
58
+
59
+ Stay silent unless something qualifies. This step must never add noise to a small task.
60
+
61
+ **Own pass.** Look at what the session actually did, not at what was asked. A workflow is a candidate only when all four hold:
62
+
63
+ - It ran as a sequence of at least three distinct steps with recognisable inputs and outputs, for example: gather facts from two sources, produce an artifact, draft the message that goes with it.
64
+ - It repeated in this session (the same sequence for a second item), or the user corrected or re-asked for the same shape of work, or the user called it a standing process ("again", "for each", "next one").
65
+ - No installed skill already covers most of it. Check the skills listed in your context and a find-skills skill where available. If the skip rules in "Second opinion from Jev" allow Jev, also run `jev pick-skill --turn "<abstract>"` (an empty list means nothing fits; a `fail_open` reply means unknown, not none). If a skill covers most of it, report that skill to use or extend and skip the creation assessment.
66
+ - It is a procedure, not a fact. A gotcha, preference or project rule belongs in memory or a knowledge entry, not in a skill.
67
+
68
+ For the strongest candidate only, write a name, trigger phrases, the steps, inputs, outputs, side effects that need approval, and the plugin it would live in.
69
+
70
+ **Second opinion from Jev.** Run it only when the own pass found a candidate. Jev is an outside service: send a short abstract, never session content. The abstract is at most eight lines: the goal, the steps, the tools or sources used, how many times it repeated, how many times the user corrected it. Leave out names, emails, ids, quotes, URLs, file paths, client or candidate details, and secrets. If you cannot write it without those, skip Jev and report "second opinion skipped: sensitive session". Also skip when `jev` is not installed or a project rule forbids outside services.
71
+
72
+ ```bash
73
+ echo '{"state": "<abstract>", "questions": [
74
+ {"id": "reusable", "type": "noul",
75
+ "instructions": "This workflow will recur and a written procedure would save real effort"},
76
+ {"id": "shape", "type": "choice", "instructions": "What is the best form for capturing it?",
77
+ "criteria": {"skill": "A multi-step skill", "memory": "A remembered preference or rule",
78
+ "checklist": "A short checklist or a hook", "none": "Not worth capturing"}}]}' | ~/.local/bin/jev ask
79
+ ```
80
+
81
+ Read `reusable` at 0.6 or higher as yes (a starting value; adjust it with experience). A Jev error or `fail_open` is no opinion, not a no.
82
+
83
+ **Combine the two results.**
84
+
85
+ | Own pass | Jev | Do |
86
+ |---|---|---|
87
+ | Candidate, not covered | reusable and shape `skill` | Suggest creating the skill: name, a one-sentence trigger description, at most six steps, inputs and outputs, approvals, plugin. Ask whether to create it; never create it unprompted. |
88
+ | Candidate, an existing skill covers most | any | Name the skill to use or extend instead. |
89
+ | Candidate, not covered | not reusable, or shape other than `skill` | One line: "possible skill, Jev disagrees (reason)". Suggest nothing. If the shape is `memory`, propose that memory entry instead. |
90
+ | Candidate, not covered | no opinion or skipped | Report that Jev gave no opinion or was skipped; do not suggest creating a skill. |
91
+ | None | not run | Silent: the report says "Skill check: none". |
92
+
93
+ Report at most one suggestion, the strongest.
94
+
95
+ ## 6. Handoff
56
96
 
57
97
  Use the report below, keeping it brief for a small change and adding detail only where evidence or risk warrants it. State what was executed and what still needs confirmation. If a PR is appropriate, draft its motivation, changes, testing evidence, rollout and rollback considerations, and reviewer notes; do not publish it without authorization. Suggest a conventional commit message without committing.
58
98
 
@@ -95,6 +135,9 @@ Use the report below, keeping it brief for a small change and adding detail only
95
135
  - Updated: <files or none>
96
136
  - Not needed: <reason or none>
97
137
 
138
+ **Skill check**
139
+ - <none | suggestion: name, why, own-pass and Jev result | extend <existing skill> | second opinion skipped: reason>
140
+
98
141
  **Risks and follow-ups**
99
142
  - <remaining risk, blocked gate, or next action; include delivery state if relevant>
100
143
 
@@ -102,5 +145,5 @@ Use the report below, keeping it brief for a small change and adding detail only
102
145
  `type(scope): concise imperative summary`
103
146
 
104
147
  **Handoff**
105
- <2–5 sentences with the evidence and next step a teammate needs>
148
+ <2 to 5 sentences with the evidence and next step a teammate needs>
106
149
  ```
@@ -4,6 +4,8 @@ description: >
4
4
  Close out a small change or multi-step task by checking its original objective, running applicable
5
5
  quality gates, auditing the diff and task-owned artifacts, and preparing an evidence-backed handoff.
6
6
  Use when work is believed done, the user asks to wrap up or clean up, or before handing work off.
7
+ Also checks whether the session produced a repeatable workflow that deserves a skill, with a second
8
+ opinion from Jev, and suggests creating it only when both agree.
7
9
  For a retro over repository history use retro-analysis; for agent operations use agent-ops-retro.
8
10
  license: MIT
9
11
  compatibility: Codex, Claude Code, Cursor, GitHub Copilot, Windsurf, Kiro, Grok, and other Agent Skills compatible tools.
@@ -52,7 +54,45 @@ Before cleanup, when a completed task used a team and its applicable checks are
52
54
  - For confirmed safe targets, propose `git worktree remove -- 'path with spaces'` or `git branch -d -- 'topic/branch'` with the actual argument shell-quoted, including embedded quotes. Use `--` to end options; never interpolate untrusted names as raw shell text. Use `git fetch --prune` only when network access and remote cleanup are appropriate. Force deletion requires explicit approval.
53
55
  - Read-only inspection and configured non-destructive checks may run automatically. Ask before committing, pushing, creating or updating a PR, deleting any file, branch, or worktree, or modifying external systems. Existing explicit authorization for the task still applies.
54
56
 
55
- ## 5. Handoff
57
+ ## 5. Check for a skill worth creating
58
+
59
+ Stay silent unless something qualifies. This step must never add noise to a small task.
60
+
61
+ **Own pass.** Look at what the session actually did, not at what was asked. A workflow is a candidate only when all four hold:
62
+
63
+ - It ran as a sequence of at least three distinct steps with recognisable inputs and outputs, for example: gather facts from two sources, produce an artifact, draft the message that goes with it.
64
+ - It repeated in this session (the same sequence for a second item), or the user corrected or re-asked for the same shape of work, or the user called it a standing process ("again", "for each", "next one").
65
+ - No installed skill already covers most of it. Check the skills listed in your context and a find-skills skill where available. If the skip rules in "Second opinion from Jev" allow Jev, also run `jev pick-skill --turn "<abstract>"` (an empty list means nothing fits; a `fail_open` reply means unknown, not none). If a skill covers most of it, report that skill to use or extend and skip the creation assessment.
66
+ - It is a procedure, not a fact. A gotcha, preference or project rule belongs in memory or a knowledge entry, not in a skill.
67
+
68
+ For the strongest candidate only, write a name, trigger phrases, the steps, inputs, outputs, side effects that need approval, and the plugin it would live in.
69
+
70
+ **Second opinion from Jev.** Run it only when the own pass found a candidate. Jev is an outside service: send a short abstract, never session content. The abstract is at most eight lines: the goal, the steps, the tools or sources used, how many times it repeated, how many times the user corrected it. Leave out names, emails, ids, quotes, URLs, file paths, client or candidate details, and secrets. If you cannot write it without those, skip Jev and report "second opinion skipped: sensitive session". Also skip when `jev` is not installed or a project rule forbids outside services.
71
+
72
+ ```bash
73
+ echo '{"state": "<abstract>", "questions": [
74
+ {"id": "reusable", "type": "noul",
75
+ "instructions": "This workflow will recur and a written procedure would save real effort"},
76
+ {"id": "shape", "type": "choice", "instructions": "What is the best form for capturing it?",
77
+ "criteria": {"skill": "A multi-step skill", "memory": "A remembered preference or rule",
78
+ "checklist": "A short checklist or a hook", "none": "Not worth capturing"}}]}' | ~/.local/bin/jev ask
79
+ ```
80
+
81
+ Read `reusable` at 0.6 or higher as yes (a starting value; adjust it with experience). A Jev error or `fail_open` is no opinion, not a no.
82
+
83
+ **Combine the two results.**
84
+
85
+ | Own pass | Jev | Do |
86
+ |---|---|---|
87
+ | Candidate, not covered | reusable and shape `skill` | Suggest creating the skill: name, a one-sentence trigger description, at most six steps, inputs and outputs, approvals, plugin. Ask whether to create it; never create it unprompted. |
88
+ | Candidate, an existing skill covers most | any | Name the skill to use or extend instead. |
89
+ | Candidate, not covered | not reusable, or shape other than `skill` | One line: "possible skill, Jev disagrees (reason)". Suggest nothing. If the shape is `memory`, propose that memory entry instead. |
90
+ | Candidate, not covered | no opinion or skipped | Report that Jev gave no opinion or was skipped; do not suggest creating a skill. |
91
+ | None | not run | Silent: the report says "Skill check: none". |
92
+
93
+ Report at most one suggestion, the strongest.
94
+
95
+ ## 6. Handoff
56
96
 
57
97
  Use the report below, keeping it brief for a small change and adding detail only where evidence or risk warrants it. State what was executed and what still needs confirmation. If a PR is appropriate, draft its motivation, changes, testing evidence, rollout and rollback considerations, and reviewer notes; do not publish it without authorization. Suggest a conventional commit message without committing.
58
98
 
@@ -95,6 +135,9 @@ Use the report below, keeping it brief for a small change and adding detail only
95
135
  - Updated: <files or none>
96
136
  - Not needed: <reason or none>
97
137
 
138
+ **Skill check**
139
+ - <none | suggestion: name, why, own-pass and Jev result | extend <existing skill> | second opinion skipped: reason>
140
+
98
141
  **Risks and follow-ups**
99
142
  - <remaining risk, blocked gate, or next action; include delivery state if relevant>
100
143
 
@@ -102,5 +145,5 @@ Use the report below, keeping it brief for a small change and adding detail only
102
145
  `type(scope): concise imperative summary`
103
146
 
104
147
  **Handoff**
105
- <2–5 sentences with the evidence and next step a teammate needs>
148
+ <2 to 5 sentences with the evidence and next step a teammate needs>
106
149
  ```
@@ -1106,7 +1106,7 @@
1106
1106
  "name": "wrap-up",
1107
1107
  "lookupName": "olko:wrap-up",
1108
1108
  "path": "plugins/olko-reflection/skills/wrap-up",
1109
- "description": "Verify a task against its original objective, run applicable checks, audit task-owned artifacts, and prepare a safe, evidence-backed handoff.",
1109
+ "description": "Verify a task against its original objective, run applicable checks, audit task-owned artifacts, check for a repeatable workflow worth a new skill, and prepare a safe, evidence-backed handoff.",
1110
1110
  "tags": [
1111
1111
  "delivery",
1112
1112
  "verification",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olegkoval/agent-skills",
3
- "version": "1.93.0",
3
+ "version": "1.94.1",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "olko-apple-kit",
3
3
  "description": "Build and ship Apple platform apps: macOS menubar apps, App Store submissions.",
4
- "version": "1.93.0",
4
+ "version": "1.94.1",
5
5
  "author": {
6
6
  "name": "Oleg Koval"
7
7
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "olko-creative",
3
3
  "description": "Creative and personal projects: photo galleries, music players, listings, wiki editing.",
4
- "version": "1.93.0",
4
+ "version": "1.94.1",
5
5
  "author": {
6
6
  "name": "Oleg Koval"
7
7
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "olko-garmin-kit",
3
3
  "description": "Build, test and publish Garmin Connect IQ watch faces.",
4
- "version": "1.93.0",
4
+ "version": "1.94.1",
5
5
  "author": {
6
6
  "name": "Oleg Koval"
7
7
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "olko-git-tools",
3
3
  "description": "Everyday git and GitHub CLI operations: conventional commits, branch hygiene.",
4
- "version": "1.93.0",
4
+ "version": "1.94.1",
5
5
  "author": {
6
6
  "name": "Oleg Koval"
7
7
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "olko-github-pr",
3
3
  "description": "Drive GitHub pull requests to merge-ready: review-bot loops, CI fixes, descriptions, dependency triage.",
4
- "version": "1.93.0",
4
+ "version": "1.94.1",
5
5
  "author": {
6
6
  "name": "Oleg Koval"
7
7
  },
@@ -16,7 +16,7 @@ section):
16
16
  * A hand-written interface/type that duplicates an existing Zod schema:
17
17
  should be `z.infer<typeof zSchema>` so the schema stays the single source
18
18
  of truth. (Grep for a matching z-schema in the same feature folder.)
19
- * Raw `string` used for a Shopify GID or an entity id where a branded
19
+ * Raw `string` used for an external identifier or entity ID where a branded
20
20
  `ID<'Customer'>` (or similar) type exists and is used elsewhere.
21
21
  * A union typed as `as readonly string[]` / a hand-rolled `is...` guard where
22
22
  a `z.enum([...])` + `z.infer` would give validation, narrowing, and the
@@ -46,12 +46,12 @@ Axes to cover:
46
46
  Use title "Fix addresses the symptom", name the root cause and where it still
47
47
  lives, and point `fix` at the producing code. Quiet when the root cause is
48
48
  fixed, the mitigation fully resolves the defect, or the PR is not a bug fix.
49
- - Integration Contracts: Shopify API misuse, BC API assumptions, webhook
49
+ - Integration Contracts: unsupported external API assumptions, webhook
50
50
  idempotency, external API pagination not handled.
51
51
  - Rollout safety (external writes): when the diff changes what is WRITTEN to
52
52
  another system (an API payload, field mapping, or a DB write into a system
53
53
  this service does not own), state whether the PR has a feature flag
54
- (Reflag / `getShopFlag` / `isEnabled` style check around the new write) or a
54
+ (a guard around the new write) or a
55
55
  documented revert plan (PR body or code comment). Look in the diff and in the
56
56
  PR body in CONTEXT_FILE. When WORKTREE_PATH is available, trace the changed
57
57
  write through unchanged callers and flag guards before deciding either is
@@ -89,16 +89,9 @@ Do not report a stateful/integration finding without this boundary object. If
89
89
  the production entry point or downstream consumer cannot be identified, mark
90
90
  the claim as unverified rather than inferring behavior from a helper alone.
91
91
 
92
- GraphQL pagination (GQL-1): for every GraphQL query in the diff that uses a
93
- nodes connection (`nodes { ... }`):
94
- (a) Check that `pageInfo { hasNextPage endCursor }` is present alongside nodes: if missing, Critical.
95
- (b) Check that all pages are fetched (a loop or recursion using endCursor): a single-page fetch is a bug, Critical.
96
- (c) Check the page size: must be 250 (Shopify max). If any other size is used without a code comment explaining why, flag as Important.
97
- Set `rule: "GQL-1"` on any Critical finding raised under this axis.
98
-
99
- Setting rule tags the finding as a house hard rule: it keeps its Critical
100
- severity only after rule-specific validation and skips runtime challenges. Only set it for a genuine GQL-1
101
- violation: never to shield an ordinary finding from verification.
92
+ - GraphQL pagination: when the consumer requires a complete result, verify that
93
+ the query exposes continuation metadata and the caller follows it. Check
94
+ page-size limits against the target API's contract.
102
95
 
103
96
  CI_STATUS: read key "ciStatus" from the JSON file CONTEXT_FILE.
104
97
  SENTRY_SIGNALS: read key "sentrySignals" from CONTEXT_FILE.
@@ -40,7 +40,7 @@ context in `DIFF_FILE`. Return `attempted: false, proven: false,
40
40
  outcome: "not_attempted"` with an honest one-sentence `reason` when any of these
41
41
  hold:
42
42
 
43
- - The failure path requires live IO (Shopify/BC/Salesforce API, a real DB, the
43
+ - The failure path requires live IO (an external API, a real DB, the
44
44
  network) and the repo has no test infra to fake it cheaply.
45
45
  - The buggy logic is not importable/reachable from a test without large
46
46
  scaffolding (deep framework wiring, a webhook server bootstrap).
@@ -13,7 +13,7 @@ Axes to cover:
13
13
  - Error Handling: unhandled promise rejections, empty catch blocks, missing
14
14
  retries on transient failures, no dead-letter for failed jobs.
15
15
  - Schema/Migration: NOT NULL without default, rename without two-step,
16
- pgtyped queries invalidated, Prisma client out of sync.
16
+ stale generated database bindings.
17
17
  - Naming/Typos: wrong casing convention, mixed conventions in same scope,
18
18
  misspelled identifiers (these are bugs-in-waiting).
19
19
  - Derived-value consistency: when the diff introduces a transform of some input
@@ -28,14 +28,6 @@ Axes to cover:
28
28
  ```
29
29
  - Env vars: dead vars, renamed without migration, wrong fallback operator
30
30
  (?? vs ||), type mismatch, leaked in logs.
31
- - TypeScript type safety (TS-1): flag every type cast (`as X`, `<X>expr`)
32
- and every use of `any`. Test files: only flag blatantly omitted types
33
- (e.g. `any[]` on a clearly-typed list). All others: Critical. Quote the
34
- cast, explain the correct type, show the fix. Ask if they're Harry Potter.
35
- Set `rule: "TS-1"` on the finding.
36
- - No JavaScript files (TS-2): if the diff adds any `.js` file to a non-Liquid
37
- theme repo, flag as Critical: must be `.ts`. Set `rule: "TS-2"` on the
38
- finding.
39
31
  - Dependency changes. Skip this axis entirely unless the diff touches
40
32
  `package.json`, a lockfile, or a vendored dependency. Where it applies:
41
33
  (a) A version bump is a behaviour change nobody in this PR wrote. If neither
@@ -55,9 +47,7 @@ Axes to cover:
55
47
  Raise NO naming, comment, complexity, or hard-rule finding inside a lockfile
56
48
  or a `node_modules` path.
57
49
 
58
- Setting rule tags the finding as a house hard rule: it keeps its Critical
59
- severity only after rule-specific validation and skips runtime challenges. Only set it for a genuine
60
- TS-1/TS-2 violation: never to shield an ordinary finding from verification.
50
+ Set `rule` to the ID of a configured hard rule only when the diff demonstrates a violation.
61
51
 
62
52
  CI_STATUS: read key "ciStatus" from the JSON file CONTEXT_FILE.
63
53
  Note: if CI_STATUS shows a failing build or test check, report it as a
@@ -9,12 +9,12 @@ Axes to cover (Critical/Important only):
9
9
  - Business Logic / AC coverage: for each AC below, mark ✅ met / ⚠️ partial / ❌ missing
10
10
  AC_LIST: read key "acList" from CONTEXT_FILE.
11
11
  - Scalability: N+1 queries, missing pagination, unbounded collections, missing rate-limit
12
- - Integration Contracts: Shopify API misuse, webhook idempotency not handled
12
+ - Integration Contracts: external API contract violations, webhook idempotency not handled
13
13
  - Correctness: off-by-one, wrong operator, missing null guard
14
14
  - Rollout safety (external writes): when the diff changes what is WRITTEN to
15
15
  another system (an API payload, field mapping, or a DB write into a system
16
16
  this service does not own), state whether the PR has a feature flag
17
- (Reflag / `getShopFlag` / `isEnabled` style check around the new write) or a
17
+ (a guard around the new write) or a
18
18
  documented revert plan (PR body or code comment). Look in the diff and in the
19
19
  PR body in CONTEXT_FILE. When WORKTREE_PATH is available, trace the changed
20
20
  write through unchanged callers and flag guards before deciding either is