continuous-improvement
Continuous improvement processes and patterns
What this skill does
# Continuous Improvement Skill
Patterns for implementing continuous improvement.
## PDCA Cycle
### Plan-Do-Check-Act
```markdown
## PDCA Framework
### Plan
1. Identify improvement opportunity
2. Analyze current state
3. Define target state
4. Create action plan
### Do
1. Implement change on small scale
2. Document what happens
3. Collect data
4. Note any problems
### Check
1. Analyze results
2. Compare to target
3. Identify what worked
4. Learn from failures
### Act
1. Standardize successful changes
2. Share learnings
3. Plan next cycle
4. Abandon what didn't work
```
### Example PDCA
```markdown
## PDCA: Reduce Code Review Time
### Plan
**Problem:** Code reviews take 3+ days on average
**Target:** Reduce to < 1 day
**Root Cause:** No SLA, large PRs, unclear ownership
**Actions:**
1. Set 24-hour review SLA
2. Limit PR size to 400 lines
3. Auto-assign reviewers
### Do
**Implementation:**
- Communicated new policy
- Added PR size linting
- Set up auto-assignment bot
- Tracked metrics for 2 weeks
### Check
**Results:**
- Average review time: 3.2 days → 0.8 days ✅
- PR size: 650 lines → 280 lines
- Review quality: Maintained
- Team satisfaction: Improved
### Act
**Standardize:**
- Added to team handbook
- Created onboarding material
- Set up monitoring dashboard
- Sharing with other teams
```
## Kaizen
### Continuous Small Improvements
```markdown
## Kaizen Principles
### 1. Question Everything
- Why do we do it this way?
- What problem does this solve?
- Is there a better way?
### 2. Eliminate Waste
- Remove unnecessary steps
- Automate repetitive tasks
- Reduce wait times
### 3. Empower Teams
- Everyone can suggest improvements
- No idea is too small
- Celebrate incremental progress
### 4. Go to Gemba
- Observe actual work
- Talk to people doing the work
- Understand real challenges
```
### Kaizen Board
```markdown
## Improvement Ideas Board
### Ideas (Anyone can add)
- [ ] Automate test data setup
- [ ] Add keyboard shortcuts to UI
- [ ] Simplify deployment script
### In Analysis
- [ ] Cache API responses (analyzing impact)
### In Progress
- [ ] Standardize error messages (@jane)
### Completed This Month
- [x] Add pre-commit hooks
- [x] Improve logging format
- [x] Automate dependency updates
```
## Retrospectives
### Sprint Retrospective
```markdown
## Retrospective Format
### Start-Stop-Continue
**Start:** What should we start doing?
**Stop:** What should we stop doing?
**Continue:** What should we keep doing?
### 4 Ls
**Liked:** What went well?
**Learned:** What did we learn?
**Lacked:** What was missing?
**Longed For:** What do we wish we had?
### Mad-Sad-Glad
**Mad:** What frustrated us?
**Sad:** What disappointed us?
**Glad:** What made us happy?
```
### Action Item Tracking
```markdown
## Retrospective Actions
### Current Sprint Actions
| Action | Owner | Due | Status |
|--------|-------|-----|--------|
| Set up code review SLA | @jane | Jan 20 | Done |
| Add staging parallelization | @bob | Jan 25 | In Progress |
| Update onboarding docs | @alice | Jan 18 | Not Started |
### Previous Sprint Actions (Carryover)
| Action | Owner | Original Due | Status |
|--------|-------|--------------|--------|
| Improve test coverage | @charlie | Jan 5 | Delayed |
### Metrics
- Actions completed: 75%
- Average completion time: 10 days
- Carryover rate: 15%
```
## Root Cause Analysis
### 5 Whys
```markdown
## 5 Whys Example
**Problem:** Production deployment failed
**Why 1:** The deployment script exited with error
**Why 2:** Database migration failed
**Why 3:** Column already existed
**Why 4:** Migration was already run manually
**Why 5:** No tracking of manual changes
**Root Cause:** No process for tracking database changes
**Solution:**
- All database changes must go through migrations
- Add migration status check before deploy
- Document in runbook
```
### Fishbone Diagram
```markdown
## Fishbone Analysis: Slow Deployments
```
┌─────────────────┐
│ Slow Deploys │
└────────┬────────┘
│
┌────────────────────────────┼────────────────────────────┐
│ │ │
┌───┴────┐ ┌────┴────┐ ┌────┴────┐
│ People │ │ Process │ │ Tools │
├────────┤ ├─────────┤ ├─────────┤
│ Manual │ │ Serial │ │ Old CI │
│ steps │ │ stages │ │ system │
│ │ │ │ │ │
│ Review │ │ No │ │ No │
│ delays │ │ parallel│ │ caching │
└────────┘ └─────────┘ └─────────┘
```
**Actions:**
- People: Automate manual steps, set review SLA
- Process: Parallelize independent stages
- Tools: Upgrade CI, implement caching
```
## Improvement Metrics
### Tracking Progress
```markdown
## Improvement Metrics
### Lead Time
Time from commit to production.
Baseline: 5 days
Target: 1 day
Current: 2 days
### Deployment Frequency
How often we deploy.
Baseline: Weekly
Target: Daily
Current: Every 2 days
### Change Failure Rate
Percentage of deploys causing issues.
Baseline: 15%
Target: 5%
Current: 8%
### Mean Time to Recovery
Time to restore service after failure.
Baseline: 4 hours
Target: 30 minutes
Current: 1 hour
```
### Trend Visualization
```markdown
## Improvement Trends (6 months)
### Lead Time (days)
Jan: █████████████████████████ 5.0
Feb: ████████████████████ 4.0
Mar: ███████████████ 3.0
Apr: ███████████ 2.2
May: ██████████ 2.0
Jun: █████████ 1.8
### Deployment Frequency (per week)
Jan: ██ 1
Feb: ███ 1.5
Mar: ████ 2
Apr: ██████ 3
May: █████████ 4.5
Jun: ██████████ 5
```
## Knowledge Sharing
### Lessons Learned
```markdown
## Lessons Learned Template
### Title
[Brief description of the learning]
### Context
What situation led to this learning?
### What Happened
What occurred? What was the outcome?
### Key Takeaway
What's the main lesson?
### Recommendations
What should we do differently?
### Applicable To
What other situations does this apply to?
```
### Best Practice Documentation
```markdown
## Best Practices Registry
### Development
- [ ] Feature flags for risky changes
- [ ] Trunk-based development
- [ ] Pair programming for complex features
### Testing
- [ ] Test pyramid approach
- [ ] Mutation testing for critical code
- [ ] Contract testing for APIs
### Deployment
- [ ] Blue-green deployments
- [ ] Automated rollbacks
- [ ] Gradual rollouts
### Monitoring
- [ ] SLOs with error budgets
- [ ] Distributed tracing
- [ ] Structured logging
```
## Integration
Used by:
- `improvement-coordinator` agent
- `quality-analyst` agent
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.