codebase-conventions

Enforce codebase conventions for structure, naming, SQL style, and TypeScript standards.

Updated Oct 26, 2025
One-click install
npx skills add https://github.com/discountedcookie/10x-mapmaster --skill codebase-conventions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-conventions
Source: https://github.com/discountedcookie/10x-mapmaster/tree/main/.opencode/skills/codebase-conventions
Command: npx skills add https://github.com/discountedcookie/10x-mapmaster --skill codebase-conventions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Establishes 10x-Mapmaster conventions for project structure, naming, SQL style, typing, and commit practices to ensure consistency and quality.

Core Features & Use Cases

  • Detailed file organization and naming conventions
  • SQL style guidelines and TypeScript standards
  • Project constraints (description length, answer enums, etc.)
  • Git conventions and file size limits

Quick Start

Review these conventions and apply them when creating new code or docs. For example, place frontend components under src/components/ui and name files in kebab-case.

Frequently Asked Questions about codebase-conventions

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

FAQPage Schema
How do I enforce consistent naming conventions across a TypeScript and SQL codebase?

Naming conventions standardize identifiers across your project. Apply kebab-case to file names, uppercase SQL keywords, use explicit return types in TypeScript, and organize files by function—placing frontend components under src/components/ui. This reduces cognitive load and prevents naming surprises across teams.

What are the file organization standards for a multi-stack project with frontend, database, and documentation?

File organization establishes predictable structure across src/, supabase/, openspec/, and docs/ directories. Define naming conventions, enforce file size limits (200-line maximum), and specify where components, migrations, and specs belong. Consistent structure helps developers locate code quickly and maintain quality.

How do I implement SQL style guidelines and TypeScript constraints in a shared repository?

SQL style guidelines enforce uppercase keywords and consistent formatting; TypeScript constraints require explicit return types and strict typing. Document these rules in your conventions reference, apply them during code review, and use linting tools to catch violations automatically across contributions.

What project-specific limits should I define for code quality and documentation?

Project limits set boundaries for consistency: enforce 200-character description lengths, define answer enum structures, and establish the 200-line file size cap. These constraints prevent outliers, simplify maintenance, and ensure predictable patterns across the repository.

How do conventional commits improve code review and project history?

Conventional commits standardize commit messages with type prefixes (feat, fix, docs, etc.), making project history searchable and automated changelog generation possible. Clear commit practices reduce ambiguity during code review and help team members understand change intent quickly.