Sub-Agent New Feature Command
Development community intermediate
Description
Orchestrates multiple specialized sub-agents to implement new features efficiently by analyzing existing patterns, checking dependencies, and maximizing code reuse.
Installation
Terminal
claude install-skill https://github.com/derek-opdee/subagent-example-script README
Sub-Agent New Feature Command
Orchestrates multiple specialized sub-agents to implement new features efficiently by analyzing existing patterns, checking dependencies, and maximizing code reuse.
Command Syntax
sub-agent-new-feature --feature "" --location "" [options]
# Aliases
@new-feature --feature "" --location "" [options]
@sanf --feature "" --location "" [options]
Parameters
Required Parameters
- undefined
Optional Parameters
- undefined
Examples
Basic Usage
# Add a user profile component
sub-agent-new-feature --feature "User profile card with avatar, name, and stats" --location src/components/
# Add an API endpoint
sub-agent-new-feature --feature "API endpoint to export orders as CSV" --location app/Http/Controllers/
# Add a Cloudflare Worker
sub-agent-new-feature --feature "Image optimization worker" --location functions/
Advanced Usage
# Full-stack feature with tests
sub-agent-new-feature \
--feature "Comment system with real-time updates" \
--location src/features/comments \
--type full-stack \
--test-first \
--parallel 5
# WordPress plugin feature
sub-agent-new-feature \
--feature "Custom shipping calculator widget" \
--location wp-content/plugins/my-plugin \
--tech-stack wordpress \
--docs both
# Strict review mode with examples
sub-agent-new-feature \
--feature "Data table with sorting and filtering" \
--location src/components/tables \
--review-mode strict \
--example-files "src/components/UserTable.tsx,src/components/OrderTable.tsx"
Stage 1: Analysis Agents (Parallel)
Agent 1A: Pattern Analyzer
Analyze existing codebase patterns for implementing: [FEATURE_DESCRIPTION]
Target location: [LOCATION]
Tasks:
1. Search for similar features/components:
- Find existing implementations with similar functionality
- Identify UI patterns used (for components)
- Find API patterns used (for endpoints)
- Locate similar business logic
2. Extract reusable elements:
- Common utility functions
- Shared components (buttons, modals, forms)
- Existing hooks or services
- Databa
Related Agents
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
Development community src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11
Development community Cavecrew Builder
>
Development community Cavecrew Investigator
>
Development community Cavecrew Reviewer
>
Development community Gitnexus Branch Hygiene Reviewer
GitNexus branch hygiene and mergeability reviewer. Use to classify merge state, conflicts, stale branches, merge-from-main commits, unrelated churn, mixed domains, and whether rebase or split is requi
Development community