source-command-validate
БесплатноБез исполняемых скриптовНе проверенFull validation with specialized agents (post-change workflow)
от databayt★ 19 звёзд на GitHubОб этом скилле
source-command-validate
Use this skill when the user asks to run the migrated source command validate.
Command Template
Run comprehensive validation using specialized agents after code changes.
Phase 1: Static Analysis (Parallel)
Invoke these agents in parallel using the Task tool:
TypeScript Agent (
/agents/typescript)- Run
pnpm tsc --noEmit - Check for type errors, any types, missing return types
- Validate Zod schemas match TypeScript types
- Run
Tailwind Agent (
/agents/tailwind)- Check for hardcoded text-/font- classes (should use semantic HTML)
- Validate RTL-aware utilities (ms-, me-, ps-, pe-)
- Ensure theme colors used (bg-background, text-foreground)
React Agent (
/agents/react)- Check for performance anti-patterns (inline functions, missing deps)
- Validate hooks usage (proper dependency arrays)
- Ensure React.memo/useMemo/useCallback where needed
Phase 2: Framework Validation (Sequential)
- Next.js Agent (
/agents/nextjs)- Validate Server/Client component boundaries
- Check Server Actions have "use server", schoolId, revalidatePath
- Ensure mirror pattern followed (routes ↔ components)
- Verify error.tsx and loading.tsx exist
Phase 3: Build & Test (Sequential)
Build Agent (
/agents/build)- Run
pnpm build - Check bundle sizes (<100KB per route target)
- Verify no build warnings/errors
- Ensure Prisma client is generated
- Run
Test Agent (
/agents/test)- Run
pnpm test - Check coverage (95%+ target)
- Verify all tests pass
- Run
Phase 4: Deploy Decision
If all phases pass, ask user:
- "Deploy to staging?" → Run
/deploy staging - "Deploy to production?" → Run
/deploy production - "Skip deployment" → End validation
Output Format
## Validation Summary
### Phase 1: Static Analysis
- TypeScript: [PASS/FAIL] - [details]
- Tailwind: [PASS/FAIL] - [details]
- React: [PASS/FAIL] - [details]
### Phase 2: Framework
- Next.js: [PASS/FAIL] - [details]
### Phase 3: Build & Test
- Build: [PASS/FAIL] - [time]s, [bundle size]
- Tests: [PASS/FAIL] - [passed]/[total], [coverage]%
### Overall: [PASS/FAIL]
[If PASS] Ready to deploy. Options:
1. /deploy staging
2. /deploy production
3. Skip
Quick Mode
For faster validation (skip agents, run commands only):
pnpm tsc --noEmit && pnpm lint && pnpm tests && pnpm build
Установить source-command-validate в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл source-command-validate?
Full validation with specialized agents (post-change workflow)
Как установить скилл source-command-validate?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл source-command-validate запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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