v12.5: Claude Code plugin — five slash commands#72
Merged
Manavarya09 merged 1 commit intomainfrom May 5, 2026
Merged
Conversation
Drop designlang straight into any Claude Code session as a plugin: /plugin install Manavarya09/design-extract Every CLI verb becomes a slash command: /extract <url> — full extraction (DTCG, Tailwind, Figma) /grade <url> [--badge] — shareable HTML report card + SVG badge /battle <urlA> <urlB> — head-to-head graded battle card /remix <url> --as <vocab> — restyle in 6 vocabularies /pack <url> — bundle every output into one directory What changed: - New commands/ directory with five slash-command manifests (description + argument-hint frontmatter, prompt body wraps CLI and surfaces a tight summary). - Refreshed .claude-plugin/plugin.json (was stale at v1.0.0): name → designlang, description rewritten to cover all v12 surfaces, added "commands": "./commands/" pointer, expanded keywords. - Refreshed .claude-plugin/marketplace.json with the same updates plus marketplace tags. - New README section "Claude Code plugin" with install + slash command table. Existing "Agent skill" section retained for Cursor/Codex/40+ other agents via the skills ecosystem. No CLI behavior change. The slash commands are pure wrappers around existing `npx designlang …` calls. 357/357 tests pass.
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR promotes designlang to a first-class Claude Code plugin by adding five slash-command manifests and refreshing the .claude-plugin/ metadata so users can install the repo as a plugin and run /extract, /grade, /battle, /remix, and /pack directly inside Claude Code.
Changes:
- Added 5 new Claude Code command prompt manifests under
commands/(extract/grade/battle/remix/pack). - Updated
.claude-plugin/plugin.jsonand.claude-plugin/marketplace.jsonmetadata todesignlang@12.5.0and added acommandspointer. - Updated README + changelog for the new plugin surface and bumped
package.jsonto12.5.0.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Documents Claude Code plugin installation and the five slash commands; clarifies “agent skill” usage for non-Claude ecosystems. |
| package.json | Version bump to 12.5.0. |
| commands/extract.md | New /extract command manifest wrapping npx designlang <url>. |
| commands/grade.md | New /grade command manifest wrapping npx designlang grade …. |
| commands/battle.md | New /battle command manifest wrapping npx designlang battle …. |
| commands/remix.md | New /remix command manifest wrapping npx designlang remix …. |
| commands/pack.md | New /pack command manifest wrapping npx designlang pack …. |
| CHANGELOG.md | Adds 12.5.0 release notes for the Claude Code plugin. |
| .claude-plugin/plugin.json | Refreshes plugin metadata and adds commands path. |
| .claude-plugin/marketplace.json | Refreshes marketplace metadata/tags to match the plugin update. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+25
to
+27
| Use `--all` to emit all six in one pass — six standalone HTML files plus a comparison index. | ||
|
|
||
| After the run, read the comparison index (`*-remix-index.html` or `*-remix.<vocab>.html`) and tell the user which file to open. Offer to launch `--open` automatically. |
Comment on lines
+33
to
+34
| "skills": "./skills/", | ||
| "commands": "./commands/" |
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.
Summary
designlang is now a first-class Claude Code plugin. Drop it into any session and every CLI verb becomes a slash command:
```bash
/plugin install Manavarya09/design-extract
```
What's in the change
Why
The README currently mentions the agent-skill install (`npx skills add …`) but never documents that designlang is also a Claude Code plugin. The `.claude-plugin/` manifest existed but was stale (v1.0.0, no commands) so installing it gave you nothing. This PR makes the plugin actually useful and visible.
Test plan
🤖 Generated with Claude Code