10x Development Patterns (Meta-Skill)
Patterns that compress timelines, eliminate waste, and multiply output. These are the habits and systems that separate high-velocity teams from the rest.
Installation
OpenClaw / Moltbot / Clawbot
npx clawhub@latest install 10x-patterns
When to Use
- Starting a new project — set up the right foundations from day one
- Planning sprints — prioritize work that compounds
- Optimizing workflow — identify and remove bottlenecks
- Reviewing velocity — measure and improve throughput
- Onboarding developers — teach high-leverage habits
- Retrospectives — diagnose why things are slow
Core Principles
| Principle |
Description |
Example |
| Parallel execution |
Don't serialize independent tasks; run them concurrently |
Run linting, tests, and type-checking in parallel CI jobs |
| Early validation |
Validate assumptions before building |
Prototype the riskiest part first, not the easiest |
| Reuse over rebuild |
Leverage existing solutions before writing custom code |
Use shadcn/ui instead of building a component library |
| Automation first |
Automate any repetitive task on the second occurrence |
Script database seeding, not manual SQL inserts |
| Fail fast |
Catch errors at the earliest possible stage |
Strict TypeScript, pre-commit hooks, schema validation |
| Minimize context switching |
Batch similar work together |
Handle all PR reviews in one block, not scattered |
| Shortest feedback loop |
Reduce time between change and feedback |
Hot reload, preview deploys, co-located tests |
Development Velocity Patterns
| Pattern |
What It Does |
Speed Multiplier |
| Hot reload / fast refresh |
See changes instantly without losing state |
3-5x faster UI iteration |
| Type-driven development |
Define types/interfaces first, then implement |
Catches 40%+ of bugs at write time |
| Test-driven development |
Write tests for complex logic before implementation |
Fewer regressions, faster debugging |
| Feature flags |
Ship incomplete features safely behind toggles |
Continuous delivery without risk |
| Vertical slicing |
Build full-stack thin slices end-to-end |
Faster feedback, smaller PRs |
| Monorepo |
Share code, types, and config across packages |
Eliminates cross-repo sync overhead |
| Code generation |
Generate boilerplate from schemas or templates |
Minutes instead of hours for CRUD |
| AI-assisted development |
Use Cursor, Copilot for acceleration |
2-5x faster for boilerplate and exploration |
| Template repositories |
Start new projects from proven templates |
Skip setup entirely |
| Shared component libraries |
Reusable, tested UI building blocks |
Consistent UI, no re-implementation |
| Preview deployments |
Every PR gets a live URL (Vercel, Netlify) |
Instant stakeholder feedback |
| Trunk-based development |
Short-lived branches, frequent merges to main |
Eliminates merge hell |
| Continuous deployment |
Every merge to main auto-deploys |
Zero manual deploy overhead |
| Database migrations as code |
Version-controlled, repeatable schema changes |
No manual DB modifications |
| Infrastructure as code |
Terraform, Pulumi, SST for infra |
Reproducible environments in minutes |
| API-first design |
Define API contracts before implementation |
Frontend and backend work in parallel |
| Storybook / component dev |
Develop UI components in isolation |
No need to navigate full app for UI work |
Leverage Points
High effort-to-impact ratio — small investments that pay dividends repeatedly.
| Leverage Point |
Effort |
Impact |
Payoff Timeline |
| Automation scripts (seed, reset, deploy) |
1-2 hours |
Saves 10+ min/day per developer |
Days |
| Shared utilities (formatting, validation, logging) |
2-4 hours |
Eliminates repeated code across services |
Weeks |
| CI/CD pipelines |
4-8 hours |
Removes all manual build/deploy steps |
Immediately |
| Documentation (ADRs, onboarding, runbooks) |
2-3 hours |
Cuts onboarding time by 50%+ |
Weeks |
| Developer tooling (linters, formatters, git hooks) |
1-2 hours |
Prevents entire categories of bugs |
Immediately |
| Database seed scripts |
1-2 hours |
Instant realistic local environments |
Days |
| Error monitoring (Sentry, Axiom) |
1-2 hours |
Find production bugs before users report them |
Immediately |
Time Sink Detection
Common time wasters and how to eliminate them.
| Time Sink |
Hours Wasted/Week |
Solution |
| Manual testing |
3-8 hours |
Automated tests, Playwright for E2E, CI checks |
| Environment setup |
2-5 hours (new devs) |
Docker Compose, devcontainers, seed scripts |
| Manual deployment |
1-3 hours |
CI/CD pipeline, one-click deploys |
| Code review bottlenecks |
2-6 hours waiting |
Small PRs, async reviews, max 24h SLA |
| Meeting overload |
5-10 hours |
Async standups, written updates, office hours |
| Debugging without logs |
2-4 hours |
Structured logging, error tracking, source maps |
| Dependency conflicts |
1-3 hours |
Lock files, renovate bot, monorepo tooling |
| Unclear requirements |
3-8 hours rework |
Spike tickets, design docs, early prototypes |
Workflow Optimization
Daily Workflow Template
Morning (high energy)
1. Review overnight CI results and alerts
2. Tackle the hardest problem first (deep work)
3. Batch code reviews (one block, not scattered)
Midday
4. Meetings and collaboration (if unavoidable)
5. Respond to async threads
Afternoon
6. Implementation work (flow state)
7. Write tests for today's code
8. Open PRs, update tickets, write context for tomorrow
Essential IDE Shortcuts
| Action |
macOS |
Why It Matters |
| Go to file |
Cmd+P |
Never browse the file tree |
| Go to symbol |
Cmd+Shift+O |
Jump directly to functions/classes |
| Find in project |
Cmd+Shift+F |
Find anything across the codebase |
| Rename symbol |
F2 |
Safe, project-wide renaming |
| Quick fix |
Cmd+. |
Auto-import, auto-fix linter issues |
| Toggle terminal |
Ctrl+` |
Stay in the editor |
| Multi-cursor |
Cmd+D |
Edit multiple occurrences at once |
| Move line |
Alt+Up/Down |
Reorder code without cut/paste |
CLI Aliases & Scripts
# Git acceleration
alias gs='git status'
alias gc='git commit'
alias gp='git push'
alias gl='git log --oneline -20'
alias gco='git checkout'
alias gcb='git checkout -b'
alias gpr='gh pr create --fill'
# Development
alias dev='npm run dev'
alias build='npm run build'
alias lint='npm run lint'
alias test='npm run test'
# Docker
alias dc='docker compose'
alias dcu='docker compose up -d'
alias dcd='docker compose down'
alias dcl='docker compose logs -f'
# Project navigation
alias repo='cd ~/dev/myproject'
Shell Scripts Worth Writing
| Script |
Purpose |
Time Saved |
./scripts/setup.sh |
One-command local environment setup |
Hours per new dev |
./scripts/seed.sh |
Reset and seed database with test data |
10 min/day |
./scripts/deploy.sh |
Build, test, and deploy in sequence |
15 min/deploy |
./scripts/new-feature.sh |
Scaffold feature (route, component, test) |
20 min/feature |
./scripts/db-reset.sh |
Drop, recreate, migrate, seed database |
10 min/occurrence |
Anti-Patterns
Patterns that feel productive but destroy velocity.
| Anti-Pattern |
What Happens |
Instead Do |
| Over-engineering |
Build abstractions for problems you don't have |
Solve today's problem; refactor when patterns emerge |
| Premature optimization |
Optimize code that isn't a bottleneck |
Profile first, optimize the measured bottleneck |
| Gold plating |
Polish features beyond requirements |
Ship the 80% solution, iterate based on feedback |
| Yak shaving |
Fix tangential problems endlessly |
Time-box tangents to 15 min, then create a ticket |
| Not-invented-here |
Rebuild what open source already solved |
Evaluate existing solutions before writing custom code |
| Bikeshedding |
Debate trivial decisions at length |
Set a 5-min timer; if no consensus, the proposer decides |
| Cargo culting |
Copy patterns without understanding why |
Understand the problem before adopting a solution |
Measurement — DORA Metrics
Track these four metrics to objectively measure engineering velocity.
| Metric |
Elite |
High |
Medium |
Low |
| Deployment frequency |
On-demand (multiple/day) |
Weekly |
Monthly |
Quarterly |
| Lead time for changes |
< 1 hour |
< 1 week |
< 1 month |
> 1 month |
| Change failure rate |
< 5% |
< 10% |
< 15% |
> 15% |
| Mean time to recovery |
< 1 hour |
< 1 day |
< 1 week |
> 1 week |
How to Improve Each
- Deployment frequency — CI/CD, feature flags, trunk-based development
- Lead time — Small PRs, automated testing, preview deploys
- Change failure rate — Type safety, comprehensive tests, canary deploys
- MTTR — Observability, runbooks, feature flag kill switches
NEVER Do
- NEVER manually deploy to production — always use CI/CD pipelines
- NEVER merge without automated checks — require passing CI before merge
- NEVER keep long-lived feature branches — merge within 1-2 days or break it smaller
- NEVER skip writing types/interfaces — the 30 seconds you save costs hours later
- NEVER copy-paste code more than once — extract to a shared utility immediately
- NEVER ignore flaky tests — fix or delete them; flaky tests erode trust in the suite
- NEVER optimize without measuring — profile first, gut feelings are usually wrong
1---
2name: 10x-patterns
3model: standard
4description: Patterns and practices that dramatically accelerate development velocity. Covers parallel execution, automation, feedback loops, workflow optimization, and anti-pattern avoidance. Use when starting projects, planning sprints, optimizing workflows, or onboarding developers.
5metadata:
6 source: https://skillmd.com/skills/modbender/10x-patterns
7---
8
9# 10x Development Patterns (Meta-Skill)
10
11Patterns that compress timelines, eliminate waste, and multiply output. These are the habits and systems that separate high-velocity teams from the rest.
12
13
14## Installation
15
16### OpenClaw / Moltbot / Clawbot
17
18```bash
19npx clawhub@latest install 10x-patterns
20```
21
22
23---
24
25## When to Use
26
27- Starting a new project — set up the right foundations from day one
28- Planning sprints — prioritize work that compounds
29- Optimizing workflow — identify and remove bottlenecks
30- Reviewing velocity — measure and improve throughput
31- Onboarding developers — teach high-leverage habits
32- Retrospectives — diagnose why things are slow
33
34---
35
36## Core Principles
37
38| Principle | Description | Example |
39|---|---|---|
40| Parallel execution | Don't serialize independent tasks; run them concurrently | Run linting, tests, and type-checking in parallel CI jobs |
41| Early validation | Validate assumptions before building | Prototype the riskiest part first, not the easiest |
42| Reuse over rebuild | Leverage existing solutions before writing custom code | Use shadcn/ui instead of building a component library |
43| Automation first | Automate any repetitive task on the second occurrence | Script database seeding, not manual SQL inserts |
44| Fail fast | Catch errors at the earliest possible stage | Strict TypeScript, pre-commit hooks, schema validation |
45| Minimize context switching | Batch similar work together | Handle all PR reviews in one block, not scattered |
46| Shortest feedback loop | Reduce time between change and feedback | Hot reload, preview deploys, co-located tests |
47
48---
49
50## Development Velocity Patterns
51
52| Pattern | What It Does | Speed Multiplier |
53|---|---|---|
54| Hot reload / fast refresh | See changes instantly without losing state | 3-5x faster UI iteration |
55| Type-driven development | Define types/interfaces first, then implement | Catches 40%+ of bugs at write time |
56| Test-driven development | Write tests for complex logic before implementation | Fewer regressions, faster debugging |
57| Feature flags | Ship incomplete features safely behind toggles | Continuous delivery without risk |
58| Vertical slicing | Build full-stack thin slices end-to-end | Faster feedback, smaller PRs |
59| Monorepo | Share code, types, and config across packages | Eliminates cross-repo sync overhead |
60| Code generation | Generate boilerplate from schemas or templates | Minutes instead of hours for CRUD |
61| AI-assisted development | Use Cursor, Copilot for acceleration | 2-5x faster for boilerplate and exploration |
62| Template repositories | Start new projects from proven templates | Skip setup entirely |
63| Shared component libraries | Reusable, tested UI building blocks | Consistent UI, no re-implementation |
64| Preview deployments | Every PR gets a live URL (Vercel, Netlify) | Instant stakeholder feedback |
65| Trunk-based development | Short-lived branches, frequent merges to main | Eliminates merge hell |
66| Continuous deployment | Every merge to main auto-deploys | Zero manual deploy overhead |
67| Database migrations as code | Version-controlled, repeatable schema changes | No manual DB modifications |
68| Infrastructure as code | Terraform, Pulumi, SST for infra | Reproducible environments in minutes |
69| API-first design | Define API contracts before implementation | Frontend and backend work in parallel |
70| Storybook / component dev | Develop UI components in isolation | No need to navigate full app for UI work |
71
72---
73
74## Leverage Points
75
76High effort-to-impact ratio — small investments that pay dividends repeatedly.
77
78| Leverage Point | Effort | Impact | Payoff Timeline |
79|---|---|---|---|
80| Automation scripts (seed, reset, deploy) | 1-2 hours | Saves 10+ min/day per developer | Days |
81| Shared utilities (formatting, validation, logging) | 2-4 hours | Eliminates repeated code across services | Weeks |
82| CI/CD pipelines | 4-8 hours | Removes all manual build/deploy steps | Immediately |
83| Documentation (ADRs, onboarding, runbooks) | 2-3 hours | Cuts onboarding time by 50%+ | Weeks |
84| Developer tooling (linters, formatters, git hooks) | 1-2 hours | Prevents entire categories of bugs | Immediately |
85| Database seed scripts | 1-2 hours | Instant realistic local environments | Days |
86| Error monitoring (Sentry, Axiom) | 1-2 hours | Find production bugs before users report them | Immediately |
87
88---
89
90## Time Sink Detection
91
92Common time wasters and how to eliminate them.
93
94| Time Sink | Hours Wasted/Week | Solution |
95|---|---|---|
96| Manual testing | 3-8 hours | Automated tests, Playwright for E2E, CI checks |
97| Environment setup | 2-5 hours (new devs) | Docker Compose, devcontainers, seed scripts |
98| Manual deployment | 1-3 hours | CI/CD pipeline, one-click deploys |
99| Code review bottlenecks | 2-6 hours waiting | Small PRs, async reviews, max 24h SLA |
100| Meeting overload | 5-10 hours | Async standups, written updates, office hours |
101| Debugging without logs | 2-4 hours | Structured logging, error tracking, source maps |
102| Dependency conflicts | 1-3 hours | Lock files, renovate bot, monorepo tooling |
103| Unclear requirements | 3-8 hours rework | Spike tickets, design docs, early prototypes |
104
105---
106
107## Workflow Optimization
108
109### Daily Workflow Template
110
111```
112Morning (high energy)
113 1. Review overnight CI results and alerts
114 2. Tackle the hardest problem first (deep work)
115 3. Batch code reviews (one block, not scattered)
116
117Midday
118 4. Meetings and collaboration (if unavoidable)
119 5. Respond to async threads
120
121Afternoon
122 6. Implementation work (flow state)
123 7. Write tests for today's code
124 8. Open PRs, update tickets, write context for tomorrow
125```
126
127### Essential IDE Shortcuts
128
129| Action | macOS | Why It Matters |
130|---|---|---|
131| Go to file | `Cmd+P` | Never browse the file tree |
132| Go to symbol | `Cmd+Shift+O` | Jump directly to functions/classes |
133| Find in project | `Cmd+Shift+F` | Find anything across the codebase |
134| Rename symbol | `F2` | Safe, project-wide renaming |
135| Quick fix | `Cmd+.` | Auto-import, auto-fix linter issues |
136| Toggle terminal | `` Ctrl+` `` | Stay in the editor |
137| Multi-cursor | `Cmd+D` | Edit multiple occurrences at once |
138| Move line | `Alt+Up/Down` | Reorder code without cut/paste |
139
140### CLI Aliases & Scripts
141
142```bash
143# Git acceleration
144alias gs='git status'
145alias gc='git commit'
146alias gp='git push'
147alias gl='git log --oneline -20'
148alias gco='git checkout'
149alias gcb='git checkout -b'
150alias gpr='gh pr create --fill'
151
152# Development
153alias dev='npm run dev'
154alias build='npm run build'
155alias lint='npm run lint'
156alias test='npm run test'
157
158# Docker
159alias dc='docker compose'
160alias dcu='docker compose up -d'
161alias dcd='docker compose down'
162alias dcl='docker compose logs -f'
163
164# Project navigation
165alias repo='cd ~/dev/myproject'
166```
167
168### Shell Scripts Worth Writing
169
170| Script | Purpose | Time Saved |
171|---|---|---|
172| `./scripts/setup.sh` | One-command local environment setup | Hours per new dev |
173| `./scripts/seed.sh` | Reset and seed database with test data | 10 min/day |
174| `./scripts/deploy.sh` | Build, test, and deploy in sequence | 15 min/deploy |
175| `./scripts/new-feature.sh` | Scaffold feature (route, component, test) | 20 min/feature |
176| `./scripts/db-reset.sh` | Drop, recreate, migrate, seed database | 10 min/occurrence |
177
178---
179
180## Anti-Patterns
181
182Patterns that feel productive but destroy velocity.
183
184| Anti-Pattern | What Happens | Instead Do |
185|---|---|---|
186| Over-engineering | Build abstractions for problems you don't have | Solve today's problem; refactor when patterns emerge |
187| Premature optimization | Optimize code that isn't a bottleneck | Profile first, optimize the measured bottleneck |
188| Gold plating | Polish features beyond requirements | Ship the 80% solution, iterate based on feedback |
189| Yak shaving | Fix tangential problems endlessly | Time-box tangents to 15 min, then create a ticket |
190| Not-invented-here | Rebuild what open source already solved | Evaluate existing solutions before writing custom code |
191| Bikeshedding | Debate trivial decisions at length | Set a 5-min timer; if no consensus, the proposer decides |
192| Cargo culting | Copy patterns without understanding why | Understand the problem before adopting a solution |
193
194---
195
196## Measurement — DORA Metrics
197
198Track these four metrics to objectively measure engineering velocity.
199
200| Metric | Elite | High | Medium | Low |
201|---|---|---|---|---|
202| **Deployment frequency** | On-demand (multiple/day) | Weekly | Monthly | Quarterly |
203| **Lead time for changes** | < 1 hour | < 1 week | < 1 month | > 1 month |
204| **Change failure rate** | < 5% | < 10% | < 15% | > 15% |
205| **Mean time to recovery** | < 1 hour | < 1 day | < 1 week | > 1 week |
206
207### How to Improve Each
208
209- **Deployment frequency** — CI/CD, feature flags, trunk-based development
210- **Lead time** — Small PRs, automated testing, preview deploys
211- **Change failure rate** — Type safety, comprehensive tests, canary deploys
212- **MTTR** — Observability, runbooks, feature flag kill switches
213
214---
215
216## NEVER Do
217
2181. **NEVER manually deploy to production** — always use CI/CD pipelines
2192. **NEVER merge without automated checks** — require passing CI before merge
2203. **NEVER keep long-lived feature branches** — merge within 1-2 days or break it smaller
2214. **NEVER skip writing types/interfaces** — the 30 seconds you save costs hours later
2225. **NEVER copy-paste code more than once** — extract to a shared utility immediately
2236. **NEVER ignore flaky tests** — fix or delete them; flaky tests erode trust in the suite
2247. **NEVER optimize without measuring** — profile first, gut feelings are usually wrong