npm-release
Skill4 starsChanged 5 months agoMITView on GitHub
Publish the @yya007/skill-finder npm package. Guides through login check, OSS precheck (secrets scan + README accuracy), dry-run preview, local smoke test, version bump (patch/minor/major), npm publish, and git tag.
- Reads credentials
- Deletes or force-pushes
- Installs packages
- Commits and pushes
3 other projects use a version of this.
Adopted by
Most recently taken up by
- jscraik/Agent-Skillstheir own version, first seen Sep 27, 2026
- relvo-labs/agent-runtimetheir own version, first seen Sep 27, 2026
- luochang212/skill-zootheir own version, first seen May 2, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- luochang212/skill-zoo★ 115same name
- jscraik/Agent-Skills★ 9same name
- relvo-labs/agent-runtime★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- skill-finderSkill
- crawl-sourcesSkill
- update-indexSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 8 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
When this skill triggers, follow these steps in order.
- Very specific: line 32
If the command fails or returns a user other than yya007, stop and tell the user:
- Distinctive: line 49
Run this before touching the package to catch anything that shouldn't ship.
- Distinctive: line 51
3a — Secrets scan: search all tracked files for credentials.
- Very specific: line 61
If any real secrets are found (not placeholders like ghp_your_token_here or fake-token), stop immediately and tell the user.
- Very specific: line 73
Check that the skill count in the README matches data/version.txt:
- Distinctive: line 100
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 …
- Distinctive: line 102
If outdated filter rules are detected, fix README's "What gets indexed" section before proceeding.
- Very specific: line 119
If unexpected files appear, stop and ask the user to review .npmignore and the files list in package.json.
- Distinctive: line 139
Verify the installed file tree is correct:
- Very specific: line 147
All five scripts/*.py files exist.
- Distinctive: line 157
Run a live search from the installed package location to confirm index loads and results are returned:
- Very specific: line 179
Use the bump type from Step 2.
- Distinctive: line 232
If the user found it helpful, remind them:
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
npm-release
Publish @yya007/skill-finder to npmjs.com with a guided release workflow.
Agent Instructions
When this skill triggers, follow these steps in order. Stop and report any failure immediately.
Step 1 — Verify npm login
npm whoamiIf the command fails or returns a user other than yya007, stop and tell the user:
"Not logged in to npm. Run
npm loginfirst."
Step 2 — Show current version
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.
Step 3 — OSS precheck
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/nullgit ls-files | xargs grep -rn "password\s*=\s*['\"][^'\"]\|api_key\s*=\s*['\"][^'\"]\|secret\s*=\s*['\"][^'\"]" 2>/dev/nullIf 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.
Step 4 — Dry run (always run before publishing)
npm publish --dry-run 2>&1Show the user the list of files that would be included. Confirm:
scripts/search.py,scripts/requirements.txt,scripts/__init__.pyare present.scripts/fetch_skill.pyandscripts/update_index.pyare not present (developer-only tools, excluded from the npm package — available in the git repo).data/index.faiss,data/metadata.jsonl,data/version.txtare present.SKILL.mdandplugin.jsonare present.- No
crawlers/,pipeline/,tests/,docs/,__pycache__/, or.shfiles appear.
If unexpected files appear, stop and ask the user to review .npmignore and the files list in package.json.
Step 5 — Local smoke test
Pack the tarball and install it into a temporary directory to verify the package works end-to-end before publishing.
npm packmkdir -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 | sortConfirm:
data/index.faiss,data/metadata.jsonl,data/version.txtexist.- All five
scripts/*.pyfiles exist. SKILL.mdandplugin.jsonexist.- No
__pycache__or.shfiles appear.
Install Python dependencies from the installed package:
pip install -r /tmp/sf-release-test/node_modules/@yya007/skill-finder/scripts/requirements.txt -qRun 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 -20The 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-*.tgzStep 6 — Bump version
npm version <patch|minor|major> --no-git-tag-versionUse the bump type from Step 2. Report the new version (e.g. 0.1.0 → 0.1.1).
Step 7 — Publish
npm publish --access publicnpm 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@
<new-version>to npmjs.com" "View: https://www.npmjs.com/package/@yya007/skill-finder"
Step 8 — Stamp the npm version on the release log, then commit and tag
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 --tagsStep 9 — Report
Summarise:
- Package name and new version
- Files published
- npm URL
- Git tag (if pushed)
If the user found it helpful, remind them:
"If SkillFinder was useful, consider starring the repo: https://github.com/yya007/SkillFinder"
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

