Merged
Conversation
- Add index.html (Welcome), api.html (Leonardo JS API), articles.html - Add home_sidenav_links partial with <a href> nav; highlight current page via home.js - Add home.js for doc pages (dark mode, page loader, nav active state) - Use header_home and index.css for doc pages; theme/scales/tools unchanged - Add api, articles to Vite rollup input Co-authored-by: Cursor <cursoragent@cursor.com>
- Add llms.txt at repo root for LLM context (#267) - Add Agent Skill skills/leonardo-colors/ for @adobe/leonardo-contrast-colors (#268) - Add @adobe/leonardo-mcp package with MCP server and four tools (#269) - Add .cursor/mcp.json for local Cursor MCP integration - Add mcp project to moon workspace; changeset for release Co-authored-by: Cursor <cursoragent@cursor.com>
🦋 Changeset detectedLatest commit: 6261ea8 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 |
Contributor
Run report for 6261ea81Total time: 31.3s | Comparison time: 43.7s | Estimated savings: 12.4s (28.4% faster)
Touched files |
Remove hardcoded aria-current and is-selected from header Home tab. Highlight header tab in home.js from pathname so api/articles do not announce as current page for assistive tech. Co-authored-by: Cursor <cursoragent@cursor.com>
95f8182 to
94ca3bb
Compare
Resolve conflicts keeping PR #273 changes: - home.js: hljs, highlightHeaderTab, ai-tools page detection - index.css: #aiToolsContent display rule - header_home.html: no hardcoded aria-current (set in JS) - home_sidenav_links: AI tooling nav item - vite.config: ai-tools.html rollup input Co-authored-by: Cursor <cursoragent@cursor.com>
- Add try/catch with descriptive errors in all tool handlers; return isError MCP responses instead of crashing on invalid input - Read server version from package.json instead of hardcoding - Reuse colorDefSchema for backgroundColor input validation - Expose smooth, shift, fullScale, distributeLightness, sortColor options in create-palette tool - Fix check-contrast JSDoc to include largeText in return type - Rename test file to tools.test.js to reflect full coverage Co-authored-by: Cursor <cursoragent@cursor.com>
380fb93 to
83c2d34
Compare
- Badges, quick start, tools reference (generate-theme, check-contrast, convert-color, create-palette) - Cursor and Claude Desktop config examples - Links to leonardo-contrast-colors, web app, agent skill - Contributing and licensing 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.
Summary
Implements AI tooling for Leonardo (#266) with three deliverables:
Phase 1 —
llms.txt(#267)llms.txtat repo root: project overview, monorepo structure, public API summary, colorspaces/output formats, contrast methods (wcag2/wcag3), and a quick usage example so LLMs can orient without reading source.Phase 2 — Agent Skill (#268)
skills/leonardo-colors/following agentskills.io:SKILL.md: frontmatter + step-by-step instructions (install, Color/BackgroundColor, Theme, output getters, mutating themes, utilities, accessibility recipes, colorspaces).references/api.md: full API reference for all exported classes and functions.Phase 3 — MCP server (#269)
packages/mcp/published as@adobe/leonardo-mcp:@modelcontextprotocol/sdkand@adobe/leonardo-contrast-colors(workspace).generate-theme,check-contrast,convert-color,create-palette.moon.ymlwithtesttask; Node--testsuite for all four tools.mcpadded to.moon/workspace.yml;.cursor/mcp.jsonfor local Cursor MCP dev.leonardo-mcp-initial.mdfor the new package.CI/CD
.github/workflows/ci.yml): Runsmoon ci, which already includes all projects from.moon/workspace.yml. The newmcpproject is included; no workflow changes required..github/workflows/release.yml): Uses changesets +pnpm release; the new package will be published when its changeset is merged to the release branch.moon run ui:buildSite).No GitHub Actions or CI/CD config updates were needed.
Made with Cursor