# Docs Feature Style

> Use when documentation markdown needs style and structure normalization (terminology, typography, heading rules). Runs Vale and markdownlint when installed and applies the same rules manually when they are absent. Usable standalone or as the final step of docs-feature-write.

- Skill: `kirchberg/docs-feature-style` (Agent Skill, multi-file: 9 files)
- Install (CLI): `npx skillmds@latest add kirchberg/docs-feature-style`
- Raw SKILL.md: https://api.skillmd.com/api/skills/kirchberg/docs-feature-style/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Design & Media
- Author: Kirchberg (https://skillmd.com/u/kirchberg)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/kirchberg/docs-feature-style

---


# Docs Feature Style

## Purpose

Normalize documentation style and structure so authors can choose terminology
and typography without hard-coding rules into every workflow. Works on any
markdown, and is the optional final step of `docs-feature-write`.

## Operating Mode

Graceful degradation:

- Detect `vale` and `markdownlint` (or `markdownlint-cli`) on `PATH`.
- When a tool is present, run it with the project's own config if present,
  otherwise the shipped example config, or skip to manual rules; then apply
  fixes.
- When a tool is absent, apply the same rules manually from
  `references/style-rules.md`. Never block on a missing binary.
- Report which tools ran and which rules were applied manually.

## Reference Routing

- `references/style-rules.md`: required. Terminology, typography, and structure
  rules, with configurable examples.
- `references/tooling.md`: required before running or skipping linters. Defines
  detection, invocation, and manual fallback mapping.

## Assets

- `assets/vale/.vale.ini` and `assets/vale/styles/`: example Vale config and a
  sample vocabulary.
- `assets/markdownlint/.markdownlint.jsonc`: example markdownlint config.

Assets are starting points. Copy them into the active project and adapt; do not
treat the examples as mandatory project rules.

## Workflow

1. Read `references/tooling.md`.
2. Detect available linters.
3. Read `references/style-rules.md`.
4. For each target file: run available linters, then apply remaining rules
   manually.
5. Make minimal edits that preserve meaning. Do not rewrite content.
6. Report tools used, rules applied, and files changed.

## Avoid

- Do not require a specific linter to be installed.
- Do not impose example terminology or typography as mandatory rules.
- Do not rewrite or restructure content beyond style and structure fixes.
- Do not depend on other skills in this repository; this pack is self-contained.

