Skip to content

Decouple example templates from the plugin install - #18

Open
houfu wants to merge 3 commits into
mainfrom
claude/update-docs-project-skills-YfMsp
Open

Decouple example templates from the plugin install#18
houfu wants to merge 3 commits into
mainfrom
claude/update-docs-project-skills-YfMsp

Conversation

@houfu

@houfu houfu commented May 4, 2026

Copy link
Copy Markdown
Owner

Summary

Three connected changes that reshape how a new user gets from "install CoQuill" to "render a document":

  1. Marketplace is the canonical Cowork install path (73b531e). Updated install docs, README, and feature-tour pages to lead with /plugin marketplace add houfu/coquill rather than the old "open folder as Cowork project" flow. The Cowork zip remains as a fork-starter on releases but is demoted in the docs.
  2. Plugin no longer bundles example templates (a7e1815). The build script copies skills + scripts only; plugin/templates/ is removed from the working tree and from every release artifact. Example templates ship instead as a new coquill-examples-v*.zip (with a coquill-examples-latest.zip alias) attached to each release. The unversioned coquill-latest.zip Cowork-zip alias is dropped. Discovery in the orchestrator collapses to a single tier (templates/) since there is no longer a bundled fallback.
  3. Orchestrator auto-fetches the examples pack on first use (c1276ad). When discovery finds an empty templates/, the orchestrator asks permission, probes for curl/unzip, and runs the fetch-and-unzip in one step before resuming template matching. Manual download stays documented as a fallback Aside for sandboxed/offline environments.

Reference and guide pages drop "bundled" framing throughout. The quickstart's "Prepare the NDA" gains a step showing Claude's offer-and-confirm exchange.

Test plan

  • bash scripts/build-plugin.sh produces a plugin/ tree with no templates/ subdir
  • cd docs && npm run build — 22 pages build clean
  • Local zip-shape check: ( cd templates/_examples && zip -r /tmp/x.zip . ) produces Bonterms_Mutual_NDA/, invoice/, meeting_notes/ at archive root (matches the workflow's coquill-examples-v*.zip step)
  • Maintainer end-to-end on Cowork after the next tagged release:
    • Fresh project → /plugin marketplace add houfu/coquill + /plugin install coquill@coquill
    • Ask "Prepare a mutual NDA with CoQuill" with no templates/ folder yet — confirm orchestrator asks permission, runs curl+unzip, lands the three example dirs in templates/, then resumes template matching
    • Decline path: re-run, decline the download — confirm orchestrator gracefully ends the session
    • Tool-missing path: in an env without unzip, confirm orchestrator detects this up front and falls back to the manual download Aside
  • Maintainer confirms next tagged release publishes coquill-plugin-v*.zip, coquill-v*.zip, coquill-examples-v*.zip, plus the -latest aliases for plugin and examples (Cowork zip's unversioned alias intentionally gone)

https://claude.ai/code/session_01PC9t7uCA4VFjXhjHBAqx4s


Generated by Claude Code

claude added 3 commits May 4, 2026 04:41
Cowork no longer loads skills from a project's bundled .claude/skills/,
which broke the folder-download install path the docs were built around.
Rewrite install/positioning to lead with the plugin marketplace in both
Cowork and Claude Code, and polish the plugin manifests for marketplace
listing quality (semver placeholder, homepage, repository, license,
keywords, tags).

Refs #17.
The plugin install was shipping templates alongside the engine, which
coupled template release cycles to engine releases and bloated every
marketplace install. Stop bundling all three example templates
(Bonterms_Mutual_NDA, invoice, meeting_notes); the plugin now ships
skills + scripts only.

Example templates are released as a new coquill-examples-v*.zip
artifact (plus a coquill-examples-latest.zip alias) so users can grab
them in one click and unzip into their project's templates/ folder.
The orchestrator's template discovery collapses to a single tier
(templates/) since there is no longer a bundled fallback to merge with.

Install docs and the quickstart gain a "get a starter template" step
pointing at the new download. Reference and guide pages drop "bundled"
framing. The unversioned coquill-latest.zip alias for the Cowork
fork-starter zip is removed (versioned coquill-v*.zip stays).
When a user installs CoQuill into a project with no templates, the
previous flow dead-ended at "no templates found, here is a download
URL" and forced them to leave the chat to grab the zip. Push that work
back into the conversation: when discovery hits an empty templates/,
the orchestrator now asks permission, probes for curl and unzip on
PATH, and runs the fetch-and-unzip in one step before resuming
template matching. Manual download stays documented as a fallback for
sandboxed environments.

Install docs and the quickstart are reframed around the conversational
flow. The standalone "Get a starter template" step is gone; the manual
download lives in a sandboxed/offline Aside. The quickstart's "Prepare
the NDA" gains a step showing Claude's offer-and-confirm exchange and
the existing steps are renumbered.
@houfu

houfu commented May 4, 2026

Copy link
Copy Markdown
Owner Author

Closes #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs assume Cowork project-level skills work; revise install/positioning if Cowork no longer loads them

2 participants