Agent skill

Docs Pass

by petarzarkov in petarzarkov/dunx

Revise one documentation file so it states facts instead of performing insight, and get it under the budgets in scripts/no-slop.test.ts.

MITAuto-check passedDevelopment

Install Docs Pass

skills CLI
$ npx skills add petarzarkov/dunx --skill docs-pass -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install petarzarkov/dunx docs-pass --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/petarzarkov/dunx.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/docs-pass .claude/skills/docs-pass && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
docs-pass
GitHub stars
100
Token cost
~1.5k tokens
SKILL.md length
685 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Revise one documentation file so it states facts instead of performing insight, and get it under the budgets in scripts/no-slop.test.ts.

  • Works in 5 steps: Run the guard. Note the file's mode and… → Read the whole file first. Most offences… → Cut top to bottom. Convert prose runs to… → …
  • Writing a new guide
  • SKILL.md covers The rule that does the work, Modes, What the guard measures and Voice, plus 2 more sections
  • Calls bun

What it does

Docs Pass is an agent skill from petarzarkov/dunx. Revise one documentation file so it states facts instead of performing insight, and get it under the budgets in scripts/no-slop.test.ts. Use when writing a new guide or README, when a reader reports the docs read like AI output, or when bun test scripts/no-slop.test.ts fails.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. The repository describes itself as: fastest web DI framework. NestJS-style structure at Bun speed. Constructor DI with no reflect-metadata, no experimentalDecorators, no JavaScript router. The licence is MIT.

When your agent uses it

  • Writing a new guide
  • A reader reports the docs read like AI output
  • Bun test scripts/no-slop.test.ts fails

Example prompts

  • “/docs-pass”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Run the guard. Note the file's mode and its three counts.
  2. Read the whole file first. Most offences are one paragraph doing a job a
  3. Cut top to bottom. Convert prose runs to tables where the content is
  4. Re-run the guard on that file.
  5. Check the rendered result if the file is under docs/

What it can do on your machine

Read from SKILL.md and the folder at commit 221fede. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • bun

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Docs Pass loads about 1.5k tokens when it runs. Until then it costs about 72 tokens; SKILL.md has 685 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~72
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from petarzarkov/dunx at commit 221fede, republished under its MIT licence (© petarzarkov). 685 words, ~1,463 tokens.

