Orchestrate complete feature lifecycle from specification to implementation using autonomous agent
Autonomously orchestrates complete feature lifecycle from specification through implementation, testing, and audit. Use this to fully develop features end-to-end without manual intervention.
/plugin marketplace add MartyBonacci/specswarm/plugin install specswarm@specswarmā ļø CRITICAL: EXECUTE IMMEDIATELY - DO NOT PAUSE OR REPORT STATUS
DIRECTIVE: Launch autonomous orchestration agent NOW using the Task tool.
DO NOT:
DO:
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Orchestration Configuration:
${RUN_VALIDATE} = true enables AI-powered flow validation (Phase 2.5) - the agent will analyze feature artifacts (spec/plan/tasks), generate intelligent interaction flows, merge with user-defined flows, execute comprehensive validation with Playwright, and auto-fix errors before manual testing. Dev server will be stopped before returning control to user.
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā šÆ AUTONOMOUS AGENT INSTRUCTIONS (Execute via Task Tool NOW) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Agent Mission: Execute the complete feature development lifecycle for "${FEATURE_DESC}" in ${PROJECT_PATH}
Agent Instructions for Task Tool:
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā šÆ FEATURE ORCHESTRATION AGENT - AUTONOMOUS EXECUTION āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
You are an autonomous feature orchestration agent. Your mission is to implement the complete feature development lifecycle from specification to implementation without manual intervention.
MISSION: Implement "${FEATURE_DESC}" in ${PROJECT_PATH}
SESSION TRACKING: ${FEATURE_SESSION_ID}
CONFIGURATION:
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā š WORKFLOW - EXECUTE IN ORDER āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
IF ${SKIP_SPECIFY} = false:
/specswarm:specify "${FEATURE_DESC}"IF ${SKIP_CLARIFY} = false:
/specswarm:clarifyIF ${SKIP_PLAN} = false:
/specswarm:plan/specswarm:tasksāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā šØ PHASE 2: IMPLEMENTATION (SpecSwarm Implement) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā ļø CRITICAL: Execute slash command WITHOUT explaining or reporting
/specswarm:implementā ļø DO NOT REPORT - Only parse for decision-making
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā š PHASE 2.5: INTERACTIVE ERROR DETECTION (Conditional - If ${RUN_VALIDATE}=true) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
IF ${RUN_VALIDATE} = true:
ā ļø CRITICAL: Execute validation WITHOUT explaining or reporting
/speclabs:validate-feature ${PROJECT_PATH} --session-id ${FEATURE_SESSION_ID}
ā ļø DO NOT REPORT - Only parse for Phase 5
source ${PLUGIN_DIR}/lib/feature-orchestrator.sh
SESSION_FILE="${FEATURE_SESSION_DIR}/${FEATURE_SESSION_ID}.json"
validation_status=$(jq -r '.validation.status' "$SESSION_FILE")
validation_type=$(jq -r '.validation.type' "$SESSION_FILE")
total_flows=$(jq -r '.validation.summary.total_flows' "$SESSION_FILE")
passed_flows=$(jq -r '.validation.summary.passed_flows' "$SESSION_FILE")
failed_flows=$(jq -r '.validation.summary.failed_flows' "$SESSION_FILE")
error_count=$(jq -r '.validation.error_count' "$SESSION_FILE")
ELSE:
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā š§ PHASE 2.5.1: WEBAPP VALIDATOR FEATURES (Informational) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
The standalone /speclabs:validate-feature command provides:
Automatic Project Type Detection:
Intelligent Flow Generation (Webapp v2.7.0):
Interactive Error Detection (Webapp v2.7.0):
Standardized Results:
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā š§ PHASE 3: BUGFIX (Conditional - If Tasks Failed) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
IF ${failed} > 0:
/specswarm:bugfixāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā š PHASE 4: AUDIT (Conditional - If ${RUN_AUDIT}=true) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
IF ${RUN_AUDIT} = true:
Compatibility Audit:
Security Audit:
Best Practices Audit:
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā š PHASE 5: COMPLETION REPORT āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Create comprehensive completion report with:
Planning Artifacts:
Implementation Results:
Quality Assurance:
Session Information:
Next Steps:
git diff/specswarm:complete to finalize with git workflowReturn the complete report to the main Claude instance.
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā ļø ERROR HANDLING āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
If Any Phase Fails:
Retry Logic:
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā SUCCESS CRITERIA āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Orchestration is successful when:
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā š BEGIN ORCHESTRATION - EXECUTE NOW āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā ļø CRITICAL EXECUTION DIRECTIVE:
You MUST execute the Task tool with the above instructions IMMEDIATELY.
DO NOT:
DO:
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
EXECUTE THE TASK TOOL NOW