everything-claude-code-conventions
Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.
- License 许可
- Apache-2.0
- 最近更新
- 2026-03-24
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- everything-claude-code-conventions
- description
- Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.
02 资源文件 203
- 参考文档add-language-rules.md1.2 KB
- 参考文档AGENTS.md7.7 KB
- 参考文档agents.md1.5 KB
- 参考文档ANTIGRAVITY-GUIDE.md6.9 KB
- 参考文档api-reference.md19.8 KB
- 参考文档architect.md6.5 KB
- 参考文档ARCHITECTURE-IMPROVEMENTS.md7.8 KB
- 参考文档aside.md5.8 KB
- 参考文档build-error-resolver.md4.0 KB
- 参考文档build-fix.md2.2 KB
- 参考文档capture-reference.md11.7 KB
- 参考文档capture.md4.7 KB
- 参考文档checkpoint.md1.5 KB
- 参考文档chief-of-staff.md5.4 KB
- 参考文档CLAUDE.md2.3 KB
- 参考文档claw.md1.5 KB
- 参考文档cloud-infrastructure-security.md10.3 KB
- 参考文档CODE_OF_CONDUCT.md5.1 KB
- 参考文档code-review.md985 B
- 参考文档code-reviewer.md9.3 KB
- 参考文档coding-style.md1.1 KB
- 参考文档COMMAND-AGENT-MAP.md3.7 KB
- 参考文档common-agents.md1.6 KB
- 参考文档common-coding-style.md1.5 KB
- 参考文档common-development-workflow.md1.0 KB
- 参考文档common-git-workflow.md687 B
- 参考文档common-hooks.md880 B
- 参考文档common-patterns.md1.1 KB
- 参考文档common-performance.md1.7 KB
- 参考文档common-security.md968 B
- 参考文档common-testing.md872 B
- 参考文档context-budget.md992 B
- 参考文档continuous-learning-v2-spec.md418 B
- 参考文档CONTRIBUTING.md10.4 KB
- 参考文档controls.md527 B
- 参考文档copilot-task.md333 B
- 参考文档cpp-build-resolver.md3.1 KB
- 参考文档cpp-build.md3.9 KB
- 参考文档cpp-review.md3.4 KB
- 参考文档cpp-reviewer.md2.9 KB
- 参考文档cpp-test.md5.7 KB
- 参考文档database-migration.md891 B
- 参考文档database-reviewer.md4.4 KB
- 参考文档dev.md419 B
- 参考文档development-workflow.md2.0 KB
- 参考文档devfleet.md3.7 KB
- 参考文档django-api-CLAUDE.md8.8 KB
- 参考文档doc-updater.md3.5 KB
- 参考文档docs-lookup.md3.5 KB
- 参考文档docs.md1.4 KB
- 参考文档e2e-runner.md4.3 KB
- 参考文档e2e.md10.6 KB
- 参考文档ECC-2.0-SESSION-ADAPTER-DISCOVERY.md8.5 KB
- 参考文档editor.md16.1 KB
- 参考文档eval.md2.2 KB
- 参考文档everything-claude-code-guardrails.md1.1 KB
- 参考文档everything-claude-code-research-playbook.md607 B
- 参考文档evolve.md4.4 KB
- 参考文档feature-development.md918 B
- 参考文档flutter-reviewer.md13.8 KB
- 参考文档generative.md9.9 KB
- 参考文档git-workflow.md622 B
- 参考文档go-build-resolver.md3.3 KB
- 参考文档go-build.md3.7 KB
- 参考文档go-microservice-CLAUDE.md7.6 KB
- 参考文档go-review.md3.3 KB
- 参考文档go-reviewer.md2.8 KB
- 参考文档go-test.md5.5 KB
- 参考文档golang-coding-style.md621 B
- 参考文档golang-hooks.md448 B
- 参考文档golang-patterns.md931 B
- 参考文档golang-security.md600 B
- 参考文档golang-testing.md499 B
- 参考文档gradle-build.md2.5 KB
- 参考文档harness-audit.md2.0 KB
- 参考文档harness-optimizer.md880 B
- 参考文档hooks.md485 B
- 参考文档instinct-export.md1.6 KB
- 参考文档instinct-import.md2.8 KB
- 参考文档instinct-status.md1.5 KB
- 参考文档INSTRUCTIONS.md7.7 KB
- 参考文档java-build-resolver.md5.5 KB
- 参考文档java-reviewer.md5.6 KB
- 参考文档kotlin-build-resolver.md4.0 KB
- 参考文档kotlin-build.md4.2 KB
- 参考文档kotlin-coding-style.md1016 B
- 参考文档kotlin-hooks.md467 B
- 参考文档kotlin-patterns.md1.1 KB
- 参考文档kotlin-review.md3.5 KB
- 参考文档kotlin-reviewer.md6.6 KB
- 参考文档kotlin-security.md1.4 KB
- 参考文档kotlin-test.md7.4 KB
- 参考文档kotlin-testing.md780 B
- 参考文档laravel-api-CLAUDE.md6.3 KB
- 参考文档learn-eval.md5.1 KB
- 参考文档learn.md1.6 KB
- 参考文档linkedin-post.md515 B
- 参考文档loop-operator.md864 B
- 参考文档loop-start.md884 B
- 参考文档loop-status.md455 B
- 参考文档MEGA-PLAN-REPO-PROMPTS-2026-03-12.md8.8 KB
- 参考文档metrics-and-sponsorship.md2.6 KB
- 参考文档MIGRATION.md11.0 KB
- 参考文档model-route.md585 B
- 参考文档multi-backend.md5.0 KB
- 参考文档multi-execute.md10.3 KB
- 参考文档multi-frontend.md5.1 KB
- 参考文档multi-plan.md9.1 KB
- 参考文档multi-workflow.md7.4 KB
- 参考文档observer.md4.9 KB
- 参考文档orchestrate.md5.2 KB
- 参考文档patterns.md1.4 KB
- 参考文档performance.md1.6 KB
- 参考文档PHASE1-ISSUE-BUNDLE-2026-03-12.md7.2 KB
- 参考文档php-coding-style.md850 B
- 参考文档php-hooks.md718 B
- 参考文档php-patterns.md841 B
- 参考文档php-security.md851 B
- 参考文档php-testing.md740 B
- 参考文档plan.md3.6 KB
- 参考文档planner.md7.3 KB
- 参考文档PLUGIN_SCHEMA_NOTES.md5.2 KB
- 参考文档pm2.md6.5 KB
- 参考文档PR-399-REVIEW-2026-03-12.md1.7 KB
- 参考文档PR-QUEUE-TRIAGE-2026-03-13.md10.2 KB
- 参考文档projects.md853 B
- 参考文档promote.md1.2 KB
- 参考文档prompt-optimize.md2.0 KB
- 参考文档PULL_REQUEST_TEMPLATE.md1.0 KB
- 参考文档python-coding-style.md760 B
- 参考文档python-hooks.md473 B
- 参考文档python-patterns.md872 B
- 参考文档python-review.md6.5 KB
- 参考文档python-reviewer.md11.6 KB
- 参考文档python-security.md573 B
- 参考文档python-testing.md630 B
- 参考文档pytorch-build-resolver.md5.3 KB
- 参考文档quality-gate.md617 B
- 参考文档README.zh-CN.md18.2 KB
- 参考文档refactor-clean.md2.7 KB
- 参考文档refactor-cleaner.md2.8 KB
- 参考文档reference-attribution.md713 B
- 参考文档release-notes.md855 B
- 参考文档research.md613 B
- 参考文档resume-session.md6.0 KB
- 参考文档review.md527 B
- 参考文档rtstream-reference.md14.6 KB
- 参考文档rtstream.md1.8 KB
- 参考文档rules-distill.md326 B
- 参考文档rust-api-CLAUDE.md8.0 KB
- 参考文档rust-build-resolver.md5.7 KB
- 参考文档rust-build.md4.5 KB
- 参考文档rust-review.md3.8 KB
- 参考文档rust-reviewer.md4.8 KB
- 参考文档rust-test.md6.8 KB
- 参考文档saas-nextjs-CLAUDE.md4.7 KB
- 参考文档save-session.md9.4 KB
- 参考文档search.md7.7 KB
- 参考文档security-reviewer.md4.6 KB
- 参考文档security.md1.4 KB
- 参考文档SECURITY.md1.6 KB
- 参考文档SELECTIVE-INSTALL-ARCHITECTURE.md25.3 KB
- 参考文档SELECTIVE-INSTALL-DESIGN.md11.6 KB
- 参考文档SESSION-ADAPTER-CONTRACT.md8.8 KB
- 参考文档sessions.md13.8 KB
- 参考文档setup-pm.md1.6 KB
- 参考文档skill-create.md4.4 KB
- 参考文档skill-health.md2.6 KB
- 参考文档social-launch-copy.md1.5 KB
- 参考文档SPONSORING.md1.8 KB
- 参考文档SPONSORS.md1.9 KB
- 参考文档streaming.md11.5 KB
- 参考文档STYLE_PRESETS.md8.9 KB
- 参考文档swift-coding-style.md1.4 KB
- 参考文档swift-hooks.md556 B
- 参考文档swift-patterns.md1.5 KB
- 参考文档swift-security.md1.0 KB
- 参考文档swift-testing.md1.0 KB
- 参考文档tdd-guide.md3.2 KB
- 参考文档tdd.md8.1 KB
- 参考文档TERMINOLOGY.md4.1 KB
- 参考文档test-coverage.md2.6 KB
- 参考文档testing.md937 B
- 参考文档the-longform-guide.md14.8 KB
- 参考文档the-openclaw-guide.md41.5 KB
- 参考文档the-security-guide.md27.9 KB
- 参考文档the-shortform-guide.md15.6 KB
- 参考文档token-optimization.md5.1 KB
- 参考文档TROUBLESHOOTING.md9.4 KB
- 参考文档typescript-coding-style.md1.2 KB
- 参考文档typescript-hooks.md608 B
- 参考文档typescript-patterns.md1.1 KB
- 参考文档typescript-reviewer.md7.6 KB
- 参考文档typescript-security.md595 B
- 参考文档typescript-testing.md422 B
- 参考文档update-codemaps.md2.3 KB
- 参考文档update-docs.md2.9 KB
- 参考文档use-cases.md4.0 KB
- 参考文档user-CLAUDE.md3.2 KB
- 参考文档verify.md1.2 KB
- 参考文档x-quote-eval-skills.md227 B
- 参考文档x-quote-plankton-deslop.md233 B
- 参考文档x-thread.md505 B
03 SKILL.md 正文
Everything Claude Code Conventions
Generated from affaan-m/everything-claude-code on 2026-03-20
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
fixtestfeatdocs
Message Guidelines
- Average message length: ~65 characters
- Keep first line concise and descriptive
- Use imperative mood ("Add feature" not "Added feature")
Commit message example
feat(rules): add C# language support
Commit message example
chore(deps-dev): bump flatted (#675)
Commit message example
fix: auto-detect ECC root from plugin cache when CLAUDE_PLUGIN_ROOT is unset (#547) (#691)
Commit message example
docs: add Antigravity setup and usage guide (#552)
Commit message example
merge: PR #529 — feat(skills): add documentation-lookup, bun-runtime, nextjs-turbopack; feat(agents): add rust-reviewer
Commit message example
Revert "Add Kiro IDE support (.kiro/) (#548)"
Commit message example
Add Kiro IDE support (.kiro/) (#548)
Commit message example
feat: add block-no-verify hook for Claude Code and Cursor (#649)
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.prettierrceslint.config.jspackage.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:
- Create migration file
- Update schema definitions
- Generate/update types
Files typically involved:
**/schema.*migrations/*
Example commit sequence:
feat: implement --with/--without selective install flags (#679)
fix: sync catalog counts with filesystem (27 agents, 113 skills, 58 commands) (#693)
feat(rules): add Rust language rules (rebased #660) (#686)
Feature Development
Standard feature implementation workflow
Frequency: ~22 times per month
Steps:
- Add feature implementation
- Add tests for feature
- Update documentation
Files typically involved:
manifests/*schemas/***/*.test.***/api/**
Example commit sequence:
feat(skills): add documentation-lookup, bun-runtime, nextjs-turbopack; feat(agents): add rust-reviewer
docs(skills): align documentation-lookup with CONTRIBUTING template; add cross-harness (Codex/Cursor) skill copies
fix: address PR review — skill template (When to use, How it works, Examples), bun.lock, next build note, rust-reviewer CI note, doc-lookup privacy/uncertainty
Add Language Rules
Adds a new programming language to the rules system, including coding style, hooks, patterns, security, and testing guidelines.
Frequency: ~2 times per month
Steps:
- Create a new directory under rules/{language}/
- Add coding-style.md, hooks.md, patterns.md, security.md, and testing.md files with language-specific content
- Optionally reference or link to related skills
Files typically involved:
rules/*/coding-style.mdrules/*/hooks.mdrules/*/patterns.mdrules/*/security.mdrules/*/testing.md
Example commit sequence:
Create a new directory under rules/{language}/
Add coding-style.md, hooks.md, patterns.md, security.md, and testing.md files with language-specific content
Optionally reference or link to related skills
Add New Skill
Adds a new skill to the system, documenting its workflow, triggers, and usage, often with supporting scripts.
Frequency: ~4 times per month
Steps:
- Create a new directory under skills/{skill-name}/
- Add SKILL.md with documentation (When to Use, How It Works, Examples, etc.)
- Optionally add scripts or supporting files under skills/{skill-name}/scripts/
- Address review feedback and iterate on documentation
Files typically involved:
skills/*/SKILL.mdskills/*/scripts/*.shskills/*/scripts/*.js
Example commit sequence:
Create a new directory under skills/{skill-name}/
Add SKILL.md with documentation (When to Use, How It Works, Examples, etc.)
Optionally add scripts or supporting files under skills/{skill-name}/scripts/
Address review feedback and iterate on documentation
Add New Agent
Adds a new agent to the system for code review, build resolution, or other automated tasks.
Frequency: ~2 times per month
Steps:
- Create a new agent markdown file under agents/{agent-name}.md
- Register the agent in AGENTS.md
- Optionally update README.md and docs/COMMAND-AGENT-MAP.md
Files typically involved:
agents/*.mdAGENTS.mdREADME.mddocs/COMMAND-AGENT-MAP.md
Example commit sequence:
Create a new agent markdown file under agents/{agent-name}.md
Register the agent in AGENTS.md
Optionally update README.md and docs/COMMAND-AGENT-MAP.md
Add New Command
Adds a new command to the system, often paired with a backing skill.
Frequency: ~1 times per month
Steps:
- Create a new markdown file under commands/{command-name}.md
- Optionally add or update a backing skill under skills/{skill-name}/SKILL.md
Files typically involved:
commands/*.mdskills/*/SKILL.md
Example commit sequence:
Create a new markdown file under commands/{command-name}.md
Optionally add or update a backing skill under skills/{skill-name}/SKILL.md
Sync Catalog Counts
Synchronizes the documented counts of agents, skills, and commands in AGENTS.md and README.md with the actual repository state.
Frequency: ~3 times per month
Steps:
- Update agent, skill, and command counts in AGENTS.md
- Update the same counts in README.md (quick-start, comparison table, etc.)
- Optionally update other documentation files
Files typically involved:
AGENTS.mdREADME.md
Example commit sequence:
Update agent, skill, and command counts in AGENTS.md
Update the same counts in README.md (quick-start, comparison table, etc.)
Optionally update other documentation files
Add Cross Harness Skill Copies
Adds skill copies for different agent harnesses (e.g., Codex, Cursor, Antigravity) to ensure compatibility across platforms.
Frequency: ~2 times per month
Steps:
- Copy or adapt SKILL.md to .agents/skills/{skill}/SKILL.md and/or .cursor/skills/{skill}/SKILL.md
- Optionally add harness-specific openai.yaml or config files
- Address review feedback to align with CONTRIBUTING template
Files typically involved:
.agents/skills/*/SKILL.md.cursor/skills/*/SKILL.md.agents/skills/*/agents/openai.yaml
Example commit sequence:
Copy or adapt SKILL.md to .agents/skills/{skill}/SKILL.md and/or .cursor/skills/{skill}/SKILL.md
Optionally add harness-specific openai.yaml or config files
Address review feedback to align with CONTRIBUTING template
Add Or Update Hook
Adds or updates git or bash hooks to enforce workflow, quality, or security policies.
Frequency: ~1 times per month
Steps:
- Add or update hook scripts in hooks/ or scripts/hooks/
- Register the hook in hooks/hooks.json or similar config
- Optionally add or update tests in tests/hooks/
Files typically involved:
hooks/*.hookhooks/hooks.jsonscripts/hooks/*.jstests/hooks/*.test.js.cursor/hooks.json
Example commit sequence:
Add or update hook scripts in hooks/ or scripts/hooks/
Register the hook in hooks/hooks.json or similar config
Optionally add or update tests in tests/hooks/
Address Review Feedback
Addresses code review feedback by updating documentation, scripts, or configuration for clarity, correctness, or convention alignment.
Frequency: ~4 times per month
Steps:
- Edit SKILL.md, agent, or command files to address reviewer comments
- Update examples, headings, or configuration as requested
- Iterate until all review feedback is resolved
Files typically involved:
skills/*/SKILL.mdagents/*.mdcommands/*.md.agents/skills/*/SKILL.md.cursor/skills/*/SKILL.md
Example commit sequence:
Edit SKILL.md, agent, or command files to address reviewer comments
Update examples, headings, or configuration as requested
Iterate until all review feedback is resolved
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.
04 同仓库更多 Skills
requesting-code-review
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
memory-stack
Eve's 5-layer memory system — context, memos, obsidian, ragflow, notebooklm. Memory Agent spawn, data flow, sync operations.
agent-workflow-designer
Agent Workflow Designer
bmad-create-ux-design
Plan UX patterns and design specifications. Use when the user says "lets create UX design" or "create UX specifications" or "help me plan the UX"