Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

source-command-feature

БесплатноБез исполняемых скриптовНе проверен

Migrated source command `feature`

databaytот 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)

  1. Architecture Agent: Design feature structure following mirror pattern
  2. Multi-Tenant Agent: Verify tenant isolation (schoolId scoping)
  3. Security Agent: Review security implications (OWASP, auth, validation)

Phase 2: TDD - Write Tests First (10 min)

  1. 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
  2. Verify Tests Fail: Run tests to confirm red state

Phase 3: Implementation (20-40 min)

  1. 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
  2. API Agent: Server actions with Zod validation

Phase 4: Test Validation (iterative until pass)

  1. Run Tests: Execute test suite
  2. If Tests Fail:
    • Debug Agent analyzes failures
    • Relevant tech agent fixes issues
    • Repeat step 8
  3. If Tests Pass: Proceed to Phase 5

Phase 5: Comprehensive Review (10 min)

  1. 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)

  1. Next.js Agent: Run production build
  2. If Build Fails:
    • Next.js Agent analyzes build errors
    • Relevant tech agent fixes issues
    • Repeat step 12
  3. If Build Passes: Proceed to Phase 7

Phase 7: Commit & Push (straight to main, with smart blocking)

  1. Git-GitHub Agent (working directly on main — no branches/PRs):
    • Create conventional commit message
    • Commit changes on main
    • git pull --rebase origin main, then git push origin main
    • Smart Blocking: on main the pre-commit/pre-push hook BLOCKS if any quality check fails — fix it, then push again. This gate is what lets us commit straight to main.

Phase 8: Documentation (automated)

  1. 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 main this 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
Полный SKILL.md на GitHub

Установить 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), без исполняемых скриптов.

Похожие скиллы

Сравнить source-command-feature с