Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/conda-lock/linux-64-py3.11.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

# Generated by ci/lock.py; regenerate with: python ci/lock.py
# specs: ["python 3.11.*", "python >=3.11", "pyyaml >=6.0.1,<7", "jsonschema >=4.20,<5", "litellm >=1.108.4", "httpx >=0.27.0", "numpy >=1.24.0", "scipy >=1.11.0", "pygithub >=2.1.0", "datasets >=2.20,<6", "openai >=1.51,<3", "regex >=2024.11.6", "markdown-it-py >=4.2,<5", "pip", "pytest >=9.0.3", "hypothesis >=6.100", "pytest-mock >=3.12.0", "pytest-socket >=0.7", "pytest-timeout >=2.2", "pytest-randomly >=3.15", "pytest-xdist >=3.6", "packaging", "mypy ==2.4.1"]
# specs: ["python 3.11.*", "python >=3.11", "pyyaml >=6.0.1,<7", "jsonschema >=4.20,<5", "litellm >=1.108.4", "httpx >=0.27.0", "numpy >=1.24.0", "scipy >=1.11.0", "pygithub >=2.1.0", "datasets >=2.20,<6", "openai >=1.51,<3", "regex >=2024.11.6", "markdown-it-py >=4.2,<5", "pygments >=2.17,<3", "pip", "pytest >=9.0.3", "hypothesis >=6.100", "pytest-mock >=3.12.0", "pytest-socket >=0.7", "pytest-timeout >=2.2", "pytest-randomly >=3.15", "pytest-xdist >=3.6", "packaging", "mypy ==2.4.1"]
# min-age-days: 7
# platform: linux-64
@EXPLICIT
Expand Down
2 changes: 1 addition & 1 deletion ci/conda-lock/linux-64-py3.12.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

# Generated by ci/lock.py; regenerate with: python ci/lock.py
# specs: ["python 3.12.*", "python >=3.11", "pyyaml >=6.0.1,<7", "jsonschema >=4.20,<5", "litellm >=1.108.4", "httpx >=0.27.0", "numpy >=1.24.0", "scipy >=1.11.0", "pygithub >=2.1.0", "datasets >=2.20,<6", "openai >=1.51,<3", "regex >=2024.11.6", "markdown-it-py >=4.2,<5", "pip", "pytest >=9.0.3", "hypothesis >=6.100", "pytest-mock >=3.12.0", "pytest-socket >=0.7", "pytest-timeout >=2.2", "pytest-randomly >=3.15", "pytest-xdist >=3.6", "packaging", "mypy ==2.4.1"]
# specs: ["python 3.12.*", "python >=3.11", "pyyaml >=6.0.1,<7", "jsonschema >=4.20,<5", "litellm >=1.108.4", "httpx >=0.27.0", "numpy >=1.24.0", "scipy >=1.11.0", "pygithub >=2.1.0", "datasets >=2.20,<6", "openai >=1.51,<3", "regex >=2024.11.6", "markdown-it-py >=4.2,<5", "pygments >=2.17,<3", "pip", "pytest >=9.0.3", "hypothesis >=6.100", "pytest-mock >=3.12.0", "pytest-socket >=0.7", "pytest-timeout >=2.2", "pytest-randomly >=3.15", "pytest-xdist >=3.6", "packaging", "mypy ==2.4.1"]
# min-age-days: 7
# platform: linux-64
@EXPLICIT
Expand Down
2 changes: 1 addition & 1 deletion ci/conda-lock/linux-64-py3.13.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

