coding-standards

Enforce SOLID, DRY, KISS, and YAGNI coding standards in MetaSaver TypeScript projects.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/metasaver/claude-marketplace --skill coding-standards-metasaver
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/metasaver/claude-marketplace/tree/main/plugins/metasaver-core/skills/workflow-steps/coding-standards
Command: npx skills add https://github.com/metasaver/claude-marketplace --skill coding-standards-metasaver

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill defines comprehensive coding standards (SOLID, DRY, KISS, YAGNI, error handling, logging) for MetaSaver TS projects.

Core Features & Use Cases

  • Principle reference: Quick checks against SOLID, DRY, KISS, YAGNI.
  • Error handling guide: AppError hierarchy and middleware patterns.
  • Logging discipline: Structured, contextual Pino logging guidelines.

Quick Start

Apply the coding standards guidelines to new modules and refactor existing code to align with these patterns.

Frequently Asked Questions about coding-standards

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

FAQPage Schema
How do I enforce SOLID and DRY principles across my TypeScript codebase?

SOLID and DRY principles enforce consistent design patterns and reduce code duplication. This Skill provides reference guidelines and practical patterns for applying these principles during feature implementation, refactoring, and code reviews to maintain long-term maintainability across MetaSaver TypeScript projects.

What's the best way to structure error handling in TypeScript applications?

Structured error handling uses an AppError hierarchy with centralized middleware patterns. This approach standardizes how errors are caught, logged, and returned, ensuring predictable error responses and simplifying debugging across your TypeScript application.

How do I implement structured logging with Pino in TypeScript?

Structured logging with Pino captures contextual information in machine-readable JSON format. This Skill defines guidelines for consistent, contextual logging discipline that enables easier log aggregation, searching, and debugging in production TypeScript environments.

Can I use these coding standards during developer onboarding and code reviews?

Yes. These standards serve as a reference for consistent patterns and practices during onboarding and code reviews. They establish expectations for module organization, barrel exports, path alias imports, and adherence to KISS and YAGNI principles across your team.

What code organization rules should I follow for TypeScript modules?

TypeScript modules should use explicit barrel exports, path alias imports instead of relative paths, and direct source imports. Combined with SOLID principles and comprehensive organization rules, this structure improves readability, reduces import complexity, and enables easier refactoring.

How do these standards help during refactoring and module pattern establishment?

Established coding standards provide a blueprint for consistent patterns during refactoring and when building new modules. Applying these guidelines—error handling, logging, SOLID principles, and organization rules—ensures new code integrates seamlessly and maintains architectural coherence.