source-command-feature
БесплатноБез исполняемых скриптовНе проверенMigrated source command `feature`
от databayt★ 19 звёзд на GitHubОб этом скилле
source-command-feature
Use this skill when the user asks to run the migrated source command feature.
Command Template
Feature Development Command
Command: /feature <description>
Purpose: Complete TDD-first feature development workflow with automated quality gates
Description: Master workflow orchestrator that handles entire feature development lifecycle from test generation to documentation updates.
Usage
# Basic usage
/feature "student attendance tracking"
# With detailed requirements
/feature "student attendance tracking with calendar view, bulk actions, and export to Excel"
# With specific technical constraints
/feature "real-time chat system using WebSockets and Redis for multi-tenant support"
Workflow Execution
This command invokes the orchestrator agent with a TDD-First Feature Development workflow:
Phase 1: Planning & Architecture (5 min)
- Architecture Agent: Design feature structure following mirror pattern
- Multi-Tenant Agent: Verify tenant isolation (schoolId scoping)
- Security Agent: Review security implications (OWASP, auth, validation)
Phase 2: TDD - Write Tests First (10 min)
- Test Agent: Generate comprehensive test suite
- Unit tests for components
- Integration tests for server actions
- E2E tests for user flows (if applicable)
- Target: 95%+ coverage
- Verify Tests Fail: Run tests to confirm red state
Phase 3: Implementation (20-40 min)
- Tech Stack Agents (parallel execution when possible):
- React Agent: Component implementation
- Next.js Agent: Pages, layouts, server components
- Prisma Agent: Database schema & migrations (if needed)
- TypeScript Agent: Type definitions & validation
- Tailwind Agent: Styling with utility classes
- i18n Agent: Arabic/English translations
- API Agent: Server actions with Zod validation
Phase 4: Test Validation (iterative until pass)
- Run Tests: Execute test suite
- If Tests Fail:
- Debug Agent analyzes failures
- Relevant tech agent fixes issues
- Repeat step 8
- If Tests Pass: Proceed to Phase 5
Phase 5: Comprehensive Review (10 min)
- Parallel Review Execution:
- Architecture Agent: Pattern enforcement (mirror pattern, component hierarchy)
- Security Agent: Security violations (OWASP, input validation, XSS, CSRF)
- Performance Agent: Performance issues (re-renders, bundle size, N+1 queries)
- Typography Agent: Semantic HTML enforcement (no hardcoded text-/font- classes)
- Multi-Tenant Agent: Tenant isolation verification (schoolId in all queries)
- React Reviewer Agent: React best practices (hooks, composition, props)
- TypeScript Agent: Type safety violations (any usage, implicit types)
- Tailwind Agent: Class order enforcement (cn() usage, RTL support)
- i18n Agent: Translation completeness (Arabic & English coverage)
- Prettier/ESLint: Code formatting and style violations (auto-fixed)
Phase 6: Build Verification (iterative until pass)
- Next.js Agent: Run production build
- If Build Fails:
- Next.js Agent analyzes build errors
- Relevant tech agent fixes issues
- Repeat step 12
- If Build Passes: Proceed to Phase 7
Phase 7: Commit & Push (straight to main, with smart blocking)
- Git-GitHub Agent (working directly on
main— no branches/PRs):- Create conventional commit message
- Commit changes on
main git pull --rebase origin main, thengit push origin main- Smart Blocking: on
mainthe pre-commit/pre-push hook BLOCKS if any quality check fails — fix it, then push again. This gate is what lets us commit straight tomain.
Phase 8: Documentation (automated)
- Docs Manager Agent:
- Update feature-based README in component directory
- Create/update GitHub issues for feature tracking
- Update main README.md if significant feature
- Generate changelog entry
Quality Gates (Automated)
Pre-Commit Checks (via PreToolUse hooks)
- ✅ Tests pass for changed files
- ✅ ESLint passes (quiet mode)
- ✅ TypeScript type check passes (noEmit)
- Behavior: we always work on
main, so this BLOCKS the commit if any check fails. Fix it, then commit again.
Pre-Push Checks (via PreToolUse hooks)
- ✅ Full production build passes
- ✅ Prettier format check passes
- Behavior: on
mainthis BLOCKS the push if any check fails. Fix it, then push again.
Comprehensive Review Checklist
- ✅ Mirror pattern compliance (route ↔ component structure)
- ✅ Component hierarchy (UI → Atoms → Templates → Blocks → Micro → Apps)
- ✅ Multi-tenant safety (schoolId in all queries)
- ✅ Security (OWASP Top 10, input validation, XSS, CSRF, SQL injection)
- ✅ Performance (memoization, code splitting, N+1 queries)
- ✅ Typography (semantic HTML, no hardcoded
Установить source-command-feature в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл source-command-feature?
Migrated source command `feature`
Как установить скилл source-command-feature?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл source-command-feature запускает скрипты?
Нет, скилл состоит только из инструкций (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