# Generated by ci/lock.py; regenerate with: python ci/lock.py
# specs: ["python 3.13.* *_cp313", "python >=3.11", "pyyaml >=6.0.1,<7", "jsonschema >=4.20,<5", "litellm >=1.108.4", "httpx >=0.27.0", "numpy >=1.24.0", "scipy >=1.11.0", "pygithub >=2.1.0", "datasets >=2.20,<6", "openai >=1.51,<3", "regex >=2024.11.6", "markdown-it-py >=4.2,<5", "pip", "pytest >=9.0.3", "hypothesis >=6.100", "pytest-mock >=3.12.0", "pytest-socket >=0.7", "pytest-timeout >=2.2", "pytest-randomly >=3.15", "pytest-xdist >=3.6", "packaging", "mypy ==2.4.1"]
# specs: ["python 3.13.* *_cp313", "python >=3.11", "pyyaml >=6.0.1,<7", "jsonschema >=4.20,<5", "litellm >=1.108.4", "httpx >=0.27.0", "numpy >=1.24.0", "scipy >=1.11.0", "pygithub >=2.1.0", "datasets >=2.20,<6", "openai >=1.51,<3", "regex >=2024.11.6", "markdown-it-py >=4.2,<5", "pygments >=2.17,<3", "pip", "pytest >=9.0.3", "hypothesis >=6.100", "pytest-mock >=3.12.0", "pytest-socket >=0.7", "pytest-timeout >=2.2", "pytest-randomly >=3.15", "pytest-xdist >=3.6", "packaging", "mypy ==2.4.1"]
# min-age-days: 7
# platform: linux-64
@EXPLICIT
Expand Down
2 changes: 1 addition & 1 deletion ci/conda-lock/linux-64-py3.14.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

# Generated by ci/lock.py; regenerate with: python ci/lock.py
# specs: ["python 3.14.* *_cp314", "python >=3.11", "pyyaml >=6.0.1,<7", "jsonschema >=4.20,<5", "litellm >=1.108.4", "httpx >=0.27.0", "numpy >=1.24.0", "scipy >=1.11.0", "pygithub >=2.1.0", "datasets >=2.20,<6", "openai >=1.51,<3", "regex >=2024.11.6", "markdown-it-py >=4.2,<5", "pip", "pytest >=9.0.3", "hypothesis >=6.100", "pytest-mock >=3.12.0", "pytest-socket >=0.7", "pytest-timeout >=2.2", "pytest-randomly >=3.15", "pytest-xdist >=3.6", "packaging", "mypy ==2.4.1"]
# specs: ["python 3.14.* *_cp314", "python >=3.11", "pyyaml >=6.0.1,<7", "jsonschema >=4.20,<5", "litellm >=1.108.4", "httpx >=0.27.0", "numpy >=1.24.0", "scipy >=1.11.0", "pygithub >=2.1.0", "datasets >=2.20,<6", "openai >=1.51,<3", "regex >=2024.11.6", "markdown-it-py >=4.2,<5", "pygments >=2.17,<3", "pip", "pytest >=9.0.3", "hypothesis >=6.100", "pytest-mock >=3.12.0", "pytest-socket >=0.7", "pytest-timeout >=2.2", "pytest-randomly >=3.15", "pytest-xdist >=3.6", "packaging", "mypy ==2.4.1"]
# min-age-days: 7
# platform: linux-64
@EXPLICIT
Expand Down
1 change: 1 addition & 0 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ requirements:
- openai >=1.51,<3
- regex >=2024.11.6
- markdown-it-py >=4.2,<5
- pygments >=2.17,<3

test:
imports:
Expand Down
12 changes: 12 additions & 0 deletions dokimi/changelog.d/20261202_143600_skill-content-checks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!--
Copyright (C) 2026 Intel Corporation
SPDX-License-Identifier: Apache-2.0
-->

### Fixed

- Catalog checks accept standard text and emoji presentation for the information symbol and four punctuation marks. Stray variation selectors still produce a warning.

- Catalog checks distinguish JavaScript variable names from retired model IDs, Markdown block definitions from ordinary text, and install operands from directory placeholders and keyword arguments.
- Static catalog evaluation counts every skill path when several plugins have a skill with the same name. JSON output includes the individual paths and their evaluation states.
- Recognize explicit slash-command activation and a fixed inline Python program that reads piped data with isolated imports.
10 changes: 10 additions & 0 deletions dokimi/changelog.d/20261202_144900_inspect-typescript-config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!--
Copyright (C) 2026 Intel Corporation
SPDX-License-Identifier: Apache-2.0
-->

### Fixed

