coding-guidelines

Audits and enforces multi-language coding standards across Go, TypeScript, Python, Rust, C#, and PHP.

Updated May 16, 2026
One-click install
npx skills add https://github.com/alimtvnetwork/img-pdf-v2 --skill coding-guidelines-alimtvnetwork
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-guidelines
Source: https://github.com/alimtvnetwork/img-pdf-v2/tree/main/.agents/skills/coding-guidelines
Command: npx skills add https://github.com/alimtvnetwork/img-pdf-v2 --skill coding-guidelines-alimtvnetwork

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams struggle to keep code consistent across multiple languages and reviewers, leading to style drift, swallowed errors, magic strings, and unmaintainable functions. This Skill gives an AI agent a single grounded rulebook to audit, review, and fix code against strict, example-driven standards. ## Core Features & Use Cases - Multi-language rule enforcement: Applies grounded good/bad examples for Go, TypeScript/React, Python, Rust, C#, PHP, and Java covering booleans, enums, error wrapping, and immutability. - Hard-rule auditing: Enforces 23 zero-tolerance rules such as 15-line function caps, no nested ifs, no magic strings, affirmative boolean naming, and Result wrapper types. - Whitespace and structure standards: Mandates blank-line-before-return conventions, parameter structs, leaf-package type architecture, and file size caps. - Use Case: Point the agent at a Go service or React component and ask it to audit the code; it catalogs violations against the spec, then refactors into decomposed, guideline-compliant functions. ## Quick Start Ask the agent to audit a target file or folder against the coding guidelines and fix every violation it finds.

Frequently Asked Questions about coding-guidelines

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

FAQPage Schema
How do I enforce coding standards across multiple programming languages?

Use this Skill to audit code against a unified rulebook covering Go, TypeScript, Python, Rust, C#, PHP, and Java. It provides grounded good/bad examples per language and 23 hard rules covering naming, error handling, and function structure.

How to review code for style violations with an AI agent?

Point the agent at target files and ask for a guideline audit. The Skill first explores and maps dependencies, consults the relevant language spec in 02-spec/02-coding-guidelines/, then catalogs violations before rewriting the code.

What coding rules does this Skill enforce?

It enforces 23 zero-tolerance rules including 15-line function caps, no nested ifs, affirmative boolean naming with is/has prefixes, no magic strings, no swallowed errors, Result wrapper return types in Go, and enum names ending with the Type suffix.

Does this Skill support React and TypeScript projects?

Yes. It covers strict TypeScript rules including immutability via structuredClone, custom hooks returning named objects instead of tuples, component size caps of 80-100 lines, and bans on explicit === true comparisons.

Can the Skill automatically fix guideline violations?

Yes. After cataloging violations in its read-and-understand phase, it rewrites code into compliant form, decomposing long functions into guard, logic, and response stages, and references autofixer scripts like 05-guideline-autofixer.py for whitespace rules.

What are the limitations of automated coding guideline enforcement?

The Skill depends on specification files existing at canonical paths like 02-spec/02-coding-guidelines/ and .ai-memory/coding-guidelines.md. Without those references present in the workspace, audits lose grounding and language-specific detail.