Skip to content
Back to skills

Engineering Documentation

ASecurity

How to write engineering documentation - architecture docs with C4/Mermaid, ADRs, data-format and protocol specifications, API/module reference, contributor guides, runbooks - and how to keep it verifiable. Use when documenting design, formats, internals or process for engineers and contributors.

  • 8 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
developmentgoapisecurityperformancedocumentation

Works with

  • vscode
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add afri-bit/candb-studio --skill engineering-documentation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Engineering Documentation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Engineering Documentation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/afri-bit-engineering-documentation/badge)](https://www.skillsdirectory.com/skills/afri-bit-engineering-documentation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: engineering-documentation
description: How to write engineering documentation - architecture docs with C4/Mermaid, ADRs, data-format and protocol specifications, API/module reference, contributor guides, runbooks - and how to keep it verifiable. Use when documenting design, formats, internals or process for engineers and contributors.
---

# Engineering documentation

**Audience**: contributors, integrators, safety/security assessors. They need precision and traceability.

## Where things live
| Need | Location |
|------|----------|
| Why a hard-to-reverse choice was made | `docs/adr/NNNN-title.md` |
| System structure and flows | `docs/ARCHITECTURE.md`, `docs/architecture/` |
| Binary/text format specs (BLF subset, recording format, DBC dialect notes) | `docs/engineering/formats/` |
| Protocols between host, webview, helpers | `docs/engineering/protocols/` |
| Quality and tool-qualification material | `docs/quality/` |
| Threat models | `docs/security/` |
| Process | `docs/workflow/`, `CONTRIBUTING.md` |
| Behaviour (normative) | `openspec/specs/` |

## Format specification template
Purpose and scope - Status (implemented / draft / verified against which files) - Terminology - Byte/field table (offset, size, type, endianness, meaning, valid values) - Worked example with hex bytes - Edge cases and error behaviour - Compatibility and versioning - Test fixtures that exercise it.

## Architecture doc rules
Diagram first (Mermaid C4 or sequence), then prose. Name real files and types with paths. State invariants ("core never imports vscode") and where they are enforced. Date or version stamp for anything performance-related.

## API/module reference
Exported symbols have JSDoc (Google style: summary, `@param`, `@returns`, side effects). Do not duplicate signatures in prose; link to code.

## Verification of docs
- Every path and command mentioned exists: run `.claude/skills/engineering-documentation/check-docs.sh` (checks relative links and backticked repo paths).
- Commands are copy-pasted from a successful run.
- Planned vs implemented is explicit.
- Diagrams updated in the same PR as the code they depict.

## Writing style
Precise, neutral, present tense; define terms once; tables for structured facts; avoid marketing language; use RFC 2119 words only in normative specs.

Files in this skill

  • SKILL.md2.3 KB
  • check-docs.sh913 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.