From 511bad19b06b4e920806744556bff611acdce7e6 Mon Sep 17 00:00:00 2001 From: mohitagw15856 <119053560+mohitagw15856@users.noreply.github.com> Date: Thu, 18 Jun 2026 19:03:41 +0100 Subject: [PATCH] feat: nudge npm users to star the repo (CLI + README + funding) (#49) - CLI prints a star CTA after a successful install and in --help - README adds a prominent star line below the badges (npm renders this) - package.json gains a funding field so npm shows a Fund/Star link Claude-Session: https://claude.ai/code/session_016JWn5jRD5tcEFKrubjQ6Px Co-authored-by: Claude --- README.md | 2 ++ bin/cli.mjs | 4 ++++ package.json | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/README.md b/README.md index 205ebac..2099be3 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ [![License](https://img.shields.io/badge/license-MIT-lightgrey)](LICENSE) [![Sponsor](https://img.shields.io/badge/sponsor-❤️-ff69b4)](https://github.com/sponsors/mohitagw15856) +### ⭐ If this saves you time, [star the repo](https://github.com/mohitagw15856/pm-claude-skills) — it's the #1 way to help others find it. + > **PM stands for Professional, not just Product Management.** > 167 professional skills + 4 agent templates across 26 bundles covering 18 professions. Built for Claude Code — and now portable to ChatGPT, Gemini, and Hermes Agent. Built by a PM, used by everyone. diff --git a/bin/cli.mjs b/bin/cli.mjs index 7c304e7..3a95d21 100755 --- a/bin/cli.mjs +++ b/bin/cli.mjs @@ -19,6 +19,7 @@ import { homedir } from 'node:os'; import { createRequire } from 'node:module'; const PKG_ROOT = dirname(dirname(fileURLToPath(import.meta.url))); +const STAR = '⭐ Find this useful? Star the repo: https://github.com/mohitagw15856/pm-claude-skills'; const VERSION = (() => { try { return createRequire(import.meta.url)('../package.json').version; } catch { return '0.0.0'; } })(); @@ -128,6 +129,7 @@ function add(opts) { aider: `Load any of them with: aider --read ${join(target, '.md')}`, }[agent] || `Restart ${agent} — it auto-discovers SKILL.md skills in ${target} by their description.`; console.log(note); + console.log(`\n${STAR}`); } } @@ -155,6 +157,8 @@ Examples: npx pm-claude-skills add --agent codex --link npx pm-claude-skills generate --from # turn your docs into a SKILL.md (needs ANTHROPIC_API_KEY) + +${STAR} `; const opts = parse(process.argv.slice(2)); diff --git a/package.json b/package.json index 216edc5..cd0ad14 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,10 @@ "bugs": { "url": "https://github.com/mohitagw15856/pm-claude-skills/issues" }, + "funding": { + "type": "github", + "url": "https://github.com/mohitagw15856/pm-claude-skills" + }, "author": "Mohit Aggarwal", "bin": { "pm-claude-skills": "bin/cli.mjs",