- `repo inspect` now lists root and nested TypeScript projects with a
`tsconfig.json` as type-checking surfaces, including projects without a
package script.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!--
Copyright (C) 2026 Intel Corporation
SPDX-License-Identifier: Apache-2.0
-->

### Fixed

- Catalog checks exclude a skill's root governance card and benchmark report from unreferenced-file warnings. Benchmark instructions and documents under `references/` still receive the check.
9 changes: 9 additions & 0 deletions dokimi/changelog.d/20261202_150000_catalog_output_paths.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!--
Copyright (C) 2026 Intel Corporation
SPDX-License-Identifier: Apache-2.0
-->

### Fixed

- `catalog check` skips a bare path explicitly described as a generated output or an absent bundled file. It still checks a separate instruction to read the same file.
- Catalog checks skip bare parent-directory notation and recognize an explicitly prohibited bare interactive install command.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!--
Copyright (C) 2026 Intel Corporation
SPDX-License-Identifier: Apache-2.0
-->

### Fixed

- Repository scans recognize hypothetical examples of adding a directory prefix. Catalog checks no longer count quoted wheel filenames or abbreviated version-control URLs as packages that need version pins.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!--
Copyright (C) 2026 Intel Corporation
SPDX-License-Identifier: Apache-2.0
-->

### Fixed

- `catalog check` checks the destination of a parent-relative link once when its label displays the same path without the leading parent directories.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!--
Copyright (C) 2026 Intel Corporation
SPDX-License-Identifier: Apache-2.0
-->

### Fixed

- `repo inspect` recognizes Node and Python standard-library test runners
declared by simple GitHub Actions commands when project manifests omit a
test command.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!--
Copyright (C) 2026 Intel Corporation
SPDX-License-Identifier: Apache-2.0
-->

### Fixed

- `catalog check` resolves an explicitly sibling-owned reference in that
skill’s folder. `repo inspect` identifies standalone unittest and node:test
tests from their source when manifests and CI omit a test command.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!--
Copyright (C) 2026 Intel Corporation
SPDX-License-Identifier: Apache-2.0
-->

### Fixed

- The catalog install check skips commands that a JSON evaluation assertion explicitly requires the answer to omit.
18 changes: 13 additions & 5 deletions dokimi/docs/external-content.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ checked (vendored and VCS directories such as `.git`, `node_modules` and `.venv`
or task are not part of its digest). A catalog root that is itself a symlink is refused; a
symlink in a parent directory is resolved once, and no link below the root is followed (with no `skills.yaml`, a linked directory beside a discovered skill or under `skills/` is an `unsafe-path` finding, not skipped; links elsewhere, such as `.claude/skills`, are ignored). No model, Docker, skill script, oracle or task verifier runs here.

In JSON output, `data.evaluation_rows` preserves the name, path and evaluation state of each skill. The summary counts every path, including skills with the same name.

