- name
SKILL.md
ไฟล์สกิลยังคงอยู่ในรีโพซิทอรีของผู้เผยแพร่
วางคำสั่งที่คัดลอกไว้ในเทอร์มินัล คำสั่งจะติดตั้ง SKILL.md นี้ลงในเอเจนต์ตัวนั้น
npx skills add athola/claude-night-market --skill night-market-operations -a cursor -yวางคำสั่งที่คัดลอกไว้ในเทอร์มินัล คำสั่งจะติดตั้ง SKILL.md นี้ลงในเอเจนต์ตัวนั้น
npx skills add athola/claude-night-market --skill night-market-operations -a claude-code -yวางคำสั่งที่คัดลอกไว้ในเทอร์มินัล คำสั่งจะติดตั้ง SKILL.md นี้ลงในเอเจนต์ตัวนั้น
npx skills add athola/claude-night-market --skill night-market-operations -a codex -yวางคำสั่งที่คัดลอกไว้ในเทอร์มินัล คำสั่งจะติดตั้ง SKILL.md นี้ลงในเอเจนต์ตัวนั้น
npx skills add athola/claude-night-market --skill night-market-operations -a grok -yส่งข้อความที่คัดลอกไว้ในแชต Grok Bot แล้ว Bot จะดึง SKILL.md นี้จาก GitHub และเพิ่มลงในสกิลที่ Bot ทุกตัวของคุณใช้ร่วมกัน
Install this skill: https://github.com/athola/claude-night-market/tree/HEAD/.claude/skills/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:
plugins/ with a
.claude-plugin/plugin.json manifest. Most have their own Makefile,
pyproject.toml, and tests/.plugins/abstract/bin/skrills. Every skrills target has
a Python fallback, so a missing binary never blocks you.clawhub/ by scripts/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.
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.
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:
pytest expecting plugin tests to run. Root
pyproject.toml sets norecursedirs = ["plugins/*", ...] because
plugin conftest.py files collide on import paths. Plugin tests run
per-plugin, always.addopts
include --cov=scripts, --cov-report=html:htmlcov, and
--cov-report=xml, so even a single-file run writes htmlcov/ and
coverage.xml into plugins/imbue/. This is expected.fail_under = 85. Per-plugin
overrides are in each plugin's [tool.nightmarket]
coverage_threshold (per-plugin values: see
night-market-validation-and-qa, the designated home for the
threshold inventory). run-plugin-tests.sh reads that value and
passes --cov-fail-under=<n> when the plugin runs via the pytest
path.The ecosystem ships as one version. .claude-plugin/marketplace.json
is the version source of truth, fanned out to every plugin manifest.
Gates and review policy are night-market-change-control territory.
This is the mechanical sequence.
Preflight. Run Skill(sanctum:git-workspace-review) for a
read-only workspace check. Confirm you are on a
<topic>-<version> branch. Do not release from master.
Bump the version everywhere. Dry-run first:
uv run python plugins/sanctum/scripts/update_versions.py 1.9.16 --dry-run
uv run python plugins/sanctum/scripts/update_versions.py 1.9.16
git diff --stat
The script rejects any version that does not match
^\d+\.\d+\.\d+$. It then rewrites the version field in every match
of these globs, and it skips cache and venv directories:
**/pyproject.toml**/Cargo.toml**/package.json**/.claude-plugin/plugin.json**/.claude-plugin/metadata.json**/.claude-plugin/marketplace.json**/openpackage.yml**/__init__.py that contains __version__Expect a large diff of roughly 100 files. That is the design.
Add the CHANGELOG entry. CHANGELOG.md follows Keep a Changelog
1.1.0 with SemVer. Keep ## [Unreleased] at the top. Insert
## [X.Y.Z] - YYYY-MM-DD directly below it. Do not rewrite or
de-slop historical entries.
Sync the docs. Update the per-plugin version column in
docs/api-overview.md. Then run:
make docs-sync-check
The check compares plugin.json registrations against the generated
capabilities reference in book/src/reference/. If it reports
drift, run /sanctum:sync-capabilities --fix.
Open the PR and clear the gates. Follow night-market-change-control. The gates are the pre-commit hooks, the slop check on docs, capabilities-sync, typecheck, and the security workflows.
Merge to master.
trust-attestation.yml fires on the push. It runs make test. It
writes trust-report.json. It attaches a SLSA provenance
attestation with actions/attest-build-provenance@v4.
Tag the release. Run /sanctum:create-tag v1.9.16. The command
pushes a v-prefixed annotated tag. It then confirms that the release
pipeline started.
Release checklist:
make test, make lint, make typecheck all pass locallyupdate_versions.py diff reviewed and marketplace.json shows the
new version[Unreleased] still on topmake docs-sync-check cleanThe mdBook under book/ deploys via deploy-book.yml:
book/** or the workflow
file itself, plus PRs on the same paths (build-only) and manual
dispatch.peaceiris/actions-mdbook@v2 with mdbook-version: 'latest',
then mdbook build with working-directory book. Output
book/build uploads via actions/upload-pages-artifact@v5 and
deploys with actions/deploy-pages@v5, with one retry step if the
first deploy fails.Local preview, if mdbook is installed:
cd book && mdbook build # output in book/build/
make clawhub-export # export all skills to clawhub/, then validate
make clawhub-export-top # top 20 most marketable skills only
make clawhub-validate # re-validate an existing export
make clawhub-stats # export statistics, no writes
make bridge-build # (depends on clawhub-export) build bridge/openclaw/
make a2a-cards # generate A2A agent cards into bridge/a2a/
make a2a-list # list agents eligible for card generation
make detect-framework # detect the active agentic framework
make cross-framework # all of the above: export + bridge + cards
make cross-framework is exactly what the release pipeline runs, so
running it locally before tagging catches export failures early. It
prints skill and agent counts and ends with framework detection.
make validate-all and
make plugin-check, output was scanned for embedded failure
notes.update_versions.py diff verified, CHANGELOG
section added, make docs-sync-check clean, tag pushed, and the
GitHub release shows all four tarball assets.Compiled 2026-07-02 against repo v1.9.15, branch discussions-fix-1.9.14. Coverage-threshold inventory delegated to night-market-validation-and-qa and the egregore stop cross-reference added on 2026-07-03. Volatile facts and how to re-verify them:
# Make target wiring
sed -n '60,150p' Makefile && sed -n '150,300p' Makefile
# Test runner behavior (delegation, coverage threshold, skip logic)
sed -n '1,110p' scripts/run-plugin-tests.sh
# Version bump globs and semver regex
rg -n "patterns|re.match" plugins/sanctum/scripts/update_versions.py
# Release pipeline gates
rg -n "tags|total_exported|tar -czf" \
.github/workflows/cross-framework-publish.yml
# Attestation flow
rg -n "make test|attest|trust-report" \
.github/workflows/trust-attestation.yml
# Book deploy and mdbook pin
rg -n "mdbook-version|deploy-pages|working-directory" \
.github/workflows/deploy-book.yml
# Current export count (was 188 on 2026-07-02)
python3 -c "import json; \
print(json.load(open('clawhub/manifest.json'))['total_exported'])"
# Coverage thresholds
rg -n "coverage_threshold" plugins/*/pyproject.toml
rg -n "fail_under" pyproject.toml
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.
---name: night-market-operationsdescription: Run and ship this repo: make targets, artifacts, release runbook. Use when testing, linting, or releasing. Do…---# .claude/skills/night-market-operations/SKILL.mdFAQ
ดาวน์โหลด .claude/skills/night-market-operations/SKILL.md จากผู้เผยแพร่ หรือคัดลอกพาธแล้วเปิดรีโพซิทอรี PlugMCP แสดงรายการสกิลเท่านั้น ไม่ได้โฮสต์ไฟล์
ผู้เผยแพร่เก็บไว้ที่ https://github.com/athola/claude-night-market
Claude, Cursor, Codex และ Grok Build อ่าน SKILL.md ที่คุณเพิ่มจากรีโพซิทอรีของผู้เผยแพร่ได้ ส่วน Grok Bot จะติดตั้งให้เมื่อคุณส่งลิงก์โฟลเดอร์ GitHub ของสกิลในแชต
Let the release pipeline run.
cross-framework-publish.yml fires on v* tags. It strips the v
and validates the version against ^[0-9]+\.[0-9]+\.[0-9]+. It runs
the cross-framework unit tests: clawhub_export, build_bridge,
a2a_cards, and framework_detect. It runs make cross-framework. It
packages four tarballs:
night-market-clawhubnight-market-openclaw-bridgenight-market-a2a-cardsnight-market-cross-frameworkIt then creates the GitHub release.
One precondition applies. The publish job fails when
clawhub/manifest.json does not exist. It also fails when
total_exported is 0. The current count is 188.
ClawHub submission after the release stays manual. Run
./scripts/clawhub-submit.sh v<version>.