code-style-and-conventions

Enforce coding and documentation conventions across Go, TypeScript, React, and structured docs.

Updated May 19, 2026
One-click install
npx skills add https://github.com/zxc1a1a1/Multi_Agent-AgentHub --skill code-style-and-conventions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-style-and-conventions
Source: https://github.com/zxc1a1a1/Multi_Agent-AgentHub/tree/main/.agents/skills/code-style-and-conventions
Command: npx skills add https://github.com/zxc1a1a1/Multi_Agent-AgentHub --skill code-style-and-conventions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill solves inconsistent engineering standards by defining clear, cross-language code style, naming, error-handling, logging, and test expectations so the AgentHub codebase stays maintainable as it grows.

Core Features & Use Cases

  • Unified formatting & conventions: Enforces gofmt and consistent naming rules across Go, TypeScript, React, and documentation formats like JSON/YAML/Markdown.
  • Quality gates & review readiness: Provides practical checklist-style standards for PR review, documentation changes, and AI-generated code validation.
  • Reliability-focused engineering: Defines rules for explicit error handling, context propagation, safe async/streaming behavior, timeouts for external calls, and logging that avoids secret leakage.

Quick Start

Use the code-style-and-conventions skill when you need to review or generate a change in AgentHub and want a reliable checklist-driven standard for code style, quality gates, and safe implementation practices.

Frequently Asked Questions about code-style-and-conventions

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

FAQPage Schema
How do I enforce consistent code style across Go and TypeScript projects?

Enforce consistent code style across Go and TypeScript by applying gofmt, strict TypeScript guidance, and unified naming rules. This ensures cross-language consistency and reduces maintenance friction as the codebase grows.

What conventions should a pull request review checklist include for error handling and logging?

A pull request review checklist for error handling and logging should require explicit error handling, safe logging that avoids secret leakage, and correct context propagation with timeouts for external calls to ensure reliability.

Does this code style standard work with React and structured documentation formats?

Yes, this code style standard works with React, TypeScript, Go, and structured documentation formats like JSON, YAML, and Markdown. It applies consistent naming and formatting conventions across all these file types.

What is the best way to validate AI-assisted code generation against engineering standards?

Validate AI-assisted code generation by using checklist-driven standards for code style, quality gates, and safe implementation practices. This verifies that generated code meets explicit error handling, test coverage, and formatting requirements.

How do I structure test coverage to satisfy quality checks across happy and error paths?

Structure test coverage to satisfy quality checks by writing tests that explicitly cover both happy and error paths. This guarantees reliability-focused engineering and validates safe async or streaming behavior during failures.