Back to Skills

rust-lifecycle

verified

Orchestrate complete Rust project development lifecycle with multi-phase workflow, parallel validation, and code review. Use when starting new features, implementing complex changes, or managing multi-phase development.

View on GitHub

Marketplace

claude-rust-agents

bug-ops/claude-plugins

Plugin

rust-agents

development

Repository

bug-ops/claude-plugins
3stars

rust-code/skills/rust-lifecycle/SKILL.md

Last Verified

January 25, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/bug-ops/claude-plugins/blob/main/rust-code/skills/rust-lifecycle/SKILL.md -a claude-code --skill rust-lifecycle

Installation paths:

Claude
.claude/skills/rust-lifecycle/
Powered by add-skill CLI

Instructions

# Rust Development Lifecycle Orchestration

Complete development workflow orchestrator for Rust projects. Manages multi-phase development with architecture design, implementation, parallel validation, code review, and automated PR management.

## Workflow Overview

```
Phase Planning (Architect)
    ↓
Phase Implementation (Developer)
    ↓
Parallel Validation
├── Performance Analysis
├── Security Audit
└── Test Coverage
    ↓
Code Review
    ↓
Fix ALL Issues (Developer) ← MANDATORY
    ↓
Re-Review (Code Reviewer)
    ↓
Commit + PR Update ← Only after approved
    ↓
Next Phase or Completion
```

> [!IMPORTANT]
> After code review, ALL issues must be fixed (even low-priority ones) before committing.
> This is a mandatory step - no commits without addressing all feedback.

## Prerequisites Check

Before starting the lifecycle, verify:

1. **Git branch**: If on `main`/`master`, create a feature branch
2. **Working directory clean**: No uncommitted changes (or commit them first)
3. **Project type**: Rust project with `Cargo.toml`

```bash
# Check current branch
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
if [ "$CURRENT_BRANCH" = "main" ] || [ "$CURRENT_BRANCH" = "master" ]; then
  echo "⚠️  Currently on $CURRENT_BRANCH. Creating feature branch..."
  # Branch name from task or timestamp
  BRANCH_NAME="feature/$(date +%Y%m%d-%H%M%S)"
  git checkout -b "$BRANCH_NAME"
  echo "✓ Created and switched to $BRANCH_NAME"
fi

# Verify Rust project
if [ ! -f "Cargo.toml" ]; then
  echo "❌ Not a Rust project (Cargo.toml not found)"
  exit 1
fi

echo "✓ Prerequisites check passed"
```

## Quick Start

### Single Feature Development

```
/rust-lifecycle Implement user authentication with JWT tokens
```

### Multi-Phase Complex Feature

```
/rust-lifecycle Build real-time collaboration system:
- Phase 1: WebSocket infrastructure
- Phase 2: Message queue and persistence
- Phase 3: Conflict resolution
- Phase 4: Frontend integration
```

### Bug Fix with Validation

```
/rust-lifecy

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
5810 chars