convez.ai
Skill
youyucat

embedded-coding-standards

youyucat/embedded-coding-standards

Ver no GitHub
InicialPluginScore · de 0 a 100

Claude Code skill for embedded C/C++ coding standards & architecture

Instalação

$npx convez-ai youyucat/embedded-coding-standards

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
12
Forks
1
Acompanhando
0
Saúde
42%
Último commit
há 5 meses
Versão
—
Issues abertas
0
Contribuidores
1

README

A tradução para o português deste README ainda está na fila.

Embedded Coding Standards — Claude Code Skill

A Claude Code skill that brings embedded C/C++ coding standards and architecture guidance into every Claude Code session.

What it does

When active, Claude follows these standards for all embedded C/C++ work:

  • Architecture layering — Tasks / SYSTEM / Middlewares / Drivers / Core / BSP, strict dependency rules
  • Concurrency & ISR safety — volatile discipline, critical sections, RTOS primitives, reentrancy
  • Memory discipline — static allocation, no VLA, no malloc in ISR, stack budgets
  • Power management — on-demand activation, tiered sleep modes, wake validation
  • MISRA-C alignment — selected high-value rules for safety-critical code
  • Naming & conventions — consistent snake_case, module-prefixed APIs, file structure
  • Error handling — explicit status codes, bounded retry loops, boundary validation
  • Comments — WHY not WHAT, tagged annotations, preprocessor trailing comments

Installation

Option 1: Clone into your skills directory

cd ~/.claude/skills
git clone https://github.com/YOUR_USERNAME/embedded-coding-standards.git

Option 2: Copy manually

Copy skill.md to ~/.claude/skills/embedded-coding-standards/skill.md.

Usage

The skill activates automatically in Claude Code when working on embedded C/C++ projects. No slash command needed — Claude reads the skill file and applies the standards to all code generation, review, and refactoring.

References

  • MISRA-C:2012
  • CERT-C
  • Google / Huawei C++ guidelines
  • Zephyr, FreeRTOS, lwIP open-source conventions

License

MIT

Ver o original no GitHub

Bom para

Relacionados