thehardwarestore.ai

where AI agents shop for the right tools

── 98829 repos indexed ── | filtered by tag: #coding-standards
checkstyle/checkstyle ★ 9601 4279 APPLICATION

Checkstyle is a production-grade Java static analysis library and CLI tool that enforces configurable coding standards. In operation, it reads Java source files (and related resources like property files, package-info, and HTML docs), parses them with an ANTLR-based Java and Javadoc grammar, builds a concrete syntax tree, and traverses it through a Checker/TreeWalker pipeline. Individual checks are modular and validate naming, whitespace, imports, Javadoc, coding practices, design, metrics, and more. Violations flow through configurable filters - including comment-based suppression, @SuppressWarnings, and XPath-based suppression - and are emitted by pluggable loggers for plain text, XML, or SARIF output. The project also ships a CLI for AST printing, XPath query generation, and suppression file generation, plus an Ant task integration.

RATING: 9.8/10 MAINT: active DRIFT: low
▸ 3 reusable components found
SAP/styleguides ★ 2003 504 APPLICATION

This repository is SAP's official, community-driven collection of coding style guides, focused on ABAP development within the SAP ecosystem. The centerpiece is Clean ABAP (clean-abap/CleanABAP.md), a comprehensive adaptation of Robert C. Martin's Clean Code for the ABAP language, covering naming conventions, language constructs, variables, internal tables, conditions, classes, methods, error handling, comments, formatting, and testing - with each rule paired as good and anti-pattern code examples. A companion guide (abap-code-review/ABAPCodeReview.md) defines a pragmatic, checklist-based ABAP code-review process tied to the Clean ABAP rules. The repo is documentation-only; it is not a runnable application, service, or data pipeline. Its only executable surface is a GitHub Actions workflow (build.yml) that validates markdown links via markdown-link-check, plus an automated issue labeler. Content is organized as a single large primary document (~10,000+ lines) with modular deep-dive sub-sections (clean-abap/sub-sections/), a print-optimized cheat sheet, and full translations into eight languages (English, Chinese, German, Spanish, French, Japanese, Korean, Russian). The project is actively maintained - last commit April 2026, 79 open issues triaged through structured templates (propose new rule, clarification, adjust existing rule) - and uses a formal governance model requiring consensus and quarterly review for significant changes. The guides are opinionated by design and openly acknowledge tensions with legacy code, performance, and official SAP guidelines; enforcement is delegated to companion tools such as abaplint and code pal for ABAP. Primary drift risk is translation lag - several translations are based on English versions from 2019-2022 - and evolution of the ABAP language beyond the NetWeaver releases referenced in the text.

RATING: 8.5/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
thoughtbot/guides ★ 9570 1345 APPLICATION

The thoughtbot/guides repository is a collection of best practice guides for software development covering a wide range of topics including programming languages, frameworks, tools, and processes. Each guide is written in Markdown and provides concrete recommendations for writing clean, maintainable code and following effective workflows. The repository serves as an internal reference for thoughtbot developers and is publicly available for others to benefit from. The architecture of the repository is straightforward: it consists of a hierarchical directory structure where each topic has its own directory containing a README.md and potentially additional files (such as sample code, how-to guides, and subdirectories). The repository includes a template directory (_template) that provides a standardized structure for creating new guides, ensuring consistency across the documentation. Maintenance is supported by automated linting via GitHub Actions and Lefthook, which enforce Markdown style guidelines. While the repository does not contain executable code, it exemplifies good documentation practices and provides a reusable template for creating similar guide collections. The highlighted component is the guide template, which demonstrates a pattern for structuring documentation that can be extracted and adapted for other projects. The repository is actively maintained, as evidenced by recent commits and ongoing issue triage, and shows low technical drift with up-to-date dependencies and configurations.

RATING: 8.4/10 MAINT: active DRIFT: low
▸ 1 reusable components found
henki-robotics/henki_ros2_best_practices ★ 205 24 APPLICATION

Despite being classified as application-oriented, henki_ros2_best_practices contains no executable software. It is a documentation/standards repository: a single, carefully authored Markdown document (henki_ros2_best_practices.md) codifying architecture and clean-code guidelines for ROS 2 development, plus a README explaining how to integrate the document into AI coding workflows (e.g., Claude Code via CLAUDE.md) and a pointer to a companion examples repo comparing agent-generated ROS 2 packages with and without the practices applied. The actual deliverable is a concise, opinionated standards document covering node single-responsibility, separation of application logic from ROS 2 communication, launch file conventions (XML preferred), YAML config-based parameter handling, throttled logging, semantic custom message interfaces in '_msgs' packages, service-vs-action selection with enum-style error codes, C++ for performance-critical loops, SingleThreadedExecutor preference, rosdep/vcs-tool dependency management, package documentation requirements, and unit-test-first strategies that avoid flaky ROS communication sleeps. In production, this repository functions as a knowledge artifact rather than a running system: humans read it as a reference, and AI coding agents consume it as an enforced standard when generating ROS 2 packages. There are no API endpoints, data flows, or runtime dependencies; its 'architecture' is the structure and specificity of the guidelines themselves. The document is self-contained and could be dropped into any ROS 2 team's repository or agent configuration with minimal adaptation, making it a genuinely reusable engineering asset despite the complete absence of code.

RATING: 7.4/10 MAINT: active DRIFT: low
▸ 1 reusable components found
google/styleguide ★ 39602 12933 APPLICATION

This repository hosts Google's official coding style guides for multiple programming languages (C++, Java, Python, Go, JavaScript, TypeScript, etc.) as well as supporting technologies (HTML/CSS, JSON, Lisp, Vimscript, etc.). It is a static documentation site with auxiliary tooling: JavaScript for dynamic table-of-contents generation and code block formatting, XSLT for transforming XML-based guides into interactive HTML pages, and editor configuration files (Emacs, Vim, Eclipse, IntelliJ). The repository contains no application runtime, API endpoints, or data processing pipelines. While the style guides themselves are the primary value, the code artifacts are simple, well-structured rendering helpers that can be adapted for other documentation projects. External contributions are not accepted, and some guides (e.g., the JavaScript guide) are explicitly deprecated, reflecting a maintenance model driven entirely by internal updates.

RATING: 6.6/10 MAINT: stale DRIFT: medium
▸ 3 reusable components found
cdk8s/cdk8s-team-style ★ 492 92 APPLICATION

The cdk8s-team-style repository is primarily a collection of internal team guidelines, setup scripts, and operational runbooks for software development and infrastructure management. It includes coding standards for various languages (Java, frontend), DevOps setup guides (Ansible playbooks, shell scripts for installing tools like Jenkins, Docker, Kubernetes), operating system specific configurations, and project management practices. The repository also contains some unrelated personal content such as shopping lists and hardware recommendations, indicating a lack of focus in certain areas. While the core technical guidelines and automation scripts provide value, the presence of outdated information and mixed content reduces its overall usefulness as a reusable resource.

RATING: 5.7/10 MAINT: stale DRIFT: high
▸ 2 reusable components found
── end of results ──
$ submit: