writing-docs

Enforces house style rules when writing or editing Markdown documentation and prose.

8|15|Updated Jan 17, 2025
One-click install
npx skills add https://github.com/Netcracker/qubership-envgene --skill writing-docs-netcracker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-docs
Source: https://github.com/Netcracker/qubership-envgene/tree/main/.claude/skills/writing-docs
Command: npx skills add https://github.com/Netcracker/qubership-envgene --skill writing-docs-netcracker

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Documentation and prose in a repository drift into inconsistent style: mixed heading cases, em dashes, misaligned tables, broken cross-links, and invented identifiers. This Skill applies the repository's house style guide so every doc, readme, issue, and PR description follows the same rules. ## Core Features & Use Cases - Prose style enforcement: Applies rules for dialect, dashes, Oxford commas, heading case, voice, tense, and hedging to any text the repository ships. - Markdown formatting: Enforces list spacing, table alignment, GitHub callout syntax, line length limits, and table-of-contents conventions. - Content integrity: Verifies identifiers against source code, reuses existing vocabulary, and validates YAML/JSON examples against schemas in schemas/. - Use Case: Before opening a pull request that updates a how-to guide, use this Skill to review the doc against the style rules, fix callouts and tables, and run the markdownlint and textlint pre-flight checks. ## Quick Start Review my updated doc under docs/how-to against the house style guide and fix any violations before I open the PR.

Frequently Asked Questions about writing-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write documentation that follows a repository style guide?

Match your task to the correct reference file first: prose-style.md for general writing, markdown.md for formatting, doc-structure.md for document organization. Read the file before writing rather than working from memory, then apply rules only to new or modified content.

How do I check Markdown docs before submitting a pull request?

Run markdownlint with the project config at .github/linters/.markdown-lint.yml, then run textlint with the terminology rule on changed files. Also verify all links work, tables are aligned, and cross-reference anchors still match after any heading renames.

What is the Diataxis documentation framework?

Diataxis splits documentation into four types: how-to guides, explanations, reference docs, and tutorials. Each type has its own directory, voice, and structure rules, and you should not mix types such as embedding theory inside a practical how-to guide.

Does this style guide apply to existing documentation?

Almost every rule applies to new and modified content only. When editing an existing document, apply rules to the lines you add or rewrite without reflowing surrounding prose, which avoids large noisy diffs unrelated to your task.

How do I write YAML examples that match the actual schema?

Read the object entry in docs/envgene-objects.md and the matching JSON Schema under schemas/ before writing any example. Include all required fields, never invent fields, and validate the example against the schema before shipping it.

When should I not use this writing style skill?

Do not use it for pure code changes, config-value edits, debugging, linter or CI setup, or answering factual questions about identifiers. The skill targets authoring and polishing prose and Markdown, not code work.