omp packages

@egorlem/zsh-completion1.3.0

Generate, update, and review native zsh completion files (`_command`) for CLI tools. Use when creating, fixing, or auditing a completion — reuse an existing or upstream completion, materialize the tool's own generator, or build from `--help`/man/source; v

guesswhozzz Published 4 days ago WTFPL ~513 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

zsh-completion

Generate, update, and audit native zsh completions (_command) for CLI tools.

The skill teaches an agent to pick a source (an existing completion, the tool's own generator, --help, man, or source), build the #compdef body with _arguments/_values/_describe, and verify it in three levels: syntax and lint, compinit registration and dispatch, and a real TAB through zpty.

Native zsh only — no bashcompinit, no COMP_WORDS, no interpreter calls from inside the completion.

Install

DeepSeek Harness

Open Plugins → Add plugin in the Web GUI and enter @egorlem/zsh-completion.

From the DSH CLI the same install is:

dsh plugin --profile <profile> add @egorlem/zsh-completion

dsh plugin runs pnpm inside the profile and selects the bundle; it does not install the package into the current project.

The package declares a dsh.bundle.patch, so profile startup mounts the shipped filesystem skill provider at the profile's node_modules/@egorlem scope and zsh-completion appears in the session skill catalog. No further configuration is required.

Pi agent

pi install npm:@egorlem/zsh-completion

The package ships a pi manifest (skills: ["./SKILL.md"]), so Pi registers the skill on install.

Other agents

Install the package with npm:

npm install @egorlem/zsh-completion

In every case the entry point is SKILL.md; references/ and scripts/ sit next to it.

Layout

Path Role
SKILL.md agent contract: rules, decisions, workflow, verification
cordis.patch.yml DeepSeek Harness bundle patch: registers the installed package with the filesystem skill provider
references/ templates, help parsing, zsh patterns, anti-patterns
scripts/preflight.zsh collect facts before generating
scripts/collect/ fpath, shadowing, safe help probing
scripts/verify/ lint, harness gate, real-TAB harness
scripts/self-check.zsh maintainer check on the _demo fixture
tests/fixtures/_demo fixture completion for lint and TAB checks

License

WTFPL, full text in LICENSE.