Subagents, slash commands, skill scaffolder, and discoverability pass (#28)
Growth-focused additions drawn from studying alirezarezvani/claude-skills — broaden content types beyond skills, lower contribution friction, and improve discoverability. Breadth (content types): - agents/ — 4 Claude Code subagents (pm-partner, sprint-master, cs-guardian, launch-captain) that delegate to the strongest skills and run their helper scripts to compute results. - commands/ — 6 slash commands (/prd, /rice, /sprint-plan, /health-scorecard, /retro, /exec-summary). - install.sh --agent claude now installs skills + agents + commands into ~/.claude/. Contribution UX: - scripts/new-skill.mjs (npm run new-skill) scaffolds a SKILL.md that already passes SkillCheck. - package.json exposes npm run entry points (new-skill, skillcheck, build:exports, build:web, check). Discoverability: - Keyword-rich README H1 (Agent Skills for Claude, ChatGPT, Gemini, Cursor, Codex & Hermes), subagent/command count badges, a Subagents & Slash Commands section, and a Star History chart. Contributing now points at the scaffolder. CHANGELOG updated. SkillCheck, exports, and web index all verified in sync. Claude-Session: https://claude.ai/code/session_016JWn5jRD5tcEFKrubjQ6Px Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -100,6 +100,24 @@ else
|
||||
place "${skill%/}" "$TARGET/$name"
|
||||
count=$((count + 1))
|
||||
done
|
||||
|
||||
# Claude Code also gets subagents and slash commands (siblings of skills/).
|
||||
if [ "$AGENT" = "claude" ]; then
|
||||
claude_root="$(dirname "$TARGET")" # ~/.claude
|
||||
for kind in agents commands; do
|
||||
src="$REPO_DIR/$kind"
|
||||
[ -d "$src" ] || continue
|
||||
dest="$claude_root/$kind"
|
||||
[ "$DRYRUN" = 1 ] || mkdir -p "$dest"
|
||||
for f in "$src"/*.md; do
|
||||
base="$(basename "$f")"
|
||||
[ "$base" = "README.md" ] && continue
|
||||
if [ "$DRYRUN" = 1 ]; then echo " would install $kind/$base -> $dest/$base";
|
||||
else cp "$f" "$dest/$base"; fi
|
||||
count=$((count + 1))
|
||||
done
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user