local-dev-experience
Skill4 starsChanged 10 months agoMITView on GitHub
Use when setting up or optimizing local development environments for fast feedback loops. Applies to any project where iteration speed matters. Covers hot reload, incremental builds, test filtering, IDE optimization, and multi-service local development patterns.
In this repository67 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agents-onboardingSkill
- agent-workitem-automationSkill
- architecture-testingSkill
- aspire-integration-testingSkill
- automated-standards-enforcementSkill
- best-practice-introductionSkill
- branching-strategy-and-conventionsSkill
- broken-windowSkill
- change-risk-rollbackSkill
- ci-cd-conformanceSkill
- component-boundary-ownershipSkill
- contract-consistency-validationSkill
- csharp-best-practicesSkill
- deployment-provenanceSkill
- documentation-as-codeSkill
- documentation-scaffoldSkill
- dotnet-bespoke-code-minimisationSkill
- dotnet-best-practicesSkill
- dotnet-domain-primitivesSkill
- dotnet-efcore-practicesSkill
- dotnet-healthchecksSkill
- dotnet-logging-serilogSkill
- dotnet-mapping-standardSkill
- dotnet-open-source-first-governanceSkill
- dotnet-source-generation-firstSkill
- dotnet-specification-patternSkill
- dotnet-testing-assertionsSkill
- environment-traceabilitySkill
- finishing-a-development-branch-iddSkill
- greenfield-baselineSkill
- impacted-scope-enforcementSkill
- incremental-change-impactSkill
- incremental-deploymentSkill
- innersource-governance-bootstrapSkill
- issue-driven-deliverySkill
- library-extraction-stabilisationSkill
- markdown-authorSkill
- modern-csharp-coding-standardsSkill
- monorepo-orchestration-setupSkill
- observability-logging-baselineSkill
- pair-programmingSkill
- persona-switchingSkill
- process-skill-routerSkill
- quality-gate-enforcementSkill
- release-tagging-planSkill
- repo-best-practices-bootstrapSkill
- repository-foundation-bootstrapSkill
- requirements-gatheringSkill
- runtime-tooling-validationSkill
- safe-brownfield-refactorSkill
- scoped-colocationSkill
- security-processesSkill
- selective-build-testSkill
- semantic-version-impactSkill
- session-awareSkill
- skills-first-workflowSkill
- static-analysis-securitySkill
- structured-review-workflowSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
Document development startup patterns
- Distinctive: line 34
Verify sub-second feedback achievable
- Distinctive: line 48
Principle: Never manually restart. Watch modes detect changes automatically.
- Distinctive: line 88
Principle: Run only what you're changing.
- Distinctive: line 132
If exceeding targets, investigate and optimize.
- Distinctive: line 136
Use this worksheet to measure current state and track improvements:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Local Dev Experience
Overview
P3 Delivery & Flow - Developer productivity through fast feedback loops.
REQUIRED: superpowers:verification-before-completion
When to Use
- Setting up new project for local development
- Build or test times exceed 5 seconds
- IDE performance issues
- Multi-service local development needs
- Opt-out: Explicit trade-off decision documented
Core Workflow
- Identify current iteration cycle time
- Configure watch modes for automatic rebuilds
- Enable incremental compilation/builds
- Set up targeted test execution
- Optimize IDE for project type
- Configure minimal service dependencies
- Document development startup patterns
- Verify sub-second feedback achievable
Quick Reference
| Pattern | .NET | Node.js/TypeScript | Python |
| Hot Reload | dotnet watch | nodemon, tsx | uvicorn --reload |
| Incremental Build | Directory.Build.props | tsconfig incremental | N/A |
| Test Watch | dotnet watch test | jest --watch | pytest-watch |
| Test Filter | --filter | --testNamePattern | -k |
| Lint Cache | N/A | eslint --cache | ruff --cache |
Watch Mode Patterns
Principle: Never manually restart. Watch modes detect changes automatically.
# .NET
dotnet watch run
dotnet watch test --filter "Category=Unit"
# Node.js
npm run dev # with nodemon or tsx
npm test -- --watch # jest watch mode
# Python
uvicorn main:app --reload
ptw -- -x # pytest-watch, stop on first failureIncremental Build Setup
.NET (Directory.Build.props):
<PropertyGroup>
<IncrementalBuild>true</IncrementalBuild>
<BuildInParallel>true</BuildInParallel>
</PropertyGroup>TypeScript (tsconfig.json):
{
"compilerOptions": {
"incremental": true,
"tsBuildInfoFile": ".tsbuildinfo"
}
}Multi-Service Local Dev
Principle: Run only what you're changing. Mock dependencies.
- Docker Compose profiles for selective startup
- Mock services (WireMock, MSW) for dependencies
- Environment-based service URLs
- Single-service development mode
# docker-compose.override.yml
services:
api:
profiles: [dev, full]
mocks:
profiles: [dev]
database:
profiles: [dev, full]IDE Optimization
- Exclude generated folders (node_modules, bin, obj, .git)
- Configure file watchers for project type
- Limit search scope to source directories
- Enable format-on-save with cached formatters
Red Flags - STOP
- "Just restart the application"
- "Run the full test suite every time"
- "Start all services for local dev"
- "Wait for the build to complete"
- "Default configuration is good enough"
All mean: Apply fast feedback patterns or document trade-off decision.
Feedback Loop Targets
| Operation | Target | Acceptable |
| Code change to running | < 1s | < 3s |
| Single test execution | < 2s | < 5s |
| Lint/format check | < 1s | < 3s |
| Service startup | < 10s | < 30s |
If exceeding targets, investigate and optimize.
Baseline vs Target Worksheet
Use this worksheet to measure current state and track improvements:
# Local Dev Experience Assessment
**Project**: [Project Name]
**Date**: YYYY-MM-DD
**Assessor**: [Name]
## Current Baseline Measurements
| Operation | Baseline | Target | Gap | Priority |
| ---------------------- | -------- | ------ | ------- | -------- |
| Code change to running | [X]s | < 1s | [X-1]s | [H/M/L] |
| Single test execution | [X]s | < 2s | [X-2]s | [H/M/L] |
| Full test suite | [X]s | < 60s | [X-60]s | [H/M/L] |
| Lint/format check | [X]s | < 1s | [X-1]s | [H/M/L] |
| Service startup | [X]s | < 10s | [X-10]s | [H/M/L] |
| Full rebuild | [X]s | < 30s | [X-30]s | [H/M/L] |
## Measurement Commands
Record the commands used to measure each baseline:
| Operation | Command | Notes |
| --------------- | ----------------------------------------------- | ----- |
| Hot reload | `time (edit file && wait for reload)` | |
| Single test | `time npm test -- --testNamePattern="specific"` | |
| Full suite | `time npm test` | |
| Lint check | `time npm run lint` | |
| Service startup | `time npm run dev` (until ready) | |
| Full rebuild | `time npm run build` | |
## Improvement Actions
| Action | Expected Gain | Actual Gain | Status |
| ------------------------- | ---------------- | ----------- | --------- |
| Enable incremental builds | -50% build time | | ☐ Pending |
| Configure test filtering | -80% test time | | ☐ Pending |
| Add lint caching | -70% lint time | | ☐ Pending |
| Enable hot reload | -90% reload time | | ☐ Pending |
## Evidence Capture
### Before Optimization
```bash
# Record baseline measurements
$ time npm run build
real 0m45.123s
$ time npm test
real 1m23.456s
```
### After Optimization
```bash
# Record improved measurements
$ time npm run build
real 0m12.345s # 73% improvement
$ time npm test -- --watch --changedSince=main
real 0m5.678s # 96% improvement (changed files only)
```
## Summary
- **Total time saved per iteration**: [X] seconds
- **Iterations per day (estimated)**: [N]
- **Daily productivity gain**: [X × N] seconds = [Y] minutesQuick Measurement Script
#!/bin/bash
# measure-dev-experience.sh
echo "=== Local Dev Experience Baseline ==="
echo ""
# Full build time
echo "Measuring full build..."
BUILD_TIME=$( { time npm run build 2>&1; } 2>&1 | grep real | awk '{print $2}' )
echo "Full build: $BUILD_TIME"
# Single test time
echo "Measuring single test..."
TEST_TIME=$( { time npm test -- --testNamePattern="should" --bail 2>&1; } 2>&1 | grep real | awk '{print $2}' )
echo "Single test: $TEST_TIME"
# Lint time
echo "Measuring lint..."
LINT_TIME=$( { time npm run lint 2>&1; } 2>&1 | grep real | awk '{print $2}' )
echo "Lint check: $LINT_TIME"
echo ""
echo "=== Results ==="
echo "Build: $BUILD_TIME"
echo "Test: $TEST_TIME"
echo "Lint: $LINT_TIME"Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

