ds-lint-component

Lint and fix Helvetia Design System components for style guide compliance.

111|29|Updated Oct 4, 2019
One-click install
npx skills add https://github.com/baloise/design-system --skill ds-lint-component
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ds-lint-component
Source: https://github.com/baloise/design-system/tree/main/.claude/skills/ds-lint-component
Command: npx skills add https://github.com/baloise/design-system --skill ds-lint-component

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the linting and fixing of Helvetia Design System components, ensuring they adhere to the defined style guide standards, saving developers time and reducing errors.

Core Features & Use Cases

  • Linting: Checks for style guide compliance, missing documentation, and formatting issues.
  • Fixing: Automatically corrects common issues identified during linting.
  • Use Case: Use this Skill to ensure that all components in a project meet the Helvetia Design System standards before release.

Quick Start

Check a component for violations: /ds-lint-component button

Frequently Asked Questions about ds-lint-component

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I lint design system components for style guide compliance?

To lint design system components for style guide compliance, this Skill automates the checking of Helvetia components using TypeScript AST parsing to identify formatting issues, missing documentation, and style guide violations.

What is the best way to automatically fix missing documentation in component development?

Automatically fixing missing documentation in component development requires analyzing JSDoc tags. This Skill evaluates JSDoc analysis during component linting and automatically corrects common formatting and documentation issues found in Helvetia Design System components.

Can I use this component linting tool to check a single component like a button?

Yes, you can check a single component like a button by running the /ds-lint-component command with the component name. It performs targeted linting and fixing to ensure that specific component meets design system standards.

Does design system component linting require TypeScript AST parsing?

Design system component linting requires TypeScript AST parsing to accurately evaluate code structure and JSDoc. This Skill uses AST parsing to deeply analyze Helvetia components for style guide compliance and missing documentation during code reviews.

When do I need to run design system component linting during code reviews?

You need to run design system component linting during code reviews before releasing a project. This ensures all Helvetia Design System components meet defined style guide standards, saving developers time and reducing formatting or documentation errors.