Comprehensive writing guide for Angular documentation (adev). Covers Google Technical Writing standards, Angular-specific markdown extensions, code blocks, and components. You MUST use this skill any time you plan to create, edit, or review documentation files in `adev/` or `adev/src/content`.
npx skills add https://github.com/angular/angular --skill adev-writing-guide
This skill provides comprehensive guidelines for authoring content in adev/src/content. It combines Google's technical writing standards with Angular-specific markdown conventions, components, and best practices.
CONTRIBUTING.md or similar).Use the appropriate language identifier for syntax highlighting:
angular-ts when TypeScript code examples contain inline templates.angular-html for Angular templates.ts for plain TypeScript.html for plain HTML.shell or bash.mermaid.You can enhance code blocks with attributes in curly braces {} after the language identifier:
header="Title": Adds a title to the code block.linenums: Enables line numbering.highlight="[1, 3-5]": Highlights specific lines.hideCopy: Hides the copy button.prefer: Marks code as a preferred example (green border/check).avoid: Marks code as an example to avoid (red border/cross).Example:
@Component({
selector: 'my-app',
template: '<h1>Hello</h1>',
})
export class App {}
<docs-code> ComponentFor more advanced code block features, use the <docs-code> component:
path: Path to a source file (e.g., adev/src/content/examples/...).header: Custom header text.language: Language identifier (e.g., angular-ts).linenums: Boolean attribute.highlight: Array of line numbers/ranges (e.g., [[3,7], 9]).diff: Path to diff file.visibleLines: Range of lines to show initially (collapsible).region: Region to extract from source file.preview: Boolean. Renders a live preview (StackBlitz). _Only works with standalone examples._hideCode: Boolean. Collapses code by default.Multifile Example:
<docs-code-multifile path="..." preview>
<docs-code path="..." />
<docs-code path="..." />
</docs-code-multifile>
Use specific keywords followed by a colon for alerts. These render as styled blocks.
NOTE: For ancillary information.TIP: For helpful hints or shortcuts.IMPORTANT: For crucial information.CRITICAL: For warnings about potential data loss or severe issues.TODO: For incomplete documentation.QUESTION: To pose a question to the reader.SUMMARY: For section summaries.TLDR: For concise summaries.HELPFUL: For best practices.Example:
TIP: Use `ng serve` to run your application locally.
<docs-card>):<docs-card-container>.title, link, href.<docs-callout>):title, important, critical.<docs-pill>):<docs-pill-row>.title, href.<docs-step>):<docs-workflow>.title.<docs-tab>):<docs-tab-group>.label.<docs-video>):src (YouTube embed URL), alt.Use standard markdown syntax with optional attributes for sizing and loading behavior.
#small, #medium: Append to image URL for sizing.{loading: 'lazy'}: Add attribute for lazy loading.Example:

#, ##, ###).h2 and h3 are most common for content structure.Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.
Use when implementing any feature or bugfix, before writing implementation code
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
Use when you have a spec or requirements for a multi-step task, before touching code
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Use when writing or improving README files. Not all READMEs are the same — provides templates and guidance matched to your audience and project type.
This skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
| Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
Take angular/adev-writing-guide from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.