036511ab3e
Broadens both reach (more tools) and content types (an MCP server), continuing the multi-platform story. Windsurf + Aider: - build-exports.mjs gains two platforms: exports/windsurf/*.md (workspace rules, trigger: model_decision) and exports/aider/*.md (conventions for `aider --read`). Now 5 platforms (ChatGPT, Gemini, Cursor, Windsurf, Aider). - install.sh + bin/cli.mjs install both (windsurf -> .windsurf/rules, aider -> .aider/skills with a --read hint); generated README index is excluded from copies. - One-line windsurf-install.sh / aider-install.sh wrappers for parity. MCP server (new content type): - mcp/server.mjs — zero-dependency stdio MCP server exposing list_skills, search_skills, get_skill. Published as a second bin (pm-claude-skills-mcp). Logs to stderr; reads bundled skills/ at startup. mcp/README.md documents client config. Also: README hero "See it in action" demo placement (ready to swap in a GIF; recording guide in web/docs-assets/README.md), Works-With table + exports + install docs updated, CHANGELOG Unreleased. package.json files/bin updated. Claude-Session: https://claude.ai/code/session_016JWn5jRD5tcEFKrubjQ6Px Co-authored-by: Claude <noreply@anthropic.com>
18 lines
802 B
Bash
Executable File
18 lines
802 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# One-line installer for Aider. Clones the library (or updates an existing
|
|
# clone) and installs all skills where Aider can discover them.
|
|
#
|
|
# bash <(curl -fsSL https://raw.githubusercontent.com/mohitagw15856/pm-claude-skills/main/scripts/aider-install.sh)
|
|
#
|
|
# Cross-platform alternative (incl. Windows): npx pm-claude-skills add --agent aider
|
|
set -euo pipefail
|
|
AGENT="aider"
|
|
REPO_URL="https://github.com/mohitagw15856/pm-claude-skills.git"
|
|
DEST="${PM_SKILLS_DIR:-$HOME/.pm-claude-skills}"
|
|
if [ -d "$DEST/.git" ]; then
|
|
echo "Updating existing clone at $DEST"; git -C "$DEST" pull --ff-only --quiet || echo "(using existing checkout)"
|
|
else
|
|
echo "Cloning library into $DEST"; git clone --depth 1 "$REPO_URL" "$DEST"
|
|
fi
|
|
exec bash "$DEST/scripts/install.sh" --agent "$AGENT" "$@"
|