code-quality

Provide linting, testing and type safety guidance across languages and frameworks.

1|Updated Jan 2, 2025
One-click install
npx skills add https://github.com/allenlin90/eridu-services --skill code-quality-allenlin90
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-quality
Source: https://github.com/allenlin90/eridu-services/tree/main/.agent/skills/code-quality
Command: npx skills add https://github.com/allenlin90/eridu-services --skill code-quality-allenlin90

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams raise code quality by establishing consistent linting, testing, and typing practices across projects and languages, reducing bugs and maintenance costs.

Core Features & Use Cases

  • Universal guidance for linting, unit and integration tests, and strict type safety across frontend and backend codebases.
  • Practical patterns and anti-patterns for common architectures (monorepos, multi-language stacks) and code quality workflows.
  • Use Case: A team standardizes ESLint rules, enforces TypeScript strict types, and requires test coverage to improve reliability.

Quick Start

Configure ESLint with strict rules, enable TypeScript strict mode, and implement a baseline test suite for your project.

Frequently Asked Questions about code-quality

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

FAQPage Schema
How do I configure ESLint with strict rules and TypeScript strict mode?

To configure strict types and linting, establish consistent ESLint rules and enable TypeScript strict mode across your project. This provides actionable design-focused guidance and guardrails to reduce bugs and maintenance costs.

What's the best way to standardize testing and linting practices across a monorepo?

Standardizing testing and linting across a monorepo requires universal guidance for unit, integration tests, and strict type safety. This ensures robust tests and lint adherence using practical patterns for multi-language stacks.

Does this code quality guidance work for both frontend and backend codebases?

Yes, this code quality guidance applies to both frontend and backend codebases, as well as libraries and services. It delivers design-focused guidance to improve type safety, testing, and linting across various languages and frameworks.

Why do I need strict type safety and robust tests in my project?

Strict type safety and robust tests are needed to raise code quality and reduce bugs and maintenance costs. Enforcing strict types and requiring test coverage improves overall project reliability.

How do I add a baseline test suite to improve code reliability?

To add a baseline test suite for code reliability, implement unit and integration tests following practical patterns. This establishes robust testing workflows and guardrails ensuring ongoing adherence to quality standards.