scan-code-conventions

Analyze Go codebases for pattern adherence and generate conformity reports.

1|Updated Nov 17, 2025
One-click install
npx skills add https://github.com/loicsikidi/go-tpm-kit --skill scan-code-conventions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scan-code-conventions
Source: https://github.com/loicsikidi/go-tpm-kit/tree/main/.claude/skills/scan-code-conventions
Command: npx skills add https://github.com/loicsikidi/go-tpm-kit --skill scan-code-conventions

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill ensures alignment between the codebase and coding standards by auditing source files and detecting deviations from documented patterns.

Core Features & Use Cases

  • Comprehensive Code Audit: Performs an in-depth scan of Go packages, identifying structure, patterns, and conventions.
  • Pattern Verification: Checks for best practices like license headers, import grouping, error handling, and test patterns.
  • Report Generation: Produces a detailed diff and suggestions to update documentation, facilitating continuous code quality improvement.

Quick Start

Run this Skill to analyze the current codebase and generate a report on coding pattern conformity and documentation drift.

Frequently Asked Questions about scan-code-conventions

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

FAQPage Schema
How do I automatically check my Go codebase for coding standards compliance?

To check Go codebases for coding standards compliance, you can run an automated code auditing process that scans source files to detect undocumented deviations from documented patterns. This ensures alignment with your established conventions.

What does code auditing for Go pattern adherence involve?

Code auditing for Go pattern adherence involves scanning packages to identify structural inconsistencies, verify best practices like import grouping and error handling, and compare documentation against the actual source code structure.

Can I use this to detect undocumented deviations in large evolving Go projects?

Yes, you can use this for large evolving Go projects needing regular conformity checks. It analyzes the codebase to identify undocumented deviations and structural inconsistencies, ensuring code quality and maintainability over time.

How do I generate reports for documentation drift in my Go code?

To generate reports for documentation drift, run a codebase scan that parses source code and compares it against existing documentation. This produces a detailed diff and suggestions to update the documentation.

What is the best way to maintain coding conventions in a continuous Go workflow?

The best way to maintain coding conventions in a continuous Go workflow is to perform regular pattern verification checks. This detects structural inconsistencies and facilitates continuous code quality improvement through detailed reporting.