Download SKILL.mdSave it as .claude/skills/docs-pass/SKILL.md (or your agent's skills folder).
name
docs-pass
description
Revise one documentation file so it states facts instead of performing insight, and get it under the budgets in scripts/no-slop.test.ts. Use when writing a new guide or README, when a reader reports the docs read like AI output, or when `bun test scripts/no-slop.test.ts` fails.

/docs-pass

One file per invocation. The guard is scripts/no-slop.test.ts; it owns the mode map and the budgets, and this skill is how a file gets under them.

bash
bun test scripts/no-slop.test.ts    # names every file, its mode, and what it blew

The rule that does the work

Cut. Do not rewrite. Asking for a rewrite produces different prose at the same length, and the length is the defect. Every pass should shrink the file. A paragraph that survives three deletions and still says the same thing was three sentences long.

Delete outright, without replacement:

  • Any sentence that tells the reader what the previous sentence meant.
  • Any sentence about the design's virtue rather than its behaviour. Move it to docs/architecture/ if the reasoning is genuinely load bearing, or lose it.
  • Any restatement of what the code block above already shows.
  • Any sentence introducing the next sentence.

Modes

Set by path in the guard's MODES table, first match wins.

ModeHoldsWrites
Tutorialguide/02-first-steps.mdOne path through, in order, every step runnable. No alternatives, no asides
Referencethe rest of guide/, every published README.mdSignature, behaviour, failure mode. Tables over paragraphs. No narrative
Explanationdocs/architecture/*, guide/01-introduction.mdThe decision, the alternative, the measurement. This is where reasoning belongs

A Reference page that wants to explain why links to the Explanation page. It does not explain in place.

Published or repo-only

docs/ holds user documentation and the maintainer's decision record. Only the first is on the site, and PUBLISHED_REFERENCE in internal/docs/scripts/generate.ts is the list.

On a published page, none of the following may appear: a private workspace (internal/*), a roadmap file, CLAUDE.md, a packages/*/src/ path, a repo script, or a sentence addressed to whoever maintains dunx. internal/docs/src/published-voice.test.ts enforces it.

Say @dunx/http's lifecycle suite, not packages/http/src/server/lifecycle.test.ts. Cite a measurement when a reader would change their code over it; put the decomposition behind it in docs/architecture/, which the site does not publish.

What the guard measures

Three sentence shapes, budgeted per 100 prose lines because each is fine occasionally and the defect is density. Measured against this repo before they were picked: the generic AI vocabulary that circulates online scored 1 hit across all of docs/, and these three scored 628.

ShapeLooks likeFix
antithesis"Colour encodes the runtime, not the ranking"State what it does. Drop the correction
closer"which is why", "that is the point", "is exactly what"Delete the clause. The reader drew the conclusion
knowing"deliberately", "by design", "the reason is"Delete, or move the reasoning to docs/architecture/

Plus a paragraph length cap, which is the wall-of-prose axis, and a zero tolerance list of marketing words and announcement sentences.

Fixing a budget failure by moving prose into a bullet list passes the check and fails the intent. Lists are excluded from the paragraph measure so that reference material stays in tables, not so prose can hide.

Show full SKILL.md (224 more words)Show less

Voice

  • Assume a senior TypeScript developer. Never explain DI, HTTP or decorators as concepts. Explain what dunx does differently.
  • Imperative. "Register this with" over "This can be registered by".
  • Facts carry numbers. "55 ms boot" over "fast boot". If there is no measurement, there is no adjective.
  • Open with a code block or an imperative sentence. Never with orientation.
  • Inline comments inside a snippet beat a paragraph under it.

Procedure

  1. Run the guard. Note the file's mode and its three counts.
  2. Read the whole file first. Most offences are one paragraph doing a job a table does better.
  3. Cut top to bottom. Convert prose runs to tables where the content is genuinely tabular.
  4. Re-run the guard on that file.
  5. Check the rendered result if the file is under docs/: bun run docs:build regenerates internal/docs/src/generated/.

Do not

  • Do not add frontmatter to anything under docs/. The site generator does not strip it (internal/docs/scripts/content.ts), so it renders as literal text. The mode map lives in the guard instead.
  • Do not renumber or rename a guide casually. The NN-name.md prefix is the nav order and the slug source in internal/docs/scripts/generate.ts, and published #/guide/* URLs depend on it.
  • Do not add a file to the guard's Exempt list to make it pass.
  • Do not touch the em dash rule's territory. no-em-dash.test.ts still applies.

© petarzarkov, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/docs-pass of petarzarkov/dunx.

Open the folder on GitHubat commit 221fede

Compare with similar skills

Docs Pass next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Docs Pass compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Docs Pass this skillpetarzarkov/dunx100—~1.5kAutomated safety check: PassMIT
Vercel Composition Patternssupabase/supabase111k58 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 58 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed

More from petarzarkov/dunx

  • New Package

    petarzarkov/dunx

    Add a workspace to the dunx monorepo - a published package under packages/, a published CLI under tools/, a private workspace under internal/, or an example under examples/ - with correct manifest…

    100 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Release

    petarzarkov/dunx

    Version and publish @dunx/ packages to npm. An agent skill from petarzarkov/dunx.

    100 GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Spike

    petarzarkov/dunx

    Resolve an open technical question by measuring it on real Bun instead of assuming, then record the verified result in docs/architecture/constraints.md.

    100 GitHub stars~742 tokensUpdated yesterday
    Auto-check passed
  • Whats Next

    petarzarkov/dunx

    Write or refresh HANDOFF.md - a compact resume point holding completed objectives, live file paths, approaches already tried and rejected, and the exact next steps, placed against the roadmap in…

    100 GitHub stars~819 tokensUpdated yesterday
    Auto-check passed
  • Coverage Report

    petarzarkov/dunx

    Regenerate the coverage report and badges, or diagnose a wrong percentage, a 404ing badge, or a package showing 0%.

    100 GitHub stars~971 tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Docs Pass

What does Docs Pass do?

Revise one documentation file so it states facts instead of performing insight, and get it under the budgets in scripts/no-slop.test.ts. Docs Pass is an agent skill from petarzarkov/dunx.ts.

When should I use Docs Pass?

Docs Pass fits situations like: writing a new guide; A reader reports the docs read like AI output; bun test scripts/no-slop.test.ts fails.

How do I install Docs Pass in Claude Code?

Run `npx skills add petarzarkov/dunx --skill docs-pass -a claude-code`. Or copy the skill folder (.claude/skills/docs-pass in petarzarkov/dunx) into .claude/skills/docs-pass in your project. Claude Code loads it when a task matches its description.

How do I install Docs Pass in Codex?

Run `npx skills add petarzarkov/dunx --skill docs-pass -a codex`. Or copy the skill folder (.claude/skills/docs-pass in petarzarkov/dunx) into .agents/skills/docs-pass in your project. Codex loads it when a task matches its description.

Can I use Docs Pass in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add petarzarkov/dunx --skill docs-pass -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/docs-pass, .gemini/skills/docs-pass, .github/skills/docs-pass and .opencode/skills/docs-pass in your project.

What does Docs Pass need to run?

Going by SKILL.md and its folder, Docs Pass needs the command-line tools its instructions call (bun).

Does Docs Pass access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Docs Pass safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Docs Pass use?

Docs Pass is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Docs Pass use?

About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Docs Pass?

Skills that share tags, products or a category with Docs Pass: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 297k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Docs Pass?

petarzarkov (a GitHub user) maintains it in petarzarkov/dunx, which has 100 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 8, 2026.

Source: petarzarkov/dunx on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.