nx: Skill for Claude Code

.claude/skills/check-docs-style/SKILL.md

check-docs-style is a skill for Claude Code from nrwl/nx. It costs 0 tokens per session (1,135 once invoked), scanned A, original, MIT.

A checker for Nx documentation pages, where Nx is a tool for managing repositories with multiple applications and libraries. It compares edited documentation with the repository's style and navigation rules.

In plain words
What is it for?
Use it to review new or edited Nx documentation, inspect its sidebar placement and content type, and fix issues found by the style guide.
Why use it?
It helps catch pages that are misplaced, inconsistent with nearby documentation, or written for the wrong stage of a reader's learning path. It is intended to run after documentation changes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is nrwl/nx's own configuration. It tells Claude Code how to work on nx itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything nx configures →

View source ↗ nrwl/nx nx.dev
About the project

Nx is a tool for managing monorepos, which are repositories containing multiple related projects, across TypeScript and other languages. It helps development teams and AI agents run only affected tasks, cache build results, generate code, and coordinate continuous integration. The catalogue add-ons provide agent skills, commands, agents, instructions, and settings for working with Nx.

nrwl/nx · 29,416 stars · on GitHub · nx.dev

Reuse

Borrowing it

Nothing to install: this file belongs to nrwl/nx. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/nrwl/nx/master/.claude/skills/check-docs-style/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/nrwl/nx

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for check-docs-style

README.md
[![agentmods](https://agentmods.dev/badge/skills/nrwl/nx/check-docs-style/github.svg)](https://agentmods.dev/skills/nrwl/nx/check-docs-style)
Your own site
<a href="https://agentmods.dev/skills/nrwl/nx/check-docs-style"><img src="https://agentmods.dev/badge/skills/nrwl/nx/check-docs-style/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for check-docs-style

Your own site · 80×15
<a href="https://agentmods.dev/skills/nrwl/nx/check-docs-style"><img src="https://agentmods.dev/badge/skills/nrwl/nx/check-docs-style.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,135 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 10
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01135
Opus 5.5 $0.00000 $0.00454
Sonnet 5.5 $0.00000 $0.00227
Haiku 4.5 $0.00000 $0.00113

Measured 2d ago against content hash f747f336cc0b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

check-docs-style scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/check-docs-style/SKILL.md · 117 lines

How it starts

The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Nx docs style check

You are a documentation editor for Nx. Whenever you detect that the user is writing or editing documentation files in astro-docs/src/content/ (.mdoc, .mdx, .md), automatically run this check and fix any issues. Do not wait to be asked.

Phase 1: Information architecture audit

Read astro-docs/STYLE_GUIDE.md (the "Information architecture" section) and astro-docs/sidebar.mts to understand where the page lives in the sidebar hierarchy.

For every new or moved page, evaluate against ALL SIX principles. These are non-negotiable:

1. Progressive disclosure ("journey" rule)

  • Is this for the first 30 minutes (Getting Started), first 30 days (Features), or forever (Reference)?
  • Flag if the content complexity doesn't match the section's experience level.

2. Category homogeneity ("scan" rule)

  • Look at sibling pages in the same sidebar section.
  • Do they all share the same content type (concepts, tasks, or products)?
  • Flag if this page mixes types that siblings don't.

3. Type-based navigation ("intent" rule)

  • Is this a learning page (narrative/guide) or a lookup page (reference/API)?
  • Flag if it's in the wrong category (e.g., a reference page in a guides section).

4. Universal vs. specific ("placement" rule)

  • Does this feature apply to every Nx user?
  • YES = "Core features", or "CI features" when it only applies in CI
  • NO (only React/Angular/etc. users) = "Technologies"
  • Flag if a technology-specific page is in Core features or vice versa.

5. Golden path ("one way" rule)

  • Does the page teach one default workflow, or does it enumerate flags and variants?
  • Flag sentences a first-time user needs neither to succeed nor to choose. Those belong in a Knowledge Base guide.

6. One page per feature ("don't make me hunt" rule)

  • List the questions a new reader, or an AI answering for one, would ask about this feature.
  • Flag any answer that lives only on another page. The feature page should carry the question even when the detail fans out to a Knowledge Base guide.
  • This is the counterweight to principle 5, not an exception to it: trim variants, keep decisions.

Read the full file on GitHub · 117 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · -7 lines · -84 tokens per session f747f336cc0b
  2. 1mo ago First seen · 124 lines · 84 tokens per session scan A 262f6fbce130

Subscribe to this mod's changes

check-docs-style is a skill published in the GitHub repository nrwl/nx (29,416 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,135 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

Cypress v14 Component Testing

Component testing patterns with Cypress v14 including React, Vue, and Angular component mounting, custom mount commands, interaction testing, visual snapshots, and integration with Vite and Webpack bundlers.

PramodDutta/qaskills · 45 tokens

agent-upkeep

Perform one small, scoped maintenance improvement to the Elements monorepo and open a single reviewable pull request. Use this skill for scheduled or unattended upkeep runs that improve unit test coverage for one file, fix one behavioral bug in one module, or move one off ESLint rule toward enforcement to reduce…

NVIDIA/elements · 115 tokens

agent-dependencies

Perform one conservative dependency or toolchain upgrade in the Elements monorepo and open a validated pull request. Use for nightly or unattended dependency maintenance, outdated package checks, first-party actions/ GitHub Actions updates, and pinned mise tool updates. Use the github-dependabot skill instead when the…

NVIDIA/elements · 73 tokens

agent-debug-ci

Investigate failed scheduled or nightly GitHub Actions runs on the default branch, determine whether the failure is reproducible and repository-owned, implement the smallest evidence-backed fix, validate it, and open a pull request. Use when a failed nightly CI event starts an agent, or when the standard CI or…

NVIDIA/elements · 80 tokens

audit-ci

Run and analyze Elements cold CI performance profiles and propose evidence-backed build, test, lint, and dependency-graph improvements. Use whenever asked to profile or benchmark pnpm run ci, rerun ci:profile, create a CI performance audit, compare CI timings, find bottlenecks or the completion path, investigate a CI…

NVIDIA/elements · 78 tokens

authoring-projects

Author a new standalone NVIDIA Elements workspace project containing a Lit component, including package files, the five test types, Wireit tasks, workspace and CI registration, metadata generation, documentation-site integration, dependency-lint configuration, and generated lock/notice files. Use when creating or…

NVIDIA/elements · 97 tokens