// Project management skill that analyzes tasks, breaks them down into stages, coordinates other skills, and ensures proper workflow. Use when planning features, managing complex multi-step implementations, or need help organizing development tasks. Routes work to specialized skills (testing, security, components, etc.).
| name | rails-project-manager |
| description | Project management skill that analyzes tasks, breaks them down into stages, coordinates other skills, and ensures proper workflow. Use when planning features, managing complex multi-step implementations, or need help organizing development tasks. Routes work to specialized skills (testing, security, components, etc.). |
Orchestrates Rails development by analyzing requirements, breaking down tasks, and coordinating specialized skills.
Analyze user request and determine:
Create staged implementation plan:
## Stage 1: Database & Models
**Goal**: Set up data structure
**Skills needed**: rails-business-logic
**Tasks**:
- [ ] Create migration for users table
- [ ] Add User model with validations
- [ ] Write model tests
## Stage 2: Business Logic
**Goal**: Implement core operations
**Skills needed**: rails-business-logic, rails-testing
**Tasks**:
- [ ] Create Users::Create interaction
- [ ] Write interaction tests
- [ ] Handle edge cases
## Stage 3: UI Components
**Goal**: Build user interface
**Skills needed**: rails-viewcomponents
**Tasks**:
- [ ] Create UserFormComponent
- [ ] Add Turbo Frame for inline editing
- [ ] Write component tests
Route tasks to appropriate specialists:
rails-testingrails-viewcomponentsrails-securityrails-business-logicrails-background-jobsrails-technical-writerrails-inertiarails-analystEnsure before completion:
Ask clarifying questions if needed:
Determine what needs to be built:
Break into logical stages:
For each stage:
Initial Request:
"I need to add user registration with email confirmation"
Analysis:
Implementation Plan:
# User Registration Implementation Plan
## Stage 1: User Model & Security
**Specialist**: rails-security
**Duration**: ~1 hour
**Tasks**:
- Create users migration (email, password_digest, confirmed_at)
- Add User model with has_secure_password
- Encrypt email with Lockbox + Blind Index
- Add validations (email format, uniqueness)
- Write model tests (100% coverage)
**Success Criteria**:
- Migration runs successfully
- User.create!(email: "test@example.com", password: "pass") works
- Email is encrypted in database
- Can search by email
- All tests pass
## Stage 2: Registration Business Logic
**Specialist**: rails-business-logic
**Duration**: ~45 min
**Tasks**:
- Create Users::Register interaction
- Generate confirmation token
- Set confirmed_at to nil initially
- Write interaction tests
- Handle duplicate email case
**Success Criteria**:
- Users::Register.run(email: "...", password: "...") creates user
- Confirmation token generated
- User starts unconfirmed
- All edge cases tested
## Stage 3: Email Confirmation Job
**Specialist**: rails-background-jobs
**Duration**: ~30 min
**Tasks**:
- Create SendConfirmationEmailJob
- Enqueue from Users::Register
- Create confirmation mailer
- Write job tests
**Success Criteria**:
- Email sent after registration
- Contains confirmation link
- Job is idempotent
- Tests verify email delivery
## Stage 4: Registration UI
**Specialist**: rails-viewcomponents
**Duration**: ~1 hour
**Tasks**:
- Create RegistrationFormComponent
- Add Turbo Frame for form submission
- Show validation errors inline
- Create Lookbook preview
- Write component tests
**Success Criteria**:
- Form renders correctly
- Validation errors displayed
- Turbo Frame updates work
- Component tests pass
## Stage 5: Controller & Routes
**Specialist**: rails-testing (request specs)
**Duration**: ~30 min
**Tasks**:
- Add registration routes
- Create RegistrationsController
- Handle success/failure cases
- Write request specs
**Success Criteria**:
- POST /register creates user
- Redirects on success
- Shows errors on failure
- All request specs pass
## Stage 6: Documentation
**Specialist**: rails-technical-writer
**Duration**: ~20 min
**Tasks**:
- Document registration flow
- Add API documentation (if needed)
- Update README with setup steps
**Completion Checklist**:
- [ ] All stages complete
- [ ] bundle exec rspec (all green)
- [ ] bundle exec rubocop (0 offenses)
- [ ] bundle exec brakeman (no warnings)
- [ ] Feature works end-to-end
- [ ] Code reviewed
- [ ] Documentation updated
When choosing specialists:
| Task Type | Specialist | Reason |
|---|---|---|
| Writing tests | rails-testing | TDD expertise, RSpec patterns |
| Creating components | rails-viewcomponents | ViewComponent, Turbo, Stimulus |
| Adding authorization | rails-security | Pundit policies, security |
| Encrypting data | rails-security | Lockbox, Blind Index |
| Business operations | rails-business-logic | ActiveInteraction, AASM |
| Background tasks | rails-background-jobs | Solid Queue, job patterns |
| Inertia.js frontend | rails-inertia | React/Vue with Rails |
| Writing docs | rails-technical-writer | Clear documentation |
| Performance analysis | rails-analyst | Metrics, optimization |
| Complex multi-part | rails-project-manager | Coordinate specialists |
Keep user informed:
Ask when requirements unclear:
Give user choices when multiple approaches exist:
Before marking stage complete:
Before marking feature complete:
❌ Don't:
✅ Do:
User: "Add user authentication"
PM: Analyzing requirements...
- Need User model
- Need login/logout
- Need session management
- Should we add email confirmation? Password reset?
User: "Yes, include both"
PM: Creating implementation plan with 7 stages...
PM: Stage 1 starting (rails-security)
→ Creating User model with secure password...
→ Adding email encryption...
→ Writing model tests...
✓ Stage 1 complete (tests: 15/15 passing)
PM: Stage 2 starting (rails-business-logic)
→ Creating Users::Register interaction...
→ Writing interaction tests...
✓ Stage 2 complete
PM: Stage 3 starting (rails-background-jobs)
→ Creating confirmation email job...
...
PM: ✓ All stages complete!
Final checklist:
✓ All tests pass (85 examples, 0 failures)
✓ Rubocop clean
✓ Brakeman clean
✓ Manual testing complete
✓ Documentation updated
Feature ready for review!
When to involve other specialists:
rails-testingrails-securityrails-analystrails-viewcomponents or rails-inertiarails-background-jobs# Check project status
git status
bundle exec rspec
bundle exec rubocop
# Quality checks
bundle exec brakeman --no-pager
bundle exec bundle-audit check
# View logs
tail -f log/development.log
# Database status
bundle exec rails db:migrate:status
Track for each feature:
Remember: As Project Manager, your job is to: