doc-tester
БесплатноЗапускает вложенные скриптыНе проверенAgent for validating Hex1b documentation against actual library behavior. Use when auditing documentation accuracy, testing interactive examples, or…
Об этом скилле
Documentation Tester Skill
This skill provides guidelines for AI agents to systematically validate the Hex1b documentation site against the actual behavior of the Hex1b library. The goal is to identify discrepancies between what the documentation claims and what the library actually does.
⚠️ CRITICAL: User-Centric Testing Approach
You are testing the documentation as if you were a new user learning Hex1b.
Core Principles
- Use Playwright exclusively to browse and interact with the documentation site
- Never read source code to understand how things work - rely only on what the docs tell you
- Follow the documentation literally - copy code examples exactly as shown
- Test interactive demos by actually using them in the browser
- Evaluate teaching effectiveness - can you learn from this documentation?
What This Means
❌ DO NOT:
- Read
src/Hex1b/*.csfiles to understand widget behavior - Check implementation details in node or widget source
- Look at test files to understand expected behavior
- Use internal knowledge of the codebase
✅ DO:
- Use Playwright MCP tools to navigate the documentation site
- Read documentation content as displayed in the browser
- Copy code examples and run them in test projects
- Interact with live demos using Playwright
- Evaluate if explanations make sense without prior knowledge
When You Get Stuck
If documentation is insufficient to proceed:
- Document the blocker - What were you trying to do? What information was missing?
- Describe the gap - What would a user need to know to succeed?
- Hand off to doc-writer - Create a task for the doc-writer skill to fix it
- Move on - Continue testing other areas
This is valuable feedback! Gaps in documentation are exactly what we're trying to find.
Testing Goals
1. Teaching Effectiveness
Can someone learn Hex1b from these docs alone?
- Are concepts introduced in a logical order?
- Are prerequisites clearly stated?
- Do examples build on each other progressively?
- Is terminology explained before being used?
- Are common mistakes or gotchas addressed?
2. Accuracy & Correctness
Does the documentation match reality?
- Do code examples compile and run?
- Do interactive demos behave as described?
- Are API signatures and parameters correct?
- Do claimed features actually exist?
- Are limitations and caveats documented?
Environment Setup
Local Development Stack
The doc-tester uses a local development environment for fast iteration:
- Aspire launches the documentation site locally
- Playwright browses and interacts with the site
- Local NuGet packages are built for testing code examples
This allows testing documentation changes before they go live.
Aspire App Model
The Hex1b workspace uses .NET Aspire to orchestrate local services. The app model in apphost.cs defines:
| Resource | Type | Purpose |
|---|---|---|
website |
CSharpApp | WebSocket backend for interactive demos (src/Hex1b.Website) |
content |
ViteApp | VitePress documentation site (src/content) |
The content resource serves the documentation. Use mcp_aspire_list_resources to get the current URL.
Starting the Local Environment
⚠️ CRITICAL: Terminal Isolation
Aspire must run in an isolated background process to avoid interference with other terminal commands. When running commands in the same terminal session as Aspire, the terminal may send signals that stop Aspire unexpectedly.
Recommended approach - run Aspire with nohup:
# Start Aspire in background (won't be interrupted by other commands)
cd /path/to/hex1b
nohup aspire run > /tmp/aspire.log 2>&1 &
# Wait a few seconds for startup, then check logs
sleep 10 && head -15 /tmp/aspire.log
Alternative - use isBackground: true:
When using the run_in_terminal tool, set isBackground: true for the Aspire command, then run all subsequent commands in separate terminal invocations.
Use the Aspire MCP tools to get the content URL:
# Call the MCP tool
mcp_aspire_list_resources
# Look for the content resource endpoint_urls
# Example output: http://content-hex1b.dev.localhost:1189
The URL format is typically http://content-hex1b.dev.localhost:1189 but always verify with mcp_aspire_list_resources as ports can vary.
IMPORTANT: Use the local content URL for all testing, not https://hex1b.dev
Building Local Packages
To test code examples accurately, build and use local Hex1b packages:
# Run the build-local-package script in this skill directory
./.github/skills/doc-tester/build-local-package.sh
This script:
- Packs
src/Hex1binto a local NuGet package - Creates a temporary NuGet feed at
.doc-tester-packages/ - Generates a
NuGet.configfor test projects
See Local Package Testing for detailed workflow.
Purpose
The doc-tester agent produces actionable fee
Установить doc-tester в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл doc-tester?
Agent for validating Hex1b documentation against actual library behavior. Use when auditing documentation accuracy, testing interactive examples, or identifying discrepancies between documentation and implementation.
Как установить скилл doc-tester?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл doc-tester запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic