Skip to content

feat(design-system): ship agent setup skill and guide [AR-118003] - #930

Open
mmurawski-dn wants to merge 1 commit into
drivenets:mainfrom
mmurawski-dn:drivenets/michal/AR-118003-agent-setup-skill
Open

mmurawski-dn wants to merge 1 commit into
drivenets:mainfrom
mmurawski-dn:drivenets/michal/AR-118003-agent-setup-skill

Conversation

@mmurawski-dn

Copy link
Copy Markdown
Collaborator

App teams can now set up their coding agents (Cursor, Claude Code, Codex, …) to use the design system with one pasted prompt. Until now, agents in app repos got DS guidance only when the MCP server happened to be connected.

Changes

  • The package ships a drivenets-design-system agent skill. It covers how to look up components, which Guidelines to read first, the rules, which component to use for what, and deprecated → replacement.
  • The package also ships a setup guide the agent follows:
    • connect the DS MCP for the project;
    • turn on the ESLint plugin's recommended rules, and ask before touching existing code they flag;
    • add a marked AGENTS.md block that points at the installed skill.
  • The README ("AI coding agents") and the Storybook Overview ("Set up your coding agent") show the setup prompt.
  • A unit test fails if the skill names a Ds* component the package doesn't export, or if the README and Overview prompts drift apart.

Notes for reviewers

  • Agents read the skill from node_modules, so it matches the installed version. npx skills add drivenets/design-system --skill drivenets-design-system also works, but that copy follows main.
  • The skill points at the MCP for docs. It will point at version-matched docs in the package once those ship. fix(mcp): name the tools the docs server provides [AR-117959] #929 fixes the MCP's tool names separately.
  • Versions released before this one don't have setup.md, so the prompt tells the agent to stop and ask before upgrading.

@netlify

netlify Bot commented Nov 25, 2026

Copy link
Copy Markdown

👷 Deploy request for drivenets-design-system pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 8912321

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

design-system documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant