Repository navigation
docs(skill): point agents and the core package to the bundler plugin - #106
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: e0d0063 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
cssforge | e14b20b | Commit Preview URL Branch Preview URL |
Nov 23 2026, 02:00 PM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An agent in an Astro project did not use the bundler plugin, because it concluded that none exists. The plugin is the separate package
@hebilicious/cssforge-unplugin. The cssforge skill, the docs agent guide, the core package metadata andcssforge --helpdo not name it, so an agent that follows them only finds the CLI.What changes
skills/cssforge/references/bundler-plugin.md(new): a self-contained reference for the plugin. It says when to offer it and when the CLI stays the right choice (no dev server or build, files needed before the build, non-CSS formats, JSR, no bundler). It gives the install command, the entry points, thevirtual:cssforge.cssimport, theclienttypes reference and the options. The skill can be distributed without the README, so the reference does not point to it.skills/cssforge/SKILL.md: a new step, "Choose how tokens are generated". The CLI works everywhere; the plugin is an option when the project has a supported build.skills/cssforge/references/docs-index.md: routes build-time generation to the new reference.packages/docs/agents.md: aBundler pluginentry under Distribution, as an option next to the CLI.packages/cssforge:--helpnames@hebilicious/cssforge-unplugin, so a reader who only has the core package finds the plugin. The package also gets npmkeywords(cssforge,design-tokens,css-variables). Patch changeset included.The skill no longer refers to the README, which is not distributed with it:
docs-index.mdmaps each task to a reference of the skill.token-patterns.mdgains what only the README had: the default fluid step labels, the pow reference paths, and aVariable namessection (theme names,variantNameOnly,atRule/selector), checked againsttests/colors.test.ts.troubleshooting.md,source-schema-map.mdandcli-reference.mdpoint to those references.SKILL.mdandtroubleshooting.mdno longer describe this repository's example setup (node ../../packages/cssforge/dist/cli.js,moon run <project>:cssforge-build-local). They use the installedcssforgeexecutable (check,build) and the project's own task runner.node_modules/@hebilicious/cssforge/src/, which the package publishes) instead ofpackages/cssforge/src/of this repository.README.md: the fluid spacing reference example isspacing_fluid.base@xs, astests/spacing.test.tsresolves it, notspacing_fluid-base@xs. The package copy is regenerated withcssforge:readme-update.AGENTS.md: a new section, "Skill, agent guide and package metadata". User-facing changes update the skill and the agent guide; the skill is self-contained (no README or repository paths); integration choices are offered as options; skill facts are checked against code or tests; package metadata describes only its own package.Verification
cli - help points to the bundler plugin package(intests/cli-entry.test.ts) failed before the help change and passes after it.moon run cssforge:test cssforge:typecheck cssforge:format cssforge:lint cssforge:catalog-check cssforge:readme-check docs:buildall pass on the last commit.