From compound-engineering
Builds and updates the static HTML documentation site by inventorying plugin agents, commands, skills, and MCP servers. Supports optional --dry-run preview.
npx claudepluginhub gvkhosla/compound-engineering-pi --plugin compound-engineering[optional: --dry-run to preview changes without writing]# Release Documentation Command You are a documentation generator for the compound-engineering plugin. Your job is to ensure the documentation site at `plugins/compound-engineering/docs/` is always up-to-date with the actual plugin components. ## Overview The documentation site is a static HTML/CSS/JS site based on the Evil Martians LaunchKit template. It needs to be regenerated whenever: - Agents are added, removed, or modified - Commands are added, removed, or modified - Skills are added, removed, or modified - MCP servers are added, removed, or modified ## Step 1: Inventory Current ...
/update-readmeRegenerates Plugins section of README.md from .claude-plugin/marketplace.json and plugin directories, scanning for skills, commands, agents, hooks, MCP, and updating details blocks with installation tables and ZIP badges.
/load-docsLoad plugin documentation on-demand with intelligent link extraction and parallel WebFetch for any plugin in the marketplace
/update-docsSyncs documentation with codebase by generating script references, env var docs, API refs from package.json, .env.example, OpenAPI specs; updates CONTRIBUTING.md, RUNBOOK.md; flags stale docs.
/docs-updateSyncs documentation across README files and wiki articles by locating wiki repo, analyzing main repo changes, interactively confirming updates, and committing to both.
/init-syncScans the codebase and populates or updates CLAUDE.md and AGENTS.md files with actual project data and metadata.
/update-docsSyncs documentation with the codebase by generating reference tables from source-of-truth files like package.json, .env.example, and OpenAPI specs.
Share bugs, ideas, or general feedback.
You are a documentation generator for the compound-engineering plugin. Your job is to ensure the documentation site at plugins/compound-engineering/docs/ is always up-to-date with the actual plugin components.
The documentation site is a static HTML/CSS/JS site based on the Evil Martians LaunchKit template. It needs to be regenerated whenever:
First, count and list all current components:
# Count agents
ls plugins/compound-engineering/agents/*.md | wc -l
# Count commands
ls plugins/compound-engineering/commands/*.md | wc -l
# Count skills
ls -d plugins/compound-engineering/skills/*/ 2>/dev/null | wc -l
# Count MCP servers
ls -d plugins/compound-engineering/mcp-servers/*/ 2>/dev/null | wc -l
Read all component files to get their metadata:
For each agent file in plugins/compound-engineering/agents/*.md:
For each command file in plugins/compound-engineering/commands/*.md:
For each skill directory in plugins/compound-engineering/skills/*/:
For each MCP server in plugins/compound-engineering/mcp-servers/*/:
docs/index.htmlUpdate the stats section with accurate counts:
<div class="stats-grid">
<div class="stat-card">
<span class="stat-number">[AGENT_COUNT]</span>
<span class="stat-label">Specialized Agents</span>
</div>
<!-- Update all stat cards -->
</div>
Ensure the component summary sections list key components accurately.
docs/pages/agents.htmlRegenerate the complete agents reference page:
claude agent [agent-name] "your message"docs/pages/commands.htmlRegenerate the complete commands reference page:
docs/pages/skills.htmlRegenerate the complete skills reference page:
claude skill [skill-name]docs/pages/mcp-servers.htmlRegenerate the MCP servers reference page:
Ensure counts are consistent across:
plugins/compound-engineering/.claude-plugin/plugin.json
description with correct countscomponents object with countsagents, commands arrays with current items.claude-plugin/marketplace.json
description with correct countsplugins/compound-engineering/README.md
Run validation checks:
# Validate JSON files
cat .claude-plugin/marketplace.json | jq .
cat plugins/compound-engineering/.claude-plugin/plugin.json | jq .
# Verify counts match
echo "Agents in files: $(ls plugins/compound-engineering/agents/*.md | wc -l)"
grep -o "[0-9]* specialized agents" plugins/compound-engineering/docs/index.html
echo "Commands in files: $(ls plugins/compound-engineering/commands/*.md | wc -l)"
grep -o "[0-9]* slash commands" plugins/compound-engineering/docs/index.html
Provide a summary of what was updated:
## Documentation Release Summary
### Component Counts
- Agents: X (previously Y)
- Commands: X (previously Y)
- Skills: X (previously Y)
- MCP Servers: X (previously Y)
### Files Updated
- docs/index.html - Updated stats and component summaries
- docs/pages/agents.html - Regenerated with X agents
- docs/pages/commands.html - Regenerated with X commands
- docs/pages/skills.html - Regenerated with X skills
- docs/pages/mcp-servers.html - Regenerated with X servers
- plugin.json - Updated counts and component lists
- marketplace.json - Updated description
- README.md - Updated component lists
### New Components Added
- [List any new agents/commands/skills]
### Components Removed
- [List any removed agents/commands/skills]
If --dry-run is specified:
After successful release:
docs: Update documentation site to match plugin components# Full documentation release
claude /release-docs
# Preview changes without writing
claude /release-docs --dry-run
# After adding new agents
claude /release-docs