feat(mcp): add agent skills for component building and token discovery#695
Open
feat(mcp): add agent skills for component building and token discovery#695
Conversation
🦋 Changeset detectedLatest commit: 3c659a0 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 |
Member
Author
Run report for a9c53a40Total time: 13.4s | Comparison time: 13.1s | Estimated loss: 328.5ms (2.4% slower)
Touched files |
…ls tests, wire moon ci - Add constants, intent-mappings config, validation and token/component helpers - Refactor workflows, tokens, schemas to use shared utilities and constants - Rename agent-skills to build-spectrum-components; use --- delimiter in SKILL.md - Add integration tests for Component Builder and Token Finder workflows - Add unit tests for validation, token-helpers, component-helpers - Add moon test inputs and ci task for GitHub Actions Co-authored-by: Cursor <cursoragent@cursor.com>
Add c8 code coverage instrumentation to spectrum-design-data-mcp to match other tools in the monorepo. Initial coverage report shows 77.33% overall coverage with excellent coverage (99%+) in the refactored utils modules. - Add c8 ^10.1.3 as devDependency - Update test script from "ava" to "c8 ava" - Coverage directory already ignored via root .gitignore Co-authored-by: Cursor <cursoragent@cursor.com>
- Add token-to-implementation mapping tools (resolve, reverse-lookup, list) - Add react-spectrum-token-map.json with 109+ token mappings (PoC) - Add comprehensive test suite for implementation map tools - Refactor release workflows to use reusable publish-packages workflow - Update MCP config to remove unused doc servers - Add devEngines to package.json for proto v0.55.0+ compatibility Co-authored-by: Cursor <cursoragent@cursor.com>
Updates copyright headers in newly added files from 2026 to 2024 to match the actual year of creation. Files updated: - src/config/intent-mappings.js - src/constants.js - src/utils/component-helpers.js - src/utils/token-helpers.js - src/utils/validation.js - test/utils/component-helpers.test.js - test/utils/token-helpers.test.js - test/utils/validation.test.js All tests continue to pass (93/93). Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Overview
This PR adds Agent Skills to the Spectrum Design Data MCP server to help AI agents build Spectrum components by orchestrating existing MCP tools into complete workflows.
Changes
Agent Skills (Markdown Guides)
New MCP Tools
Documentation Updates
Testing
Architecture
Agent Skills are markdown guides that orchestrate existing MCP tools into complete workflows. They don't execute code directly but guide AI agents on:
This follows the pattern established by React Spectrum's AI integration.
Related
Testing
All tests pass:
Changeset
Minor version bump for
@adobe/spectrum-design-data-mcp