conventions

Enforce coding conventions from conventions.json during writing and review.

Updated Dec 1, 2025
One-click install
npx skills add https://github.com/Clouder0/dotagent --skill conventions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: conventions
Source: https://github.com/Clouder0/dotagent/tree/main/.claude/skills/conventions
Command: npx skills add https://github.com/Clouder0/dotagent --skill conventions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pattern to load coding conventions and style guidelines for consistency.

Core Features & Use Cases

  • Convention files: Access memory/knowledge/codebase/conventions.json.
  • Consistency: Enforce naming, structure, and documentation standards.

Quick Start

Reference the conventions.json when writing new code to ensure alignment.

Frequently Asked Questions about conventions

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

FAQPage Schema
How do I enforce coding conventions across my codebase?

Enforce coding conventions by loading your project's conventions.json file from memory and applying its naming, file organization, error handling, and documentation standards during code writing and reviews. Use tooling and CI checks to maintain consistency automatically.

What should be included in a coding conventions file?

A conventions file defines naming patterns, file structure requirements, error handling approaches, testing standards, and documentation guidelines. Store it in @memory/knowledge/codebase/conventions.json and reference it when making style and structural decisions.

When should I apply coding conventions during development?

Apply conventions during code writing, peer review, and refactoring. Use them for real-time decision-making on style, structure, and patterns to prevent inconsistency from accumulating and reduce review friction.

Can I automate convention enforcement in my CI pipeline?

Yes. Set up CI checks that validate code against your conventions.json file. Automate style and structural compliance verification to catch deviations before merge and maintain consistency without manual review overhead.

How do conventions improve code review efficiency?

Documented conventions eliminate debate over style choices during review. Reviewers reference shared standards for naming, organization, and patterns, allowing focus on logic and correctness rather than formatting disagreements.

Related Skills