Tasks are discovered on disk and assigned using their `metadata.skill` field.
`evaluation/harbor/suites.json` is cross-checked: a task present on disk but absent
from a suite remains visible with a warning; a missing declared implemented task,
Expand Down Expand Up @@ -119,7 +121,7 @@ Two checks, both `warn`:
`replacement` are the vendor's, verbatim, or empty when it gives none. An entry also lists
the vendor's alias of a listed ID (`claude-opus-4-0` for `claude-opus-4-20250514`), with
the same status and date.
The check reads every mention of a listed ID as a use of it. A line that documents a
The check reads mentions of a listed ID, including strings and comments. In JavaScript and TypeScript it skips uses of a declared variable with the same name. A line that documents a
retirement (a row of a retired-models table) or shows the old side of a migration
(`# Before`, `# Old`) is reported too, since a heading or comment label is a guess and
would hide a real call placed under it. The advice is conditional (`if this text calls the
Expand All @@ -133,7 +135,7 @@ Two checks, both `warn`:
filler (U+034F, U+180E, U+115F, U+1160, U+3164, U+FFA0, U+2800). A variation selector (U+FE00 to U+FE0F,
U+E0100 to U+E01EF) is reported at the start of the text, after another selector, or after an ASCII
character other than a keycap base (`#`, `*`, `0` to `9`), or after a non-ASCII character that is not a symbol
or an ideograph (a letter, a no-break space); after an emoji, a symbol or an ideograph it is not. U+034F is not reported beside a non-ASCII letter or mark, U+115F and U+1160 beside Hangul (jamo, compatibility and Extended-A/B jamo, syllables,
or an ideograph. The five non-ASCII emoji bases outside the symbol categories (‼, ⁉, ℹ, 〰, 〽) also accept the standard text and emoji presentation selectors U+FE0E and U+FE0F. U+034F is not reported beside a non-ASCII letter or mark, U+115F and U+1160 beside Hangul (jamo, compatibility and Extended-A/B jamo, syllables,
halfwidth), and U+2800 beside Braille. When a line holds more than three of the exempt U+034F, U+115F and U+1160, all of them on that line are reported (U+2800 is not counted). Each is reported with its line and codepoint; five
per file are listed. A zero-width joiner (U+200C, U+200D) is not reported next to an emoji
or symbol (U+2600 to U+27BF, U+1F000 to U+1FAFF) or in Arabic and Indic script, where it is correct.
Expand Down Expand Up @@ -297,12 +299,16 @@ under a bundle folder (`scripts/`, `references/`, `assets/`, `templates/`,
`examples/`, `resources/`), alone or inside a command such as
`python scripts/run.py`, is a `warn` (`path-missing`) when the skill does not
have that file. A code span that is the label of an inline link to a URL (`[`examples/a.py`](https://...)`) or of a full reference to one (`[`examples/a.py`][ref]`) is the link's text and is not checked; one in a shortcut or collapsed reference (`[`examples/a.py`]`, `[`examples/a.py`][]`) is still checked.
An inline or full reference link whose whole code-span label matches its target after leading `../` segments contributes only the destination check.
Folders, flat names, placeholders (`scripts/<name>.py`),
user-local `*.local.md` files (`references/secrets.local.md`, which the user keeps out of git)
and repo-root paths such as `src/app.py` are not checked, and
neither are code fences. A file name with a space is read only when it is quoted or its space is escaped
(`'scripts/my run.py'`, `scripts/my\ run.py`). Only `/` separators are read: a backslash path such as `scripts\run.py` is not checked. Paths joined by `,` or `;` with no space are read one by one when the next one is under a bundle folder (`scripts/a.py,scripts/b.py`); other commas, and an escaped `\,`, stay in the name. Some hits are files the skill tells the agent to
create; `--ignore path-missing` leaves the code out. A link, or a `../` code span,
(`'scripts/my run.py'`, `scripts/my\ run.py`). Only `/` separators are read: a backslash path such as `scripts\run.py` is not checked. Paths joined by `,` or `;` with no space are read one by one when the next one is under a bundle folder (`scripts/a.py,scripts/b.py`); other commas, and an escaped `\,`, stay in the name. A bare path directly described as an output or explicitly absent from the bundle is skipped.
An explicit sibling reference such as “the `engine` skill, its `references/types.md`”
is checked in the adjacent `engine` skill directory when it contains `SKILL.md` inside the catalog.
A missing sibling file still warns. A later local mention is checked independently.
Other descriptions of files the agent creates may still be flagged; `--ignore path-missing` leaves the code out. A link, or a `../` code span,
that reaches a file outside the skill directory is a `warn`
(`link-escapes-skill`, `path-escapes-skill`), since it breaks when the skill is
installed alone. An `allowed-tools` that grants `Bash` for every command (`Bash`
Expand All @@ -321,6 +327,7 @@ directory name and description but different `SKILL.md` text are a `warn` on bot
`.ts`, `.md`, `.txt` and similar) that neither `SKILL.md` nor a document it names ever names, by
path, file name or folder, is counted in one `warn` per skill (`bundle-file-unreferenced`): no document
names it. Only a link to the skill root in `SKILL.md` (`./`, or `${CLAUDE_SKILL_DIR}/`) names every file; a link to the root from any other document names only its target. Data, images, licence, readme, changelog and `AGENTS.md`-style files, a root translation of `SKILL.md` (`SKILL.ru.md`, `SKILL.zh-CN.md`),
root publication paperwork (`skill-card.md` and a `BENCHMARK.md` with a report, results, metadata or summary heading for evaluation or benchmarking),
`_`-prefixed helpers, tests and `evals/` folders, hidden and vendored folders, and nested skills are
not counted, nor is a skill at the root of the scanned checkout. The check then gives no count and no `warn`; it gives a
`note` (`bundle-file-unchecked`) that says why, when the search cannot see every name: a bundle over 2000 files, more than 50 named
Expand Down Expand Up @@ -354,7 +361,8 @@ package with no version is a `warn` with the count of distinct packages for the
same install shown twice is one, and a command inside the quoted text of an `echo` or `printf` is not an install (unless a `$(...)` or backtick substitution in it runs it, or the output is piped to a shell); a requirements
file, a local path, a URL or a `git+` source is not counted. `npx tsc` and `npx tsserver` are not counted when the file installs `typescript` where the `npx` runs (that directory or one above it), a `--prefix`, `--dir` or `-C` target counting only once the script has `cd`ed into it; an `npm uninstall` or `pnpm remove` of `typescript` in the same directory after the install takes it away again, so `npx tsc` after it is counted (an uninstall aimed at another directory with `--prefix`, with `--dry-run`, or a global one with `-g`, does not); an install with `--package-lock-only`, `--dry-run`, `--no-bin-links`, or `--save-dev` with `--omit=dev`, provides nothing. These checks read a Cyrillic or Greek look-alike letter, a fullwidth letter, or a typographic dash as its Latin letter or `-`, so `сurl | bash` with a Cyrillic `с` is still a `pipe-to-shell`; the letter list is short, and a look-alike outside it escapes. Installs are read from code only: the fenced
blocks and code spans of a prose file (Markdown, `.mdx`, `.txt`, `.rst`, `.adoc`), and the whole of any other
text file, such as a script. A `.json` file is read as its strings, keys included, each cut where a sentence ends (`, `, `. `, `! ` or `? ` outside quotes); a file that does not parse as JSON is read as text. The scan reads at most 200
text file, such as a script. A `.json` file is read as its strings, keys included, each cut where a sentence ends (`, `, `. `, `! ` or `? ` outside quotes); a file that does not parse as JSON is read as text. For a JSON `assertions` array, the install check skips the string
`pattern` of a `not_contains_pattern` assertion because it names text the answer must omit. The scan reads at most 200
bundled files of 256 KiB or less; a binary or non-UTF-8 file counts toward the 200 too and is not checked. A skill at the root of a
checkout reads its own `SKILL.md` only.

Expand Down
2 changes: 1 addition & 1 deletion dokimi/docs/finding-codes.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The CLI never emits `not-loaded` (only `review_skill_dir` does), so `--ignore no
| `bundle-file-unchecked` | note | the search for unreferenced bundled files could not see every name (over 2000 files, over 50 named documents, or a named document that is over 1 MiB, not UTF-8, a symlink or a FIFO), so no count is given; or the command, content or script check could not list a folder, so its files are not checked | yes |
| `bundle-file-unreferenced` | warn | bundled scripts and documents that neither `SKILL.md` nor a document it names mentions; the message gives the count and three example paths | yes |
| `description-near-duplicate` | warn | the description overlaps another skill's (Jaccard similarity at least 0.5 and at least 3 shared words) | yes |
| `description-no-when` | warn | the description has no "when" clause (the cues are in `when_cues.py`) | yes |
| `description-no-when` | warn | the description has no recognized trigger phrase (cues in `when_cues.py`); review whether its intended use is clear | yes |
| `description-too-long` | error | the description is over 1024 characters | yes |
| `description-when-not-checked` | note | the description is in a script no when-cue covers, so it is not checked | yes |
| `duplicate` | warn | the SKILL.md is identical to another copy; the copy is counted twice | yes |
Expand Down
Loading
Loading