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 <noreply@anthropic.com>
This commit is contained in:
@@ -17,6 +17,8 @@
|
|||||||
[](LICENSE)
|
[](LICENSE)
|
||||||
[](https://github.com/sponsors/mohitagw15856)
|
[](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.**
|
> **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.
|
> 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.
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ import { homedir } from 'node:os';
|
|||||||
import { createRequire } from 'node:module';
|
import { createRequire } from 'node:module';
|
||||||
|
|
||||||
const PKG_ROOT = dirname(dirname(fileURLToPath(import.meta.url)));
|
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 = (() => {
|
const VERSION = (() => {
|
||||||
try { return createRequire(import.meta.url)('../package.json').version; } catch { return '0.0.0'; }
|
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, '<skill>.md')}`,
|
aider: `Load any of them with: aider --read ${join(target, '<skill>.md')}`,
|
||||||
}[agent] || `Restart ${agent} — it auto-discovers SKILL.md skills in ${target} by their description.`;
|
}[agent] || `Restart ${agent} — it auto-discovers SKILL.md skills in ${target} by their description.`;
|
||||||
console.log(note);
|
console.log(note);
|
||||||
|
console.log(`\n${STAR}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -155,6 +157,8 @@ Examples:
|
|||||||
npx pm-claude-skills add --agent codex --link
|
npx pm-claude-skills add --agent codex --link
|
||||||
|
|
||||||
npx pm-claude-skills generate --from <url|file> # turn your docs into a SKILL.md (needs ANTHROPIC_API_KEY)
|
npx pm-claude-skills generate --from <url|file> # turn your docs into a SKILL.md (needs ANTHROPIC_API_KEY)
|
||||||
|
|
||||||
|
${STAR}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const opts = parse(process.argv.slice(2));
|
const opts = parse(process.argv.slice(2));
|
||||||
|
|||||||
@@ -29,6 +29,10 @@
|
|||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/mohitagw15856/pm-claude-skills/issues"
|
"url": "https://github.com/mohitagw15856/pm-claude-skills/issues"
|
||||||
},
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/mohitagw15856/pm-claude-skills"
|
||||||
|
},
|
||||||
"author": "Mohit Aggarwal",
|
"author": "Mohit Aggarwal",
|
||||||
"bin": {
|
"bin": {
|
||||||
"pm-claude-skills": "bin/cli.mjs",
|
"pm-claude-skills": "bin/cli.mjs",
|
||||||
|
|||||||
Reference in New Issue
Block a user