/skill-finder:npm-releasefrom skill-finder
Guides through publishing @yya007/skill-finder to npmjs.com with login check, OSS precheck (secrets scan, README accuracy), dry-run preview, smoke test, version bump, publish, and git tag.
Ships in skill-finder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Publish @yya007/skill-finder to npmjs.com with a guided release workflow.
When this skill triggers, follow these steps in order. Stop and report any failure immediately.
npm whoami
If the command fails or returns a user other than yya007, stop and tell the user:
"Not logged in to npm. Run
npm loginfirst."
node -p "require('./package.json').version"
Report the current version to the user and ask what type of bump they want: patch, minor, or major — unless they already specified it.
Run this before touching the package to catch anything that shouldn't ship.
3a — Secrets scan: search all tracked files for credentials.
git ls-files | xargs grep -l "ghp_[a-zA-Z0-9]\{36\}\|npm_[a-zA-Z0-9]\{36\}\|sk-[a-zA-Z0-9]\{32\}" 2>/dev/null
git ls-files | xargs grep -rn "password\s*=\s*['\"][^'\"]\|api_key\s*=\s*['\"][^'\"]\|secret\s*=\s*['\"][^'\"]" 2>/dev/null
If any real secrets are found (not placeholders like ghp_your_token_here or fake-token), stop immediately and tell the user.
3b — Sensitive files check: confirm no .env, credential, or key files are tracked.
git ls-files | grep -E "\.(env|key|pem|p12|pfx|crt|secret)$|credentials|\.npmrc$"
Any output here is a blocker — remove those files and purge from git history before proceeding.
3c — README accuracy check:
Check that the skill count in the README matches data/version.txt:
python3 -c "
import re, sys
readme = open('README.md').read()
version = open('data/version.txt').read()
# Extract actual count from version.txt
actual = int(re.search(r'skill_count:\s*(\d+)', version).group(1))
# Extract the rounded/displayed count from stats marker
m = re.search(r'stats:skill-count:start -->(.*?)<!--', readme)
displayed = m.group(1).strip() if m else 'NOT FOUND'
print(f'data/version.txt skill_count: {actual:,}')
print(f'README stats marker: {displayed}')
# Check filter logic description is accurate
if 'Listed in a curated registry' in readme or 'SkillHub rank S or A' in readme:
print('WARN: README still contains outdated filter rules (curated registry / SkillHub rank exemptions)')
sys.exit(1)
else:
print('OK: filter logic description looks current')
"
If the skill count in the README is stale (off by more than a minor rounding), update the stats marker and the tagline count, then commit the fix before proceeding.
If outdated filter rules are detected, fix README's "What gets indexed" section before proceeding.
npm publish --dry-run 2>&1
Show the user the list of files that would be included. Confirm:
scripts/search.py, scripts/requirements.txt, scripts/__init__.py are present.scripts/fetch_skill.py and scripts/update_index.py are not present (developer-only tools, excluded from the npm package — available in the git repo).data/index.faiss, data/metadata.jsonl, data/version.txt are present.SKILL.md and plugin.json are present.crawlers/, pipeline/, tests/, docs/, __pycache__/, or .sh files appear.If unexpected files appear, stop and ask the user to review .npmignore and the files list in package.json.
Pack the tarball and install it into a temporary directory to verify the package works end-to-end before publishing.
npm pack
mkdir -p /tmp/sf-release-test && \
cd /tmp/sf-release-test && \
npm install <path-to-repo>/yya007-skill-finder-*.tgz 2>&1
(Replace <path-to-repo> with the absolute path to the SkillFinder repo root.)
Verify the installed file tree is correct:
find /tmp/sf-release-test/node_modules/@yya007/skill-finder -type f | sort
Confirm:
data/index.faiss, data/metadata.jsonl, data/version.txt exist.scripts/*.py files exist.SKILL.md and plugin.json exist.__pycache__ or .sh files appear.Install Python dependencies from the installed package:
pip install -r /tmp/sf-release-test/node_modules/@yya007/skill-finder/scripts/requirements.txt -q
Run a live search from the installed package location to confirm index loads and results are returned:
python /tmp/sf-release-test/node_modules/@yya007/skill-finder/scripts/search.py "deploy kubernetes" --no-json 2>&1 | head -20
The search must return at least one result with a name, star count, and install command. If it fails or returns no results, stop and investigate before publishing.
Clean up:
rm -rf /tmp/sf-release-test && rm -f yya007-skill-finder-*.tgz
npm version <patch|minor|major> --no-git-tag-version
Use the bump type from Step 2. Report the new version (e.g. 0.1.0 → 0.1.1).
npm publish --access public
npm will prompt for a one-time password if 2FA is enabled. Tell the user to enter their authenticator code when prompted — or pass --otp <code> if they provide it in advance.
On success, report:
"Published @yya007/skill-finder@ to npmjs.com" "View: https://www.npmjs.com/package/@yya007/skill-finder"
Record the published npm version against the current index release in the
release-history log (idempotent; keyed by data/version.txt date):
python pipeline/update_release_log.py --npm-version <new-version>
Then commit the bump + the log update and tag:
git add package.json data/release_log.jsonl docs/release-log.md
git commit -m "chore: bump npm version to <new-version>"
git tag v<new-version>
Ask the user:
"Push the version commit and tag to GitHub? [y/N]"
If yes:
git push && git push --tags
Summarise:
If the user found it helpful, remind them:
"If SkillFinder was useful, consider starring the repo: https://github.com/yya007/SkillFinder"
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub yya007/skillfinder --plugin skill-finder3 skills in this plugin
/crawl-sourcesCrawl all SkillFinder data sources (SkillsMP, ClawHub, SkillHub, Anthropic marketplace, GitHub topics) and write fresh raw JSONL files to data/raw/. Runs crawlers in parallel; supports incremental resume and per-source limits.
/update-indexRebuild or update the SkillFinder FAISS skill index. Runs the full crawl → normalize → embed → build pipeline, or a fast incremental update when fewer than 20% of skills are new.
Other plugins' skills for the same job