docs: add the setup-srcset and srcset-cli skills - #31
Merged
Conversation
Two shareable skills under `skills/`: one for adding srcset to a project and configuring the bundler integrations, one for driving the cli, baking included.
Coverage Report for CI Build 33515278068Coverage remained the same at 93.692%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
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.
Two shareable agent skills under
skills/, in the format of the ones insimple-release,scriptsandconventional-changelog.setup-srcset— adding srcset to a project. Picking the integration (Vite plugin, Webpack/Rspack loader, cli baking, or a runtime proxy adapter), installing, both bundler configs, the semantics of the rules, the ambientclient.d.tstypes, rendering through@srcset/runtimeor the framework components, the import query, placeholders, a verification checklist and the pitfalls.srcset-cli— driving the cli, baking included. The flag table, the config file and what still needs one, all four--modulelayouts with a sample generated module, what the consuming project has to provide (an asset loader,sideEffects, a.d.tsforjsmodules), recipes and the pitfalls.Every claim was checked against the sources, and everything runnable was run: all six recipes, every
--modulelayout, the placeholder and select flags. Some of what the checking turned up went into the skills as warnings, since an agent would otherwise walk into it:formatdrops an svg silently, and the Vite plugin does not process.svgimports at all;tsmodule need ambient declarations, whichvite/clientprovides and a webpack project does not.Merge after #30 — the cli skill documents the
--placeholderand--select-*flags it adds.