audit-better-result-dependents
Audit better-result changes or PRs against known Prisma and Better T Stack downstream dependents. Use when working on better-result API/type/runtime changes…
от dmmulroy★ 2 028 звёзд на GitHub
Установить audit-better-result-dependents в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Audit better-result dependents
Quick start
From the better-result repo, run the audit script with identifiers touched by the change:
node .agents/skills/audit-better-result-dependents/scripts/audit-dependents.mjs isTaggedError 'TaggedError\.is' 'toJSON'
If no patterns are provided, the script searches common better-result usage patterns.
Scope
Always check these npm dependents:
@prisma/compute-sdk@prisma/streams-server@prisma/streams-localcreate-better-t-stack@better-t-stack/template-generator
The script uses npm registry metadata to resolve latest versions and commits. For public GitHub repos it checks out the published gitHead; if a repo is private/unavailable, it falls back to npm pack and audits the published source/package.
Workflow
Identify risk surface
- List changed public exports, guards, types, class methods, overloads, and runtime semantics.
- Convert them into grep patterns, escaping regex metacharacters when needed.
Run local validation first
bun run fmtbun run checkbun run testbun run lint
Audit dependents
- Run the script with risk patterns.
- Inspect actual matching files with
read; do not rely only on counts. - Distinguish generic guards (e.g.
isTaggedError) from class-specific guards (e.g.FooError.is).
Assess breakage
- Runtime breaking: dependent passes values that no longer satisfy a changed guard/shape.
- Type breaking: dependent references narrowed types, overloads, exported names, or structural constraints that changed.
- Safe: dependent only creates
TaggedError(...)instances or uses class-specific.is()unaffected by the change.
Report clearly
- Include package name, version, source audited (GitHub commit or npm package), relevant matches, and risk conclusion.
- If opening a PR, include the dependent audit summary in the PR body.
Notes
@prisma/compute-sdkmay point at a private/404 GitHub repo; audit the npm package source when cloning fails.@prisma/streams-serverand@prisma/streams-localshare theprisma/streamsrepo and usually the samegitHead.create-better-t-stackand@better-t-stack/template-generatorshare theAmanVarshney01/create-better-t-stackrepo and usually the samegitHead.- Never modify cloned dependent repositories during audit; use temp directories only.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- scripts/audit-dependents.mjs
FAQ
Что делает скилл audit-better-result-dependents?
Audit better-result changes or PRs against known Prisma and Better T Stack downstream dependents. Use when working on better-result API/type/runtime changes and the user asks whether a change breaks Prisma dependents, Better T Stack dependents, npm dependents, or PR compatibility.
Как установить скилл audit-better-result-dependents?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл audit-better-result-dependents запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…