Ship a docs-publisher plugin with portable, project-agnostic skills that let any developer using the agentics marketplace publish their own plan galleries and social media card libraries to GitHub Pages — replicating the same docs/ , build-index.sh , deploy-pages.yml , and serve-docs.sh workflow this project uses, but as installable marketplace skills that adapt to any repo.
Read and implement all steps in the plan at docs/plans/create-docs-publishing-skills.md — Create Docs Publishing Skills for Plugin Users. Verify against the plan's Tests, Verification, and Acceptance Criteria before reporting done. If everything passed, mark completion in docs/plans/create-docs-publishing-skills.md — tick each step's [x] marker and each criterion's - [x], set status: completed — and re-render the HTML from the spec. If any check failed, leave status: in-progress and say which.
More ways to run this plan — goal & workflow prompts, file path
Achieve this goal: Create Docs Publishing Skills for Plugin Users. The plan at docs/plans/create-docs-publishing-skills.md describes one approach — use it as reference, but optimize for the outcome. Fan out across parallel subagents where that serves the outcome. Verify against the plan's Tests, Verification, and Acceptance Criteria before reporting done. If everything passed, mark completion in docs/plans/create-docs-publishing-skills.md — tick each step's [x] marker and each criterion's - [x], set status: completed — and re-render the HTML from the spec. If any check failed, leave status: in-progress and say which.
Run a workflow to implement the plan at docs/plans/create-docs-publishing-skills.md — Create Docs Publishing Skills for Plugin Users. Brief subagents with the plan file at docs/plans/create-docs-publishing-skills.md. Reserve a final verification phase for the lead agent, not a subagent. Verify against the plan's Tests, Verification, and Acceptance Criteria before reporting done. If everything passed, mark completion in docs/plans/create-docs-publishing-skills.md — tick each step's [x] marker and each criterion's - [x], set status: completed — and re-render the HTML from the spec. If any check failed, leave status: in-progress and say which.
create-docs-publishing-skills.html
docs/plans/create-docs-publishing-skills.html
docs/plans/create-docs-publishing-skills.md
Context
The story behind this plan — what prompted the work and why it matters now.
The agentics project publishes two browsable galleries to GitHub Pages: a Plans gallery (filterable index of all HTML implementation plans) and a Social cards library (dark-mode card images generated from code changes). These are built by docs/plans/build-index.sh , social-media-tools templates, a PostToolUse auto-rebuild hook, a local preview server ( scripts/serve-docs.sh ), and a GitHub Actions deploy workflow ( .github/workflows/deploy-pages.yml ).
Developers who install the agentics plugins ( plan-agent , social-media-tools ) in their own projects get the plan-writing and social-card-generation skills but have no turnkey way to publish those artifacts to GitHub Pages . They would need to manually replicate the docs infrastructure: scaffold the directory, copy templates, create the workflow, and wire up the build scripts. This plan creates a dedicated docs-publisher plugin that packages the entire pipeline as installable skills.
Key decisions (resolved): The plugin is standalone with no peer dependencies on plan-agent or social-media-tools — it detects which content exists and gracefully skips empty galleries. Build scripts are copied into the user's project by docs-init so they are version-controlled, editable, and survive plugin uninstall.
Files that change
Every file this plan touches, and what happens to each one.
kit/plugins/docs-publisher/.claude-plugin/plugin.jsonnew plugin manifest- kit/plugins/docs-publisher/commands/
docs-init.mdnew one-shot project scaffolding commanddocs-publish.mdnew build + commit + push orchestration
docs-build/SKILL.mdnew gallery index regeneration skilldocs-serve/SKILL.mdnew local HTTP preview serverkit/plugins/docs-publisher/hooks/auto-rebuild-gallery.pynew PostToolUse hook for auto gallery rebuild- kit/plugins/docs-publisher/templates/
landing-hub.htmlnew docs/ root index with card gridplans-gallery.htmlnew filterable plan gallery with status/type badgessocial-gallery.htmlnew dark-mode social card gallery
- kit/plugins/docs-publisher/scripts/
build-plans-index.shnew portable plans gallery builderbuild-social-index.shnew portable social cards gallery builderserve-docs.shnew portable local HTTP server
kit/plugins/docs-publisher/reference/deploy-pages.ymlnew GitHub Actions workflow template- kit/plugins/docs-publisher/
README.mdnew plugin documentationCHANGELOG.mdnew initial changelog
.claude-plugin/marketplace.jsonmodified register docs-publisher plugin
Steps
The step-by-step work, in order — each step says what to do, why it matters, and how to check it worked.
Tests
The tests that prove the change does what it promises.
Definition of done
The plan counts as done when every statement below is true — check each one off as you verify it.
Final check
One last pass to confirm the whole change works end to end.
End-to-end verification in a clean environment:
Create a fresh git repo: mkdir /tmp/test-docs && cd /tmp/test-docs && git init
Load the plugin: claude --plugin-dir ~/devbox/agentics/kit/plugins/docs-publisher
Run /docs-publisher:docs-init and confirm the full directory tree is created with no errors
Copy a sample plan HTML file into docs/plans/
Say "rebuild the docs gallery" and confirm the docs-build skill activates and generates docs/plans/index.html
Say "serve my docs" and confirm the docs-serve skill starts a server; open both gallery URLs in a browser
Run /docs-publisher:docs-publish --dry-run and confirm it lists the files that would be committed without actually pushing
Confirm the auto-rebuild hook fires when a new plan HTML is written to docs/plans/
Wrapping up
Three gates that must all pass before this plan is marked completed.
Completion Report
No items to report — all requirements met.