Files
everything-claude-code/.claude/skills/everything-claude-code/SKILL.md

8.3 KiB

name, description
name description
everything-claude-code-conventions Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

Everything Claude Code Conventions

Generated from affaan-m/everything-claude-code on 2026-03-24

Overview

This skill teaches Claude the development patterns and conventions used in everything-claude-code.

Tech Stack

  • Primary Language: JavaScript
  • Architecture: hybrid module organization
  • Test Location: separate

When to Use This Skill

Activate this skill when:

  • Making changes to this repository
  • Adding new features following established patterns
  • Writing tests that match project conventions
  • Creating commits with proper message format

Commit Conventions

Follow these commit message conventions based on 500 analyzed commits.

Commit Style: Conventional Commits

Prefixes Used

  • fix
  • feat
  • docs
  • test

Message Guidelines

  • Average message length: ~62 characters
  • Keep first line concise and descriptive
  • Use imperative mood ("Add feature" not "Added feature")

Commit message example

feat: add everything-claude-code ECC bundle (.claude/commands/add-or-update-skill-documentation.md)

Commit message example

perf(hooks): move post-edit-format and post-edit-typecheck to strict-only (#757)

Commit message example

fix: safe Codex config sync — merge AGENTS.md + add-only MCP servers (#723)

Commit message example

docs(zh-CN): translate code block(plain text) (#753)

Commit message example

security: remove supply chain risks, external promotions, and unauthorized credits

Commit message example

feat: add everything-claude-code ECC bundle (.claude/commands/feature-development.md)

Commit message example

feat: add everything-claude-code ECC bundle (.claude/commands/database-migration.md)

Commit message example

feat: add everything-claude-code ECC bundle (.claude/enterprise/controls.md)

Architecture

Project Structure: Single Package

This project uses hybrid module organization.

Configuration Files

  • .github/workflows/ci.yml
  • .github/workflows/maintenance.yml
  • .github/workflows/monthly-metrics.yml
  • .github/workflows/release.yml
  • .github/workflows/reusable-release.yml
  • .github/workflows/reusable-test.yml
  • .github/workflows/reusable-validate.yml
  • .opencode/package.json
  • .opencode/tsconfig.json
  • .prettierrc
  • eslint.config.js
  • package.json

Guidelines

  • This project uses a hybrid organization
  • Follow existing patterns when adding new code

Code Style

Language: JavaScript

Naming Conventions

Element Convention
Files camelCase
Functions camelCase
Classes PascalCase
Constants SCREAMING_SNAKE_CASE

Import Style: Relative Imports

Export Style: Mixed Style

Preferred import style

// Use relative imports
import { Button } from '../components/Button'
import { useAuth } from './hooks/useAuth'

Testing

Test Framework

No specific test framework detected — use the repository's existing test patterns.

File Pattern: *.test.js

Test Types

  • Unit tests: Test individual functions and components in isolation
  • Integration tests: Test interactions between multiple components/services

Coverage

This project has coverage reporting configured. Aim for 80%+ coverage.

Error Handling

Error Handling Style: Try-Catch Blocks

Standard error handling pattern

try {
  const result = await riskyOperation()
  return result
} catch (error) {
  console.error('Operation failed:', error)
  throw new Error('User-friendly message')
}

Common Workflows

These workflows were detected from analyzing commit patterns.

Database Migration

Database schema changes with migration files

Frequency: ~2 times per month

Steps:

  1. Create migration file
  2. Update schema definitions
  3. Generate/update types

Files typically involved:

  • migrations/*

Example commit sequence:

Add Turkish (tr) docs and update README (#744)
docs(zh-CN): translate code block(plain text) (#753)
fix(install): add rust, cpp, csharp to legacy language alias map (#747)

Feature Development

Standard feature implementation workflow

Frequency: ~21 times per month

Steps:

  1. Add feature implementation
  2. Add tests for feature
  3. Update documentation

Files typically involved:

  • manifests/*
  • **/*.test.*
  • **/api/**

Example commit sequence:

docs(pt-BR): add rules translation
docs(pt-BR): add examples translation
docs(pt-BR): add commands translation

Add Or Update Skill

Adds a new skill or updates documentation for an existing skill.

Frequency: ~2 times per month

Steps:

  1. Create or update SKILL.md in the relevant skills directory.
  2. Optionally add architecture diagrams, implementation notes, or integration guidance.

Files typically involved:

  • skills/*/SKILL.md
  • docs/zh-CN/skills/*/SKILL.md
  • docs/tr/skills/*/SKILL.md

Example commit sequence:

Create or update SKILL.md in the relevant skills directory.
Optionally add architecture diagrams, implementation notes, or integration guidance.

Add Or Update Localization

Adds or updates documentation translations for a new or existing language.

Frequency: ~2 times per month

Steps:

  1. Add or update docs in docs// for agents, commands, skills, rules, and examples.
  2. Update README.md to reference the new or updated language.
  3. Optionally increment language count in README.

Files typically involved:

  • docs/zh-CN/**/*
  • docs/pt-BR/**/*
  • docs/tr/**/*
  • README.md

Example commit sequence:

Add or update docs in docs/<lang>/ for agents, commands, skills, rules, and examples.
Update README.md to reference the new or updated language.
Optionally increment language count in README.

Add Or Update Command Doc

Adds or updates documentation for a CLI command.

Frequency: ~2 times per month

Steps:

  1. Create or update a markdown file in commands/ or docs//commands/.
  2. Optionally update README.md or AGENTS.md to reflect the new/updated command.

Files typically involved:

  • commands/*.md
  • docs/zh-CN/commands/*.md
  • docs/pt-BR/commands/*.md
  • docs/tr/commands/*.md
  • README.md
  • AGENTS.md

Example commit sequence:

Create or update a markdown file in commands/ or docs/<lang>/commands/.
Optionally update README.md or AGENTS.md to reflect the new/updated command.

Feature Development With Tests And Docs

Implements a new feature, adds or updates tests, and documents the change.

Frequency: ~2 times per month

Steps:

  1. Implement or modify feature code (e.g., in src/, scripts/, or main code directories).
  2. Update or add relevant tests in tests/.
  3. Update or add documentation in docs/ or README.md.

Files typically involved:

  • src/**/*
  • scripts/**/*
  • tests/**/*
  • docs/**/*
  • README.md

Example commit sequence:

Implement or modify feature code (e.g., in src/, scripts/, or main code directories).
Update or add relevant tests in tests/.
Update or add documentation in docs/ or README.md.

Add Or Update Hook

Adds or modifies a project hook for linting, formatting, or config protection.

Frequency: ~2 times per month

Steps:

  1. Edit or add hook configuration in hooks/hooks.json.
  2. Implement or update hook logic in scripts/hooks/.
  3. Optionally update related plugin files.

Files typically involved:

  • hooks/hooks.json
  • scripts/hooks/*.js
  • .opencode/plugins/*.ts

Example commit sequence:

Edit or add hook configuration in hooks/hooks.json.
Implement or update hook logic in scripts/hooks/.
Optionally update related plugin files.

Best Practices

Based on analysis of the codebase, follow these practices:

Do

  • Use conventional commit format (feat:, fix:, etc.)
  • Follow *.test.js naming pattern
  • Use camelCase for file names
  • Prefer mixed exports

Don't

  • Don't write vague commit messages
  • Don't skip tests for new features
  • Don't deviate from established patterns without discussion

This skill was auto-generated by ECC Tools. Review and customize as needed for your team.