night-market-operations
Run and ship this repo: make targets, artifacts, release runbook. Use when testing, linting, or releasing. Do not use for setup; use night-market-build-and-env.
от athola★ 358 звёзд на GitHub
Установить night-market-operations в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Night Market Operations
This skill is the runbook for operating the claude-night-market repo: what each make target actually executes, where artifacts land, and the exact sequence that ships a release. Every command below was verified against the Makefile, scripts/, and .github/workflows/ on 2026-07-02 (repo v1.9.15).
Terms used once and reused throughout:
- Plugin: a directory under
plugins/with a.claude-plugin/plugin.jsonmanifest. Most have their own Makefile, pyproject.toml, and tests/. - skrills: a Rust CLI for skill validation and token analysis,
vendored at
plugins/abstract/bin/skrills. Every skrills target has a Python fallback, so a missing binary never blocks you. - ClawHub export: a cross-framework skill package format written to
clawhub/byscripts/clawhub_export.py.
All commands run from the repo root unless a cd is shown. uv is
required for everything Python. For environment setup, see
night-market-build-and-env.
Command anatomy
| Command | What it actually executes | When to use | Expected output shape |
|---|---|---|---|
make test |
./scripts/run-plugin-tests.sh --all: per plugin, runs make test --quiet if the plugin Makefile has a test: target, else uv run python -m pytest tests/ --tb=short --quiet if pyproject mentions pytest. Skips plugins without tests/. |
Full sweep before a PR or release. | Per-plugin pass/fail/skip lines. Failures re-run verbose. |
make lint |
uv run ruff format plugins/, then uv run ruff check --fix plugins/, then ruff format again, then uv run bandit --quiet -c pyproject.toml -r plugins/. All use root pyproject.toml config. |
Before every commit. Mutates files (auto-fix). | Four staged sections ending "Lint Complete". |
make typecheck |
./scripts/run-plugin-typecheck.sh --all: per-plugin uv run mypy under each plugin's own strict config, plus a separate uv run mypy hooks/ pass when hooks/*.py exists. |
After type-touching changes and before release. | Per-plugin pass/fail. Hooks checked as a sub-step. |
make validate-all |
python3 plugins/abstract/scripts/validate_plugin.py <plugin> for every plugin. Failures print "(validation failed)" but do NOT stop the loop or fail the target. |
Structure audit after manifest edits. | One validation block per plugin. Read output, not exit code. |
make plugin-check |
For each plugin whose Makefile has a plugin-check: target: timeout 180 make -C plugins/<p> plugin-check. Failures and timeouts print a note, exit code stays 0. |
Dogfood/demo sweep before release. | Per-plugin sections. Watch for "(plugin-check failed or timed out)". |
make docs-sync-check |
bash scripts/capabilities-sync-check.sh |
PR touches plugin manifests or skills (mirrors capabilities-sync.yml CI). | Drift list or clean pass. Fix drift with /sanctum:sync-capabilities --fix. |
make supply-chain-scan |
python3 scripts/supply_chain_scan.py |
After dependency or lockfile changes. | Scan report between banner lines. |
make validate-skills |
skrills validate --skill-dir plugins --target claude (plugin bin, then PATH). Falls back to uv run python scripts/check_plugin_hooks.py. |
Skill frontmatter/structure check. | skrills report, or the Python fallback notice plus its output. |
make analyze-skills |
skrills analyze --skill-dir plugins. Falls back to uv run python scripts/generate_dependency_map.py. |
Skill token-budget and dependency analysis. | Token/dependency stats. |
make status |
make -C <plugin> status for every plugin. |
Quick overview. | Per-plugin status or "(status unavailable)". |
make clean |
make -C <plugin> clean for every plugin, errors ignored. |
Reset build artifacts. | "Done." |
Two targets have soft failure modes worth repeating: make validate-all
and make plugin-check keep going past failures and can exit 0 while a
plugin is broken. Read their output. Do not treat a green exit as proof.
Scoping runs: one plugin, one file
The root Makefile auto-generates delegation targets for every plugin
that has a Makefile. make <plugin>-<target> is identical to
make -C plugins/<plugin> <target>:
make sanctum-test # run sanctum's test suite
make imbue-lint # run imbue's lint target
make abstract-help # list a plugin's own targets
Run a single test file from inside the plugin directory:
cd plugins/imbue && uv run pytest tests/unit/test_deferred_capture.py -x -q
Rules that save you an hour:
- Never run root
pytestexpecting plugin tests to run. Root pyproject.toml setsnorecursedirs = ["plugins/*", ...]because plugin conftest.py files collide on import paths. Plugin tests run per-plugin, always. - Some plugins force coverage on every run. imbue's pytest
addoptsinclude--cov=scripts,--cov-report=html:htmlcov, and--cov-report=xml, so even a single-file run writeshtmlcov/and
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл night-market-operations?
Run and ship this repo: make targets, artifacts, release runbook. Use when testing, linting, or releasing. Do not use for setup; use night-market-build-and-env.
Как установить скилл night-market-operations?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл night-market-operations запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…