production-code-standards

Enforce CLAUDE production code standards across code, tests, and pipelines.

5|Updated Nov 6, 2025
One-click install
npx skills add https://github.com/Primadetaautomation/primadata-marketplace --skill production-code-standards
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: production-code-standards
Source: https://github.com/Primadetaautomation/primadata-marketplace/tree/main/.claude/skills/production-code-standards
Command: npx skills add https://github.com/Primadetaautomation/primadata-marketplace --skill production-code-standards

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires eslint, tsc, npm, gitleaks, and includes scripts (resource) components.

What problem does it solve?

This Skill codifies production-ready coding standards, including TDD, security, errors handling, and high-quality patterns.

Core Features & Use Cases

  • ** CLAUDE Framework standards**: TDD, code quality, and maintainability
  • Error handling patterns: robust, explicit errors
  • TDD requirements: Red-Green-Refactor cycles
  • Advanced patterns: DI, repository, service layers

Quick Start

"Run pre-commit checks to ensure code quality before committing."

Frequently Asked Questions about production-code-standards

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

FAQPage Schema
How do I enforce production-ready coding standards across my team's codebase?

Production-ready coding standards enforce TDD, security controls, error handling patterns, and code quality through automated checks. This Skill applies standards during feature development, code reviews, and refactoring by validating DRY principles, function length limits, input sanitization, secret management, and test coverage mandates across your codebase.

What does enforcing TDD and test coverage requirements look like in practice?

TDD enforcement implements Red-Green-Refactor cycles and mandatory test coverage validation. The Skill codifies test requirements as part of pre-commit checks, ensuring every feature includes tests before code review, catching gaps early and maintaining coverage standards across your pipeline.

Can I use this for legacy code refactoring and security hardening?

Yes. This Skill targets legacy refactoring by applying CLAUDE standards incrementally—enforcing explicit error handling, input validation at boundaries, secret management with gitleaks integration, and TLS controls. It scales from new features to team training and brownfield modernization.

How does security validation integrate with code reviews?

Security controls are embedded in the standard enforcement: gitleaks detects leaked secrets, input sanitization rules catch boundary vulnerabilities, and logging safeguards prevent sensitive data exposure. Pre-commit checks catch violations before review, reducing manual security audit burden.

What patterns and architectural standards does this Skill enforce?

The Skill enforces advanced patterns including dependency injection scaffolding, repository and service layer separation, explicit error handling, and Single Responsibility Principle. It validates naming conventions, max 20-line functions, and DRY compliance to maintain consistent, maintainable architecture.

Does this work with ESLint and TypeScript in npm-based projects?

Yes. The Skill integrates with eslint, tsc, npm, and gitleaks as core dependencies. It runs pre-commit checks across production code and tests, validating TypeScript type safety and lint rules alongside security and pattern enforcement in npm-managed projects.