Skip to content
Back to skills

K6 Docs

ASecurity

Write or review k6 documentation across the three k6 repositories - k6-DefinitelyTyped (TypeScript types), k6-docs (user documentation), and k6 (release notes / changelog). Applies k6 doc style conventions, generates TypeScript type definitions, drafts release notes, and validates examples by running them against k6@master. Use when working on k6 documentation, the k6 changelog, the k6 release notes, k6 API reference, k6 TypeScript types, load testing docs, or when the user asks to write, edi...

  • 268 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 11, 2026
documentationtypescriptgobashtestinggitapidocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned June 11, 2026

npx -y skills add grafana/skills --skill k6-docs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of K6 Docs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for K6 Docs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/grafana-k6-docs/badge)](https://www.skillsdirectory.com/skills/grafana-k6-docs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: k6-docs
license: Apache-2.0
description: Write or review k6 documentation across the three k6 repositories - k6-DefinitelyTyped (TypeScript types), k6-docs (user documentation), and k6 (release notes / changelog). Applies k6 doc style conventions, generates TypeScript type definitions, drafts release notes, and validates examples by running them against k6@master. Use when working on k6 documentation, the k6 changelog, the k6 release notes, k6 API reference, k6 TypeScript types, load testing docs, or when the user asks to write, edit, or review anything in the k6, k6-docs, or k6-DefinitelyTyped repos - even if they don't explicitly say "documentation".
---

# k6 Documentation

Document or review k6 features across three repositories: k6-DefinitelyTyped (TypeScript types), k6-docs (user documentation), and k6 (release notes).

## Workflow

Pick the workflow that matches the user's intent:

- **Write documentation:** follow [references/workflows/write.md](references/workflows/write.md)
- **Review documentation:** follow [references/workflows/review.md](references/workflows/review.md)

## Quick References

- [Repository structure & feature type identification](references/repository-structure.md)
- [TypeScript patterns & troubleshooting](references/typescript-patterns.md)
- [Testing workflow with parallel subagents](references/testing-workflow.md)
- [agent-browser command reference](references/agent-browser-reference.md)
- [Troubleshooting guide](references/troubleshooting.md)

## Critical Rules

- **Never push automatically** - always ask first
- **Never chain commands with `&&` or `;`** - run each command separately (prevents failures)
- **Only document user-facing features** - not internal implementation
- **Use `1.` for every numbered list item** (not `1.`, `2.`, `3.`)
- **Test every code example** against k6@master before committing
- **No `Co-Authored-By: Claude` or AI attribution** in commits

## Validating examples (always run before committing)

Every code example in k6 documentation **and release notes** must execute cleanly against `k6@master`. The minimum loop:

```bash
# 1. cd into the k6 repo (not k6-docs or k6-DefinitelyTyped)
cd ~/path/to/k6

# 2. Make sure you're on master at the latest commit (the contract is k6@master)
git checkout master
git pull

# 3. Run each example as a separate command (no &&)
go run . run /path/to/script.js
```

If the run fails: read the error, fix the example in the source (doc or release note), re-run. Do not commit a change whose example doesn't run clean against current `master`. For the full multi-example workflow with parallel subagents, see [references/testing-workflow.md](references/testing-workflow.md).

Files in this skill

  • SKILL.md2.6 KB
  • references/agent-browser-reference.md2.9 KB
  • references/checklists/documentation.md4.1 KB
  • references/checklists/release-notes.md783 B
  • references/checklists/typescript.md752 B
  • references/repository-structure.md3.9 KB
  • references/subagent-prompts.md3.4 KB
  • references/templates/documentation.md3.1 KB
  • references/templates/release-notes.md854 B
  • references/testing-workflow.md2.2 KB
  • references/troubleshooting.md4.7 KB
  • references/typescript-patterns.md4.2 KB
  • references/workflows/review.md2.7 KB
  • references/workflows/write.md5.4 KB
  • scripts/check_agent_browser.sh517 B
  • scripts/fetch_pr.sh195 B
  • scripts/find_branch.sh801 B
  • scripts/format_typescript.sh236 B
  • scripts/test_typescript.sh303 B
  • scripts/update_team_members.sh1.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.